田源
2023-10-16 ad2a32d607fb4ac1183ae9695d0ee15b239d0fc9
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -52,7 +52,7 @@
                  </el-link>
                </template>
              </el-table-column>
              <el-table-column v-for="item in this.tableHeadFindData" v-if="!item.hidden && item.prop !== 'id'"
              <el-table-column v-for="item in this.tableHeadFindData" v-if="!item.hidden && item.prop !== 'id' && item.prop !== 'lcstatus'"
                               :key="item.id"
                               :formatter="item.formatter"
                               :label="item.label" :prop="item.prop"
@@ -60,6 +60,13 @@
                               :sortable="item.sortable"
                               :width="item.width"
                               align="center">
              </el-table-column>
              <el-table-column  v-for="item in lcstatusArray" v-if="!item.hidden" label="生命周期值" prop="lcstatus"
                                :show-overflow-tooltip="true" :sortable="item.sortable" :width="item.width"
                                align="center">
                <template slot-scope="scope">
                  <span>{{ scope.row.lcstatus_text }}</span>
                </template>
              </el-table-column>
            </el-table>
          </el-row>
@@ -220,6 +227,8 @@
      LinkList: [],
      isCodeArrayPushed: false, // 编码数组添加标识变量
      CodeArray: [],
      lcstatusArray:[],
      islcstatusPushed:false,
      // 状态搜索
      statusSelect: "all",
      // 关键字查询
@@ -375,7 +384,11 @@
        if (!this.isCodeArrayPushed) {
          this.CodeArray.push(newval.find(item => item.prop === 'id'))
          this.isCodeArrayPushed = true
        }
        };
        if (!this.islcstatusPushed) {
          this.lcstatusArray.push(newval.find(item => item.prop === 'lcstatus'))
          this.islcstatusPushed = true
        };
        // console.log('new',newval)
        this.WupinFindValue = ''
      },
@@ -750,7 +763,7 @@
    },
    // 排序
    sortChange(val) {
      console.log(val)
      // console.log(val)
      this.isLoading = true;
      let order = "";
      if (val.order == "ascending") {