| | |
| | | return request({ |
| | | url: '/api/secretGradeController/saveSecretGrade', |
| | | method: 'post', |
| | | params: params |
| | | data: params |
| | | }) |
| | | } |
| | |
| | | <template> |
| | | <template> |
| | | <el-container> |
| | | <basic-container style="height: calc(100vh - 118px);width: 100%;"> |
| | | <avue-form ref="form" v-model="form" :option="formOption" @submit="saveHandler"></avue-form> |
| | |
| | | if (this.nodeRow.id === 'topNode') { |
| | | this.$message.error('请选择子节点进行修改') |
| | | return; |
| | | }debugger; |
| | | } |
| | | this.form = {...this.nodeRow}; |
| | | this.form.inputRevisionFlag = JSON.parse(this.form.inputRevisionFlag); // 字符串false转换为布尔值 |
| | | // this.form.fName = this.nodeRow.id === 'topNode' ? "" : this.nodeRow.id; |
| | |
| | | eventOption: { |
| | | ...basicOption, |
| | | addBtn: false, |
| | | editBtn: false, |
| | | // editBtn: false, |
| | | delBtn: false, |
| | | refreshBtn: false, |
| | | highlightCurrentRow: true, |
| | |
| | | // 编辑打开表单前 |
| | | beforeOpen(done, type) { |
| | | if (type === 'edit') { |
| | | this.form.showType = 'Ludc'; |
| | | this.$set(this.form, 'showType', 'Ludc'); |
| | | console.log('edit'); |
| | | // this.form.showType = 'Ludc'; |
| | | // this.$set(this.form, 'showType', "terminology"); |
| | | // this.$set(this.option.group[0].column[0],'value','Ludc'); |
| | | // this.option.group[0].column[0].value = 'Ludc'; |
| | | done(); |
| | |
| | | </el-dialog> |
| | | |
| | | <!-- 导入人员 --> |
| | | <upload-file ref="upload" :tipList="tipList" :fileType="upFileType" :fileUrl="fileUrl" title="导入人员" @updata="getTableList"></upload-file> |
| | | <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" title="导入人员" |
| | | @updata="getTableList"></upload-file> |
| | | |
| | | <!-- 分配部门对话框 --> |
| | | <el-dialog |
| | |
| | | name: "userManage", |
| | | data: function () { |
| | | return { |
| | | departSearchObj:{}, |
| | | departSearchValue:'', |
| | | departSearchObj: {}, |
| | | departSearchValue: '', |
| | | loadKey: 0, |
| | | departStatus: '', // 区分不同方式打开部门对话框 |
| | | departCurrenRow: {}, |
| | | departOption: { |
| | | ...basicOption, |
| | | addBtn:false, |
| | | addBtn: false, |
| | | rowKey: 'oid', |
| | | rowParentKey: 'parentId', |
| | | selection: false, |
| | |
| | | menu: false, |
| | | refreshBtn: false, |
| | | gridBtn: false, |
| | | header:false, |
| | | header: false, |
| | | column: [ |
| | | { |
| | | label: '名称', |
| | | prop: 'name', |
| | | align:'left' |
| | | align: 'left' |
| | | }, |
| | | { |
| | | label: '编号', |
| | |
| | | leftRoleData: [], // 分配角色穿梭框左侧初始数据 |
| | | rightRoleData: [], // 分配角色穿梭框右侧初始数据 |
| | | transferTitle: ['现有角色', '拥有角色'], |
| | | tipList:["导入模板中标明红色字体的为必输项","部门列上下级关系必须按照反斜杠隔开(/)"], |
| | | lastIndex:null, |
| | | tipList: ["导入模板中标明红色字体的为必输项", "部门列上下级关系必须按照反斜杠隔开(/)"], |
| | | lastIndex: null, |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | row, |
| | | this.$refs.userCrud, |
| | | this.lastIndex, |
| | | (newIndex) => { this.lastIndex = newIndex; }, |
| | | () => { this.selectList = []; } |
| | | (newIndex) => { |
| | | this.lastIndex = newIndex; |
| | | }, |
| | | () => { |
| | | this.selectList = []; |
| | | } |
| | | ); |
| | | }, |
| | | |
| | |
| | | }, |
| | | |
| | | // 新增 |
| | | rowSaveHandler(row, done,loading) { |
| | | rowSaveHandler(row, done, loading) { |
| | | if (row.password != row.confirmPassword) { |
| | | this.$message.error('请检查两次密码是否输入一致!') |
| | | return this.$refs.userCrud.$refs.dialogForm.$refs.tableForm.allDisabled = false; |
| | |
| | | }, |
| | | |
| | | // 编辑 |
| | | rowUpdateHandler(row, index, done,loading) { |
| | | rowUpdateHandler(row, index, done, loading) { |
| | | if (row.password != row.confirmPassword) { |
| | | this.$message.error('请检查两次密码是否输入一致!') |
| | | return this.$refs.userCrud.$refs.dialogForm.$refs.tableForm.allDisabled = false; |
| | |
| | | departmentQueryController({queryAllLevel: true}).then(res => { |
| | | const data = res.data.treeData; |
| | | this.departData = this.departDtaFormAtter(data); |
| | | this.option.column[7].dicData=[{oid:'ALLDept',name:'所有部门',expand:true,disabled:true,children:this.departData}] |
| | | this.option.column[7].defaultExpandedKeys=['ALLDept']; |
| | | this.option.column[7].dicData = [{ |
| | | oid: 'ALLDept', |
| | | name: '所有部门', |
| | | expand: true, |
| | | disabled: true, |
| | | children: this.departData |
| | | }] |
| | | this.option.column[7].defaultExpandedKeys = ['ALLDept']; |
| | | }).catch(err => { |
| | | this.$message.error(err); |
| | | }) |
| | |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <basic-container v-loading="loading"> |
| | | <!-- <div style="display: flex">--> |
| | | <!-- <div style="height: 80px; width: 50px; overflow: hidden;margin-right: 20px">--> |
| | | <!-- <img src="../../../public/img/mainTop.png" style="height: 100%; width: 100%; object-fit: contain;" />--> |
| | | <!-- </div>--> |
| | | <!-- <avue-text-ellipsis :text="text" :height="80" :width="1600" use-tooltip placement="top">--> |
| | | <!-- <small slot="more">...</small>--> |
| | | <!-- </avue-text-ellipsis>--> |
| | | <!-- </div>--> |
| | | <avue-data-tabs :option="topOption"></avue-data-tabs> |
| | | </basic-container> |
| | | </el-col> |
| | |
| | | data() { |
| | | return { |
| | | loading: false, |
| | | text: '北京宏博远达科技有限公司(以下简称“宏博远达”)长期专注于制造业信息化建设,为客户提供企业信息化整体解决方案及相关软件研发、咨询及实施服务。宏博远达客户群体涵盖航空、航天、船舶、兵器、汽车、通用机械、电子等制造行业,通过与客户深度合作,承担了多项国家级软件研发与技术服务项目,拥有多项具有自主知识产权的软件产品。为了给客户提供更多的技术创新能力及相应的企业级管理支撑平台,宏博远达研发了具有自主知识产权的企业级信息化整体解决方案,同时针对客户的特定需求,提供了高度可定制的专业应用。为了进一步提升技术服务能力,宏博远达投入专门力量在前沿技术方面进行探索,在企业私有云计算和大数据等领域不断取得突破。随着新一代业务与管理技术平台的推出,更增强了公司为客户提供高质量、全方位、深层次服务的技术能力。宏博远达一直秉承“用智慧为客户创造价值”的宗旨,愿以“诚信负责”的态度和专业化的服务,在企业信息化发展的道路上,与客户一起成长,共同见证成功!', |
| | | activeNames: ['1', '2', '3', '5'], |
| | | logActiveNames: ['28'], |
| | | topOption: { |
| | |
| | | borderRadius: 10, |
| | | normal: { |
| | | color: function (colors) { |
| | | var colorList = ['rgb(230, 71, 88)', 'rgb(178, 159, 255)','rgb(27, 201, 142)']; |
| | | const colorList = ['rgb(230, 71, 88)', 'rgb(178, 159, 255)', 'rgb(27, 201, 142)']; |
| | | return colorList[colors.dataIndex]; |
| | | } |
| | | } |