charles
2024-08-06 7d520e6190241adc647f36f7aea34c365216edb0
src/views/productManage/silkRegisterForm/index.vue
@@ -28,9 +28,10 @@
            @selTableCol="selTableCol"
          >
            <template slot="tableButton">
              <el-table-column label="操作" width="90" fixed="right">
              <el-table-column label="操作" width="120" fixed="right">
                <template slot-scope="scope">
                  <el-button @click="handleClick(scope.row)" type="text" size="small">修改</el-button>
                  <el-button @click="handleClick(scope.row,1)" type="text" size="small">查看</el-button>
                  <el-button @click="handleClick(scope.row,2)" type="text" size="small">修改</el-button>
                  <el-button @click="delClick(scope.row.ID)" type="text" size="small">删除</el-button>
                </template>
              </el-table-column>
@@ -67,7 +68,7 @@
        { label: "落丝时间", prop: "finishDate", min: 190, }, // 客户名称
        { label: "车组", prop: "workshopGroup", min: 100, }, // 联系人姓名
        { label: "规格", prop: "spec", min: 100 }, // 客户状态
        { label: "车间", prop: "name", min: 100 }, // 联系方式
        { label: "车间", prop: "workshopName", min: 100 }, // 联系方式
        { label: "庄口", prop: "market", min: 130 }, // 联系人日期
        { label: "开始回数", prop: "circle", min: 130 }, // 下次回访日期
        { label: "结束回数", prop: "totalCircle", min: 110 }, // 负责人
@@ -143,7 +144,7 @@
              //   }
              // })
              this.tableList.tableInfomation =  res.data || []
              this.pagerOptions.totalCount = res.count
              this.pagerOptions.totalCount = res.total
            } else {
              this.tableList.tableInfomation = []
            }
@@ -175,13 +176,14 @@
    },
    // 编辑
    handleClick(row) {
    handleClick(row,type) {
      this.$router.push({
                path:"/productManage/silkRegisterForm/addPage",
                query:{
                  id:row.ID,
                  activeName:'first',
                  inspectID:row.finenessCheckID,
                  title:type===1?'查看':'修改',
                }
              });
    },