From ec47fecd41a22861c3fc65ca86311225dd28d7ee Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 28 十月 2025 14:02:34 +0800
Subject: [PATCH] 测试完成
---
dist (2).zip | 0
dist (4).zip | 0
src/views/followvisit/record/detailpage/index.vue | 51 +++++++--
dist (3).zip | 0
src/views/knowledge/questionnaire/compilequer/index.vue | 2
src/views/patient/propaganda/particty.vue | 21 +++
src/views/shortmessage/healthinformation/compilequer/index.vue | 157 +++++++++++++++++++++++++++++--
src/views/outsideChainwtnew.vue | 26 ++--
src/views/patient/propaganda/QuestionnaireTask.vue | 17 ++
9 files changed, 229 insertions(+), 45 deletions(-)
diff --git "a/dist \0502\051.zip" "b/dist \0502\051.zip"
new file mode 100644
index 0000000..56675ea
--- /dev/null
+++ "b/dist \0502\051.zip"
Binary files differ
diff --git "a/dist \0503\051.zip" "b/dist \0503\051.zip"
new file mode 100644
index 0000000..ab6e4c0
--- /dev/null
+++ "b/dist \0503\051.zip"
Binary files differ
diff --git "a/dist \0504\051.zip" "b/dist \0504\051.zip"
new file mode 100644
index 0000000..dc70ef9
--- /dev/null
+++ "b/dist \0504\051.zip"
Binary files differ
diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index c34b48f..e6ba598 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -302,7 +302,7 @@
handleOptionChange(
$event,
index,
- item.svyLibTemplateTargetoptions,
+ item.svyTaskTemplateTargetoptions,
item
)
"
@@ -310,7 +310,7 @@
<el-radio
v-for="(
items, indexs
- ) in item.svyLibTemplateTargetoptions"
+ ) in item.svyTaskTemplateTargetoptions"
:class="items.isabnormal ? 'red-star' : ''"
:key="indexs"
:label="items.optioncontent"
@@ -363,7 +363,7 @@
@change="$forceUpdate()"
v-for="(
items, indexs
- ) in item.svyLibTemplateTargetoptions"
+ ) in item.svyTaskTemplateTargetoptions"
:key="indexs"
:label="items.optioncontent"
>
@@ -437,10 +437,11 @@
>
<el-radio
v-for="(items, index) in item.scriptResult"
- :key="items"
+ :key="index"
:label="items"
+ :class="items.isabnormal ? 'red-star' : ''"
@click.native.prevent="
- handleRadioToggle(item, items.optioncontent)
+ handleRadioToggles(item, items)
"
>{{ items }}</el-radio
>
@@ -1532,7 +1533,7 @@
console.log(date);
if (!date) {
- this.form.date1 = '';
+ this.form.date1 = "";
this.$refs.zcform.clearValidate(["date1"]);
return;
}
@@ -1542,7 +1543,7 @@
if (selectedDate < now) {
this.$message.warning("闅忚鏃堕棿涓嶈兘鏃╀簬褰撳墠鏃ユ湡");
- this.form.date1 = '';
+ this.form.date1 = "";
this.$refs.zcform.validateField("date1"); // 瑙﹀彂楠岃瘉
}
},
@@ -1612,7 +1613,7 @@
return;
}
}
- var objs = item.svyLibTemplateTargetoptions.find(
+ var objs = item.svyTaskTemplateTargetoptions.find(
(items) => items.optioncontent == item.scriptResult
);
if (obj) {
@@ -2046,10 +2047,10 @@
.confirm('鏄惁鏌ョ湅浠诲姟涓�"' + row.taskName + '"鐨勬湇鍔¤鎯呮暟鎹紵')
.then(() => {
let type = "";
- console.log(row, "rwo");
- if (row.type == 1) {
- type = 1;
- }
+ console.log(row, "rwo");
+ if (row.type == 1) {
+ type = 1;
+ }
this.taskid = row.taskid;
this.id = row.id;
this.patid = row.patid;
@@ -2076,7 +2077,7 @@
(item) => item.optioncontent == a
);
} else {
- var obj = this.tableDatatop[b].svyLibTemplateTargetoptions.find(
+ var obj = this.tableDatatop[b].svyTaskTemplateTargetoptions.find(
(item) => item.optioncontent == a
);
}
@@ -2089,6 +2090,8 @@
},
// 鏂板鐨勫垏鎹㈤�変腑/鍙栨秷閫変腑鏂规硶
handleRadioToggle(questionItem, optionValue) {
+ console.log(questionItem, optionValue, 999);
+
// 濡傛灉鐐瑰嚮鐨勬槸褰撳墠宸查�変腑鐨勯�夐」锛屽垯鍙栨秷閫変腑
if (questionItem.scriptResult === optionValue) {
questionItem.scriptResult = ""; // 娓呯┖閫変腑鍊�
@@ -2104,8 +2107,28 @@
// 鍚庣画鐨勮烦杞瓑澶嶆潅閫昏緫浼氬湪 handleOptionChange 涓甯告墽琛�
}
},
+ handleRadioToggles(questionItem, optionValue) {
+ if (!questionItem.matchedtext) {
+ questionItem.matchedtext == "";
+ }
+ // 濡傛灉鐐瑰嚮鐨勬槸褰撳墠宸查�変腑鐨勯�夐」锛屽垯鍙栨秷閫変腑
+ if (questionItem.matchedtext == optionValue) {
+ this.$set(questionItem, "matchedtext", "");
+ // 鍚屾椂閲嶇疆涓庨�夐」鐩稿叧鐨勭姸鎬�
+ questionItem.isabnormal = false;
+ questionItem.showAppendInput = false;
+ // 娉ㄦ剰锛氬彇娑堥�変腑鏃讹紝鎴戜滑閫氬父涓嶅笇鏈涜Е鍙戦鐩烦杞�昏緫锛屾墍浠ョ洿鎺ヨ繑鍥�
+ // 濡傛灉闇�瑕侊紝鍙互鍦ㄨ繖閲屾坊鍔犲彇娑堥�変腑鍚庣殑鐗瑰畾閫昏緫锛屼緥濡傞噸缃鐩簭鍒�
+ } else {
+ // 濡傛灉鐐瑰嚮鐨勬槸鏈�変腑鐨勯�夐」锛屽垯閫氳繃鏇存敼缁戝畾鍊兼潵瑙﹀彂鍘熷鐨� handleOptionChange 鏂规硶
+ // 杩欓噷鍙渶瑕佹敼鍙� v-model 缁戝畾鐨勫�硷紝change浜嬩欢浼氳嚜鍔ㄨЕ鍙�
+ this.$set(questionItem, "matchedtext", optionValue); // 鍚庣画鐨勮烦杞瓑澶嶆潅閫昏緫浼氬湪 handleOptionChange 涓甯告墽琛�
+ }
+ },
// 鍦╩ethods閮ㄥ垎锛屼慨鏀筯andleOptionChange鏂规硶:
handleOptionChange(selectedOption, questionIndex, options, a) {
+ console.log(selectedOption, questionIndex, options, a, "888");
+
if (document.activeElement) {
document.activeElement.blur();
}
@@ -2198,7 +2221,7 @@
},
overdata() {
this.tableDatatop.forEach((item, index) => {
- var obj = item.svyLibTemplateTargetoptions.find(
+ var obj = item.svyTaskTemplateTargetoptions.find(
(items) => items.optioncontent == item.scriptResult
);
if (obj) {
diff --git a/src/views/knowledge/questionnaire/compilequer/index.vue b/src/views/knowledge/questionnaire/compilequer/index.vue
index fa849d3..6717af7 100644
--- a/src/views/knowledge/questionnaire/compilequer/index.vue
+++ b/src/views/knowledge/questionnaire/compilequer/index.vue
@@ -1807,7 +1807,9 @@
},
// 鏂板闂
addtopic(row) {
+ console.log(row);
row.isoperation = 1;
+ row.scriptid = row.id;
row.svyLibScriptOptions.forEach((item) => {
item.isoperation = 1;
});
diff --git a/src/views/outsideChainwtnew.vue b/src/views/outsideChainwtnew.vue
index 24fc1d3..a7d75c6 100644
--- a/src/views/outsideChainwtnew.vue
+++ b/src/views/outsideChainwtnew.vue
@@ -38,7 +38,7 @@
>
<el-radio
border
- v-for="(items, index) in item.svyLibTemplateTargetoptions"
+ v-for="(items, index) in item.svyTaskTemplateTargetoptions"
:class="
items.isabnormal && item.scriptResult == items.optioncontent
? 'red-star'
@@ -70,7 +70,7 @@
<el-checkbox
border
@change="$forceUpdate()"
- v-for="(items, indexs) in item.svyLibTemplateTargetoptions"
+ v-for="(items, indexs) in item.svyTaskTemplateTargetoptions"
:key="indexs"
:label="items.optioncontent"
>
@@ -168,7 +168,7 @@
// scriptType: 1,
// scriptContent: "鎮ㄧ殑骞撮緞鑼冨洿鏄紵",
// scriptResult: null,
- // svyLibTemplateTargetoptions: [
+ // svyTaskTemplateTargetoptions: [
// { optioncontent: "18-25", value: "18-25", isabnormal: true },
// { optioncontent: "26-35", value: "26-35" },
// { optioncontent: "36-45", value: "36-45" },
@@ -181,7 +181,7 @@
// scriptType: 1,
// scriptContent: "鎮ㄧ殑鑱屼笟鏄粈涔堬紵",
// scriptResult: null,
- // svyLibTemplateTargetoptions: [
+ // svyTaskTemplateTargetoptions: [
// { optioncontent: "瀛︾敓", value: "student" },
// { optioncontent: "鏁欏笀", value: "teacher" },
// { optioncontent: "宸ョ▼甯�", value: "engineer" },
@@ -194,7 +194,7 @@
// scriptType: 2,
// scriptContent: "鎮ㄦ劅鍏磋叮鐨勬椿鍔ㄦ湁鍝簺锛�",
// scriptResult: [],
- // svyLibTemplateTargetoptions: [
+ // svyTaskTemplateTargetoptions: [
// { optioncontent: "鏃呮父", value: "travel", isabnormal: true },
// { optioncontent: "闃呰", value: "reading", isabnormal: true },
// { optioncontent: "杩愬姩", value: "sports", isabnormal: true },
@@ -207,7 +207,7 @@
// scriptType: 1,
// scriptContent: "鎮ㄧ殑鑱屼笟鏄粈涔堬紵",
// scriptResult: null,
- // svyLibTemplateTargetoptions: [
+ // svyTaskTemplateTargetoptions: [
// { optioncontent: "瀛︾敓", value: "student" },
// { optioncontent: "鏁欏笀", value: "teacher" },
// { optioncontent: "宸ョ▼甯�", value: "engineer" },
@@ -220,7 +220,7 @@
// scriptType: 1,
// scriptContent: "鎮ㄧ殑鑱屼笟鏄粈涔堬紵",
// scriptResult: null,
- // svyLibTemplateTargetoptions: [
+ // svyTaskTemplateTargetoptions: [
// { optioncontent: "瀛︾敓", value: "student" },
// { optioncontent: "鏁欏笀", value: "teacher" },
// { optioncontent: "宸ョ▼甯�", value: "engineer", isabnormal: true },
@@ -233,7 +233,7 @@
// scriptType: 1,
// scriptContent: "鎮ㄧ殑鑱屼笟鏄粈涔堬紵",
// scriptResult: null,
- // svyLibTemplateTargetoptions: [
+ // svyTaskTemplateTargetoptions: [
// { optioncontent: "瀛︾敓", value: "student" },
// { optioncontent: "鏁欏笀", value: "teacher" },
// { optioncontent: "宸ョ▼甯�", value: "engineer" },
@@ -408,12 +408,12 @@
let form = {
param1: this.taskid,
param2: this.patid,
- svyLibTemplateScriptVOS: [],
+ svyTaskTemplateScriptVOS: [],
};
const arr = structuredClone(this.questionList);
console.log(arr, "srr");
arr.forEach((item, index) => {
- var obj = item.svyLibTemplateTargetoptions.find(
+ var obj = item.svyTaskTemplateTargetoptions.find(
(items) => items.optioncontent == item.scriptResult
);
console.log(obj, "obj");
@@ -434,7 +434,7 @@
item.scriptResult = JSON.stringify(item.scriptResult);
}
});
- form.svyLibTemplateScriptVOS = arr;
+ form.svyTaskTemplateScriptVOS = arr;
form.type = 2;
Cachequestionnaire(form).then((res) => {
if (res.code == 200) {
@@ -447,7 +447,7 @@
// 澶勭悊鍗曢�夐�夐」
handleOptionChange(selectedvalue, index, arr) {
// 鏌ユ壘閫変腑鐨勯�夐」瀵硅薄
- const selectedOption = arr.svyLibTemplateTargetoptions.find(
+ const selectedOption = arr.svyTaskTemplateTargetoptions.find(
(option) => option.optioncontent == selectedvalue
);
if (selectedOption) {
@@ -462,7 +462,7 @@
// // 锟斤拷鍔犲垎鏁�
// let score = 0;
// selectedvalues.forEach((value) => {
- // const selectedOption = arr.svyLibTemplateTargetoptions.find(
+ // const selectedOption = arr.svyTaskTemplateTargetoptions.find(
// (option) => option.optioncontent == value
// );
// if (selectedOption) {
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index c4318f1..d558652 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -1203,8 +1203,9 @@
sendType: [
{ required: true, message: "鍙戦�佽缃笉鑳戒负绌�", trigger: "blur" },
],
- deptcode: [
- { required: true, message: "閫傜敤绉戝涓嶈兘涓虹┖", trigger: "blur" },
+
+ longTask: [
+ { required: true, message: "璇烽�夋嫨鎵ц鍛ㄦ湡", trigger: "blur" },
],
// leavehospitaldistrictcode: [
// { required: true, message: "閫傜敤鐥呭尯涓嶈兘涓虹┖", trigger: "blur" },
@@ -1472,6 +1473,8 @@
this.form.preachformList = this.selectedOrder;
} else {
this.$modal.msgError("璇烽�夋嫨鏈嶅姟绫诲瀷");
+ this.submitLoading = false;
+
return;
}
console.log(this.operationcodes[0]);
@@ -1487,6 +1490,7 @@
) {
} else {
this.$modal.msgError("璇烽�夋嫨浠诲姟鍏宠仈鏉′欢");
+ this.submitLoading = false;
return;
}
//鏆傚仠浠诲姟鎮h�呴檺鍒�
@@ -1497,6 +1501,8 @@
if (!this.form.templatename && !this.templateor) {
this.$modal.msgError("鏈�夋嫨妯℃澘");
+ this.submitLoading = false;
+
return;
}
@@ -1509,6 +1515,7 @@
this.form.longTask
) {
} else {
+ this.submitLoading = false;
return this.$modal.msgError("鏃堕棿淇℃伅缂哄け");
}
const filteredArray = this.variableList.filter(
@@ -2263,6 +2270,7 @@
TaskQuestioncomit(this.objyl).then((response) => {
this.previewtf = false;
this.form.libtemplateid = this.objyl.svyid;
+ this.form.libtemplatename = this.objyl.svyname;
this.form.templateid = response.data;
this.form.templatename = this.objyl.svyname;
this.$modal.msgSuccess("閫夋嫨妯℃澘鎴愬姛");
@@ -2273,6 +2281,7 @@
TaskQuestioncomit(this.objyl).then((response) => {
this.previewtf = false;
this.form.libtemplateid = this.objyl.svyid;
+ this.form.libtemplatename = this.objyl.svyname;
this.form.templateid = response.data;
this.form.templatename = this.objyl.svyname;
this.$modal.msgSuccess("閫夋嫨妯℃澘鎴愬姛");
@@ -2321,9 +2330,9 @@
this.objyl.templateid = this.objyl.svyid;
this.form.libtemplateid = this.objyl.svyid;
this.objyl.isoperation = 1;
- this.objyl.svyLibTemplateScriptVOS =
+ this.objyl.svyTaskTemplateScriptVOS =
this.objyl.svyTemplateLibScripts;
- this.objyl.svyLibTemplateScriptVOS.forEach((item) => {
+ this.objyl.svyTaskTemplateScriptVOS.forEach((item) => {
item.svyTaskTemplateTargetoptions =
item.svyLibTemplateTargetoptions;
});
diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index cdb2d0d..67e3acd 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -743,7 +743,7 @@
<el-radio
v-for="(
items, index
- ) in item.ivrLibaScriptTargetoptionList"
+ ) in item.ivrTaskScriptTargetoptionList"
:key="index"
:label="index"
>{{ items.targetvalue }}</el-radio
@@ -765,7 +765,7 @@
<el-checkbox
v-for="(
items, index
- ) in item.ivrLibaScriptTargetoptionList"
+ ) in item.ivrTaskScriptTargetoptionList"
:key="index"
:label="index"
>
@@ -1199,6 +1199,9 @@
sendType: [
{ required: true, message: "鍙戦�佽缃笉鑳戒负绌�", trigger: "blur" },
],
+ longTask: [
+ { required: true, message: "璇烽�夋嫨鎵ц鍛ㄦ湡", trigger: "blur" },
+ ],
// deptcode: [
// { required: true, message: "閫傜敤绉戝涓嶈兘涓虹┖", trigger: "blur" },
// ],
@@ -1479,6 +1482,8 @@
this.form.preachformList = this.selectedOrder;
} else {
this.$modal.msgError("璇烽�夋嫨鏈嶅姟绫诲瀷");
+ this.submitLoading = false;
+
return;
}
@@ -1492,6 +1497,8 @@
) {
} else {
this.$modal.msgError("璇烽�夋嫨浠诲姟鍏宠仈鏉′欢");
+ this.submitLoading = false;
+
return;
}
// if (!this.form.patTaskRelevances[0] && !this.form.longTask) {
@@ -1501,6 +1508,8 @@
if (!this.form.templatename && !this.templateor) {
this.$modal.msgError("鏈�夋嫨妯℃澘");
+ this.submitLoading = false;
+
return;
}
@@ -1513,6 +1522,8 @@
this.form.longTask
) {
} else {
+ this.submitLoading = false;
+
return this.$modal.msgError("鏃堕棿淇℃伅缂哄け");
}
const filteredArray = this.variableList.filter(
@@ -2191,7 +2202,7 @@
this.objyl.suitway = this.objyl.suitway.join(",");
}
this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => {
- item.ivrTaskScriptTargetoptionList = item.ivrLibaScriptTargetoptionList;
+ item.ivrTaskScriptTargetoptionList = item.ivrTaskScriptTargetoptionList;
});
this.objyl.ivrTaskTemplateScriptVOList =
this.objyl.ivrLibaTemplateScriptVOList;
@@ -2208,6 +2219,7 @@
Taskparticty(this.objyl).then((response) => {
this.previewtf = false;
this.form.libtemplateid = this.objyl.id;
+ this.form.libtemplatename = this.objyl.templateName;
this.form.templateid = response.data;
this.putbelongDepts(response.data);
this.form.templatename = this.objyl.templateName;
@@ -2228,6 +2240,7 @@
Taskparticty(this.objyl).then((response) => {
this.previewtf = false;
this.form.libtemplateid = this.objyl.id;
+ this.form.libtemplatename = this.objyl.templateName;
this.form.templateid = response.data;
this.putbelongDepts(response.data);
this.form.templatename = this.objyl.templateName;
@@ -2307,7 +2320,7 @@
this.objyl.isoperation = 1;
this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => {
item.ivrTaskScriptTargetoptionList =
- item.ivrLibaScriptTargetoptionList;
+ item.ivrTaskScriptTargetoptionList;
});
this.objyl.ivrTaskTemplateScriptVOList =
this.objyl.ivrLibaTemplateScriptVOList;
diff --git a/src/views/shortmessage/healthinformation/compilequer/index.vue b/src/views/shortmessage/healthinformation/compilequer/index.vue
index 8a6e6ef..44c8ad5 100644
--- a/src/views/shortmessage/healthinformation/compilequer/index.vue
+++ b/src/views/shortmessage/healthinformation/compilequer/index.vue
@@ -60,16 +60,35 @@
</div>
</el-form-item>
<el-form-item label="閫氱煡鍐呭" prop="preachcontent">
- <div style="width: 80%">
- <el-input
- type="textarea"
- :rows="5"
- v-model="ruleForm.preachcontent"
- placeholder="璇疯緭鍏ラ�氱煡鍐呭"
- ></el-input>
- </div>
+ <el-input
+ type="textarea"
+ :rows="5"
+ show-word-limit
+ id="preachcontent"
+ v-model.sync="ruleForm.preachcontent"
+ placeholder="璇疯緭鍏ラ�氱煡鍐呭"
+ @focus="handleInput('preachcontent')"
+ ></el-input>
</el-form-item>
- <el-form-item label="閫氱煡鍙橀噺" prop="name">
+ <el-row>
+ <el-col :span="24">
+ <el-form-item label="閫氱煡鍙橀噺" prop="scriptContent">
+ <div style="display: flex; margin-bottom: 10px">
+ <div
+ v-for="item in variablelist"
+ :class="item.default ? 'tsgname' : 'tsgnames'"
+ @click="tsgnameto(item)"
+ >
+ {{ item.variatename }}
+ </div>
+ <div class="tsgnamebj" @click="variabledeawer = true">
+ 鍙橀噺缂栬緫
+ </div>
+ </div>
+ </el-form-item>
+ </el-col></el-row
+ >
+ <!-- <el-form-item label="閫氱煡鍙橀噺" prop="name">
<div style="margin-bottom: 5px" v-for="item in variablelist">
<el-row>
<el-col :span="5">
@@ -101,7 +120,7 @@
</el-col>
</el-row>
</div>
- </el-form-item>
+ </el-form-item> -->
<el-form-item label="鏍囩" prop="desc">
<div class="xinz-inf">
@@ -203,9 +222,50 @@
>
<el-button type="info" @click="closeFm('ruleForm')">鍏抽棴</el-button>
</el-form-item>
+ <el-drawer
+ title="鍙橀噺缂栬緫"
+ :visible.sync="variabledeawer"
+ direction="ttb"
+ size="35%"
+ >
+ <el-form-item label="閫氱煡鍙橀噺" prop="name">
+ <div style="margin-bottom: 5px" v-for="item in variablelist">
+ <el-row>
+ <el-col :span="5">
+ <el-input
+ v-model="item.variatename"
+ placeholder="璇疯緭鍏ュ彉閲忓悕"
+ ></el-input>
+ </el-col>
+ <el-col :span="8" :offset="1">
+ <el-input
+ v-model="item.variate"
+ placeholder="璇疯緭鍏ュ彉閲忓唴瀹�"
+ ></el-input>
+ </el-col>
+ <el-col :span="8" :offset="1">
+ <el-button
+ type="success"
+ icon="el-icon-plus"
+ circle
+ @click="addvariable(item)"
+ ></el-button>
+ <el-button
+ v-if="!item.default"
+ type="danger"
+ icon="el-icon-delete"
+ circle
+ @click="delvariable(item)"
+ ></el-button>
+ </el-col>
+ </el-row>
+ </div>
+ </el-form-item>
+ </el-drawer>
</el-form>
</div>
</div>
+
<!-- 娣诲姞閫傜敤鐤剧梾绐楀彛 -->
<Optional-Form
ref="child"
@@ -251,6 +311,7 @@
dynamicTags: [],
inputVisible: false,
illnessVisible: false,
+ variabledeawer: false,
dialogVisiblepatient: false,
inputValue: "",
sidecolumnrabs: "left",
@@ -270,6 +331,7 @@
tempDetpRelevances: [],
version: "1.0.1",
},
+ currentInputId: "",
rules: {},
rulesa: {},
mode: [],
@@ -379,6 +441,36 @@
}
});
}
+ },
+ // 渚挎嵎鏍囩
+ tsgnameto(row) {
+ let inputValueArr = "";
+ let el = document.querySelector("#" + this.currentInputId);
+ //el.selectionStart; 杩欏氨鏄綋鍓嶅厜鏍囨墍鍦ㄧ殑浣嶇疆锛堝瓧绗︿覆涓瓧绗︾殑index锛�
+ if (this.currentInputId == "preachcontent") {
+ inputValueArr = this.ruleForm.preachcontent.split("");
+ } else {
+ return;
+ }
+ //灏嗚緭鍏ユ鍐呭鍒囨垚鏁扮粍锛屾柟渚垮悗缁搷浣�
+ // inputValueArr = this.inputValue.split("");
+ // 鎷垮埌閫変腑鏂囧瓧鐨勯暱搴︼紙鍚庣画鍙互鐢ㄦ潵鏇挎崲閫変腑鐨勬枃瀛楋級
+ let selectLength = el.selectionEnd - el.selectionStart;
+ // 灏嗚鎻掑叆/鏇挎崲鐨勬枃瀛楁彃鍏�/鏇挎崲锛坴alue.name鏄鎻掑叆/鏇挎崲鐨勫瓧绗︿覆锛�
+ inputValueArr.splice(el.selectionStart, selectLength, `${row.variate}`);
+ // 鎶婃暟缁勯噸鏂拌浆鎹负瀛楃涓插苟璧嬪��
+ inputValueArr = inputValueArr.join("");
+ console.log(inputValueArr);
+ if (this.currentInputId == "preachcontent") {
+ this.ruleForm.preachcontent = inputValueArr;
+ } else {
+ return;
+ }
+ },
+ handleInput(id) {
+ this.currentInputId = id;
+ console.log("杈撳叆妗嗙殑鍊煎凡鏇存柊:", this.currentInputId);
+ // 鍦ㄨ繖閲屾墽琛屾洿鏂版暟鎹殑閫昏緫
},
// 淇濆瓨鐤剧梾
confirmillness(guid) {
@@ -595,6 +687,51 @@
vertical-align: bottom;
}
}
+.tsgnames {
+ width: 90px;
+ margin-right: 10px;
+ text-align: center;
+ cursor: pointer;
+ height: 40px;
+ line-height: 40px;
+ background: #7799fa;
+ color: #ffff;
+ font-size: 18px;
+ border-radius: 5px;
+}
+.tsgnames:hover {
+ background: #3366f5;
+}
+.tsgname {
+ width: 90px;
+ margin-right: 10px;
+ text-align: center;
+ cursor: pointer;
+ height: 40px;
+ line-height: 40px;
+ background: #66c18c;
+ color: #ffff;
+ font-size: 18px;
+ border-radius: 5px;
+}
+.tsgname:hover {
+ background: #20894d;
+}
+.tsgnamebj {
+ width: 90px;
+ margin-left: 15px;
+ text-align: center;
+ cursor: pointer;
+ height: 40px;
+ line-height: 40px;
+ background: #49dbb7;
+ color: #ffff;
+ font-size: 18px;
+ border-radius: 5px;
+}
+.tsgnamebj:hover {
+ background: #27c449;
+}
::v-deep .el-step.is-vertical .el-step__title {
font-size: 25px;
--
Gitblit v1.9.3