haoxuan
2024-04-24 e6db631c232239faddcaba1d95402664c1a803f7
src/views/productManage/silkRegisterForm/index.vue
@@ -61,7 +61,7 @@
      tableList: {},
      loading: false,
      searchOptions: [],
      search_map: {},
      keyword: '',
      tableColumn: [
        { label: "编号", prop: "number", min: 120, default: true }, // 主题
        { label: "落丝时间", prop: "finishDate", min: 190, }, // 客户名称
@@ -69,8 +69,8 @@
        { label: "规格", prop: "spec", min: 100 }, // 客户状态
        { label: "车间", prop: "name", min: 100 }, // 联系方式
        { label: "庄口", prop: "market", min: 130 }, // 联系人日期
        { label: "开始回数", prop: "startCircle", min: 130 }, // 下次回访日期
        { label: "结束回数", prop: "endCircle", min: 110 }, // 负责人
        { label: "开始回数", prop: "circle", min: 130 }, // 下次回访日期
        { label: "结束回数", prop: "totalCircle", min: 110 }, // 负责人
      ],
      showCol: [
        "编号",
@@ -86,7 +86,7 @@
  },
  created() {
    this.setTable()
    this.getData(this.search_map)
    this.getData(this.keyword)
  },
  computed: {
  },
@@ -123,7 +123,7 @@
    async getData() {
      this.loading = true
      await getRegisterList({
        search_map: this.search_map,
        keyword: this.keyword,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
@@ -143,7 +143,7 @@
              //   }
              // })
              this.tableList.tableInfomation =  res.data || []
              this.pagerOptions.totalCount = res.count
              this.pagerOptions.totalCount = res.total
            } else {
              this.tableList.tableInfomation = []
            }
@@ -160,7 +160,7 @@
    },
    // 搜索
    onFilterSearch(searchText) {
      this.search_map.client_name = searchText ?? ""
      this.keyword = searchText ?? ""
      this.pagerOptions.currPage = 1
      this.getData()
    },
@@ -180,7 +180,9 @@
                path:"/productManage/silkRegisterForm/addPage",
                query:{
                  id:row.ID,
                  activeName:'first'
                  activeName:'first',
                  inspectID:row.finenessCheckID,
                  title:'修改'
                }
              });
    },