Browse Source

添加下拉菜单

qin_s4
herenshan112 3 weeks ago
parent
commit
1d61190524
  1. 182
      src/components/DesignForm/assembly/index.ts
  2. 6
      src/views/sysworkflow/lowcodepage/appPage/appPageForm/unitsPageFrom/attribute.vue

182
src/components/DesignForm/assembly/index.ts

@ -306,97 +306,97 @@ export default [
inputStyle: {} inputStyle: {}
} }
}, },
// { {
// type: 'select', type: 'select',
// label: '下拉选择框', label: '下拉选择框',
// unitName: '下拉选择框', unitName: '下拉选择框',
// icon: 'select', icon: 'select',
// iconFont: 'fa-toggle-down', iconFont: 'fa-toggle-down',
// control: { control: {
// modelValue: '', modelValue: '',
// appendToBody: true, appendToBody: true,
// glxxsz: [], glxxsz: [],
// zdtcsz: { zdtcsz: {
// tbx: '', tbx: '',
// tby: '' tby: ''
// }, },
// optionsValue3Formid:'', optionsValue3Formid:'',
// optionsValue3Field:'', optionsValue3Field:'',
// }, },
// options: selectOption, options: selectOption,
// config: config, config: config,
// styles: { styles: {
// divStyle: { divStyle: {
// marginBot: "15" marginBot: "15"
// }, },
// labelStyle: { labelStyle: {
// //paddingLeft: "7", //paddingLeft: "7",
// }, },
// inputStyle: {} inputStyle: {}
// } }
// }, },
// { {
// type: 'cascader', type: 'cascader',
// label: '级联选择器', label: '级联选择器',
// unitName: '级联选择器', unitName: '级联选择器',
// icon: 'cascader', icon: 'cascader',
// iconFont: 'fa-sitemap', iconFont: 'fa-sitemap',
// control: { control: {
// modelValue: [] modelValue: []
// }, },
// options: [], options: [],
// config: config, config: config,
// styles: { styles: {
// divStyle: { divStyle: {
// marginBot: "15" marginBot: "15"
// }, },
// labelStyle: { labelStyle: {
// //paddingLeft: "7", //paddingLeft: "7",
// }, },
// inputStyle: {} inputStyle: {}
// } }
// }, },
// { {
// type: 'datePicker', type: 'datePicker',
// label: '日期选择器', label: '日期选择器',
// unitName: '日期选择器', unitName: '日期选择器',
// icon: 'todo', icon: 'todo',
// iconFont: 'fa-calendar', iconFont: 'fa-calendar',
// control: { control: {
// modelValue: '', modelValue: '',
// type: 'date' type: 'date'
// }, },
// config: {}, config: {},
// styles: { styles: {
// divStyle: { divStyle: {
// marginBot: "15" marginBot: "15"
// }, },
// labelStyle: { labelStyle: {
// //paddingLeft: "7", //paddingLeft: "7",
// }, },
// inputStyle: {} inputStyle: {}
// } }
// }, },
// { {
// type: 'timePicker', type: 'timePicker',
// label: '时间选择器', label: '时间选择器',
// unitName: '时间选择器', unitName: '时间选择器',
// icon: 'time', icon: 'time',
// iconFont: 'fa-clock-o', iconFont: 'fa-clock-o',
// control: { control: {
// modelValue: '' modelValue: ''
// }, },
// config: {}, config: {},
// styles: { styles: {
// divStyle: { divStyle: {
// marginBot: "15" marginBot: "15"
// }, },
// labelStyle: { labelStyle: {
// //paddingLeft: "7", //paddingLeft: "7",
// }, },
// inputStyle: {} inputStyle: {}
// } }
// }, },
{ {
type: 'txt', type: 'txt',
label: '文字描述', label: '文字描述',

6
src/views/sysworkflow/lowcodepage/appPage/appPageForm/unitsPageFrom/attribute.vue

@ -6535,7 +6535,7 @@ const updataBase = (val: any) => {
<el-button size="small" style="margin-right: 12px;" @click="openDialog"> <el-button size="small" style="margin-right: 12px;" @click="openDialog">
批量导入 批量导入
</el-button> </el-button>
<div style="width:100%; position: relative; top: 6px; display: flex;"> <!-- <div style="width:100%; position: relative; top: 6px; display: flex;">
<div v-if="showHide(['switch'], true)"> <div v-if="showHide(['switch'], true)">
<el-button style="position: relative; top: -1px" @click="handelGlxxszDialogSwitch" >关联选项设置</el-button> <el-button style="position: relative; top: -1px" @click="handelGlxxszDialogSwitch" >关联选项设置</el-button>
</div> </div>
@ -6556,7 +6556,7 @@ const updataBase = (val: any) => {
> >
<el-button style="position: relative; top: -1px;right:-12px" @click="handelZdtcszDialog">矩阵填充设置</el-button> <el-button style="position: relative; top: -1px;right:-12px" @click="handelZdtcszDialog">矩阵填充设置</el-button>
</div> </div>
</div> </div> -->
</el-form-item> </el-form-item>
</template> </template>
<template v-else-if="controlData.config.optionsType === 3"> <template v-else-if="controlData.config.optionsType === 3">
@ -8308,7 +8308,7 @@ const updataBase = (val: any) => {
<el-tree-select <el-tree-select
v-model="controlData.control.optionsValue3Formid" v-model="controlData.control.optionsValue3Formid"
style="width: 390px" style="width: 390px"
:data="customerFormTree[0].children" :data="customerFormTree[0].children?customerFormTree[0].children:[]"
check-strictly check-strictly
:render-after-expand="false" :render-after-expand="false"
filterable filterable

Loading…
Cancel
Save