【更新】去掉角色管理功能界面上面增加的合并行

pull/60/MERGE
小诺 2 years ago
parent 6da4e83140
commit 087a369fbf

@ -73,9 +73,5 @@ export default {
// 获取权限授权树 // 获取权限授权树
rolePermissionTreeSelector(data) { rolePermissionTreeSelector(data) {
return request('permissionTreeSelector', data, 'get') return request('permissionTreeSelector', data, 'get')
},
// 获取汇总数据
roleSummary(data) {
return request('summary', data, 'get')
} }
} }

@ -88,17 +88,6 @@
</a-dropdown> </a-dropdown>
</template> </template>
</template> </template>
<!-- <template #summary>
<a-table-summary-row>
<a-table-summary-cell :index="0"> </a-table-summary-cell>
<a-table-summary-cell :index="1"></a-table-summary-cell>
<a-table-summary-cell :index="2"></a-table-summary-cell>
<a-table-summary-cell :index="3">
<a-typography-text type="danger">{{ summaryData.sortCode }}</a-typography-text>
</a-table-summary-cell>
<a-table-summary-cell :index="4"></a-table-summary-cell>
</a-table-summary-row>
</template> -->
</s-table> </s-table>
</a-card> </a-card>
</a-col> </a-col>
@ -180,21 +169,10 @@
// Promise // Promise
const loadData = (parameter) => { const loadData = (parameter) => {
let param = Object.assign(parameter, searchFormState) let param = Object.assign(parameter, searchFormState)
summaryDataReq(param)
return roleApi.rolePage(param).then((res) => { return roleApi.rolePage(param).then((res) => {
return res return res
}) })
} }
//
const summaryData = {}
const summaryDataReq = (param) => {
summaryData.sortCode = ref(0)
roleApi.roleSummary(param).then((summary) => {
if(summary != null){
return summaryData.sortCode = summary.sortCode
}
})
}
// //
orgApi.orgTree().then((res) => { orgApi.orgTree().then((res) => {
cardLoading.value = false cardLoading.value = false

Loading…
Cancel
Save