From a5cba9ab040f6f97558046885dce3017f9bab7e9 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 11 八月 2026 14:12:29 +0800
Subject: [PATCH] 提交
---
src/views/followvisit/record/detailpage/index.vue | 626 +++++++++++++++++++++++++++++++++++---------------------
1 files changed, 392 insertions(+), 234 deletions(-)
diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index 6bc4606..e776ec9 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -136,6 +136,18 @@
>
</el-table-column>
<el-table-column
+ label="搴旈殢璁挎棩鏈�"
+ width="146"
+ align="center"
+ key="visitTime"
+ prop="visitTime"
+ :render-header="Tooltipy"
+ >
+ <template slot-scope="scope">
+ <span>{{ formatTime(scope.row.visitTime) }}</span>
+ </template></el-table-column
+ >
+ <el-table-column
v-if="orgname == '鍗楀崕澶у闄勫睘绗竴鍖婚櫌'"
label="鍏ラ櫌鏃ユ湡"
width="200"
@@ -362,7 +374,19 @@
><i class="el-icon-notebook-1"></i> 闂嵎闅忚缁撴灉</span
>
<div class="CONTENT">
- <div class="title">{{ taskname ? taskname : "闂嵎" }}</div>
+ <div class="title">
+ {{ taskname ? taskname : "闂嵎" }}
+ <span style="margin-left: 50px">
+ <el-button
+ type="primary"
+ round
+ @click="smsSubTask"
+ v-if="orgname != '鐪佺珛鍚屽痉缈犺嫅闄㈠尯'"
+ >
+ 闂嵎鐭俊鎺ㄩ��
+ </el-button>
+ </span>
+ </div>
<div class="preview-left" v-if="!Voicetype">
<div
@@ -578,10 +602,10 @@
v-if="Voicetype"
type="primary"
@click="yuyingetdetail"
- >淇濆瓨鏈嶅姟璇︽儏</el-button
+ >淇濆瓨闂嵎璇︽儏</el-button
>
<el-button v-else type="primary" @click="getdetail"
- >淇濆瓨鏈嶅姟璇︽儏</el-button
+ >淇濆瓨闂嵎璇︽儏</el-button
>
</div>
</el-tab-pane>
@@ -677,7 +701,7 @@
type="primary"
round
@click="sendAgain"
- v-if="(form.isVisitAgain != 2) & (visitAgain == 2)"
+ v-if="(form.isVisitAgain == 1) & (visitAgain == 2)"
>
鍐嶆闅忚
</el-button>
@@ -689,6 +713,7 @@
v-model="selectedTag"
placeholder="璇烽�夋嫨寮傚父鐘舵��"
clearable
+ @change="exceptionHandling"
style="width: 150px; margin-right: 10px"
>
<el-option
@@ -925,6 +950,13 @@
<el-button
plain
type="success"
+ @click="Editsingletaskson('6')"
+ >
+ 宸查潰璁�
+ </el-button>
+ <el-button
+ plain
+ type="success"
@click="Editsingletaskson('2')"
>
鐥呮儏绋冲畾
@@ -939,7 +971,12 @@
<el-button plain type="info" @click="Editsingletaskson('5')">
浜哄伐闅忚
</el-button>
- <el-button type="primary" round @click="sendAgainmsg">
+ <el-button
+ type="primary"
+ round
+ @click="sendAgainmsg"
+ v-if="orgname != '鐪佺珛鍚屽痉缈犺嫅闄㈠尯'"
+ >
鐭俊鍙戦��
</el-button>
</div>
@@ -1078,141 +1115,157 @@
title="鎮h�呭啀娆¢殢璁�"
v-dialogDrags
:visible.sync="dialogFormVisible"
+ width="700px"
>
<el-form ref="zcform" :rules="zcrules" :model="form" label-width="80px">
- <el-form-item label="浠诲姟鍚嶇О">
- <el-input
- style="width: 400px"
- disabled
- v-model="form.taskName"
- ></el-input>
- </el-form-item>
- <el-form-item label="鎮h�呭悕绉�">
- <el-input
- style="width: 400px"
- disabled
- v-model="form.sendname"
- ></el-input>
- </el-form-item>
- <el-form-item label="骞撮緞">
- <el-input style="width: 400px" disabled v-model="form.age"></el-input>
- </el-form-item>
- <el-form-item label="绉戝">
- <el-input
- style="width: 400px"
- disabled
- v-model="form.deptname"
- ></el-input>
- </el-form-item>
- <el-form-item label="鐥呭尯">
- <el-input
- style="width: 400px"
- disabled
- v-model="form.leavehospitaldistrictname"
- ></el-input>
- </el-form-item>
- <el-form-item label="鍑洪櫌鏃堕棿">
- <el-input
- style="width: 400px"
- disabled
- v-model="form.endtime"
- ></el-input>
- </el-form-item>
- <div class="headline">涓婃闅忚</div>
- <el-divider></el-divider>
- <el-row>
- <el-col :span="12">
- <el-form-item label="闅忚鏂瑰紡">
- <el-select
- v-model="form.visitType2"
- filterable
- allow-create
- default-first-option
+ <!-- 鍩虹鏈嶅姟淇℃伅 - 榛樿鎶樺彔 -->
+ <el-collapse v-model="activeNames" @change="handleCollapseChange">
+ <el-collapse-item title="鍩虹鏈嶅姟淇℃伅" name="basic">
+ <el-form-item label="浠诲姟鍚嶇О">
+ <el-input
+ style="width: 100%"
disabled
- placeholder="璇烽�夋嫨闅忚鏂瑰紡"
- class="custom-disabled"
- >
- <el-option
- v-for="item in options"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select>
+ v-model="form.taskName"
+ ></el-input>
</el-form-item>
- </el-col>
- <el-col :span="12">
- <el-form-item label="闅忚鏃堕棿">
- <el-date-picker
- type="date"
+ <el-form-item label="鎮h�呭悕绉�">
+ <el-input
+ style="width: 100%"
disabled
- placeholder="閫夋嫨鏃ユ湡"
- :picker-options="pickerOptions"
- align="right"
- v-model="form.date2"
- class="custom-disabled"
- ></el-date-picker>
+ v-model="form.sendname"
+ ></el-input>
</el-form-item>
- </el-col>
- </el-row>
+ <el-form-item label="骞撮緞">
+ <el-input
+ style="width: 100%"
+ disabled
+ v-model="form.age"
+ ></el-input>
+ </el-form-item>
+ <el-form-item label="绉戝">
+ <el-input
+ style="width: 100%"
+ disabled
+ v-model="form.deptname"
+ ></el-input>
+ </el-form-item>
+ <el-form-item label="鐥呭尯">
+ <el-input
+ style="width: 100%"
+ disabled
+ v-model="form.leavehospitaldistrictname"
+ ></el-input>
+ </el-form-item>
+ <el-form-item label="鍑洪櫌鏃堕棿">
+ <el-input
+ style="width: 100%"
+ disabled
+ v-model="form.endtime"
+ ></el-input>
+ </el-form-item>
+ </el-collapse-item>
- <el-form-item label="闅忚璁板綍">
- <el-input
- class="custom-disabled"
- type="textarea"
- disabled
- v-model="form.remark2"
- ></el-input>
- </el-form-item>
- <div class="headline">涓嬫闅忚</div>
- <el-divider></el-divider>
- <el-row>
- <el-col :span="12">
- <el-form-item label="闅忚鏂瑰紡" prop="visitType">
- <el-select
- v-model="form.visitType"
- filterable
- allow-create
- default-first-option
- @change="visitChange"
- placeholder="璇烽�夋嫨闅忚鏂瑰紡(渚濆嚭闄㈡椂闂磋绠�)"
- >
- <el-option
- v-for="item in options"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="12">
- <el-form-item label="闅忚鏃堕棿" prop="date1">
- <el-date-picker
- type="date"
- placeholder="閫夋嫨鏃ユ湡"
- :picker-options="pickerOptions"
- align="right"
- v-model="form.date1"
+ <!-- 涓婃闅忚淇℃伅 - 榛樿鎶樺彔 -->
+ <el-collapse-item title="涓婃闅忚" name="last">
+ <el-row>
+ <el-col :span="12">
+ <el-form-item label="闅忚鏂瑰紡">
+ <el-select
+ v-model="form.visitType2"
+ filterable
+ allow-create
+ default-first-option
+ disabled
+ placeholder="璇烽�夋嫨闅忚鏂瑰紡"
+ class="custom-disabled"
+ style="width: 90%"
+ >
+ <el-option
+ v-for="item in options"
+ :key="item.value"
+ :label="item.label"
+ :value="item.value"
+ >
+ </el-option>
+ </el-select>
+ </el-form-item>
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="闅忚鏃堕棿">
+ <el-date-picker
+ type="date"
+ disabled
+ placeholder="閫夋嫨鏃ユ湡"
+ :picker-options="pickerOptions"
+ align="right"
+ v-model="form.date2"
+ class="custom-disabled"
+ style="width: 95%"
+ ></el-date-picker>
+ </el-form-item>
+ </el-col>
+ </el-row>
+ <el-form-item label="闅忚璁板綍">
+ <el-input
class="custom-disabled"
- value-format="yyyy-MM-dd hh:mm:ss"
- @change="checkFollowupDate"
- ></el-date-picker>
+ type="textarea"
+ disabled
+ v-model="form.remark2"
+ ></el-input>
</el-form-item>
- </el-col>
- </el-row>
- <el-form-item label="闅忚绫诲瀷" prop="resource">
- <el-radio-group v-model="form.resource">
- <el-radio label="1">鏈梾鍖洪殢璁�</el-radio>
- <el-radio label="2">闅忚涓績闅忚</el-radio>
- </el-radio-group>
- </el-form-item>
+ </el-collapse-item>
- <el-form-item label="闅忚璁板綍" :required="form.resource == '2'">
- <el-input type="textarea" v-model="form.remark"></el-input>
- </el-form-item>
+ <!-- 涓嬫闅忚淇℃伅 - 榛樿灞曞紑 -->
+ <el-collapse-item title="涓嬫闅忚" name="next">
+ <el-row>
+ <el-col :span="12">
+ <el-form-item label="闅忚鏂瑰紡" prop="visitType">
+ <el-select
+ v-model="form.visitType"
+ filterable
+ allow-create
+ default-first-option
+ @change="visitChange"
+ placeholder="璇烽�夋嫨闅忚鏂瑰紡(渚濆嚭闄㈡椂闂磋绠�)"
+ style="width: 90%"
+ >
+ <el-option
+ v-for="item in options"
+ :key="item.value"
+ :label="item.label"
+ :value="item.value"
+ >
+ </el-option>
+ </el-select>
+ </el-form-item>
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="闅忚鏃堕棿" prop="date1">
+ <el-date-picker
+ type="date"
+ placeholder="閫夋嫨鏃ユ湡"
+ :picker-options="pickerOptions"
+ align="right"
+ v-model="form.date1"
+ class="custom-disabled"
+ style="width: 92%"
+ value-format="yyyy-MM-dd hh:mm:ss"
+ @change="checkFollowupDate"
+ ></el-date-picker>
+ </el-form-item>
+ </el-col>
+ </el-row>
+ <el-form-item label="闅忚绫诲瀷" prop="resource">
+ <el-radio-group v-model="form.resource">
+ <el-radio label="1">鏈梾鍖洪殢璁�</el-radio>
+ <el-radio label="2">闅忚涓績闅忚</el-radio>
+ </el-radio-group>
+ </el-form-item>
+ <el-form-item label="闅忚璁板綍" :required="form.resource == '2'">
+ <el-input type="textarea" v-model="form.remark"></el-input>
+ </el-form-item>
+ </el-collapse-item>
+ </el-collapse>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="warning" @click="dialogFormVisible = false"
@@ -1253,6 +1306,7 @@
updateTemplate,
query360PatInfonh,
sendMsg,
+ smsSubTask,
getconfigKey,
} from "@/api/AiCentre/index";
import {
@@ -1356,6 +1410,7 @@
};
return {
visitAgain: 1,
+ activeNames: ["next"], // 鍙睍寮�"涓嬫闅忚"锛屽叾浠栭兘鎶樺彔
userid: "",
defaultKey: false, //鏄惁鍙粯璁ゅ~鎶�
currentPhoneNumber: "",
@@ -1566,6 +1621,10 @@
value: "涓�骞村悗",
label: "涓�骞村悗",
},
+ {
+ value: "浜斿勾鍚�",
+ label: "浜斿勾鍚�",
+ },
],
statusTimer: null,
userform: {},
@@ -1629,7 +1688,15 @@
console.log(store.getters.visitAgain);
this.orgname = localStorage.getItem("orgname");
- if (this.orgname == "鐪佺珛鍚屽痉缈犺嫅闄㈠尯") {
+ console.log(localStorage.getItem("orgname"));
+
+ if (
+ this.orgname == "鐪佺珛鍚屽痉缈犺嫅闄㈠尯" ||
+ this.orgname == "鐪佺珛鍚屽痉涔嬫睙闄㈠尯" ||
+ this.orgname == "鐪佺珛鍚屽痉闂叉灄闄㈠尯" ||
+ this.orgname == "鐪佺珛鍚屽痉闈掑北婀栭櫌鍖�" ||
+ this.orgname == "鐪佺珛鍚屽痉澶╃洰灞辫矾闄㈠尯"
+ ) {
this.showContinuationCareBtn = true;
}
@@ -1701,6 +1768,22 @@
} else {
return "scriptTopic-dev"; // 姝e父 - 榛樿鏍峰紡
}
+ },
+ handleCollapseChange(val) {
+ console.log("鎶樺彔闈㈡澘鐘舵�佸彉鍖�:", val);
+ },
+ Tooltipy(h, { column }) {
+ return h(
+ "el-tooltip",
+ {
+ props: {
+ content: "浠诲姟閰嶇疆澶氱琛ュ伩绫诲瀷鏃讹紝鏈�鏂版墽琛岀被鍨嬬殑搴旈殢璁挎椂闂�",
+ placement: "top",
+ effect: "dark",
+ },
+ },
+ [h("span", column.label)]
+ );
},
getconfigKey() {
getconfigKey("default.value.icon").then((res) => {
@@ -1785,7 +1868,9 @@
item.scriptResult = item.scriptResult;
} else if (item.scriptResultId && item.scriptType == 2) {
console.log(item.scriptResult, "item.scriptResult");
- item.scriptResult = item.scriptResult.split("&");
+ item.scriptResult = item.scriptResult
+ ? item.scriptResult.split("&")
+ : [];
item.isoption = 3;
} else if (!item.scriptResultId && item.scriptType == 2) {
item.scriptResult = [];
@@ -1877,6 +1962,8 @@
followupDate.setMonth(dischargeDate.getMonth() + 6);
} else if (value.includes("涓�骞村悗") || value.includes("12涓湀鍚�")) {
followupDate.setFullYear(dischargeDate.getFullYear() + 1);
+ } else if (value.includes("浜斿勾鍚�")) {
+ followupDate.setFullYear(dischargeDate.getFullYear() + 5);
}
if (followupDate < now) {
@@ -2025,37 +2112,38 @@
this.Editsingletasksonyic(this.serviceStates);
const orgName = localStorage.getItem("orgname");
- if (
- this.form.isVisitAgain != 1 ||
- orgName == "涓芥按甯備腑鍖婚櫌" ||
- this.visitAgain == 1
- ) {
+ if (this.form.isVisitAgain != 1 || this.visitAgain == 1) {
this.Torouter();
return;
}
- // this.$modal
- // .confirm(
- // '浠诲姟淇濆瓨鎴愬姛鏄惁閽堝鎮h�咃細"' +
- // this.userform.name +
- // '"鍐嶆闅忚锛�',
- // "纭",
- // {
- // confirmButtonText: "纭畾",
- // cancelButtonText: "鍙栨秷",
- // showCancelButton: true,
- // dangerouslyUseHTMLString: true,
- // confirmButtonClass: "custom-confirm-button", // 鑷畾涔夌‘璁ゆ寜閽殑绫诲悕
- // cancelButtonClass: "custom-cancel-button", // 鑷畾涔夊彇娑堟寜閽殑绫诲悕
- // }
- // )
- // .then(() => {
- // document.querySelector("#app").scrollTo(0, 0);
- // this.formtidy();
- // this.dialogFormVisible = true;
- // })
- // .catch(() => {
- // this.Torouter();
- // });
+ if (
+ orgName == "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�" ||
+ orgName == "缂欎簯绗簩浜烘皯鍖婚櫌"
+ ) {
+ this.$modal
+ .confirm(
+ '浠诲姟淇濆瓨鎴愬姛鏄惁閽堝鎮h�咃細"' +
+ this.userform.name +
+ '"鍐嶆闅忚锛�',
+ "纭",
+ {
+ confirmButtonText: "纭畾",
+ cancelButtonText: "鍙栨秷",
+ showCancelButton: true,
+ dangerouslyUseHTMLString: true,
+ confirmButtonClass: "custom-confirm-button", // 鑷畾涔夌‘璁ゆ寜閽殑绫诲悕
+ cancelButtonClass: "custom-cancel-button", // 鑷畾涔夊彇娑堟寜閽殑绫诲悕
+ }
+ )
+ .then(() => {
+ document.querySelector("#app").scrollTo(0, 0);
+ this.formtidy();
+ this.dialogFormVisible = true;
+ })
+ .catch(() => {
+ this.Torouter();
+ });
+ }
}
});
},
@@ -2080,6 +2168,8 @@
path: "/followvisit/discharge",
});
}
+ } else {
+ location.reload();
}
},
// 鐢佃瘽============================
@@ -2142,6 +2232,25 @@
handleTemplateClear() {
console.log("娓呴櫎浜嗘ā鏉块�夋嫨");
+ },
+ smsSubTask() {
+ this.$modal
+ .confirm("鏄惁鍚戞偅鑰呴�氳繃鐭俊鎺ㄩ�佹枃浠跺唴瀹癸紵")
+ .then(() => {
+ console.log(11, this.id);
+
+ smsSubTask(this.id).then((res) => {
+ console.log(11);
+
+ if (res.code) {
+ this.$modal.msgSuccess("鏂囦欢宸查�氳繃鐭俊鎺ㄩ�佺粰鎮h��");
+ } else {
+ }
+ });
+ })
+ .catch((err) => {
+ console.log(err);
+ });
},
handleConfirmReplace() {
// 閬嶅巻鎵�鏈夐鐩紙tableDatatop锛�
@@ -2288,42 +2397,43 @@
const orgName = localStorage.getItem("orgname");
console.log(orgName, "orgName");
- if (
- this.form.isVisitAgain != 1 ||
- orgName == "涓芥按甯備腑鍖婚櫌" ||
- this.visitAgain == 1
- ) {
- this.Torouter();
- return;
- }
savequestiondetail(obj).then((res) => {
if (res.code == 200) {
this.$modal.msgSuccess("鏈嶅姟淇濆瓨鎴愬姛");
- this.Torouter();
+ // this.Torouter();
+ if (
+ this.form.isVisitAgain != 1 ||
+ orgName == "涓芥按甯備腑鍖婚櫌" ||
+ this.visitAgain == 1
+ ) {
+ console.log("c4");
- // this.$modal
- // .confirm(
- // '浠诲姟淇濆瓨鎴愬姛鏄惁閽堝鎮h�咃細"' +
- // this.userform.name +
- // '"鍐嶆闅忚锛�',
- // "纭",
- // {
- // confirmButtonText: "纭畾",
- // cancelButtonText: "鍙栨秷",
- // showCancelButton: true,
- // dangerouslyUseHTMLString: true,
- // confirmButtonClass: "custom-confirm-button", // 鑷畾涔夌‘璁ゆ寜閽殑绫诲悕
- // cancelButtonClass: "custom-cancel-button", // 鑷畾涔夊彇娑堟寜閽殑绫诲悕
- // }
- // )
- // .then(() => {
- // document.querySelector("#app").scrollTo(0, 0);
- // this.formtidy();
- // this.dialogFormVisible = true;
- // })
- // .catch(() => {
- // this.Torouter();
- // });
+ this.Torouter();
+ return;
+ }
+ this.$modal
+ .confirm(
+ '浠诲姟淇濆瓨鎴愬姛鏄惁閽堝鎮h�咃細"' +
+ this.userform.name +
+ '"鍐嶆闅忚锛�',
+ "纭",
+ {
+ confirmButtonText: "纭畾",
+ cancelButtonText: "鍙栨秷",
+ showCancelButton: true,
+ dangerouslyUseHTMLString: true,
+ confirmButtonClass: "custom-confirm-button", // 鑷畾涔夌‘璁ゆ寜閽殑绫诲悕
+ cancelButtonClass: "custom-cancel-button", // 鑷畾涔夊彇娑堟寜閽殑绫诲悕
+ }
+ )
+ .then(() => {
+ document.querySelector("#app").scrollTo(0, 0);
+ this.formtidy();
+ this.dialogFormVisible = true;
+ })
+ .catch(() => {
+ this.Torouter();
+ });
}
});
},
@@ -2359,6 +2469,8 @@
this.form = res.rows[0].serviceSubtaskList.find(
(item) => item.id == this.id
);
+ this.form.taskSituation = String(this.form.taskSituation);
+
console.log(this.form.templatename, "templatename");
this.form.remark = this.form.remark || "";
@@ -2390,8 +2502,15 @@
},
// 璋冭捣鐭俊鍙戦�佸璇濇
sendAgainmsg() {
- this.smsDialogVisible = true;
- // 鍙互鍦ㄨ繖閲屽垵濮嬪寲 smsContent锛屼緥濡� this.smsContent = '';
+ // this.smsDialogVisible = true;
+ this.$store.dispatch("sms/openSmsDialog", {
+ name: this.form.sendname,
+ age: this.form.age,
+ phone: this.userform.telcode,
+ deptName: this.form.deptname,
+ wardName: this.form.leavehospitaldistrictname,
+ smsTemplate: `灏婃暚鐨�${this.form.sendname}锛屾偍濂斤紒`,
+ });
},
// 鍙戦�佺煭淇$殑鏂规硶
@@ -2416,7 +2535,12 @@
this.$modal.msgError("鍙戦�佸け璐�");
});
},
- Editsingletaskson(son) {
+ // 寮傚父澶勭悊
+ exceptionHandling(sid) {
+ this.Editsingletaskson(1, sid);
+ },
+ // 瀛樺偍鎰忚鑷姩瀛樺偍
+ Editsingletaskson(son, sid) {
let objson = {};
getTaskservelist({
patid: this.patid,
@@ -2424,13 +2548,14 @@
}).then((res) => {
if (res.code == 200) {
objson = res.rows[0].serviceSubtaskList[0];
- objson.suggest = son;
+ objson.suggest = sid ? this.form.suggest : son;
+ objson.excep = sid ? sid : 0;
objson.remark = this.form.remark;
objson.sendstate = this.serviceStates;
objson.taskSituation = this.form.taskSituation;
Editsingletaskson(objson).then((res) => {
if (res.code) {
- this.$modal.msgSuccess("鏈嶅姟璁板綍鎴愬姛");
+ this.$modal.msgSuccess("鏈嶅姟璁板綍鏇存柊鎴愬姛");
this.getTaskservelist();
}
});
@@ -2468,7 +2593,7 @@
});
},
alterpatient(sendstate) {
- this.Editsingletasksonyic(this.serviceStates)
+ this.Editsingletasksonyic(this.serviceStates);
// alterpatient(this.userform).then((res) => {
// if (res.code == 200) {
// this.$modal.msgSuccess("鍩虹淇℃伅淇濆瓨鎴愬姛");
@@ -2606,15 +2731,26 @@
if (document.activeElement) {
document.activeElement.blur();
}
+ let selectedOptionObj = null;
+ if (this.Voicetype) {
+ console.log("Voicetype");
- // 鎵惧埌琚�変腑鐨勯�夐」瀵硅薄
- const selectedOptionObj = options.find(
- (item) => item.optioncontent == selectedOption
- );
+ selectedOptionObj = options.find(
+ (item) => item.targetvalue == selectedOption
+ );
+ } else {
+ // 鎵惧埌琚�変腑鐨勯�夐」瀵硅薄
+ selectedOptionObj = options.find(
+ (item) => item.optioncontent == selectedOption
+ );
+ }
+ console.log(this.tableDatatop, "this.tableDatatop");
+ console.log(selectedOptionObj, "selectedOptionObj");
// 澶勭悊寮傚父鐘舵�侀珮浜�
this.tableDatatop[questionIndex].isabnormal =
selectedOptionObj.isabnormal;
+
// 澶勭悊闄勫姞杈撳叆妗嗘樉绀�
this.tableDatatop[questionIndex].showAppendInput =
@@ -2867,38 +3003,38 @@
// console.log(11);
// },
beforeRouteLeave(to, from, next) {
- const callButton = this.$refs.callButton;
+ const callButton = this.$refs.callButton;
- // 濡傛灉瀛樺湪鍛煎彨缁勪欢涓旀鍦ㄩ�氳瘽涓�
- if (callButton && callButton.isCalling) {
- this.$confirm('褰撳墠姝e湪閫氳瘽涓紝纭畾瑕佺寮�姝ら〉闈㈠悧锛�', '鎻愮ず', {
- confirmButtonText: '鎸傛柇骞剁寮�',
- cancelButtonText: '缁х画閫氳瘽',
- type: 'warning'
- })
- .then(() => {
- // 鐢ㄦ埛纭绂诲紑锛屼富鍔ㄦ寕鏂苟娓呯悊
- callButton.cleanupResources();
- if (this.$refs.CallCenterLs) {
- this.$refs.CallCenterLs.handleSeatLogout();
- }
- next();
+ // 濡傛灉瀛樺湪鍛煎彨缁勪欢涓旀鍦ㄩ�氳瘽涓�
+ if (callButton && callButton.isCalling) {
+ this.$confirm("褰撳墠姝e湪閫氳瘽涓紝纭畾瑕佺寮�姝ら〉闈㈠悧锛�", "鎻愮ず", {
+ confirmButtonText: "鎸傛柇骞剁寮�",
+ cancelButtonText: "缁х画閫氳瘽",
+ type: "warning",
})
- .catch(() => {
- // 鐢ㄦ埛鍙栨秷锛岄樆姝㈣矾鐢辫烦杞�
- next(false);
- });
- } else {
- // 鏈�氳瘽鎴栧懠鍙粍浠朵笉瀛樺湪锛屾甯告竻鐞�
- if (callButton) {
- callButton.cleanupResources();
+ .then(() => {
+ // 鐢ㄦ埛纭绂诲紑锛屼富鍔ㄦ寕鏂苟娓呯悊
+ callButton.cleanupResources();
+ if (this.$refs.CallCenterLs) {
+ this.$refs.CallCenterLs.handleSeatLogout();
+ }
+ next();
+ })
+ .catch(() => {
+ // 鐢ㄦ埛鍙栨秷锛岄樆姝㈣矾鐢辫烦杞�
+ next(false);
+ });
+ } else {
+ // 鏈�氳瘽鎴栧懠鍙粍浠朵笉瀛樺湪锛屾甯告竻鐞�
+ if (callButton) {
+ callButton.cleanupResources();
+ }
+ if (this.$refs.CallCenterLs) {
+ this.$refs.CallCenterLs.handleSeatLogout();
+ }
+ next();
}
- if (this.$refs.CallCenterLs) {
- this.$refs.CallCenterLs.handleSeatLogout();
- }
- next();
- }
-}
+ },
// beforeRouteUpdate() {
// console.log(33);
// },
@@ -2928,7 +3064,7 @@
.call-action {
width: 60%;
min-width: 0;
- height: 100%;
+ // height: 100%;
/* 纭繚楂樺害缁ф壙 */
}
}
@@ -3200,7 +3336,7 @@
.CONTENT {
padding: 10px;
height: 100%;
- min-height: 738px;
+ // min-height: 938px;
/* 璁剧疆鏈�灏忛珮搴� */
.title {
@@ -3216,7 +3352,7 @@
padding: 30px;
border: 1px solid #dcdfe6;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04);
- max-height: 716px;
+ max-height: 916px;
/* 璁剧疆鏈�澶ч珮搴� */
overflow-y: auto;
/* 鍐呭瓒呰繃楂樺害鏃舵樉绀烘粴鍔ㄦ潯 */
@@ -3987,4 +4123,26 @@
color: #66b1ff;
transform: scale(1.1);
}
+/* 璋冩暣鎶樺彔闈㈡澘鏍峰紡 */
+.el-collapse {
+ border-top: none;
+}
+
+.el-collapse-item__header {
+ font-size: 16px;
+ font-weight: bold;
+ background-color: #f5f7fa;
+ padding-left: 15px;
+ border-radius: 4px;
+ margin-bottom: 5px;
+}
+
+.el-collapse-item__wrap {
+ border-bottom: none;
+}
+
+.el-collapse-item__content {
+ padding: 20px 15px;
+ background-color: #fff;
+}
</style>
--
Gitblit v1.9.3