charles
2024-07-15 c77637aa6781f3275839674cb4fa2d4b72b8827c
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 }, // 负责人
@@ -175,14 +176,14 @@
    },
    // 编辑
    handleClick(row) {
    handleClick(row,type) {
      this.$router.push({
                path:"/productManage/silkRegisterForm/addPage",
                query:{
                  id:row.ID,
                  activeName:'first',
                  inspectID:row.finenessCheckID,
                  title:'修改'
                  title:type===1?'查看':'修改'
                }
              });
    },