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