From 8236d0e2b4d1670164217c5dc91746e85be1f796 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 14 三月 2024 12:05:07 +0800
Subject: [PATCH] 11

---
 src/utils/request.js                                      |   13 -
 src/views/project/relativesconfirmation/index.vue         |  211 +++++++++++++++---------------
 src/views/project/donatebaseinfo/index.vue                |  114 +++++++++++++--
 src/views/project/donorcharge/donorchargedetail/index.vue |   12 +
 src/views/project/donatefinish/index.vue                  |    1 
 src/views/project/donationwitness/index.vue               |   13 -
 src/views/project/unitCost/particulars/index.vue          |    6 
 7 files changed, 220 insertions(+), 150 deletions(-)

diff --git a/src/utils/request.js b/src/utils/request.js
index d88639c..d0e96d7 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -96,19 +96,6 @@
         })
       }).catch(() => {});
       return Promise.reject('鏃犳晥鐨勪細璇濓紝鎴栬�呬細璇濆凡杩囨湡锛岃閲嶆柊鐧诲綍銆�')
-    } else if (code === 500) {
-      // Message({
-      //   message: msg,
-      //   type: 'error'
-      // })
-      console.log(msg);
-      return Promise.reject(new Error(msg))
-    } else if (code !== 200) {
-      // Notification.error({
-      //   title: msg
-      // })
-      console.log(msg);
-      return Promise.reject('error')
     } else {
       return res.data
     }
diff --git a/src/views/project/donatebaseinfo/index.vue b/src/views/project/donatebaseinfo/index.vue
index 437e4e6..24014f4 100644
--- a/src/views/project/donatebaseinfo/index.vue
+++ b/src/views/project/donatebaseinfo/index.vue
@@ -566,7 +566,7 @@
                   <el-radio
                     v-for="dict in dict.type.sys_bloodtype_rhd"
                     :key="dict.value"
-                    :label="dict.label"
+                    :label="dict.value"
                     >{{ dict.label }}</el-radio
                   >
                 </el-radio-group>
@@ -1015,7 +1015,84 @@
       },
       // 琛ㄥ崟鍙傛暟
       form: {
-        rhyin:'0'
+        id: null,
+        name: null,
+        sex: null,
+        idcardtype: null,
+        idcardno: null,
+        age: null,
+        ageunit: null,
+        birthday: null,
+        phone: null,
+        residenceaddress: null,
+        nationality: "涓浗",
+        nativeplace: null,
+        residenceprovince: null,
+        nation: null,
+        residenceprovincename: null,
+        occupation: null,
+        residencecity: null,
+        education: null,
+        residencecityname: null,
+        residencetown: null,
+        residencetownname: null,
+        residencecommunity: null,
+        residencecommunityname: null,
+        residencecountycode: null,
+        residencecountyname: null,
+        registeraddress: null,
+        registerprovince: null,
+        registerprovincename: null,
+        registercity: null,
+        registercityname: null,
+        registertown: null,
+        registertownname: null,
+        registercommunity: null,
+        registercommunityname: null,
+        registercountycode: null,
+        registercountyname: null,
+        recordstate: null,
+        treatmenthospitalno: null,
+        treatmenthospitalname: null,
+        treatmentdeptname: null,
+        diagnosisno: null,
+        diagnosisname: null,
+        bloodtype: "0",
+        inpatientno: null,
+        rhyin: '0',
+        donorno: null,
+        donationcategory: null,
+        illnessoverview: null,
+        diseasetype: [],
+        infectious: [],
+        selfwill: [],
+        diseasetypeOther: null,
+        othercases: [],
+        kinshipwill: 0,
+        infosources: [],
+        kinship: [],
+        redorganno: null,
+        redorganname: null,
+        contactperson: null,
+        infectiousOther: null,
+        contactnumber: null,
+        contacttime: null,
+        reporterno: null,
+        reportername: null,
+        patientstate: [],
+        reporterphone: null,
+        infosourcesOther: null,
+        reporttime: null,
+        delFlag: null,
+        createBy: null,
+        createTime: null,
+        updateBy: null,
+        updateTime: null,
+        kinshipOther: null,
+        majorrelatives: null,
+        familyrelations: null,
+        acquisitiontissueno: "ZJOPO",
+        acquisitiontissuename: "娴欐睙鐪佷汉浣撳櫒瀹樿幏鍙栫粍缁�"
       },
       //ads
       reporters: [],
