mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
组织树不允许去除勾选
This commit is contained in:
@@ -167,7 +167,7 @@ export default {
|
|||||||
type: null,
|
type: null,
|
||||||
createName: "",
|
createName: "",
|
||||||
publishTime: "", // 发布时间
|
publishTime: "", // 发布时间
|
||||||
allowClear: true,
|
allowClear: false,
|
||||||
option: [],
|
option: [],
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
typeOption:[]
|
typeOption:[]
|
||||||
@@ -190,7 +190,7 @@ export default {
|
|||||||
state.option = res.data?.result.orgTreeList;
|
state.option = res.data?.result.orgTreeList;
|
||||||
state.orgId = res.data?.result.treeNodeList;
|
state.orgId = res.data?.result.treeNodeList;
|
||||||
state.resetOrgId = res.data?.result.treeNodeList;
|
state.resetOrgId = res.data?.result.treeNodeList;
|
||||||
state.allowClear = true
|
state.allowClear = false
|
||||||
getTableData();
|
getTableData();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
v-model:value="orgId"
|
v-model:value="orgId"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
placeholder="请选择归属组织"
|
placeholder="请选择归属组织"
|
||||||
:allowClear="allowClear"
|
:allowClear = false
|
||||||
:fieldNames="{
|
:fieldNames="{
|
||||||
label: 'orgName',
|
label: 'orgName',
|
||||||
value: 'organizationId',
|
value: 'organizationId',
|
||||||
@@ -221,9 +221,6 @@ export default {
|
|||||||
state.option = res.data?.result.orgTreeList;
|
state.option = res.data?.result.orgTreeList;
|
||||||
state.orgId = res.data?.result.treeNodeList;
|
state.orgId = res.data?.result.treeNodeList;
|
||||||
state.resetOrgId = res.data?.result.treeNodeList;
|
state.resetOrgId = res.data?.result.treeNodeList;
|
||||||
res.data?.result?.userType === 1
|
|
||||||
? (state.allowClear = true)
|
|
||||||
: (state.allowClear = false);
|
|
||||||
getTableData();
|
getTableData();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
:options="option"
|
:options="option"
|
||||||
placeholder="请选择组织"
|
placeholder="请选择组织"
|
||||||
v-model:value="orgId"
|
v-model:value="orgId"
|
||||||
:allowClear="allowClear"
|
:allowClear= false
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:fieldNames="{
|
:fieldNames="{
|
||||||
label: 'name',
|
label: 'name',
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
v-model:value="orgId"
|
v-model:value="orgId"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
placeholder="请选择归属组织"
|
placeholder="请选择归属组织"
|
||||||
:allowClear="allowClear"
|
:allowClear=false
|
||||||
:fieldNames="{
|
:fieldNames="{
|
||||||
label: 'orgName',
|
label: 'orgName',
|
||||||
value: 'organizationId',
|
value: 'organizationId',
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
v-model:value="orgId"
|
v-model:value="orgId"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
placeholder="请选择归属组织"
|
placeholder="请选择归属组织"
|
||||||
:allowClear="allowClear"
|
:allowClear=false
|
||||||
:fieldNames="{
|
:fieldNames="{
|
||||||
label: 'orgName',
|
label: 'orgName',
|
||||||
value: 'organizationId',
|
value: 'organizationId',
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
v-model:value="orgId"
|
v-model:value="orgId"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
placeholder="请选择归属组织"
|
placeholder="请选择归属组织"
|
||||||
:allowClear="allowClear"
|
:allowClear=false
|
||||||
:fieldNames="{
|
:fieldNames="{
|
||||||
label: 'orgName',
|
label: 'orgName',
|
||||||
value: 'organizationId',
|
value: 'organizationId',
|
||||||
|
|||||||
Reference in New Issue
Block a user