| | |
| | | :templateOid="templateOid" |
| | | :type="add" |
| | | :visible.sync="addvisible" |
| | | @submit="AddSumbit" |
| | | > |
| | | </FormTemplateDialog> |
| | | <el-button plain size="small" type="primary" @click="editHandler">编辑 |
| | |
| | | :type="edit" |
| | | :title="'修改编码信息'" |
| | | :visible.sync="editvisible" |
| | | @submit="EditSumbit" |
| | | ></FormTemplateDialog> |
| | | <el-button plain size="small" type="primary">批量导入申请</el-button> |
| | | <el-button plain size="small" type="primary">历史数据导入</el-button> |
| | |
| | | </div> |
| | | <el-row style="height: 700px;width: 100%"> |
| | | <el-table v-loading="isLoading" :data="tableData" max-height="700" style="" @cell-click="handleCellClick" |
| | | @selection-change="handleSelectionChange" @sort-change="sortChange"> |
| | | @selection-change="handleSelectionChange" @sort-change="sortChange" v-if="tableData.length != 0"> |
| | | <el-table-column |
| | | fixed |
| | | type="selection" |
| | |
| | | codeClassifyOid: { |
| | | handler(newval, oldval) { |
| | | this.codeClassifyOid = newval; |
| | | this.CrudHeaderRend() |
| | | |
| | | }, |
| | | deep: true |
| | | }, |
| | |
| | | this.visibleFlow = true |
| | | }, |
| | | huishouHandler() { |
| | | console.log('tem', this.templateOid) |
| | | console.log('table', this.tableData) |
| | | console.log('tabheadle', this.tableHeadData) |
| | | console.log('tableFather', this.tableHeadDataFateher) |
| | | |
| | | }, |
| | | openD() { |
| | | this.dialogPush = true; |
| | |
| | | }, |
| | | //多选 |
| | | handleSelectionChange(row) { |
| | | this.rowOid = row[0].oid; |
| | | this.selectRow = row; |
| | | console.log(row) |
| | | this.rowOid = row.oid |
| | | this.selectRow = row |
| | | }, |
| | | //编辑 |
| | | editHandler() { |
| | | console.log('row',this.rowOid) |
| | | console.log('temp',this.templateOid) |
| | | console.log('code',this.codeClassifyOid) |
| | | console.log('rule',this.coderuleoid) |
| | | if (this.selectRow.length <= 0) { |
| | | this.$message.warning('请选择一条数据') |
| | | } else if (this.selectRow.length > 1) { |
| | |
| | | } else { |
| | | this.DataVisible = true |
| | | } |
| | | }, |
| | | //增加保存 |
| | | AddSumbit(val){ |
| | | console.log(val) |
| | | this.addvisible=false |
| | | }, |
| | | EditSumbit(val){ |
| | | console.log(val) |
| | | this.editvisible=false |
| | | } |
| | | } |
| | | } |
| | |
| | | width: item.minWidth |
| | | }; |
| | | this.tableHeadFindData.push(columnItem) |
| | | // console.log(' this.tableHeadFindData', this.tableHeadFindData) |
| | | }) |
| | | this.$emit('tableHeadDataFateher', this.tableHeadDataFateher); |
| | | this.$emit('tableHeadFindData', this.tableHeadFindData); |
| | |
| | | this.TableRend(); // TableHeadRend() 方法完成后再执行 TableRend() |
| | | this.$emit('nodeClick',this.templateOids) |
| | | this.$emit("codeClassifyOid", this.nodeClickList.oid ) |
| | | console.log('元数据',this.templateOids) |
| | | console.log('元数据cod',this.codeClassifyOid) |
| | | console.log('元数据nodeclick', this.nodeClickList.oid) |
| | | // console.log('元数据',this.templateOids) |
| | | // console.log('元数据cod',this.codeClassifyOid) |
| | | // console.log('元数据nodeclick', this.nodeClickList.oid) |
| | | // console.log(this.tableHeadFindData) |
| | | } catch (error) { |
| | | // 处理错误 |
| | | this.$message.error(error) |
| | |
| | | //本地服务接口地址 |
| | | // 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.51: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', |