From 952ce5369317b40f6c6f2e11e70969d50108d240 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 09 七月 2025 10:56:22 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/record/detailpage/index.vue | 26 ++++++++----
src/views/patient/patient/outpatient.vue | 5 +-
src/views/patient/patient/behospitalized.vue | 15 ++++++-
src/api/AiCentre/external.js | 8 ++++
src/views/patient/propaganda/QuestionnaireTask.vue | 31 ++++++++-------
5 files changed, 57 insertions(+), 28 deletions(-)
diff --git a/src/api/AiCentre/external.js b/src/api/AiCentre/external.js
index cba2ebd..54c3aad 100644
--- a/src/api/AiCentre/external.js
+++ b/src/api/AiCentre/external.js
@@ -100,4 +100,12 @@
data: data
});
}
+// 鐭俊鍙戦��
+export function sendMsg(data) {
+ return request({
+ url: "/smartor/smsaccount/sendMsg",
+ method: "post",
+ data: data
+ });
+}
diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index f126735..fc69406 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -459,8 +459,12 @@
<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="userform.telcode"></el-input>
+ <el-form-item label="鐢佃瘽">
+ <el-input
+ style="width: 400px"
+ disabled
+ v-model="userform.telcode"
+ ></el-input>
</el-form-item>
<el-form-item label="绉戝">
<el-input
@@ -659,7 +663,7 @@
subId: this.id,
taskid: this.taskid,
scriptid: item.id,
- templatequestionnum:item.scriptno,
+ templatequestionnum: item.scriptno,
questiontext: item.scriptContent,
};
if (item.scriptType == 2 && item.scriptResult[0]) {
@@ -737,7 +741,7 @@
this.templateid = this.logsheetlist[0].templateid;
console.log(this.form.serviceType, "serviceType");
}
-this.getuserinfo()
+ this.getuserinfo();
if (this.Voicetype) {
this.getPersonVoices();
} else {
@@ -796,7 +800,7 @@
this.patid = row.patid;
this.Voicetype = row.type;
this.serviceType = row.serviceType;
- this.getTaskservelist(this.id);
+ this.getTaskservelist(this.id);
})
.catch(() => {});
},
@@ -836,9 +840,13 @@
}
});
},
- // 鍒涘缓鍐嶆闅忚鏈嶅姟
+ // 鍙戦�侀殢璁垮悗鐭俊
setupsubtask() {
- sendMsg({phoneNumber:this.userform.telcode,content:this.form.content}).then((res) => {
+
+ sendMsg({
+ phoneNumber: this.userform.telcode,
+ content: this.form.content,
+ }).then((res) => {
if (res.code == 200) {
this.$modal.msgSuccess("鍙戦�佹垚鍔�");
} else {
@@ -1019,8 +1027,8 @@
top: 0;
}
}
-::v-deep.el-input.is-disabled .el-input__inner{
-color: #02a7f0;
+::v-deep.el-input.is-disabled .el-input__inner {
+ color: #02a7f0;
}
::v-deep.offside-value .el-radio__label {
color: #fff;
diff --git a/src/views/patient/patient/behospitalized.vue b/src/views/patient/patient/behospitalized.vue
index a9da6c7..255b527 100644
--- a/src/views/patient/patient/behospitalized.vue
+++ b/src/views/patient/patient/behospitalized.vue
@@ -647,8 +647,19 @@
/** 閲嶇疆鎸夐挳鎿嶄綔 */
resetQuery() {
this.dateRange = [];
- this.resetForm("queryForm");
- this.$refs.tree.setCurrentKey(null);
+ this.queryParams= {
+ pageNum: 1,
+ pageSize: 10,
+ cry: 0,
+ searchscope:2,
+ idcardno: undefined,
+ name: undefined,
+ status: undefined,
+ tagIds: undefined,
+ telcode: undefined,
+ };
+ // this.resetForm("queryForm");
+ // this.$refs.tree.setCurrentKey(null);
this.handleQuery();
},
// 澶氶�夋閫変腑鏁版嵁
diff --git a/src/views/patient/patient/outpatient.vue b/src/views/patient/patient/outpatient.vue
index 4a0139f..309b728 100644
--- a/src/views/patient/patient/outpatient.vue
+++ b/src/views/patient/patient/outpatient.vue
@@ -55,6 +55,7 @@
v-model="pickertime"
type="daterange"
range-separator="鑷�"
+ value-format="yyyy-MM-dd"
start-placeholder="寮�濮嬫棩鏈�"
end-placeholder="缁撴潫鏃ユ湡"
>
@@ -603,8 +604,8 @@
/** 鎼滅储鎸夐挳鎿嶄綔 */
handleQuery() {
this.queryParams.pageNum = 1;
- this.queryParams.starttime=pickertime[0];
- this.queryParams.endtime=pickertime[1];
+ this.queryParams.starttime=this.pickertime[0];
+ this.queryParams.endtime=this.pickertime[1];
this.getList();
},
/** 閲嶇疆鎸夐挳鎿嶄綔 */
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index 81be5bc..fd466ab 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -518,7 +518,7 @@
icon="el-icon-refresh"
size="medium"
@click="resetQuery"
- >鍙栨秷鍒涘缓</el-button
+ >閲嶇疆</el-button
>
</el-form-item>
</el-form>
@@ -1068,27 +1068,27 @@
// label: "鐩戞祴璇勪及",
// },
{
- value: "2",
+ value: 2,
label: "鍑洪櫌闅忚",
},
{
- value: "3",
+ value: 3,
label: "闂ㄨ瘖闅忚",
},
{
- value: "4",
+ value: 4,
label: "瀹f暀鍏虫��",
},
{
- value: "5",
+ value: 5,
label: "澶嶈瘖绠$悊",
},
{
- value: "6",
+ value: 6,
label: "婊℃剰搴﹁皟鏌�",
},
{
- value: "7",
+ value: 7,
label: "鎮h�呮姤鍛�",
},
// {
@@ -1187,11 +1187,6 @@
},
// 鑾峰彇褰撳墠绫诲瀷
Acquisitiontype() {
- let queryParams = {
- pageNum: this.topqueryParams.pageNum,
- pageSize: this.topqueryParams.pageSize,
- isenable: "",
- };
this.currenttype = this.$route.query.type;
this.title = "闂嵎鍐呭鍒楄〃";
this.tableLabel = this.tableLabelwj;
@@ -1301,8 +1296,6 @@
// },
];
}
- console.log(this.topqueryParams, "this.topqueryParams");
-
getQtemplatelist(this.topqueryParams).then((response) => {
this.userList = response.rows;
this.total = response.total;
@@ -1692,7 +1685,15 @@
});
},
- resetQuery() {},
+ resetQuery() {
+ this.patientqueryParams= {
+ pageNum: 1, //
+ pageSize: 10,
+ };
+ console.log(this.patientqueryParams,'this.patientqueryParams');
+
+ this.handleQuery()
+ },
handleQuerymb() {
getQtemplatelist(this.topqueryParams).then((response) => {
this.userList = response.rows;
--
Gitblit v1.9.3