| | |
| | | border: true, |
| | | |
| | | selection: true, |
| | | column: column, |
| | | column: [ |
| | | ...column, |
| | | { |
| | | label: "服务区域", |
| | | labelWidth: 160, |
| | | prop: "fregion", |
| | | width: 69, |
| | | }, |
| | | { |
| | | label: "服务时间", |
| | | labelWidth: 160, |
| | | prop: "ftime", |
| | | width: 69, |
| | | type: "date", |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "timestamp", |
| | | }, |
| | | ], |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | }, |
| | | ids1() { |
| | | let ids1 = []; |
| | | this.selectionList1.forEach((ele) => { |
| | | ids1.push(ele.id); |
| | | this.selectionList.forEach((ele) => { |
| | | ids1.push(ele.departmentid); |
| | | }); |
| | | return ids1.join(","); |
| | | }, |
| | | ids2() { |
| | | let ids2 = []; |
| | | this.selectionList2.forEach((ele) => { |
| | | ids2.push(ele.id); |
| | | }); |
| | | return ids2.join(","); |
| | | }, |
| | | haveID() { |
| | | return this.obj0.creditcode; |
| | |
| | | type: "warning", |
| | | }) |
| | | .then(() => { |
| | | console.log(this.ids); |
| | | // return remove(this.ids); |
| | | // console.log(this.ids); |
| | | return remove(this.ids, this.ids1); |
| | | }) |
| | | .then(() => { |
| | | this.onLoad(this.page); |
| | |
| | | message: "操作成功!", |
| | | }); |
| | | this.$refs.crudrec.toggleSelection(); |
| | | }); |
| | | }) |
| | | .catch((res) => {}); |
| | | }, |
| | | refreshChange() { |
| | | this.onLoad(this.page, this.query); |