Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs
| | |
| | | } |
| | | |
| | | export const getChildList = (current, size, parentoid, params) => { |
| | | debugger; |
| | | return request({ |
| | | url: '/api/ubcs-omd/enumItem/listAll', |
| | | method: 'get', |
| | |
| | | } |
| | | |
| | | export const update = (row) => { |
| | | debugger; |
| | | return request({ |
| | | url: '/api/ubcs-omd/enum/submit', |
| | | method: 'post', |
| | |
| | | }, |
| | | data(){ |
| | | return{ |
| | | idData:'', |
| | | masterVrBtnList:[], |
| | | tableHeadFindData:[], |
| | | tableHeadDataFateher:[], |
| | |
| | | methods:{ |
| | | //获取数据 |
| | | getTreeLists(){ |
| | | const fullPath = this.$route.fullPath |
| | | const queryString = fullPath.split('?')[1]; |
| | | getTreeList({'conditionMap[id]': 'wupin'}).then(res=>{ |
| | | const index = this.$route.query.id.indexOf('@'); |
| | | const result = this.$route.query.id.substring(0, index); |
| | | this.idData=result |
| | | // console.log(this.$route) |
| | | console.log(this.idData) |
| | | getTreeList({'conditionMap[id]':this.idData }).then(res=>{ |
| | | this.Treedata=res.data |
| | | this.ModifyProperties(this.Treedata, 'text', 'label'); |
| | | this.codeClassifyOid=res.data[0].oid; |
| | |
| | | }, |
| | | //表格头部 |
| | | TableHeadRend() { |
| | | const index = this.$route.query.id.indexOf('@'); |
| | | const result = this.$route.query.id.substring(0, index); |
| | | return new Promise((resolve, reject) => { |
| | | MasterTable({ |
| | | codeClassifyOid: this.nodeClickList.oid, |
| | | functionId: 5, |
| | | functionId:result, |
| | | }).then(res => { |
| | | const flagsToDeleteBtn = ["CODEIMPORTHISTORY", "CODEEXPORT", "CODEQUERY","batchApplyCode"]; |
| | | //不同节点显示不同按钮 |
| | |
| | | <el-table :data="tableData" style="width: 100%" @cell-click="handleCellClick" |
| | | @selection-change="handleSelectionChange"> |
| | | <!-- 渲染表格列及传参 --> |
| | | <el-table-column label="序号" type="index"></el-table-column> |
| | | <el-table-column |
| | | type="selection" |
| | | width="55"> |
| | | </el-table-column> |
| | | <el-table-column label="选项值" prop="key"> |
| | | <template slot-scope="{ row }"> |
| | | <!-- 编辑和展示逻辑 --> |
| | |
| | | }, |
| | | stopLose: { |
| | | tip: "模板只有发布状态才能被使用,是否确定停用?", |
| | | typeText: "停用/失效", |
| | | typeText: "停用", |
| | | funAPi: stopLose, |
| | | load: 'stopLoseLoad' |
| | | }, |
| | | startRelease: { |
| | | tip: "是否确定启用/发布这个模板,模板只有发布状态才能被使用,是否继续?", |
| | | typeText: "启用/发布", |
| | | typeText: "启用", |
| | | funAPi: startRelease, |
| | | load: 'startReleaseLoad' |
| | | } |
| | |
| | | // for循环结束 |
| | | // 这个first 卡的其实就是首路由 |
| | | if (first) { |
| | | debugger; |
| | | this.safe.$router.addRoutes(aRouter) |
| | | } else { |
| | | // 这里返回的是子组件 |
| | |
| | | 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://dev.vci-tech.com:37000', |
| | | target: 'http://dev.vci-tech.com:37000', |
| | | // target: 'http://192.168.1.51:37000/', |
| | | // target: 'http://192.168.1.104:37000', |
| | | // target: 'http://192.168.1.63:37000', |