| | |
| | | <div> |
| | | <div style="display: flex; flex-direction: column;"> |
| | | <div style="display: flex;"> |
| | | <el-button plain size="small" type="primary" @click="TreeAdd" v-if="permissionList.TreeAddStatus">添加</el-button> |
| | | <el-button plain size="small" type="primary" @click="TreeEdit" v-if="permissionList.TreeEditStatus">修改</el-button> |
| | | <el-button plain size="small" type="primary" @click="TreeDel" v-if="permissionList.TreeDelStatus">删除</el-button> |
| | | <el-button plain size="small" type="primary" @click="flushed" v-if="permissionList.flushedStatus">刷新</el-button> |
| | | <el-button v-if="permissionList.TreeAddStatus" plain size="small" type="primary" @click="TreeAdd">添加 |
| | | </el-button> |
| | | <el-button v-if="permissionList.TreeEditStatus" plain size="small" type="primary" @click="TreeEdit">修改 |
| | | </el-button> |
| | | <el-button v-if="permissionList.TreeDelStatus" plain size="small" type="primary" @click="TreeDel">删除 |
| | | </el-button> |
| | | <el-button v-if="permissionList.flushedStatus" plain size="small" type="primary" @click="flushed">刷新 |
| | | </el-button> |
| | | </div> |
| | | <div style="display: flex; margin-top: 10px"> |
| | | <el-button plain size="small" type="primary" @click="Enable" v-if="permissionList.EnableStatus">启用</el-button> |
| | | <el-button plain size="small" type="primary" @click="Deactivate" v-if="permissionList.DeactivateStatus">停用</el-button> |
| | | <el-button plain size="small" type="primary" @click.native="ImportExcel" v-if="permissionList.ImportExcelStatus">导入</el-button> |
| | | <el-button plain size="small" type="primary" @click="ExportExcel" v-if="permissionList.ExportExcelStatus">导出</el-button> |
| | | <el-button v-if="permissionList.EnableStatus" plain size="small" type="primary" @click="Enable">启用 |
| | | </el-button> |
| | | <el-button v-if="permissionList.DeactivateStatus" plain size="small" type="primary" @click="Deactivate"> |
| | | 停用 |
| | | </el-button> |
| | | <el-button v-if="permissionList.ImportExcelStatus" plain size="small" type="primary" |
| | | @click.native="ImportExcel">导入 |
| | | </el-button> |
| | | <el-button v-if="permissionList.ExportExcelStatus" plain size="small" type="primary" |
| | | @click="ExportExcel">导出 |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | <div style="display: flex;justify-content: space-around;margin-top: 5px;margin-bottom: 5px"> |
| | | <div style="display: flex;margin-top: 5px;margin-bottom: 5px"> |
| | | <el-button v-if="permissionList.flowingBtnStuatus" plain size="mini" type="primary" @click="testHandler">流水处理 |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | <!-- 左侧树--> |
| | | </div> |
| | | <!-- 左侧树--> |
| | | <div style="height: calc(100vh - 230px);overflow: auto"> |
| | | <avue-tree ref="tree" v-model="CloneTreeAvueform" v-loading="loading" :data="CloneTreedata" |
| | | :defaultExpandAll="false" |
| | | :option="Treeoption" |
| | | class="classifyTree" |
| | | style="height: calc(100vh - 280px)" |
| | | style="height: calc(100vh - 290px)" |
| | | @node-click="nodeClick" |
| | | > |
| | | <template slot-scope="{ node, data }" class="el-tree-node__label"> |
| | | <el-tooltip :content="$createElement('div', { domProps: { innerHTML: node.label } })" class="item" effect="dark" |
| | | open-delay="500" |
| | | placement="right-start"> |
| | | <span style="font-size: 14px;"> |
| | | {{ (node || {}).label }} |
| | | </span> |
| | | </el-tooltip> |
| | | </template> |
| | | </avue-tree> |
| | | </div> |
| | | |
| | |
| | | <el-dialog v-loading="AddLoading" :before-close="TreeEscHandler" |
| | | :title="this.TreeFlag ? '添加分类' :'添加主题库'" :visible.sync="TreeAddFormVisible" append-to-body |
| | | style="width: 1700px;margin: auto"> |
| | | <el-form ref="myForm" :model="TreeAddform" :rules="rules"> |
| | | <el-form ref="myForm" :model="TreeAddform" :rules= "rules"> |
| | | <el-form-item :label="this.TreeFlag ? '分类编号:' :'主题库编号:'" label-width="150px" prop="id" |
| | | style="display: inline-block"> |
| | | <el-input v-model="TreeAddform.id" autocomplete="off" style="width: 170px"></el-input> |
| | |
| | | <el-form-item label="是否参与关键属性校验:" label-width="170px"> |
| | | <el-switch |
| | | v-model="TreeAddform.codeKeyAttrValue" |
| | | active-text="是" |
| | | inactive-text="否" |
| | | active-color="#13ce66" |
| | | active-text="是" |
| | | inactive-color="#ff4949" |
| | | inactive-text="否" |
| | | @change="switchChange"> |
| | | </el-switch> |
| | | </el-form-item> |
| | |
| | | :nodeList="nodeList" @MasterHandler="MasterHandler" @flushed="flushed" |
| | | @referTreeForm="referTreeForm"></classifyTreeform> |
| | | </el-dialog> |
| | | </div> |
| | | </basic-container> |
| | | </el-aside> |
| | | <el-main> |
| | |
| | | </template> |
| | | |
| | | <template slot="menuLeft"> |
| | | <el-button plain size="small" type="primary" @click="FindeHanler" v-if="permissionList.FindStatus">查询</el-button> |
| | | <el-button plain size="small" type="primary" @click="TemRefresh" v-if="permissionList.TemRefreshStatus">刷新</el-button> |
| | | <el-button plain size="small" type="primary" @click="CloneBtn" v-if="permissionList.CloneBtnStuatus">从其它模板克隆</el-button> |
| | | <el-button v-if="permissionList.FindStatus" plain size="small" type="primary" |
| | | @click="FindeHanler">查询</el-button> |
| | | <el-button v-if="permissionList.TemRefreshStatus" plain size="small" type="primary" |
| | | @click="TemRefresh">刷新</el-button> |
| | | <el-button v-if="permissionList.CloneBtnStuatus" plain size="small" type="primary" @click="CloneBtn">从其它模板克隆</el-button> |
| | | <!-- 查询对话框--> |
| | | <el-dialog :visible.sync="FindFormVisible" append-to-body title="高级查询"> |
| | | <div> |
| | |
| | | upVersion, |
| | | stopLose, |
| | | startRelease, |
| | | exportClassify |
| | | exportClassify, |
| | | flowingDependencyGen |
| | | } from "@/api/template/templateAttr"; |
| | | import {defaultReferDataGrid, referDataGrid} from '@/api/MasterData/master' |
| | | import func from "@/util/func"; |
| | | import {mapGetters} from "vuex"; |
| | | |
| | | export default { |
| | | name: "classifyTrees.vue", |
| | | data() { |
| | | return { |
| | | activeName: 'first', |
| | | masterRow: null, |
| | | AddLoading: false, |
| | | // 定义一个变量来保存树请求的数量 |
| | |
| | | masterOption: { |
| | | addBtn: false, |
| | | index: true, |
| | | refreshBtn:false, |
| | | columnBtn: false, |
| | | border: true, |
| | | menu: false, |
| | | height: 380, |
| | |
| | | Option: { |
| | | addBtn: false, |
| | | index: true, |
| | | columnBtn:false, |
| | | columnBtn: false, |
| | | refreshBtn:false, |
| | | border: true, |
| | | menu: false, |
| | | height: 380, |
| | |
| | | codeRuleOidName: "", |
| | | //存储的业务类型 |
| | | btmTypeName: "", |
| | | codeKeyAttrValue:true, |
| | | isParticipateCheck:1 |
| | | codeKeyAttrValue: true, |
| | | isParticipateCheck: 1 |
| | | }, |
| | | rules: { |
| | | id: [ |
| | |
| | | CloneSelect: [], |
| | | //克隆模板option |
| | | ClonecrudTreeOption: { |
| | | columnBtn:false, |
| | | columnBtn: false, |
| | | index: true, |
| | | border: true, |
| | | menu: false, |
| | |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["permission"]), |
| | | permissionList(){ |
| | | return{ |
| | | TreeAddStatus:this.vaildData(this.permission.classifyTree.tree_add,false), |
| | | TreeEditStatus:this.vaildData(this.permission.classifyTree.tree_edit,false), |
| | | TreeDelStatus:this.vaildData(this.permission.classifyTree.tree_delete,false), |
| | | flushedStatus:this.vaildData(this.permission.classifyTree.tree_break,false), |
| | | EnableStatus:this.vaildData(this.permission.classifyTree.tree_enable,false), |
| | | DeactivateStatus:this.vaildData(this.permission.classifyTree.tree_stop,false), |
| | | ImportExcelStatus:this.vaildData(this.permission.classifyTree.tree_import,false), |
| | | ExportExcelStatus:this.vaildData(this.permission.classifyTree.tree_export,false), |
| | | FindStatus:this.vaildData(this.permission.classifyTree.manage_search,false), |
| | | TemRefreshStatus:this.vaildData(this.permission.classifyTree.manage_break,false), |
| | | CloneBtnStuatus:this.vaildData(this.permission.classifyTree.manage_clone,false), |
| | | permissionList() { |
| | | return { |
| | | TreeAddStatus: this.vaildData(this.permission.classifyTree.tree_add, false), |
| | | TreeEditStatus: this.vaildData(this.permission.classifyTree.tree_edit, false), |
| | | TreeDelStatus: this.vaildData(this.permission.classifyTree.tree_delete, false), |
| | | flushedStatus: this.vaildData(this.permission.classifyTree.tree_break, false), |
| | | EnableStatus: this.vaildData(this.permission.classifyTree.tree_enable, false), |
| | | DeactivateStatus: this.vaildData(this.permission.classifyTree.tree_stop, false), |
| | | ImportExcelStatus: this.vaildData(this.permission.classifyTree.tree_import, false), |
| | | ExportExcelStatus: this.vaildData(this.permission.classifyTree.tree_export, false), |
| | | FindStatus: this.vaildData(this.permission.classifyTree.manage_search, false), |
| | | TemRefreshStatus: this.vaildData(this.permission.classifyTree.manage_break, false), |
| | | CloneBtnStuatus: this.vaildData(this.permission.classifyTree.manage_clone, false), |
| | | flowingBtnStuatus: this.vaildData(this.permission.classifyTree.tree_flowing, false), |
| | | } |
| | | }, |
| | | crudTreeOption() { |
| | | return { |
| | | index: true, |
| | | border: true, |
| | | columnBtn:false, |
| | | columnBtn: false, |
| | | height: 180, |
| | | addBtn: this.Formlist.length <= 0 && this.nodeClickList != "", |
| | | editBtn: false, |
| | |
| | | created() { |
| | | }, |
| | | methods: { |
| | | handleTabClick(){ |
| | | |
| | | }, |
| | | testHandler(){ |
| | | if(this.nodeClickList.length <=0 ){ |
| | | this.$message.warning('请至少选择一条数据!') |
| | | return; |
| | | } |
| | | flowingDependencyGen(this.nodeClickList.oid).then(res => { |
| | | this.$message.success('操作成功') |
| | | }).catch(res => { |
| | | this.$message.error(res) |
| | | }) |
| | | }, |
| | | // switch |
| | | switchChange(){ |
| | | this.TreeAddform.isParticipateCheck = this.TreeAddform.codeKeyAttrValue ? 1 : 0; |
| | | // console.log(this.TreeAddform.isParticipateCheck) |
| | | switchChange() { |
| | | this.TreeAddform.isParticipateCheck = this.TreeAddform.codeKeyAttrValue === true ? 1 : 0; |
| | | }, |
| | | //存储的业务类型关闭 |
| | | BtmEscHandler() { |
| | |
| | | this.$set(this.TreeAddform, 'codeRuleOidName', this.masterName) |
| | | this.$set(this.TreeAddform, 'codeRuleOid', this.masterOid) |
| | | this.$emit('MasterHandler', this.loneTreeNewForm) |
| | | this.masterRow=null; |
| | | this.masterRow = null; |
| | | } |
| | | }, |
| | | //编码接口 |
| | |
| | | referType: 'coderule', |
| | | isMuti: 'false', |
| | | 'conditionMap["lcstatus"]': 'Released', |
| | | 'limit':'-1', |
| | | 'limit': '-1', |
| | | ...masterParameter |
| | | }).then(res => { |
| | | this.masterData = res.data.records; |
| | |
| | | this.KeySelectLIst = [] |
| | | this.$set(this.TreeAddform, 'codeKeyAttrRepeatOidName', this.KeyName) |
| | | this.$set(this.TreeAddform, 'codeKeyAttrRepeatOid', this.KeyOid) |
| | | this.masterRow=null; |
| | | this.masterRow = null; |
| | | } |
| | | }, |
| | | //关键属性查询 |
| | |
| | | referType: 'codekeyattrrepeat', |
| | | isMuti: 'false', |
| | | 'conditionMap["lcstatus"]': 'Enabled', |
| | | 'limit':'-1', |
| | | 'limit': '-1', |
| | | ...masterParameter |
| | | }).then(res => { |
| | | this.KeyData = res.data.records; |
| | |
| | | this.$set(this.TreeAddform, 'codeResembleRuleOidName', this.simName) |
| | | this.$set(this.TreeAddform, 'codeResembleRuleOid', this.simOid) |
| | | this.$emit('MasterHandler', this.loneTreeNewForm) |
| | | this.masterRow=null; |
| | | this.masterRow = null; |
| | | } |
| | | }, |
| | | //相似项查询 |
| | |
| | | referType: 'coderesemblerule', |
| | | isMuti: 'false', |
| | | 'conditionMap["lcstatus"]': 'Enabled', |
| | | 'limit':'-1', |
| | | 'limit': '-1', |
| | | ...masterParameter |
| | | }).then(res => { |
| | | this.simData = res.data.records; |
| | |
| | | this.$set(this.TreeAddform, 'btmTypeName', this.btmName) |
| | | this.$set(this.TreeAddform, 'btmTypeId', this.btmOid) |
| | | this.$emit('MasterHandler', this.loneTreeNewForm) |
| | | this.masterRow=null; |
| | | this.masterRow = null; |
| | | } |
| | | }, |
| | | //业务类型查询 |
| | |
| | | }, |
| | | //业务类型接口 |
| | | btmdefaultRend(masterParameter) { |
| | | referDataGrid({valueField: 'id', isMuti: 'false','limit':'-1', ...masterParameter}).then(res => { |
| | | referDataGrid({valueField: 'id', isMuti: 'false', 'limit': '-1', ...masterParameter}).then(res => { |
| | | this.BtmData = res.data.data.records |
| | | }) |
| | | }, |
| | |
| | | }, |
| | | //分类树数据处理 |
| | | getAttr() { |
| | | getAtrrList().then(res => { |
| | | this.Treedata = res.data; |
| | | this.CloneTreedata = res.data; |
| | | this.Treedata.forEach(() => { |
| | | for (let i = 0; i < this.Treedata.length; i++) { |
| | | this.Treedata[i].value = i; |
| | | } |
| | | }) |
| | | //调用修改属性名方法 |
| | | this.ModifyProperties(this.CloneTreedata, 'name', 'label'); |
| | | this.CloneTreedata = this.CloneTreedata.map(item => { |
| | | if (item.attributes.lcStatus === "Disabled") { |
| | | item.label += '【停用】'; |
| | | } |
| | | return item; |
| | | }); |
| | | }).catch(res => { |
| | | this.$message.error(res) |
| | | |
| | | }) |
| | | this.loading = true; |
| | | return new Promise((resolve, reject) => { |
| | | getAtrrList() |
| | | .then(res => { |
| | | this.Treedata = res.data; |
| | | this.CloneTreedata = res.data; |
| | | this.Treedata.forEach(() => { |
| | | for (let i = 0; i < this.Treedata.length; i++) { |
| | | this.Treedata[i].value = i; |
| | | } |
| | | }) |
| | | //调用修改属性名方法 |
| | | this.ModifyProperties(this.CloneTreedata, 'name', 'label'); |
| | | this.CloneTreedata = this.CloneTreedata.map(item => { |
| | | if (item.attributes.lcStatus === "Disabled") { |
| | | item.label += '【停用】'; |
| | | } |
| | | return item; |
| | | }); |
| | | this.loading = false; |
| | | resolve(); // 完成请求,调用resolve方法 |
| | | }) |
| | | .catch(error => { |
| | | this.$message.error(error) |
| | | reject(error); // 请求出错,调用reject方法 |
| | | }); |
| | | }); |
| | | }, |
| | | //定义一个修改数据属性名的方法 |
| | | ModifyProperties(obj, oldName, newName) { |
| | |
| | | }, |
| | | //树节点取消事件 |
| | | TreeEscHandler() { |
| | | this.TreeAddform = {}; |
| | | this.TreeAddFormVisible = false; |
| | | for (let key in this.TreeAddform) { |
| | | if (key !== 'codeKeyAttrValue' && key !== 'isParticipateCheck') { |
| | | this.TreeAddform[key] = ""; |
| | | } |
| | | } |
| | | this.TreeAddform.codeKeyAttrValue = true; |
| | | this.TreeAddform.isParticipateCheck = 1; |
| | | this.TreeAddFormVisible = false; |
| | | // 关闭弹窗清空校验 |
| | | this.$refs.myForm.clearValidate(); |
| | | }, |
| | | //树节点添加事件 |
| | | TreeAddHandler() { |
| | | async TreeAddHandler() { |
| | | if ((!this.TreeAddform.id || !this.TreeAddform.name) || (this.TreeFlagCode && !this.TreeAddform.btmTypeName)) { |
| | | this.$message.warning('请输入内容!'); |
| | | } else { |
| | | return; |
| | | } |
| | | try { |
| | | const data = this.TreeAddform; |
| | | this.$set(data, "parentCodeClassifyOid", this.nodeClickList.oid); |
| | | TreeSave(data) |
| | | .then(() => { |
| | | this.$message({ |
| | | type: "success", |
| | | message: "添加成功!", |
| | | }); |
| | | Object.keys(this.TreeAddform).forEach(key => { |
| | | this.TreeAddform[key] = ""; |
| | | this.TreeAddform.codeKeyAttrValue = true; |
| | | this.TreeAddform.isParticipateCheck = 1; |
| | | }); |
| | | this.getAttr(); |
| | | this.TreeAddFormVisible = false; |
| | | //添加完成后右侧清空 |
| | | this.ProData = []; |
| | | this.Formlist = []; |
| | | }) |
| | | .catch((res) => { |
| | | this.$message({ |
| | | type: "warning", |
| | | message: res, |
| | | }); |
| | | }); |
| | | await TreeSave(data) |
| | | this.$message.success("添加成功!"); |
| | | Object.keys(this.TreeAddform).forEach(key => { |
| | | this.TreeAddform[key] = ""; |
| | | }); |
| | | this.TreeAddform.codeKeyAttrValue = true; |
| | | this.TreeAddform.isParticipateCheck = 1; |
| | | this.getAttr(); |
| | | this.TreeAddFormVisible = false; |
| | | //添加完成后右侧清空 |
| | | this.ProData = []; |
| | | this.Formlist = []; |
| | | } catch (res) { |
| | | this.$message({ |
| | | type: "warning", |
| | | message: res, |
| | | }); |
| | | } |
| | | }, |
| | | //树节点删除按钮 |
| | |
| | | } |
| | | }, |
| | | //树刷新 |
| | | flushed() { |
| | | this.loading = true |
| | | this.getAttr() |
| | | setTimeout(() => { |
| | | this.loading = false; |
| | | async flushed() { |
| | | await this.getAttr() |
| | | this.$refs.tree.setCurrentKey(null); |
| | | this.nodeClickList = {} |
| | | this.TreeList = [] |
| | | this.TreeFlagCode = true; |
| | | }, 600); |
| | | }, |
| | | //启用和停用都先判断状态 |
| | | //启用 |
| | | Enable() { |
| | | async Enable() { |
| | | if (Object.keys(this.nodeClickList).length < 1) { |
| | | this.$message.warning('请先从树上选择一条数据') |
| | | } else { |
| | | if (this.FlagObj.lcStatus == "Enabled") { |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: '当前分类不是停用状态' |
| | | }); |
| | | } else { |
| | | this.$confirm('是否将子分类一并启用?', '提示', { |
| | | confirmButtonText: '是', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | TreeEnable(this.nodeClickList).then(() => { |
| | | this.$message({ |
| | | type: 'success', |
| | | message: '启用成功!' |
| | | }); |
| | | this.getAttr() |
| | | }) |
| | | }).catch(() => { |
| | | this.$message.warning('请先从树上选择一条数据'); |
| | | return; |
| | | } |
| | | if (this.FlagObj.lcStatus == "Enabled") { |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: '当前分类不是停用状态' |
| | | }); |
| | | return; |
| | | } |
| | | this.loading = true; |
| | | try { |
| | | const confirmResult = await this.$confirm('是否将子分类一并启用?', '提示', { |
| | | confirmButtonText: '是', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }); |
| | | if (confirmResult) { |
| | | await TreeEnable(this.nodeClickList).then(res => { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已取消启用' |
| | | type: 'success', |
| | | message: '启用成功!' |
| | | }); |
| | | }) |
| | | await this.getAttr(); |
| | | |
| | | } else { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已取消启用' |
| | | }); |
| | | } |
| | | } catch (error) { |
| | | // console.error(error); |
| | | } finally { |
| | | this.loading = false; |
| | | } |
| | | }, |
| | | |
| | | async Deactivate() { |
| | | if (Object.keys(this.nodeClickList).length < 1) { |
| | | this.$message.warning('请先从树上选择一条数据'); |
| | | return; |
| | | } |
| | | |
| | | }, |
| | | //停用 |
| | | Deactivate() { |
| | | if (Object.keys(this.nodeClickList).length < 1) { |
| | | this.$message.warning('请先从树上选择一条数据') |
| | | } else { |
| | | if (this.FlagObj.lcStatus === "Disabled") { |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: '当前分类不是启用状态!' |
| | | }); |
| | | } else { |
| | | this.$confirm('是否停用当前分类,停用后,子分类也将不能被使用,是否继续?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | TreeDeactivate(this.nodeClickList).then(() => { |
| | | this.$message({ |
| | | type: 'success', |
| | | message: '停用成功!' |
| | | }); |
| | | this.nodeClickList['flag'] = true; |
| | | this.getAttr() |
| | | }) |
| | | }).catch(() => { |
| | | if (this.FlagObj.lcStatus === "Disabled") { |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: '当前分类不是启用状态!' |
| | | }); |
| | | return; |
| | | } |
| | | |
| | | this.loading = true; |
| | | try { |
| | | const confirmResult = await this.$confirm('是否停用当前分类,停用后,子分类也将不能被使用,是否继续?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }); |
| | | if (confirmResult) { |
| | | await TreeDeactivate(this.nodeClickList).then(res => { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已取消停用' |
| | | type: 'success', |
| | | message: '停用成功!' |
| | | }); |
| | | }) |
| | | this.nodeClickList['flag'] = true; |
| | | await this.getAttr(); |
| | | } else { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已取消停用' |
| | | }); |
| | | } |
| | | } catch (error) { |
| | | // console.error(error); |
| | | } finally { |
| | | this.loading = false; |
| | | } |
| | | }, |
| | | //树点击事件 |
| | |
| | | this.crudOid = '' |
| | | } |
| | | this.TreeList = res3.data.data; |
| | | if(!this.TreeList.isParticipateCheck){ |
| | | this.$set(this.TreeList,"isParticipateCheck",1) |
| | | if (this.TreeList.isParticipateCheck === null || this.TreeList.isParticipateCheck === undefined || this.TreeList.isParticipateCheck === "") { |
| | | this.$set(this.TreeList, "isParticipateCheck", 1) |
| | | return |
| | | } |
| | | } catch (error) { |
| | |
| | | } |
| | | }, |
| | | treeClick(e) { |
| | | console.log(e); |
| | | // console.log(e); |
| | | }, |
| | | //基本信息表单刷新 |
| | | referTreeForm() { |