qinxianzhangyao
2023-12-13 6cbbc9d82214c42996d622f22c8ccab3a8123d60
src/views/hosp/project/index.vue
@@ -54,8 +54,9 @@
          <el-table-column label="项目名称" prop="proName" fixed="left" :width="flexColumnWidth('rwdtypeName')" />
          <el-table-column label="项目价格(单位/元)" align="center" prop="proPrice" width="75px"
            :show-overflow-tooltip="true"></el-table-column>
          <el-table-column label="科室名称" align="center" prop="deptName" width="110px" :show-overflow-tooltip="true" />
          <!-- <el-table-column label="科室名称" align="center" prop="deptName" width="110px" :show-overflow-tooltip="true" /> -->
          <el-table-column label="检查类别" align="center" prop="proCheckType" width="110px" :show-overflow-tooltip="true" />
          <el-table-column label="默认值" align="center" prop="proDefault" width="110px" :show-overflow-tooltip="true" />
          <el-table-column label="临床意义" align="center" prop="proMeaning" width="350px" :show-overflow-tooltip="true" />
          <!-- <el-table-column label="检查方式" align="center" prop="proCheckMethod" :show-overflow-tooltip="true"
            width="110px" /> -->
@@ -356,7 +357,6 @@
  components: { Treeselect, IconSelect },
  data() {
    let checkPhoneNum = (rule, value, callback) => {
      console.log(value)
      let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/);
      if (value == "" && value == undefined && !value) {
        return callback('');
@@ -563,17 +563,15 @@
    // 打开input弹框
    getDetailed() {
      if (this.form.proParentId) {
        if (this.selectList.proName === "主类目") {
      if (this.form.proParentId == 0) {
          this.dialogTableVisible = false;
        } else {
      } else if (this.form.proParentId != 0) {
          this.dialogTableVisible = true;
          this.getlistSfxm()
        }
      } else {
        this.$message.error("请选择主项名称");
      }
    },
@@ -802,7 +800,6 @@
              //英文字母 8 像素
              flexWidth += 8;
            } else if (char >= '\u4e00' && char <= '\u9fa5') {
              console.log(22222)
              //中文文字 15 像素
              flexWidth += 15;
            } else {
@@ -909,6 +906,13 @@
      const proId = row.proId || this.ids;
      getProject(proId).then((response) => {
        this.form = response.data;
        if (this.form.proParentId === "0") {
          this.showPrise = true;
          this.showRentPrise = false;
        } else {
          this.showPrise = false;
          this.showRentPrise = true;
        }
        this.form.deptId = Number(this.form.deptId)
        if (this.form.proStatus === 0) {
          this.form.proStatus = "启用";