@@ -1653,8 +1730,11 @@
     },
     /** 鎻愪氦鎸夐挳 */
     submitForm() {
+      console.log(this.form);
       this.$refs["form"].validate(valid => {
         if (valid) {
+          const date = {...this.form};
+          console.log(date,'date');
           this.form.birthday = this.$moment(this.form.birthday).format(
             "YYYY-MM-DD HH:mm:ss"
           );
@@ -1702,38 +1782,32 @@
             this.form.redorganname = this.form.redorganno;
           }
 
-          //灏濊瘯鐢熸垚鎹愮尞缂栧彿锛堝凡缁忕敱addDonatebaseinfo鎺ュ彛涓敓鎴愬彇浠o級
-          // getdonatorno(this.form).then((response) => {
-          //   // alert(JSON.stringify(response));
-          //   this.reset();
-          // });
 
-          if (this.form.id != null) {
-            updateDonatebaseinfo(this.form).then(response => {
-              this.$modal.msgSuccess("淇敼鎴愬姛");
-              this.open = false;
-              this.getList();
-            });
-          } else {
+          
             this.form.workflow = 0;
             this.form.recordstate = 0;
-            addDonatebaseinfo(this.form).then(response => {
-              if (response.code == 200) {
+            addDonatebaseinfo(this.form).then(res => {
+              console.log('22');
+              console.log(res.code);
+              if (res.code == 200) {
                 this.$modal.msgSuccess("鏂板鎴愬姛");
                 this.$router.push({
                   path: "/organ/donationdetails/",
                   query: {
-                    id: response.data.id,
+                    id: res.data.id,
                     organType: "edit"
                   }
                 });
                 this.open = false;
-                // this.getList();
               } else {
-                this.$modal.msgError("鏂板澶辫触锛�" + response.msg);
+                console.log('1');
+                this.form = date;
+                console.log(this.form,'form');
+                this.$modal.msgError("鏂板澶辫触锛�" + res.msg);
+
               }
             });
-          }
+          
         }
       });
     },
diff --git a/src/views/project/donatefinish/index.vue b/src/views/project/donatefinish/index.vue
index fafa17a..a1fd544 100644
--- a/src/views/project/donatefinish/index.vue
+++ b/src/views/project/donatefinish/index.vue
@@ -721,7 +721,6 @@
       this.selecttime = [
         this.$moment(this.$route.params.starttime).format("YYYY-MM-DD"),
         this.$moment(this.$route.params.endtime)
-          .add(-1, "month")
           .format("YYYY-MM-DD")
       ];
     }
diff --git a/src/views/project/donationwitness/index.vue b/src/views/project/donationwitness/index.vue
index 4d34281..ac949c6 100644
--- a/src/views/project/donationwitness/index.vue
+++ b/src/views/project/donationwitness/index.vue
@@ -1033,12 +1033,13 @@
     };
   },
   created() {
-    this.getuserlist();
     this.getCoordinatorList1();
     this.getCoordinatorList2();
-    this.getList();
   },
   activated() {
+
+  },
+  mounted(e) {
     this.selecttime = "";
     this.reportervalue = "";
     this.reportlist = [];
@@ -1050,7 +1051,6 @@
       this.selecttime = [
         this.$moment(this.$route.params.starttime).format("YYYY-MM-DD"),
         this.$moment(this.$route.params.endtime)
-          .add(-1, "month")
           .format("YYYY-MM-DD")
       ];
     }
@@ -1077,15 +1077,14 @@
     }
     this.getTimeList();
     this.getList();
-  },
-  mounted(e) {
     this.getuserlist();
     // this.selectReporters();
 
     this.tempRecordState = this.$route.params.tempRecordState;
-    this.starttime = this.$route.params.starttime;
+    // this.starttime = this.$route.params.starttime;
+    // this.endtime = this.$route.params.endtime;
     console.log("浼犳潵鐨勫��", this.starttime);
-    this.endtime = this.$route.params.endtime;
+    console.log("浼犳潵鐨勫��", this.endtime);
 
     this.LoadReportList();
   },
diff --git a/src/views/project/donorcharge/donorchargedetail/index.vue b/src/views/project/donorcharge/donorchargedetail/index.vue
index ff83f5d..953e979 100644
--- a/src/views/project/donorcharge/donorchargedetail/index.vue
+++ b/src/views/project/donorcharge/donorchargedetail/index.vue
@@ -225,7 +225,6 @@
               <template slot-scope="scope">
                 <el-input
                   v-model="scope.row.name"
-                  :disabled="true"
                   placeholder="鍙椾綋濮撴皬"
                 />
               </template>
