|
@@ -58,6 +58,36 @@
|
|
</template>
|
|
</template>
|
|
</el-skeleton>
|
|
</el-skeleton>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="8">
|
|
|
|
+ <el-skeleton :loading="state.loading" animated>
|
|
|
|
+ <template #template>
|
|
|
|
+ <el-form-item label="知识归属部门">
|
|
|
|
+ <el-skeleton-item variant="h1" />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </template>
|
|
|
|
+ <template #default>
|
|
|
|
+ <el-form-item label="知识归属部门" prop="knowledgeOrg" :rules="[{ required: true, message: '请选择知识归属部门', trigger: 'change' }]">
|
|
|
|
+ <VTreeDrop
|
|
|
|
+ :data="state.typeData"
|
|
|
|
+ checkable
|
|
|
|
+ keyField="id"
|
|
|
|
+ titleField="name"
|
|
|
|
+ v-model="state.ruleForm.knowledgeOrg"
|
|
|
|
+ @checked-change="getKnowledgeListData1"
|
|
|
|
+ :dropHeight="400"
|
|
|
|
+ dropPlaceholder="知识归属部门"
|
|
|
|
+ dropdownWidthFixed
|
|
|
|
+ clearable
|
|
|
|
+ searchPlaceholder="归属部门名称"
|
|
|
|
+ checkedButtonText="查看已选"
|
|
|
|
+ :show-footer="false"
|
|
|
|
+ :cascade="false"
|
|
|
|
+ >
|
|
|
|
+ </VTreeDrop>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </template>
|
|
|
|
+ </el-skeleton>
|
|
|
|
+ </el-col>
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="8">
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="8">
|
|
<el-skeleton :loading="state.loading" animated>
|
|
<el-skeleton :loading="state.loading" animated>
|
|
<template #template>
|
|
<template #template>
|
|
@@ -482,6 +512,7 @@ const state = reactive<any>({
|
|
indexNo: null, // 索引号
|
|
indexNo: null, // 索引号
|
|
fileNo: null, // 文号
|
|
fileNo: null, // 文号
|
|
planTypeId: null, // 预案分类
|
|
planTypeId: null, // 预案分类
|
|
|
|
+ knowledgeOrg:[], // 归属部门
|
|
},
|
|
},
|
|
typeData: [], // 知识分类
|
|
typeData: [], // 知识分类
|
|
loading: false,
|
|
loading: false,
|