mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
组织树不允许去除勾选
This commit is contained in:
@@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
:options="option"
|
||||
placeholder="请选择组织"
|
||||
v-model:value="orgId"
|
||||
:allowClear="allowClear"
|
||||
:allowClear= false
|
||||
style="width: 100%"
|
||||
:fieldNames="{
|
||||
label: 'name',
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
v-model:value="orgId"
|
||||
style="width: 100%"
|
||||
placeholder="请选择归属组织"
|
||||
:allowClear="allowClear"
|
||||
:allowClear=false
|
||||
:fieldNames="{
|
||||
label: 'orgName',
|
||||
value: 'organizationId',
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
v-model:value="orgId"
|
||||
style="width: 100%"
|
||||
placeholder="请选择归属组织"
|
||||
:allowClear="allowClear"
|
||||
:allowClear=false
|
||||
:fieldNames="{
|
||||
label: 'orgName',
|
||||
value: 'organizationId',
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
v-model:value="orgId"
|
||||
style="width: 100%"
|
||||
placeholder="请选择归属组织"
|
||||
:allowClear="allowClear"
|
||||
:allowClear=false
|
||||
:fieldNames="{
|
||||
label: 'orgName',
|
||||
value: 'organizationId',
|
||||
|
||||
Reference in New Issue
Block a user