| | |
| | | <script src="<%= BASE_URL %>cdn/xlsx/FileSaver.min.js"></script> |
| | | <script src="<%= BASE_URL %>cdn/xlsx/xlsx.full.min.js"></script> |
| | | <link rel="icon" href="<%= BASE_URL %>favicon.png"> |
| | | <script src="https://cdn.staticfile.org/FileSaver.js/2014-11-29/FileSaver.min.js"></script> |
| | | <script src="https://cdn.staticfile.org/xlsx/0.18.2/xlsx.full.min.js"></script> |
| | | <title>ubcs企业平台</title> |
| | | <style> |
| | | html, |
| | |
| | | </div> |
| | | <el-row style="width: 100%;margin-bottom: 20px"> |
| | | <div> |
| | | <el-button v-for="(item, index) in masterVrBtnList" :key="index" plain size="small" type="primary" v-if="!['PREVIEW', 'DELETEFILE', 'revisefile', 'DOWNLOADFILE', 'UPLOADFILE'].includes(item.uniqueFlag)" |
| | | <el-button v-for="(item, index) in masterVrBtnList" :key="index" plain size="small" type="primary" |
| | | v-if="!['PREVIEW', 'DELETEFILE', 'revisefile', 'DOWNLOADFILE', 'UPLOADFILE'].includes(item.uniqueFlag)" |
| | | @click="handelBtnClick(item)">{{ |
| | | item.name |
| | | }} |
| | |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-row> |
| | | <!-- 新增--> |
| | | <FormTemplateDialog :codeClassifyOid="this.codeClassifyOid" :codeRuleOid="this.codeRuleOid" |
| | | :disabledProp="disabledProp" :templateOid="templateOid" :visible.sync="addvisible" type="add" |
| | | @submit="AddSumbit"> |
| | | </FormTemplateDialog> |
| | | <!-- 修改--> |
| | | <FormTemplateDialog :codeClassifyOid="this.codeClassifyOid" :codeRuleOid="this.codeRuleOid" |
| | | :disabledProp="disabledProp" :rowOid="rowOid" :templateOid="templateOid" :title="'修改编码信息'" |
| | | :visible.sync="editvisible" |
| | | type="edit" @submit="EditSumbit"></FormTemplateDialog> |
| | | <!-- 已发布数据修改--> |
| | | <FormTemplateDialog :codeClassifyOid="this.codeClassifyOid" :codeRuleOid="this.codeRuleOid" |
| | | :disabledProp="disabledProp" :rowOid="rowOid" :templateOid="templateOid" :title="'已发布数据更改'" |
| | | :type="edit" |
| | | :visible.sync="DataVisible"></FormTemplateDialog> |
| | | <!-- 发布--> |
| | | <set-personnel :parameter="this.parameter" :visible.sync="visibleFlow"></set-personnel> |
| | | <!-- 高级查询--> |
| | | <advanced-query :options="this.options" :visible.sync="findvisible" @echoContion="echoContion"></advanced-query> |
| | | |
| | | <integration-transfer :data="transferData" :props="transferProps" :visible.sync="dialogPush" |
| | | @save="handelTransferSave"></integration-transfer> |
| | | <ResembleQueryDialog :codeClassifyOid="codeClassifyOid" :codeRuleOid="this.codeRuleOid" :rowOid="rowOid" |
| | |
| | | this.getListCodeByClassId(); |
| | | }, |
| | | async getListCodeByClassId() { |
| | | this.dialogPush=true; |
| | | this.transferData = []; |
| | | const response = await listCodeAttributeByClassId({ |
| | | codeClassifyId: this.codeClassifyOid, |
| | |
| | | this.transferData = data; |
| | | } |
| | | }, |
| | | handelTransferSave(val){ |
| | | console.log('发布',val) |
| | | }, |
| | | rend() { |
| | | this.tableData = this.tableHeadData; |
| | | }, |
| | |
| | | if (!formValidate) return; |
| | | let codeValidate = true; |
| | | // 进行码值申请校验 |
| | | if (this.showCodeApply) { |
| | | codeValidate = await this.$refs.CodeApply.validate(); |
| | | if (!codeValidate) { |
| | | this.activeName = "codeApply"; |
| | | return false; |
| | | } |
| | | } |
| | | // if (this.showCodeApply) { |
| | | // codeValidate = await this.$refs.CodeApply.validate(); |
| | | // if (!codeValidate) { |
| | | // this.activeName = "codeApply"; |
| | | // return false; |
| | | // } |
| | | // } |
| | | let resembleQueryList = []; |
| | | if (this.$refs.resembleQueryRef) { |
| | | // 进行相似项查询 |
| | |
| | | codeClassifyOid: this.nodeClickList.oid, |
| | | functionId: 5, |
| | | }).then(res => { |
| | | console.log(res.data.buttons) |
| | | this.masterVrBtnList = res.data.buttons |
| | | console.log('1-',res.data) |
| | | console.log('123-',res.data.buttons) |
| | | const flagsToDeleteBtn = ["CODEIMPORTHISTORY", "CODEBATCHADD","CODESTARTPROCESS","CODEEXPORT","CODEQUERY"]; |
| | | //不同节点显示不同按钮 |
| | | if(!res.data.leaf){ |
| | | this.masterVrBtnList=res.data.buttons.filter(obj =>flagsToDeleteBtn.includes(obj.uniqueFlag)); |
| | | }else { |
| | | this.masterVrBtnList = res.data.buttons |
| | | } |
| | | this.tableHeadDataFateher = res.data; |
| | | this.templateOids = res.data.tableDefineVO.oid; |
| | | let List = res.data.tableDefineVO.cols[0]; |
| | |
| | | this.TableRend(); // TableHeadRend() 方法完成后再执行 TableRend() |
| | | this.$emit('nodeClick',this.templateOids) |
| | | this.$emit("codeClassifyOid", this.nodeClickList.oid ) |
| | | console.log('树',this.nodeClickList.oid) |
| | | console.log('树',this.nodeClickList) |
| | | } catch (error) { |
| | | // 处理错误 |
| | | this.$message.error(error) |
| | |
| | | editingRows: null, |
| | | editShows:"", |
| | | attrFlag: false, |
| | | referObject:{}, |
| | | //编码申请预览option |
| | | applicationoption: { |
| | | column: [] |
| | |
| | | //参照配置子组件 |
| | | echoReferConfig(val){ |
| | | console.log('val--',val) |
| | | this.referObject=val |
| | | this.$set(this.CurrentCell,'referConfig',JSON.stringify(val)) |
| | | |
| | | }, |
| | |
| | | proxy: { |
| | | '/api': { |
| | | //本地服务接口地址 |
| | | target: 'http://localhost:37000', |
| | | // target: 'http://localhost:37000', |
| | | // target: 'http://192.168.1.51:37000', |
| | | // target: 'http://192.168.1.46:37000', |
| | | target: 'http://192.168.1.46:37000', |
| | | // target: 'http://dev.vci-tech.com:37000', |
| | | // target: 'http://192.168.1.51:37000/', |
| | | // target: 'http://192.168.1.104:37000', |