diff --git a/src/components/Menu.vue b/src/components/Menu.vue index a796572..1ec4463 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -8,7 +8,7 @@ diff --git a/src/components/OrgTable.vue b/src/components/OrgTable.vue index 6e597e2..0730ce0 100644 --- a/src/components/OrgTable.vue +++ b/src/components/OrgTable.vue @@ -3,6 +3,155 @@
+ + + 0 ? this.notUserId.toString() : null // getRoleAndUserByOrgIdPage( + if(this.isOrg){ + this.$api.org.sysOrgList(param).then((res) => { + this.loading.loadData = false + this.loading.searching = false + if (res.ok) { + this.total = res.data.total + this.tableData = res.data.records + const checkedRow = [] + this.tableData.map(dataItem => { + const id = dataItem.usid || dataItem.USID || dataItem.orgId || dataItem.id + if (this.checkedIdList.includes(id)) { + checkedRow.push(dataItem) + } + }) + this.checkedRow(checkedRow) + } + }) + }else{ + this.$api.user.sysUserList(param).then((res) => { + this.loading.loadData = false + this.loading.searching = false + if (res.ok) { + this.total = res.data.total + this.tableData = res.data.records + const checkedRow = [] + this.tableData.map(dataItem => { + const id = dataItem.usid || dataItem.USID || dataItem.orgId || dataItem.id + if (this.checkedIdList.includes(id)) { + checkedRow.push(dataItem) + } + }) + this.checkedRow(checkedRow) + } + }) - this.$api.user.sysUserList(param).then((res) => { - this.loading.loadData = false - this.loading.searching = false - if (res.ok) { - this.total = res.data.total - this.tableData = res.data.records - const checkedRow = [] - this.tableData.map(dataItem => { - const id = dataItem.usid || dataItem.USID || dataItem.orgId || dataItem.id - if (this.checkedIdList.includes(id)) { - checkedRow.push(dataItem) - } - }) - this.checkedRow(checkedRow) - } - }) + } }, // handleRowSelect(selection, row) { diff --git a/src/components/ProcessFooter.vue b/src/components/ProcessFooter.vue index 71b0928..c7fb181 100644 --- a/src/components/ProcessFooter.vue +++ b/src/components/ProcessFooter.vue @@ -53,6 +53,24 @@ :loading="TransferLoading" v-if="showTransfer" round >转办 + + 不同意 + + + 同意 + diff --git a/src/views/Report/ReportManager.vue b/src/views/Report/ReportManager.vue index 5677ada..d8b6fa4 100644 --- a/src/views/Report/ReportManager.vue +++ b/src/views/Report/ReportManager.vue @@ -55,6 +55,9 @@ :filter-node-method="filterNode" ref="tree" @check="getHalfCheckedNode" + check-strictly + @check-change="setCheckedNodes" + :key="treeKey" >