状态修改

main
mo 1 year ago
parent 01225d05b2
commit c907b028f5

@ -202,6 +202,7 @@
background-color: #46a6ff;
color: white;
"
:disabled="optType == 'edit'"
></el-button>
</el-input>
<FileSelect ref="FileSelect" @onSelected="onFileSelected" />
@ -209,20 +210,6 @@
</el-col>
<el-col :span="8">
<el-form-item label="业务实体" prop="company">
<!-- <el-select
v-model="company"
placeholder="请选择业务实体"
value-key="id"
@change="handleSelectOrganization"
>
<el-option
v-for="item in organizationList"
:key="item.id"
:value="item"
:label="item.organizationName"
>
</el-option>
</el-select> -->
<el-input
v-model="form.company"
placeholder="选择档案后显示"
@ -387,6 +374,7 @@ export default {
value: "pId",
multiple: false,
},
optType: undefined,
//
loading: true,
//
@ -449,7 +437,6 @@ export default {
},
created() {
this.getList();
this.getOrganizationList();
this.getUserList();
this.getSiteList();
},
@ -473,16 +460,6 @@ export default {
this.form.applyNo = response.data;
});
},
//
getOrganizationList() {
getOrganizationPage().then((response) => {
this.organizationList = response.data.list;
});
},
handleSelectOrganization(val) {
this.form.companyId = val.id;
this.form.company = val.organizationName;
},
//
getUserList() {
listUser().then((response) => {
@ -590,11 +567,13 @@ export default {
handleAdd() {
this.reset();
this.open = true;
this.optType = "add";
this.title = "添加移交";
},
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
this.optType = "edit";
const id = row.id;
getTurnOver(id).then((response) => {
this.form = response.data;

Loading…
Cancel
Save