组织树不允许去除勾选

This commit is contained in:
BOE\10867418
2023-08-25 10:26:20 +08:00
parent a243649236
commit 207dfd73f1
6 changed files with 7 additions and 10 deletions

View File

@@ -167,7 +167,7 @@ export default {
type: null,
createName: "",
publishTime: "", // 发布时间
allowClear: true,
allowClear: false,
option: [],
selectedRowKeys: [],
typeOption:[]
@@ -190,7 +190,7 @@ export default {
state.option = res.data?.result.orgTreeList;
state.orgId = res.data?.result.treeNodeList;
state.resetOrgId = res.data?.result.treeNodeList;
state.allowClear = true
state.allowClear = false
getTableData();
}
};

View File

@@ -17,7 +17,7 @@
v-model:value="orgId"
style="width: 100%"
placeholder="请选择归属组织"
:allowClear="allowClear"
:allowClear = false
:fieldNames="{
label: 'orgName',
value: 'organizationId',
@@ -221,9 +221,6 @@ export default {
state.option = res.data?.result.orgTreeList;
state.orgId = res.data?.result.treeNodeList;
state.resetOrgId = res.data?.result.treeNodeList;
res.data?.result?.userType === 1
? (state.allowClear = true)
: (state.allowClear = false);
getTableData();
}
};

View File

@@ -28,7 +28,7 @@
:options="option"
placeholder="请选择组织"
v-model:value="orgId"
:allowClear="allowClear"
:allowClear= false
style="width: 100%"
:fieldNames="{
label: 'name',

View File

@@ -17,7 +17,7 @@
v-model:value="orgId"
style="width: 100%"
placeholder="请选择归属组织"
:allowClear="allowClear"
:allowClear=false
:fieldNames="{
label: 'orgName',
value: 'organizationId',

View File

@@ -17,7 +17,7 @@
v-model:value="orgId"
style="width: 100%"
placeholder="请选择归属组织"
:allowClear="allowClear"
:allowClear=false
:fieldNames="{
label: 'orgName',
value: 'organizationId',

View File

@@ -30,7 +30,7 @@
v-model:value="orgId"
style="width: 100%"
placeholder="请选择归属组织"
:allowClear="allowClear"
:allowClear=false
:fieldNames="{
label: 'orgName',
value: 'organizationId',