|
|
@@ -5,7 +5,7 @@
|
|
|
<el-col :span="4" :xs="24">
|
|
|
<org-tree
|
|
|
v-model="queryParams.orgId"
|
|
|
- @defaultKey="getDefaultKey"
|
|
|
+ @defaultOrg="getDefaultOrg"
|
|
|
@checkChange="checkChange"
|
|
|
@click="clickTreeNode"
|
|
|
:businessTree="true"
|
|
|
@@ -192,6 +192,7 @@
|
|
|
>
|
|
|
<el-button
|
|
|
type="text"
|
|
|
+ icon="el-icon-document-copy"
|
|
|
@click="showscanRecord(r.row)"
|
|
|
v-show="r.row.status == 2 || r.row.status == 3"
|
|
|
v-hasPermi="['resumption:taskManager:query']"
|
|
|
@@ -331,9 +332,9 @@ export default {
|
|
|
this.$refs.scanrecorddialog.show(row.resumptionId, row.orgId);
|
|
|
},
|
|
|
|
|
|
- getDefaultKey(key) {
|
|
|
- this.queryParams.orgId = key;
|
|
|
- this.selectedOrgName = this.orgName;
|
|
|
+ getDefaultOrg(node) {
|
|
|
+ this.queryParams.orgId = node.id;
|
|
|
+ this.selectedOrgName = node.shortName;
|
|
|
this.getList();
|
|
|
this.loadRoles(key);
|
|
|
this.loadPlanList();
|