1
lkk
2025-06-30 222c1ceea2edd44fb660f384793baf8877bffc20
src/views/hosp/project/index.vue
@@ -77,6 +77,11 @@
              <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.proCheckMethod" />
            </template>
          </el-table-column>
          <el-table-column label="是否外送" align="center" prop="proDelivery" :show-overflow-tooltip="true" width="75px">
            <template v-slot="scope">
              {{ scope.row.proDelivery === 0 ? "是" : scope.row.proDelivery === 1 ? "否" : "" }}
            </template>
          </el-table-column>
          <el-table-column label="项目标准值" align="center" prop="proScope" :show-overflow-tooltip="true" width="90px">
          </el-table-column>
          <el-table-column label="Lis项目名称" align="center" prop="lisXmmc" :show-overflow-tooltip="true" width="200px">
@@ -228,6 +233,18 @@
        </el-form-item>
        <el-form-item label="排序" prop="xh">
          <el-input v-model="form.xh" placeholder="请输入排序" style="width: 200px" />
        </el-form-item>
        <el-form-item label="是否参与异常" prop="sfcyyc">
          <el-select v-model="form.sfcyyc" placeholder="请选择是否参与异常" style="width: 260px">
            <el-option v-for="dict in dictTypesy" :key="dict.value" :label="dict.label"
              :value="dict.value"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="是否外送" prop="proDelivery">
          <el-select v-model="form.proDelivery" placeholder="请选择是否外送" style="width: 200px">
            <el-option v-for="dict in wsTypesy" :key="dict.value" :label="dict.label"
              :value="dict.value"></el-option>
          </el-select>
        </el-form-item>
      </el-form>
      <el-button style="margin-left: 40px" type="primary" plain size="mini" icon="el-icon-plus"
@@ -441,6 +458,26 @@
      },
      xmmc: "",
      chargeId: [],
      dictTypesy: [
        {
          value:"0",
          label:"是"
        },
        {
          value:"1",
          label:"否"
        }
      ],
      wsTypesy: [
        {
          value:"0",
          label:"是"
        },
        {
          value:"1",
          label:"否"
        }
      ],
      List: false,
      deptName: "",
      deptOption: [],
@@ -515,6 +552,8 @@
        proScope: "",
        proSex: "2",
        resultType: "",
        sfcyyc: "0",
        proDelivery:"1"
      },
      rules: {
        createTime: [
@@ -725,6 +764,7 @@
      this.title = "体检项目信息维护";
      this.form.deptId = this.queryParams.deptId || null;
      this.form.proCheckMethod = "N";
      this.form.proDelivery = "1";
      if (this.key === "Y") {
        gettreeList().then((response) => {
          this.deptOptionstree = response.data;
@@ -836,7 +876,7 @@
    handleNodeClick(date) {
      this.treeDate = date;
      console.log(this.treeDate)
      this.xiugaiList ={}
      this.xiugais = date.qf === "0";
      let proId = date.id;
      getInfoByProId(proId).then((response) => {
@@ -906,6 +946,7 @@
        tjStandardList: [],
        proStatus: "0",
        resultType: "1",
        proDelivery:'1'
      };
      this.resetForm("form");
    },
@@ -986,8 +1027,11 @@
      }
    },
    handleUpdate1() {
      this.form ={}
      this.form = this.xiugaiList;
      this.form.proStatus = this.form.proStatus.toString();
      this.form.sfcyyc = this.form.sfcyyc.toString();
      this.form.proDelivery = this.form.proDelivery.toString();
      this.proParent = true;
      this.isPriceDisabled = true;
      getlist().then((response) => {
@@ -998,6 +1042,7 @@
          project.children = this.handleTree(response.data.list, "proId");
          this.key = response.data.key;
          this.projectOptions.push(project);
          console.log( this.projectOptions,11111)
        }
      });
      this.open = true;
@@ -1013,6 +1058,8 @@
        this.showPrise = this.form.proParentId === "0";
        this.showRentPrise = !this.showPrise;
        this.form.proStatus = this.form.proStatus.toString();
        this.form.sfcyyc = this.form.sfcyyc.toString();
        this.form.proDelivery =  this.form.proDelivery.toString()
        this.form.consumablesList = response.data.consumablesList;
        this.form.tjStandardList = response.data.tjStandardList;
        if (this.form.tjStandardList) {