From 5fbc4feb28dfc709652cbf8dc74c7f5751116d75 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 04 二月 2026 18:00:26 +0800
Subject: [PATCH] 测试完成
---
dist.zip | 0
vue.config.js | 4 ++--
src/views/followvisit/record/detailpage/index.vue | 9 ++++++---
wuxi.zip | 0
src/views/outsideChainwtnew.vue | 22 ++++++++++++----------
5 files changed, 20 insertions(+), 15 deletions(-)
diff --git a/dist.zip b/dist.zip
new file mode 100644
index 0000000..e381600
--- /dev/null
+++ b/dist.zip
Binary files differ
diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index e471dc4..48f9bf9 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -171,7 +171,7 @@
</el-table>
</div>
</div>
- <div :class="form.serviceType ? 'Followuserinfo' : 'Followuserinfos'">
+ <div :class="form.serviceType ? 'Followuserinfo' : 'Followuserinfos'">
<div>
<el-form ref="form" :model="form" label-width="120px">
<div class="headline">
@@ -663,6 +663,7 @@
subId: this.id,
taskid: this.taskid,
scriptid: item.id,
+ sendstate: 6,
templatequestionnum: item.scriptno,
questiontext: item.scriptContent,
};
@@ -713,6 +714,7 @@
param1: this.taskid,
param2: this.patid,
subId: this.id,
+ sendstate: 6,
};
addPersonVoices(obj).then((res) => {
@@ -753,7 +755,7 @@
let objson = {};
getTaskservelist({
patid: this.patid,
- subId: this.id,
+ subid: this.id,
}).then((res) => {
if (res.code == 200) {
objson = res.rows[0].serviceSubtaskList[0];
@@ -771,12 +773,13 @@
let objson = {};
getTaskservelist({
patid: this.patid,
- subId: this.id,
+ subid: this.id,
}).then((res) => {
if (res.code == 200) {
objson = res.rows[0].serviceSubtaskList[0];
objson.remark = this.form.remark;
if (sendstate) objson.sendstate = sendstate;
+ objson.sendstate = 6;
Editsingletaskson(objson).then((res) => {
if (res.code) {
this.$modal.msgSuccess("鏈嶅姟淇敼鎴愬姛");
diff --git a/src/views/outsideChainwtnew.vue b/src/views/outsideChainwtnew.vue
index 87c0fe6..1663d63 100644
--- a/src/views/outsideChainwtnew.vue
+++ b/src/views/outsideChainwtnew.vue
@@ -39,9 +39,9 @@
<span class="question-text">{{ item.scriptContent }}</span>
<span class="question-type-tag">
{{
- item.scriptType === 1
+ item.scriptType == 1
? "[鍗曢�塢"
- : item.scriptType === 2
+ : item.scriptType == 2
? "[澶氶�塢"
: "[闂瓟]"
}}
@@ -57,7 +57,7 @@
<el-radio
v-for="(
option, optionIndex
- ) in item.svyTaskTemplateTargetoptions"
+ ) in item.svyLibTemplateTargetoptions"
:key="optionIndex"
:label="option.optioncontent"
:class="{
@@ -69,7 +69,7 @@
handleRadioToggle(
item,
index,
- item.svyTaskTemplateTargetoptions,
+ item.svyLibTemplateTargetoptions,
option.optioncontent
)
"
@@ -89,7 +89,7 @@
<el-checkbox
v-for="(
option, optionIndex
- ) in item.svyTaskTemplateTargetoptions"
+ ) in item.svyLibTemplateTargetoptions"
:key="optionIndex"
:label="option.optioncontent"
:class="{
@@ -299,6 +299,8 @@
item.scriptResult = [];
}
});
+ console.log(this.questionList,'this.questionList');
+
}
}
);
@@ -351,7 +353,7 @@
let form = {
param1: this.taskid,
param2: this.patid,
- svyTaskTemplateScriptVOS: [],
+ svyLibTemplateScriptVOS: [],
};
const arr = structuredClone(this.questionList);
arr.forEach((item) => {
@@ -359,7 +361,7 @@
});
arr.forEach((item, index) => {
if (item.scriptType == 1 && item.scriptResult) {
- var obj = item.svyTaskTemplateTargetoptions.find(
+ var obj = item.svyLibTemplateTargetoptions.find(
(items) => items.optioncontent == item.scriptResult
);
console.log(item);
@@ -390,7 +392,7 @@
item.scriptResult = JSON.stringify(item.scriptResult);
}
});
- form.svyTaskTemplateScriptVOS = arr;
+ form.svyLibTemplateScriptVOS = arr;
form.type = 2;
Cachequestionnaire(form).then((res) => {
if (res.code == 200) {
@@ -530,7 +532,7 @@
// 澶勭悊鍗曢�夐�夐」
// handleOptionChange(selectedvalue, index, arr) {
// // 鏌ユ壘閫変腑鐨勯�夐」瀵硅薄
- // const selectedOption = arr.svyTaskTemplateTargetoptions.find(
+ // const selectedOption = arr.svyLibTemplateTargetoptions.find(
// (option) => option.optioncontent == selectedvalue
// );
// if (selectedOption) {
@@ -544,7 +546,7 @@
// // 锟斤拷鍔犲垎鏁�
// let score = 0;
// selectedvalues.forEach((value) => {
- // const selectedOption = arr.svyTaskTemplateTargetoptions.find(
+ // const selectedOption = arr.svyLibTemplateTargetoptions.find(
// (option) => option.optioncontent == value
// );
// if (selectedOption) {
diff --git a/vue.config.js b/vue.config.js
index 3c92596..a7c807a 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -38,8 +38,8 @@
// target: `http://192.168.168.60:8095`,
// target: `http://192.168.144.34:8095`,
// target: `http://220.66.136.101:8095`,
- target: `http://192.168.100.10:8099`,
- // target:`http://localhost:8095`,
+ // target: `http://192.168.100.10:8099`,
+ target:`http://localhost:8095`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
diff --git a/wuxi.zip b/wuxi.zip
new file mode 100644
index 0000000..0923517
--- /dev/null
+++ b/wuxi.zip
Binary files differ
--
Gitblit v1.9.3