@@ -759,10 +758,11 @@
         "organname",
         "caseno",
         "amounttime",
-        "organcharge",
+        "name",
         "hospitalname",
         "organtime",
-        "remark"
+        "remark",
+        'organchargedesc'
       ];
       columns.forEach((column, index) => {
         if (index === 0) {
@@ -871,6 +871,12 @@
     text-align: center;
   }
 }
+::v-deep .el-input.is-disabled .el-input__inner {
+    background-color: #F5F7FA;
+    border-color: #dfe4ed;
+    color: #000000;
+    cursor: not-allowed;
+}
 
 ::v-deep .el-input--medium .el-input__inner {
   height: 36px;
diff --git a/src/views/project/relativesconfirmation/index.vue b/src/views/project/relativesconfirmation/index.vue
index 416b129..1250766 100644
--- a/src/views/project/relativesconfirmation/index.vue
+++ b/src/views/project/relativesconfirmation/index.vue
@@ -69,7 +69,10 @@
       <el-row :gutter="8">
         <el-col :span="6">
           <el-form-item label="鎶ュ憡浜�">
-            <el-select v-model="queryParams.reporterno" placeholder="璇烽�夋嫨鎶ュ憡浜�">
+            <el-select
+              v-model="queryParams.reporterno"
+              placeholder="璇烽�夋嫨鎶ュ憡浜�"
+            >
               <el-option
                 v-for="item in reportlist"
                 :key="item.index"
@@ -137,7 +140,7 @@
       </el-table-column>
       <el-table-column label="骞撮緞" align="center" prop="age" width="100" />
 
-       <el-table-column
+      <el-table-column
         label="鍖荤枟鏈烘瀯"
         align="center"
         prop="treatmenthospitalname"
@@ -151,16 +154,11 @@
         width="100"
       />
 
-      <el-table-column
-        label="鎹愮尞杩涘害"
-        align="center"
-        prop="recordstate"
-      >
+      <el-table-column label="鎹愮尞杩涘害" align="center" prop="recordstate">
         <template slot-scope="scope">
-
           <div v-if="!scope.row.terminationCase">
             <dict-tag
-            :options="dict.type.sys_donornode"
+              :options="dict.type.sys_donornode"
               :value="scope.row.workflow"
             />
           </div>
@@ -176,7 +174,6 @@
         fixed="right"
       >
         <template slot-scope="scope">
-
           <el-button
             size="mini"
             type="text"
@@ -875,7 +872,7 @@
   getDonatebaseinfo,
   delDonatebaseinfo,
   // addDonatebaseinfo,
-  updateDonatebaseinfo,
+  updateDonatebaseinfo
   // exportDonatebaseinfo,
   // exportProvincemessage,
 } from "@/api/project/donatebaseinfo";
@@ -889,7 +886,7 @@
   // exportRelativesconfirmation,
   updatedonatorno,
   updateDonateNumber,
-  downloadconfirmationinfo,
+  downloadconfirmationinfo
 } from "@/api/project/relativesconfirmation";
 import {
   listMedicalevaluation,
@@ -897,7 +894,7 @@
   delMedicalevaluation,
   addMedicalevaluation,
   updateMedicalevaluation,
-  exportMedicalevaluation,
+  exportMedicalevaluation
 } from "@/api/project/medicalevaluation";
 import Li_area_select from "@/components/Address";
 import OrgSelecter from "@/views/project/components/orgselect";
