|
|
@@ -41,7 +41,7 @@ const orgOptions = ref([])
|
|
|
|
|
|
const tableRef = ref()
|
|
|
const modalRef = ref()
|
|
|
-const dataScorpModalRef = ref()
|
|
|
+const dataScopeModalRef = ref()
|
|
|
const opts = reactive({
|
|
|
columns: [
|
|
|
{ field: "roleId", name: "角色ID", width: 100, isSort: true, visible: true },
|
|
|
@@ -334,7 +334,7 @@ function handleDataScope(row: any) {
|
|
|
const orgTreeSelect = getOrgTree(row.roleId)
|
|
|
apis.system.roleApi.getRole(row.roleId).then(({ data }) => {
|
|
|
form.value = data
|
|
|
- dataScorpModalRef.value.show()
|
|
|
+ dataScopeModalRef.value.show()
|
|
|
nextTick(() => {
|
|
|
orgTreeSelect.then((res) => {
|
|
|
nextTick(() => {
|
|
|
@@ -556,7 +556,7 @@ function getOrgAllCheckedKeys() {
|
|
|
</template>
|
|
|
</VbModal>
|
|
|
<VbModal
|
|
|
- v-model:modal="dataScorpModalRef"
|
|
|
+ v-model:modal="dataScopeModalRef"
|
|
|
title="分配数据权限"
|
|
|
:form-data="form"
|
|
|
:form-items="opts.formItems2 as any"
|