lkk
2024-12-26 a51f6cabf6919be2916cfc0b62c856c64b4f93c9
src/views/hosp/project/index.vue
@@ -471,18 +471,32 @@
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="单位" prop="proMetering">
          <el-input
            v-model="form.proMetering"
            placeholder="请输入单位"
            style="width: 260px"
          />
        </el-form-item>
        <el-form-item label="参考范围" prop="proScope">
          <el-input
            v-model="form.proScope"
            placeholder="请输入参考范围"
            style="width: 200px"
          />
        </el-form-item>
        <el-form-item label="数量" prop="sl">
          <el-input
            v-model="form.sl"
            placeholder="请输入数量"
            style="width: 260px"
            style="width: 200px"
          />
        </el-form-item>
        <el-form-item label="组合标志" prop="sfzhfy">
          <el-select
            v-model="form.sfzhfy"
            placeholder="请选择是否组合标志"
            style="width: 200px"
            style="width: 260px"
          >
            <el-option
              v-for="dict in dict.type.sys_yes_no"
@@ -515,13 +529,11 @@
            style="display: inline-block; border-bottom: 2px solid blue"
            @click="getDetailed"
          >
            明细项目
            <!-- <el-tooltip effect="dark" content="明细项目" placement="bottom">
              <i class='el-icon-question' @click="getDetailed" />
            </el-tooltip> -->
          his项目名称
          </span>
          <el-input v-model="form.hisXmmc" placeholder="his项目名称" style="width: 260px;">
          <el-input v-model="form.hisXmmc" placeholder="his项目名称" style="width: 200px;">
          </el-input>
        </el-form-item>
        <el-form-item label="his项目名称" prop="hisXmmc" v-if="key == 'N'">
@@ -532,7 +544,7 @@
          <el-input
            v-model="form.hisXmbm"
            placeholder="请输入his编码"
            style="width: 200px"
            style="width: 260px"
          />
        </el-form-item>
        <el-form-item label="his单价" prop="hisdj">
@@ -551,7 +563,7 @@
            LIS项目
          </span>
          <el-input v-model="form.lisXmmc" placeholder="请输入LIS项目" style="width: 260px;">
          <el-input v-model="form.lisXmmc" placeholder="请输入LIS项目" style="width: 200px;">
          </el-input>
        </el-form-item>
     
@@ -559,7 +571,7 @@
          <el-input
            v-model="form.LISXmbm"
            placeholder="请输入his编码"
            style="width: 200px"
            style="width: 260px"
          />
        </el-form-item>
        <el-form-item label="备注" prop="proRemark">
@@ -1026,6 +1038,8 @@
        sfxmId: "",
        lisXmbm: "",
        lisXmmc: "",
        proMetering:'',
        proScope:''
      },
      // 表单校验
      rules: {
@@ -1125,6 +1139,8 @@
      };
      getAllChildListById(data).then((response) => {
        // this.projectList = this.handleTree(response.data.list, "proId");
        console.log(response,1122);
        this.projectList = response.data.list;
        this.loading = false;
      });
@@ -1140,6 +1156,9 @@
    /** 新增按钮操作 */
    handleAdd(row) {
      this.form.hisXmbm = '';
        this.form.hisXmmc = '';
        this.form.hisdj = '';
      // this.reset();
      this.loading = true;
      this.proParent = false;
@@ -1208,6 +1227,8 @@
    // 打开input弹框
    getDetailed() {
      this.querycharge.xmmc = ''
      this.querycharge.pym = ''
      if (this.selectList) {
        if (this.selectList.proName === "主类目") {
          this.dialogTableVisible = false;
@@ -1601,6 +1622,8 @@
      const proId = row.proId || this.ids;
      this.proParent = false;
      getProject(proId).then((response) => {
        console.log(response,999);
        this.form = response.data;
        if (this.form.proParentId === "0") {
          this.showPrise = true;
@@ -1841,8 +1864,10 @@
    // 收费项目确认
    submit() {
      this.ChangeList.forEach((item) => {
        this.form.proName = item.xmmc;
        this.form.proPrice = item.ckdj;
        this.form.hisXmbm = item.xmbm;
        this.form.hisXmmc = item.xmmc;
        this.form.hisdj = item.ckdj;
        this.sfxmId = parseInt(item.id);
      });
      this.dialogTableVisible = false;