@@ -906,14 +903,14 @@
 import {
   listOrganization,
   listReportname,
-  listUser,
+  listUser
 } from "@/api/project/organization";
 
 export default {
   components: {
     Li_area_select,
     OrgSelecter,
-    AnnexUpload,
+    AnnexUpload
   },
   name: "Relativesconfirmation",
   dicts: [
@@ -934,7 +931,7 @@
     "sys_FamilyRelation",
     "sys_CoreAssessConclusion",
     "sys_BaseAssessConclusion",
-    'sys_donornode'
+    "sys_donornode"
   ],
   data() {
     return {
@@ -947,14 +944,14 @@
       defultAddresss: {
         sheng: "娴欐睙鐪�",
         shi: "",
-        qu: "",
+        qu: ""
       },
       //榛樿鍊艰缃紝鍙负绌�
       searchAddress: {
         sheng: "",
         shi: "",
         qu: "",
-        organizationname: null,
+        organizationname: null
       },
       provinceData: [
         { label: "鍏ㄩ儴", value: "" },
@@ -968,7 +965,7 @@
         { label: "琛㈠窞甯�", value: "8" },
         { label: "鑸熷北甯�", value: "9" },
         { label: "鍙板窞甯�", value: "A" },
-        { label: "涓芥按甯�", value: "B" },
+        { label: "涓芥按甯�", value: "B" }
       ],
       showSaveBtn: false,
       showTerminationBtn: false,
@@ -1052,14 +1049,14 @@
         residencecity: null,
         residencetown: null,
         // "2"
-        recordstate: "2",
+        recordstate: null,
         treatmenthospitalname: null,
         donorno: null,
         acquisitiontissueno: null,
         reportername: null,
         reporttime: null,
         city: null,
-        treatmenthospitalno: null,
+        treatmenthospitalno: null
       },
       headers: {
         Authorization: "Bearer " + getToken()
@@ -1069,29 +1066,29 @@
       // 琛ㄥ崟鏍¢獙
       rules: {
         name: [
-          { required: true, message: "浜插睘濮撳悕涓嶈兘涓虹┖", trigger: "blur" },
+          { required: true, message: "浜插睘濮撳悕涓嶈兘涓虹┖", trigger: "blur" }
         ],
         phone: [
-          { required: true, message: "瀹跺睘鑱旂郴鐢佃瘽涓嶄负绌�", trigger: "blur" },
+          { required: true, message: "瀹跺睘鑱旂郴鐢佃瘽涓嶄负绌�", trigger: "blur" }
         ],
         signfamilyrelations: [
-          { required: true, message: "涓庢崘鐚�呭叧绯�", trigger: "blur" },
+          { required: true, message: "涓庢崘鐚�呭叧绯�", trigger: "blur" }
         ],
         idcardno: [
-          { required: true, message: "璇佷欢鍙蜂笉鑳戒负绌�", trigger: "blur" },
+          { required: true, message: "璇佷欢鍙蜂笉鑳戒负绌�", trigger: "blur" }
         ],
         organdecision: [
-          { required: true, message: "鎹愮尞鍐冲畾涓嶈兘涓虹┖", trigger: "blur" },
+          { required: true, message: "鎹愮尞鍐冲畾涓嶈兘涓虹┖", trigger: "blur" }
         ],
         responsibleuserid: [
-          { required: true, message: "璐熻矗浜轰笉鑳戒负绌�", trigger: "blur" },
+          { required: true, message: "璐熻矗浜轰笉鑳戒负绌�", trigger: "blur" }
         ],
         coordinateduserido: [
-          { required: true, message: "鍗忚皟鍛�1涓嶈兘涓虹┖", trigger: "blur" },
+          { required: true, message: "鍗忚皟鍛�1涓嶈兘涓虹┖", trigger: "blur" }
         ],
         coordinateduseridt: [
-          { required: true, message: "鍗忚皟鍛�2涓嶈兘涓虹┖", trigger: "blur" },
-        ],
+          { required: true, message: "鍗忚皟鍛�2涓嶈兘涓虹┖", trigger: "blur" }
+        ]
         // esidenceaddresss:[{ required: true, message: "璇烽�夋嫨鎴风睄鍦�", trigger: "blur" }],
         // residenceaddress:[{ required: true, message: "鐜颁綇鍦板潃涓嶈兘涓虹┖", trigger: "blur" }],
       },
@@ -1108,7 +1105,7 @@
       evaluationTitle: "",
       evaluationRules: {},
       starttime: "",
-      endtime: "",
+      endtime: ""
     };
   },
   created() {
@@ -1119,10 +1116,9 @@
     this.getLeaderList();
     this.getCoordinatorList1();
     this.getCoordinatorList2();
-
-    this.getList();
   },
