From 355996a8644f56707f813ceffbd4552bc4be7fca Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期六, 11 十月 2025 13:41:17 +0800
Subject: [PATCH] 丽水中判断渲染及电话维护

---
 vue.config.js                                     |    4 ++--
 src/views/followvisit/record/detailpage/index.vue |   47 +++++++++++++++++++++++++++++++++++++++++++++--
 src/components/CallButton/index.vue               |    2 +-
 3 files changed, 48 insertions(+), 5 deletions(-)

diff --git a/src/components/CallButton/index.vue b/src/components/CallButton/index.vue
index 9894b01..bc17eea 100644
--- a/src/components/CallButton/index.vue
+++ b/src/components/CallButton/index.vue
@@ -127,7 +127,7 @@
         this.isCalling = true;
         console.log("寮�濮嬪懠鍙細", sipService);
 
-        await sipService.makeCall("0" + this.phoneNumber);
+        await sipService.makeCall(this.phoneNumber);
       } catch (error) {
         let registrationTime = Date.now(); // 璁板綍娉ㄩ攢鎴愬姛鏃堕棿
         console.log(registrationTime, "鍛煎彨澶辫触鏃堕棿");
diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index aec86ff..b5dc4e7 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -688,10 +688,24 @@
                   />
                 </div>
               </div>
-              <el-form-item label="闅忚璁板綍">
+              <el-form-item label="闅忚鍐呭" v-if="orgname == '涓芥按甯備腑鍖婚櫌'">
+                <el-input type="textarea" v-model="form.remark"></el-input>
+              </el-form-item>
+              <el-form-item label="闅忚璁板綍" v-else>
                 <el-input type="textarea" v-model="form.remark"></el-input>
               </el-form-item>
 
+              <el-form-item label="闅忚鎯呭喌" v-if="orgname == '涓芥按甯備腑鍖婚櫌'">
+                <el-radio-group v-model="form.taskSituation">
+                  <el-radio
+                    v-for="city in cities"
+                    :label="city.value"
+                    :value="city.value"
+                    :key="city.value"
+                    >{{ city.label }}</el-radio
+                  >
+                </el-radio-group>
+              </el-form-item>
               <el-form-item label="澶勭悊鎰忚">
                 <div>
                   <el-button
@@ -1119,8 +1133,35 @@
       voice: "",
       templateid: "",
       again: "",
+      orgname: "",
       zcform: {},
       form: {},
+      cities: [
+        {
+          label: "姝e父璇煶",
+          value: "1",
+        },
+        {
+          label: "鎮h�呮嫆鎺ユ垨鎷掕",
+          value: "2",
+        },
+        {
+          label: "闈㈣鎴栬�呮帴璇�",
+          value: "3",
+        },
+        {
+          label: "寰俊闅忚",
+          value: "4",
+        },
+        {
+          label: "闅忚鐢佃瘽涓嶆纭�",
+          value: "5",
+        },
+        {
+          label: "鍏朵粬鎯呭喌涓嶅疁闅忚",
+          value: "6",
+        },
+      ],
       tableDatatop: [], //棰樼洰琛�
       voiceDatatop: [], //棰樼洰琛�
       dynamicTags: [],
@@ -1324,6 +1365,7 @@
     this.Voicetype = this.$route.query.Voicetype;
     this.visitCount = this.$route.query.visitCount;
     this.serviceType = this.$route.query.serviceType;
+    this.orgname = localStorage.getItem("orgname");
 
     this.getTaskservelist();
   },
@@ -1852,6 +1894,7 @@
             (item) => item.id == this.id
           );
           objson.remark = this.form.remark;
+          objson.taskSituation = this.form.taskSituation;
           objson.excep = this.selectedTag;
           if (sendstate) objson.sendstate = sendstate;
           Editsingletaskson(objson).then((res) => {
@@ -2588,7 +2631,7 @@
   margin: 0 10px 20px 10px;
 
   /* 褰撶缉鏀炬瘮渚嬪ぇ浜�100%鎴栧睆骞曞搴﹁緝灏忔椂鏀逛负涓婁笅鎺掑垪 */
-  @media screen and (max-width: 1200px), (min-resolution: 1.1dppx) {
+  @media screen and (max-width: 1200px), (min-resolution: 1dppx) {
     flex-direction: column;
 
     .call-action,
diff --git a/vue.config.js b/vue.config.js
index f1a809f..fb7bf89 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -37,8 +37,8 @@
       [process.env.VUE_APP_BASE_API]: {
         // target: `https://www.health-y.cn/lssf`,
         // target: `http://192.168.100.129:8095`,
-        // target: `http://192.168.100.10:8096`,
-        target:`http://localhost:8095`,
+        target: `http://192.168.100.10:8096`,
+        // target:`http://localhost:8095`,
         // target:`http://35z1t16164.qicp.vip`,
         // target: `http://192.168.100.193:8095`,
         // target: `http://192.168.101.166:8093`,

--
Gitblit v1.9.3