|
|
@ -85,7 +85,7 @@
|
|
|
|
<el-form-item style="display: flex">
|
|
|
|
<el-form-item style="display: flex">
|
|
|
|
<el-button-group>
|
|
|
|
<el-button-group>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
|
|
|
|
<el-button type="primary" icon="search" @click="getList">查询</el-button>
|
|
|
|
<el-button type="primary" icon="search" @click="search">查询</el-button>
|
|
|
|
<el-button type="primary" size="mini" icon="search" @click="combine"
|
|
|
|
<el-button type="primary" size="mini" icon="search" @click="combine"
|
|
|
|
>选入
|
|
|
|
>选入
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
@ -187,12 +187,15 @@ export default {
|
|
|
|
checkSelectable(row) {
|
|
|
|
checkSelectable(row) {
|
|
|
|
return !row.checked;
|
|
|
|
return !row.checked;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
search() {
|
|
|
|
|
|
|
|
this.unitQuery.page = 1;
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
},
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
this.unitQuery.thirdSys = this.thirdSysFk;
|
|
|
|
this.unitQuery.thirdSys = this.thirdSysFk;
|
|
|
|
ucloudUnit(this.unitQuery)
|
|
|
|
ucloudUnit(this.unitQuery)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
console.log(response);
|
|
|
|
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
|
|
|
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
if (response.code == 20000) {
|
|
|
@ -224,6 +227,7 @@ export default {
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
this.thirdSys = response.data.list || [];
|
|
|
|
this.thirdSys = response.data.list || [];
|
|
|
|
this.thirdSysFk = this.thirdSys[0].thirdId;
|
|
|
|
this.thirdSysFk = this.thirdSys[0].thirdId;
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {
|
|
|
|
.catch(() => {
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
@ -242,7 +246,6 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.combineQuery.thirdSys = this.thirdSysFk;
|
|
|
|
this.combineQuery.thirdSys = this.thirdSysFk;
|
|
|
|
this.combineQuery.custmandocResponses = ids;
|
|
|
|
this.combineQuery.custmandocResponses = ids;
|
|
|
|
console.log(ids);
|
|
|
|
|
|
|
|
combine(this.combineQuery)
|
|
|
|
combine(this.combineQuery)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
if (response.code == 20000) {
|
|
|
|
if (response.code == 20000) {
|
|
|
@ -283,13 +286,11 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
console.log(val);
|
|
|
|
|
|
|
|
this.currentRow = val;
|
|
|
|
this.currentRow = val;
|
|
|
|
this.unitQuery.key = this.currentRow.name;
|
|
|
|
this.unitQuery.key = this.currentRow.name;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
handleSelectionUdiChange(val) {
|
|
|
|
handleSelectionUdiChange(val) {
|
|
|
|
console.log("----" + val[0].id);
|
|
|
|
|
|
|
|
this.multipleUdiSelection = val;
|
|
|
|
this.multipleUdiSelection = val;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|