| | |
| | | </el-row> |
| | | <!-- 新增--> |
| | | <FormTemplateDialog :codeClassifyOid="this.codeClassifyOid" :codeRuleOid="this.codeRuleOid" |
| | | :disabledProp="disabledProp" :templateOid="templateOid" :visible.sync="addvisible" |
| | | :disabledProp="disabledProp" :templateOid="templateOid" :visible.sync="addvisible" :TreeValue="TreeValue" |
| | | type="add" |
| | | @submit="AddSumbit"> |
| | | </FormTemplateDialog> |
| | |
| | | tableDataArray: { |
| | | type: Array, |
| | | }, |
| | | TreeValue:{ |
| | | type: String, |
| | | default: "", |
| | | }, |
| | | total: { |
| | | type: String, |
| | | default: "", |
| | |
| | | }, |
| | | Treedata: { |
| | | type: Array |
| | | } |
| | | }, |
| | | |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | }, |
| | | tableHeadFindData: { |
| | | handler(newval, oldval) { |
| | | console.log('new',newval) |
| | | newval.forEach((record, _index) => { |
| | | if (record.field == 'id' && validatenull(record.templet)) { |
| | | if (record.queryField == 'id' && validatenull(record.templet)) { |
| | | //企业编码的默认添加超链接,暂未实现 |
| | | record.formatter = ''; |
| | | } else { |
| | |
| | | } |
| | | |
| | | if (_index == 0) { |
| | | this.keyWordFind = record.field |
| | | this.keyWordFind = record.queryField |
| | | } |
| | | }) |
| | | this.tableHeadFindDatas = newval; |
| | | // console.log('new',newval) |
| | | this.WupinFindValue = '' |
| | | }, |
| | | }, |
| | |
| | | this.List.forEach((item) => { |
| | | let columnItem = { |
| | | label: item.title, |
| | | prop: item.field, |
| | | prop: item.queryField, |
| | | type: this.columnType[item.type], |
| | | sortable: item.sort, |
| | | width: item.minWidth, |
| | |
| | | }, |
| | | // 排序 |
| | | sortChange(val) { |
| | | console.log(val) |
| | | this.isLoading = true; |
| | | let order = ""; |
| | | if (val.order == "ascending") { |