|
|
@ -656,7 +656,7 @@ |
|
|
<el-form-item :label="'模板'"> |
|
|
<el-form-item :label="'模板'"> |
|
|
<el-select v-model="chooseModelData2.codeNo" placeholder="请选择" style="width: 120px"> |
|
|
<el-select v-model="chooseModelData2.codeNo" placeholder="请选择" style="width: 120px"> |
|
|
<el-option |
|
|
<el-option |
|
|
v-for = "i in modelList" |
|
|
|
|
|
|
|
|
v-for = "i in modelList2" |
|
|
:key = "i.codeNo" |
|
|
:key = "i.codeNo" |
|
|
:label = "i.codeDesc" |
|
|
:label = "i.codeDesc" |
|
|
:value = "i.codeNo"> |
|
|
:value = "i.codeNo"> |
|
|
@ -962,6 +962,7 @@ |
|
|
chooseDataList: [], |
|
|
chooseDataList: [], |
|
|
fileList: [], |
|
|
fileList: [], |
|
|
modelList: [], |
|
|
modelList: [], |
|
|
|
|
|
modelList2: [], |
|
|
modelCSList: [], |
|
|
modelCSList: [], |
|
|
itemList: [], |
|
|
itemList: [], |
|
|
itemList2: [], |
|
|
itemList2: [], |
|
|
@ -1693,6 +1694,7 @@ |
|
|
created () { |
|
|
created () { |
|
|
this.getDataList() |
|
|
this.getDataList() |
|
|
this.getEcnModel() |
|
|
this.getEcnModel() |
|
|
|
|
|
this.getEcnModel2() |
|
|
this.getEcnCSModel() |
|
|
this.getEcnCSModel() |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -2344,7 +2346,7 @@ |
|
|
itemNo: '', |
|
|
itemNo: '', |
|
|
itemDesc: '', |
|
|
itemDesc: '', |
|
|
functionType: 'ECN', |
|
|
functionType: 'ECN', |
|
|
codeNo: this.modelList.length > 0 ? this.modelList[0].codeNo : '' |
|
|
|
|
|
|
|
|
codeNo: this.modelList2.length > 0 ? this.modelList2[0].codeNo : '' |
|
|
} |
|
|
} |
|
|
// 先清空缓存选中 |
|
|
// 先清空缓存选中 |
|
|
//this.$nextTick(() => this.$refs.itemTable2.clearSelection()) |
|
|
//this.$nextTick(() => this.$refs.itemTable2.clearSelection()) |
|
|
@ -2442,7 +2444,8 @@ |
|
|
getEcnModel () { |
|
|
getEcnModel () { |
|
|
let tempData = { |
|
|
let tempData = { |
|
|
site: this.$store.state.user.site, |
|
|
site: this.$store.state.user.site, |
|
|
functionType: 'ECN' |
|
|
|
|
|
|
|
|
functionType: 'ECN', |
|
|
|
|
|
codeNo: 'E001' |
|
|
} |
|
|
} |
|
|
getEcnModel(tempData).then(({data}) => { |
|
|
getEcnModel(tempData).then(({data}) => { |
|
|
if (data.code === 0) { |
|
|
if (data.code === 0) { |
|
|
@ -2451,14 +2454,26 @@ |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// =================================== |
|
|
|
|
|
|
|
|
// 查询ECN的评估模板 |
|
|
|
|
|
getEcnModel2 () { |
|
|
|
|
|
let tempData = { |
|
|
|
|
|
site: this.$store.state.user.site, |
|
|
|
|
|
functionType: 'ECN', |
|
|
|
|
|
codeNo: 'E002' |
|
|
|
|
|
} |
|
|
|
|
|
getEcnModel(tempData).then(({data}) => { |
|
|
|
|
|
if (data.code === 0) { |
|
|
|
|
|
this.modelList2 = data.rows |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
// 查询会签的模板 |
|
|
// 查询会签的模板 |
|
|
getEcnCSModel () { |
|
|
getEcnCSModel () { |
|
|
let tempData = { |
|
|
let tempData = { |
|
|
site: this.$store.state.user.site, |
|
|
site: this.$store.state.user.site, |
|
|
functionType: 'ECN' |
|
|
|
|
|
|
|
|
functionType: 'ECN', |
|
|
|
|
|
codeNo: 'E003' |
|
|
} |
|
|
} |
|
|
getEcnModel(tempData).then(({data}) => { |
|
|
getEcnModel(tempData).then(({data}) => { |
|
|
if (data.code === 0) { |
|
|
if (data.code === 0) { |
|
|
|