-  activated() {
+  activated() {},
+  mounted() {
     this.selecttime = "";
     this.reportervalue = "";
     this.reportlist = [];
@@ -1134,10 +1130,11 @@
     if (this.$route.params.starttime != null && this.$route.params.endtime) {
       this.selecttime = [
         this.$moment(this.$route.params.starttime).format("YYYY-MM-DD"),
-        this.$moment(this.$route.params.endtime)
-          .add(-1, "month")
-          .format("YYYY-MM-DD"),
+        this.$moment(this.$route.params.endtime).format("YYYY-MM-DD")
       ];
+      this.endtime = this.selecttime[1];
+      this.starttime = this.selecttime[0];
+      console.log(this.selecttime);
     }
     if (this.$route.params.reporterno != "") {
       this.reporterno = this.$route.params.reporterno;
@@ -1160,10 +1157,8 @@
     if (this.$route.params.city != "") {
       this.queryParams.city = this.$route.params.city;
     }
-    this.getTimeList();
     this.getList();
-  },
-  mounted() { 
+    this.getTimeList();
     this.LoadReportList();
 
     // if(this.tempRecordState != undefined && this.tempRecordState != null){
@@ -1231,14 +1226,14 @@
       }
     },
     LoadReportList() {
-      listDonatebaseinfo().then((res) => {
+      listDonatebaseinfo().then(res => {
         let list = res.rows;
         let reportlist = [];
         reportlist.push({ reporterno: "", reportername: "鍏ㄩ儴" });
-        list.forEach((element) => {
+        list.forEach(element => {
           reportlist.push({
             reporterno: element.reporterno,
-            reportername: element.reportername,
+            reportername: element.reportername
           });
         });
 
@@ -1250,7 +1245,7 @@
     },
     resetArr(Arr) {
       var hash = {};
-      Arr = Arr.reduce(function (arr, current) {
+      Arr = Arr.reduce(function(arr, current) {
         hash[current.reporterno]
           ? ""
           : (hash[current.reporterno] = true && arr.push(current));
@@ -1265,11 +1260,11 @@
       this.annexno = "";
       //鏌ヨ鏄惁瀛樺湪纭鐧昏璁板綍
       let searchparam = {
-        infoid: row.id,
+        infoid: row.id
       };
       this.loading = true;
       this.curCase = row;
-      listRelativesconfirmation(searchparam).then((response) => {
+      listRelativesconfirmation(searchparam).then(response => {
         this.loading = false;
         if (response.code == 200) {
           if (response.rows.length == 0) {
@@ -1288,7 +1283,7 @@
             this.form.donativeplace = row.nativeplace;
             this.open = true;
             this.title = "鏂板浜轰綋鍣ㄥ畼鎹愮尞浜插睘纭鐧昏琛�";
-            this.$nextTick(function () {
+            this.$nextTick(function() {
               this.$refs.confirmannex.getAnnexList();
             });
           } else if (response.rows.length == 1) {
@@ -1327,7 +1322,7 @@
             }
             this.open = true;
             this.title = "淇敼浜轰綋鍣ㄥ畼鎹愮尞浜插睘纭鐧昏琛�";
-            this.$nextTick(function () {
+            this.$nextTick(function() {
               this.$refs.confirmannex.getAnnexList();
             });
           } else {
@@ -1344,7 +1339,7 @@
     //   console.log(row.id)
     // },
     updatedonorno(row) {
-      updateDonateNumber(row.infoid).then((res) => {
+      updateDonateNumber(row.infoid).then(res => {
         //console.log('鏇存柊鎹愮尞鑰呯紪鍙蜂翰灞炶〃',res)
         console.log("dwdawdwadwad", res);
         this.getList();
@@ -1352,33 +1347,32 @@
     },
     getuserlist() {
       //鐢ㄦ埛鍒楄〃
-      listUser().then((res) => {
+      listUser().then(res => {
         this.users = res.data;
       });
     },
     getLeaderList() {
       //璐熻矗浜�
       // let userType = {"userType":"fzr"};
-      listReportname("fzr").then((res) => {
+      listReportname("fzr").then(res => {
         this.leaderlist = res.data;
       });
     },
 
     //鍗忚皟鍛樹竴
     getCoordinatorList1() {
-      listReportname("xty1").then((res) => {
+      listReportname("xty1").then(res => {
         this.coordinatorlist1 = res.data;
       });
     },
     getCoordinatorList2() {
       //鍗忚皟鍛樹簩
-      listReportname("xty2").then((res) => {
+      listReportname("xty2").then(res => {
         this.coordinatorlist2 = res.data;
       });
     },
     updateMessage() {
-      const reg =
-        /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      const reg = /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
       if (reg.test(this.form.idcardno)) {
         // 韬唤璇佸彿鐮佹槸鍚﹀悎娉�
         var org_birthday = this.form.idcardno.substring(6, 14);
@@ -1428,7 +1422,7 @@
       }
       this.setState({
         birthday,
-        sex,
+        sex
       });
     },
     changeAddress(data) {},
@@ -1437,8 +1431,9 @@
       this.loading = true;
 
       if (null != this.daterangeReporttime && "" != this.daterangeReporttime) {
-        this.queryParams.params["beginReporttime"] =
-          this.daterangeReporttime[0];
+        this.queryParams.params[
+          "beginReporttime"
+        ] = this.daterangeReporttime[0];
         this.queryParams.params["endReporttime"] = this.daterangeReporttime[1];
       }
 
@@ -1450,8 +1445,9 @@
       if (this.endtime != "") {
         this.queryParams.endtime = this.endtime;
       }
+      console.log(this.queryParams, "cans");
       this.$nextTick(() => {
-        listnewRelativesconfirmation(this.queryParams).then((response) => {
+        listnewRelativesconfirmation(this.queryParams).then(response => {
           // console.log('甯︽湁city鐨勬帴鍙�',response)
           this.listnewRelativesconfirm = response.rows;
           console.log("response.rows", response.rows);
@@ -1524,7 +1520,7 @@
         createBy: null,
         createTime: null,
         updateBy: null,
-        updateTime: null,
+        updateTime: null
       };
       this.resetForm("form");
     },
@@ -1556,7 +1552,7 @@
         reportername: null,
         reporttime: null,
         city: null,
-        treatmenthospitalno: null,
+        treatmenthospitalno: null
       };
       this.selecttime = [];
       this.getTimeList();
@@ -1564,7 +1560,7 @@
         sheng: "",
         shi: "",
         qu: "",
-        organizationname: null,
+        organizationname: null
       };
 
       this.resetForm("queryForm");
@@ -1576,7 +1572,7 @@
     //  },
     // 澶氶�夋閫変腑鏁版嵁
     handleSelectionChange(selection) {
-      this.ids = selection.map((item) => item.id);
+      this.ids = selection.map(item => item.id);
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
@@ -1596,16 +1592,16 @@
       this.annexno = "";
       //鏌ヨ鏄惁瀛樺湪纭鐧昏璁板綍
       let searchparam = {
-        infoid: row.id,
+        infoid: row.id
       };
       this.loading = true;
       this.curCase = {
         id: row.id,
         recordstate: null,
-        donorno: row.donorno,
+        donorno: row.donorno
       };
       console.log("32323232323", searchparam);
-      listRelativesconfirmation(searchparam).then((response) => {
+      listRelativesconfirmation(searchparam).then(response => {
         console.log("wdadwadawdawd", response);
         this.loading = false;
         if (response.code == 200) {
@@ -1624,7 +1620,7 @@
             this.form.donativeplace = row.nativeplace;
             this.open = true;
             this.title = "鏂板浜轰綋鍣ㄥ畼鎹愮尞浜插睘纭鐧昏琛�";
-            this.$nextTick(function () {
+            this.$nextTick(function() {
               this.$refs.confirmannex.getAnnexList();
             });
           } else if (response.rows.length == 1) {
@@ -1662,7 +1658,7 @@
             }
             this.open = true;
             this.title = "淇敼浜轰綋鍣ㄥ畼鎹愮尞浜插睘纭鐧昏琛�";
-            this.$nextTick(function () {
+            this.$nextTick(function() {
               this.$refs.confirmannex.getAnnexList();
             });
           } else {
@@ -1677,7 +1673,7 @@
     },
     /** 鎻愪氦鎸夐挳 */
     submitForm() {
-      this.$refs["form"].validate((valid) => {
+      this.$refs["form"].validate(valid => {
         if (valid) {
           console.log("鎻愪氦鐨刦orm", this.form);
           if (this.form.kinship.length > 0) {
@@ -1694,38 +1690,41 @@
           this.form.residencetownname = this.defultAddresss.qu;
           //璐熻矗浜� //leaderlist
           let responsibleuseridIndex = this.leaderlist.findIndex(
-            (item) => this.form.responsibleuserid == item.reportNo
+            item => this.form.responsibleuserid == item.reportNo
           );
           if (responsibleuseridIndex > -1) {
-            this.form.responsibleusername =
-              this.leaderlist[responsibleuseridIndex].reportName;
+            this.form.responsibleusername = this.leaderlist[
+              responsibleuseridIndex
+            ].reportName;
           }
           //鍗忚皟鍛�1
           let coordinatedusernameIndex = this.coordinatorlist1.findIndex(
-            (item) => this.form.coordinateduserido == item.reportNo
+            item => this.form.coordinateduserido == item.reportNo
           );
           if (coordinatedusernameIndex > -1) {
-            this.form.coordinatedusernameo =
-              this.coordinatorlist1[coordinatedusernameIndex].reportName;
+            this.form.coordinatedusernameo = this.coordinatorlist1[
+              coordinatedusernameIndex
+            ].reportName;
           }
           //鍗忚皟鍛�2
           let coordinatedusernametIndex = this.coordinatorlist1.findIndex(
-            (item) => this.form.coordinateduseridt == item.reportNo
+            item => this.form.coordinateduseridt == item.reportNo
           );
           if (coordinatedusernametIndex > -1) {
-            this.form.coordinatedusernamet =
-              this.coordinatorlist1[coordinatedusernametIndex].reportName;
+            this.form.coordinatedusernamet = this.coordinatorlist1[
+              coordinatedusernametIndex
+            ].reportName;
           }
           //console.log("鍗忚皟鍛�2锛�"+ this.form.coordinatedusernamet);
 
           if (this.form.id != null) {
-            updateRelativesconfirmation(this.form).then((response) => {
+            updateRelativesconfirmation(this.form).then(response => {
               console.log("1s212198989898", this.form.infoid);
               let donornoobj = {
-                id: this.form.infoid,
+                id: this.form.infoid
               };
               let donornoobj1 = {
-                infoid: this.form.infoid,
+                infoid: this.form.infoid
               };
               console.log("infoid:", this.form.infoid);
               // 鏇存柊鎹愮尞鑰呯紪鍙锋帴鍙�
@@ -1738,10 +1737,10 @@
               this.getList();
               //鏌ヨ鏄惁瀛樺湪鍖诲璇勪及璁板綍
               let searchevaluationParam = {
-                donorno: this.curCase.donorno,
+                donorno: this.curCase.donorno
               };
               this.loading = true;
-              listMedicalevaluation(searchevaluationParam).then((response) => {
+              listMedicalevaluation(searchevaluationParam).then(response => {
                 this.loading = false;
                 if (response.code == 200) {
                   if (response.rows.length > 0) {
@@ -1759,7 +1758,7 @@
                   this.curCase.recordstate = 99;
                 }
                 console.log("curCase", this.curCase);
-                updateDonatebaseinfo(this.curCase).then((response1) => {
+                updateDonatebaseinfo(this.curCase).then(response1 => {
                   this.getList();
                   if (response1.code == 200) {
                     if (this.curCase.recordstate == 7) {
@@ -1778,15 +1777,15 @@
               });
             });
           } else {
-            addRelativesconfirmation(this.form).then((response) => {
+            addRelativesconfirmation(this.form).then(response => {
               this.$modal.msgSuccess("鏂板鎴愬姛");
               this.getList();
               //鏌ヨ鏄惁瀛樺湪鍖诲璇勪及璁板綍
               let searchevaluationParam = {
-                donorno: this.curCase.donorno,
+                donorno: this.curCase.donorno
               };
               this.loading = true;
-              listMedicalevaluation(searchevaluationParam).then((response) => {
+              listMedicalevaluation(searchevaluationParam).then(response => {
                 this.loading = false;
                 if (response.code == 200) {
                   if (response.rows.length > 0) {
@@ -1798,7 +1797,7 @@
                 } else {
                   this.$modal.msgError("鑾峰彇鍖诲璇勪及璁板綍澶辫触锛�" + response.msg);
                 }
-                updateDonatebaseinfo(this.curCase).then((response1) => {
+                updateDonatebaseinfo(this.curCase).then(response1 => {
                   this.getList();
                   if (response1.code == 200) {
                     if (this.curCase.recordstate == 7) {
@@ -1817,7 +1816,7 @@
               this.getList();
             });
           }
-          updateDonateNumber(this.form.infoid).then((res) => {
+          updateDonateNumber(this.form.infoid).then(res => {
             //console.log('鏇存柊鎹愮尞鑰呯紪鍙蜂翰灞炶〃',res)
             this.getList();
           });
@@ -1829,7 +1828,7 @@
       const ids = row.id || this.ids;
       this.$modal
         .confirm('鏄惁纭鍒犻櫎鎹愮尞鍩虹缂栧彿涓�"' + ids + '"鐨勬暟鎹」锛�')
-        .then(function () {
+        .then(function() {
           return delDonatebaseinfo(ids);
         })
         .then(() => {
@@ -1842,11 +1841,11 @@
     submitRecord(row) {
       this.$modal
         .confirm("鏄惁纭涓婃姤浼︾悊瀹℃煡")
-        .then(function () {})
+        .then(function() {})
         .then(() => {
           this.loading = true;
           row.recordstate = 7;
-          updateDonatebaseinfo(row).then((response1) => {
+          updateDonatebaseinfo(row).then(response1 => {
             if (response1.code == 200) {
               this.$modal.msgSuccess("涓婃姤浼︾悊瀹℃煡鎴愬姛");
             } else {
@@ -1877,7 +1876,7 @@
         coreteamassessdoctor: null,
         coreteamassesstime: null,
         coreteamassessconclusion: null,
-        assessannex: null,
+        assessannex: null
       };
       this.resetForm("evaluationForm");
     },
@@ -1894,10 +1893,10 @@
       this.annexno = "";
       //鑾峰彇鍖诲鎹愮尞璇勪及璁板綍
       let searchParam = {
-        donorno: data.donorno,
+        donorno: data.donorno
       };
       this.loading = true;
-      listMedicalevaluation(searchParam).then((response) => {
+      listMedicalevaluation(searchParam).then(response => {
         this.loading = false;
         if (response.code == 200) {
           if (response.rows.length == 0) {
@@ -1905,7 +1904,7 @@
             this.evaluationForm.infoid = data.id;
             this.evaluationForm.donorno = data.donorno;
             this.isShowEvaluation = true;
-            this.$nextTick(function () {
+            this.$nextTick(function() {
               this.$refs.evaluationannex.getAnnexList();
             });
           } else if (response.rows.length == 1) {
@@ -1914,7 +1913,7 @@
             this.evaluationForm.infoid = data.id;
             this.evaluationForm.donorno = data.donorno;
             this.isShowEvaluation = true;
-            this.$nextTick(function () {
+            this.$nextTick(function() {
               this.$refs.evaluationannex.getAnnexList();
             });
           } else {
@@ -1931,7 +1930,7 @@
     handledownload(row) {
       const id = row.id || this.ids;
 
-      downloadconfirmationinfo(id).then((res) => {
+      downloadconfirmationinfo(id).then(res => {
         var fileUrl = res;
         //鑾峰彇褰撳墠缃戝潃
         var urlBase = process.env.VUE_APP_BASE_API;
@@ -1955,7 +1954,7 @@
             console.log(url);
             const link = document.createElement("a");
             link.href = url;
-            const name=fileUrl["downloadName"]
+            const name = fileUrl["downloadName"];
             link.setAttribute("download", name); // 鏇挎崲file.pdf涓哄疄闄呯殑鏂囦欢鍚�
             document.body.appendChild(link);
             link.click();
@@ -1967,22 +1966,22 @@
     //淇濆瓨鎴栨洿鏂版崘鐚瘎浼�
     saveEvaluation() {
       this.loading = true;
-      this.$refs["evaluationForm"].validate((valid) => {
+      this.$refs["evaluationForm"].validate(valid => {
         if (valid) {
           if (this.evaluationForm.id != null) {
-            updateMedicalevaluation(this.evaluationForm).then((response) => {
+            updateMedicalevaluation(this.evaluationForm).then(response => {
               this.loading = false;
               this.$modal.msgSuccess("淇敼鎴愬姛");
               this.isShowEvaluation = false;
               this.getList();
             });
           } else {
-            addMedicalevaluation(this.evaluationForm).then((response) => {
+            addMedicalevaluation(this.evaluationForm).then(response => {
               this.loading = false;
               this.$modal.msgSuccess("鏂板鎴愬姛");
               //鏇存柊鎹愮尞鐘舵�佷负宸蹭笂鎶ヤ鸡鐞嗗鏌�
               this.curCase.recordstate = 7;
-              updateDonatebaseinfo(this.curCase).then((response1) => {
+              updateDonatebaseinfo(this.curCase).then(response1 => {
                 this.getList();
                 if (response1.code == 200) {
                   this.$modal.msgSuccess("涓婃姤浼︾悊瀹℃煡鎴愬姛");
@@ -1995,7 +1994,7 @@
           }
         }
       });
-    },
-  },
+    }
+  }
 };
-</script>
\ No newline at end of file
+</script>
diff --git a/src/views/project/unitCost/particulars/index.vue b/src/views/project/unitCost/particulars/index.vue
index 8dd985c..687ba89 100644
--- a/src/views/project/unitCost/particulars/index.vue
+++ b/src/views/project/unitCost/particulars/index.vue
@@ -1439,6 +1439,12 @@
       }
     }
   }
+  ::v-deep .el-input.is-disabled .el-input__inner {
+    background-color: #F5F7FA;
+    border-color: #dfe4ed;
+    color: #000000;
+    cursor: not-allowed;
+}
   
   ::v-deep .el-input--medium .el-input__inner {
     height: 36px;

--
Gitblit v1.9.3