|
|
@ -85,11 +85,21 @@ |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item prop="remarks"> |
|
|
|
<span slot="label">移交状态:</span> |
|
|
|
<el-select v-model="temp.transferStateKey" class="addinputw" clearable |
|
|
|
placeholder="请选择移交状态" @change="transferStateChange"> |
|
|
|
<el-option v-for="item in transferState_list" :key="item.dictKey" :label="item.dictValue" |
|
|
|
:value="item.dictKey"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item prop="remarks"> |
|
|
|
<span slot="label">备注:</span> |
|
|
|
<el-input v-model="temp.remarks" type="textarea" :rows="3" maxlength="125" placeholder="" |
|
|
|
class="addinputwda" clearable/> |
|
|
|
class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -356,6 +366,7 @@ export default { |
|
|
|
templook: {}, // 查看实体 |
|
|
|
Situation: [], |
|
|
|
qingkuang_list: [], |
|
|
|
transferState_list:[], |
|
|
|
stateId: 0, |
|
|
|
dialogFormVisible: false, // 添加修改对话框状态 |
|
|
|
dialogFormShowVisible: false, // 查看对话框默认关闭状态 |
|
|
@ -613,6 +624,14 @@ export default { |
|
|
|
this.temp.certificateSituationValue = bb.name |
|
|
|
console.log('value值', this.temp.certificateSituationValue) |
|
|
|
}, |
|
|
|
// 移交状态 |
|
|
|
transferStateChange(val) { |
|
|
|
if (val) { |
|
|
|
const choosetItem = this.transferState_list.filter((item) => item.dictKey == val) |
|
|
|
this.temp.transferStateValue = choosetItem[0].dictValue |
|
|
|
console.log('name:', this.temp.transferStateValue, 'key:', this.temp.transferStateKey) |
|
|
|
} |
|
|
|
}, |
|
|
|
setDate() { |
|
|
|
// 合格证状态 |
|
|
|
typeValues({ type: 'certificateState' }).then((res) => { |
|
|
@ -628,6 +647,13 @@ export default { |
|
|
|
this.qingkuang_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
// 移交状态 |
|
|
|
typeValues({ type: 'transferState' }).then((res) => { |
|
|
|
console.log(res) |
|
|
|
if (res.code === '200') { |
|
|
|
this.transferState_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// ----------------------------------方法-------------------- |
|
|
|
fileChangeIt(files,imgFiles){ |
|
|
|