田源
2023-10-12 379317b8221ff63fffccb78ebc01b8858d75a4de
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -54,7 +54,7 @@
          </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>
@@ -155,6 +155,10 @@
    tableDataArray: {
      type: Array,
    },
    TreeValue:{
      type: String,
      default: "",
    },
    total: {
      type: String,
      default: "",
@@ -178,7 +182,8 @@
    },
    Treedata: {
      type: Array
    }
    },
  },
  data() {
    return {
@@ -314,8 +319,9 @@
    },
    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 {
@@ -330,10 +336,11 @@
          }
          if (_index == 0) {
            this.keyWordFind = record.field
            this.keyWordFind = record.queryField
          }
        })
        this.tableHeadFindDatas = newval;
        // console.log('new',newval)
        this.WupinFindValue = ''
      },
    },
@@ -672,7 +679,7 @@
          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,
@@ -700,6 +707,7 @@
    },
    // 排序
    sortChange(val) {
      console.log(val)
      this.isLoading = true;
      let order = "";
      if (val.order == "ascending") {