gaoluyang
2025-03-24 71759ed739a02dbf24f61bf1e57662f674129d9f
src/views/CNAS/process/ensureResults/qualityControlPlan/components/detailFormDialog.vue
@@ -10,12 +10,12 @@
            <el-date-picker
              v-model="form.superviseTime"
              clearable
              format="yyyy-MM"
              format="yyyy.M"
              placeholder="选择日期"
              size="small"
              style="width: 100%"
              type="month"
              value-format="yyyy-MM">
              value-format="yyyy.M">
            </el-date-picker>
          </el-form-item>
        </el-col>
@@ -38,7 +38,7 @@
        </el-col>
        <el-col :span="12">
          <el-form-item label="监督原因" prop="superviseReason">
            <el-input v-model="form.superviseReason" clearable size="small"></el-input>
            <el-input v-model="form.superviseReason" clearable disabled size="small"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
@@ -94,10 +94,15 @@
  },
  // 方法集合
  methods: {
    openDia(type, row) {
    openDia(type, row, causeType) {
      this.formDia = true
      this.operationType = type
      this.getUserList()
      if (causeType == 1) {
        this.form.superviseReason = '定期监督'
      } else {
        this.form.superviseReason = '动态监督'
      }
      if (type === 'edit') {
        this.searchInfo(row)
      }
@@ -157,7 +162,7 @@
      this.$emit('closeDia')
    },
    getUserList(){
      selectUserCondition({ type: 0 }).then((res) => {
      selectUserCondition({ type: 2 }).then((res) => {
        this.userList = res.data;
      })
    },