Browse Source

添加字段:附页添加模式、附页文件名称

master
李磊 3 years ago
parent
commit
462269d3d0
  1. 33
      src/components/drawerDialog/index.vue

33
src/components/drawerDialog/index.vue

@ -485,7 +485,7 @@
<el-form ref="templateSettingForm" :model="form"> <el-form ref="templateSettingForm" :model="form">
<el-form-item <el-form-item
label="检验项目模式" label="检验项目模式"
prop="writeMode" prop="jyxmMode"
label-width="150px" label-width="150px"
> >
<el-radio-group v-model="form.jyxmMode"> <el-radio-group v-model="form.jyxmMode">
@ -609,7 +609,7 @@
v-model="form.affiliatedTableStartRow" v-model="form.affiliatedTableStartRow"
:min="0" :min="0"
:max="100" :max="100"
:disabled="form.tableMode === 1" :disabled="form.tableMode === 1 || form.affiliatedAddMode === 2"
/> />
<el-alert <el-alert
type="warning" type="warning"
@ -627,7 +627,7 @@
v-model="form.affiliatedTableRowCount" v-model="form.affiliatedTableRowCount"
:min="0" :min="0"
:max="100" :max="100"
:disabled="form.tableMode === 1 || form.tableRowFindMode === 1" :disabled="form.tableMode === 1 || form.tableRowFindMode === 1 || form.affiliatedAddMode === 2"
/> />
<el-alert <el-alert
type="warning" type="warning"
@ -636,6 +636,24 @@
:closable="false" :closable="false"
/> />
</el-form-item> </el-form-item>
<el-form-item
label="附页添加模式"
prop="affiliatedAddMode"
label-width="150px"
>
<el-radio-group v-model="form.affiliatedAddMode">
<el-radio v-for="(item, affiliatedAddModeIndex) in affiliatedAddModes" :key="affiliatedAddModeIndex" :label="affiliatedAddModeIndex">
{{ item }}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
label="附页文件名称"
prop="affiliatedFileName"
label-width="150px"
>
<el-input v-model="form.affiliatedFileName" :disabled="form.affiliatedAddMode !== 1" style="width: 300px;" />
</el-form-item>
<el-form-item <el-form-item
label="表格类型" label="表格类型"
prop="tableType" prop="tableType"
@ -756,8 +774,10 @@ export default {
affiliatedTableStartRow: 0, affiliatedTableStartRow: 0,
affiliatedTableRowCount: 0, affiliatedTableRowCount: 0,
sort: 1, sort: 1,
tableType: 1, tableType: 0,
isChild: false isChild: false,
jyxmMode: 0,
affiliatedAddMode: 0
}, },
// formTemplate:{}, // formTemplate:{},
dialogVisible: false, dialogVisible: false,
@ -808,7 +828,8 @@ export default {
}, },
totalCount1: 0, totalCount1: 0,
jyxmModes: ['检验项目', '附表', '不合格整改检验项目', '大型起重机械检验项目', '报告检验项目'], jyxmModes: ['检验项目', '附表', '不合格整改检验项目', '大型起重机械检验项目', '报告检验项目'],
writeModes: ['CN模式', 'DN模式', 'KV模式', 'CFI模式', 'SA模式'] writeModes: ['CN模式', 'DN模式', 'KV模式', 'CFI模式', 'SA模式'],
affiliatedAddModes: ['固定表格', '附页文件', 'word自动切换']
} }
}, },
mounted() {}, mounted() {},

Loading…
Cancel
Save