From 98589bb54e0d3352041c321acd0db5ab930030ca Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 23 一月 2025 21:27:45 +0800
Subject: [PATCH] 测试完成
---
/dev/null | 0
src/views/followvisit/outpatient/index.vue | 2
src/views/patient/physical/index.vue | 2
src/views/followvisit/SpecificDisease/index.vue | 2
src/views/followvisit/record/detailpage/index.vue | 253 +++++++++++++++++++++++++-------------------------
src/views/patient/patient/indexls.vue | 2
src/api/AiCentre/Qtemplate.js | 4
src/views/patient/subsequent/index.vue | 2
src/views/followvisit/discharge/index.vue | 2
9 files changed, 133 insertions(+), 136 deletions(-)
diff --git a/dist.zip b/dist.zip
deleted file mode 100644
index d71cad4..0000000
--- a/dist.zip
+++ /dev/null
Binary files differ
diff --git a/src/api/AiCentre/Qtemplate.js b/src/api/AiCentre/Qtemplate.js
index a29da63..87743e1 100644
--- a/src/api/AiCentre/Qtemplate.js
+++ b/src/api/AiCentre/Qtemplate.js
@@ -162,8 +162,8 @@
export function taskdepthospgetsonlist(data) {
return request({
url: "/smartor/taskdept/list",
- method: "get",
- params: data,
+ method: "post",
+ data: data,
});
}
// 鍒犻櫎绉戝鐥呭尯妯℃澘鍒嗙被
diff --git a/src/views/followvisit/SpecificDisease/index.vue b/src/views/followvisit/SpecificDisease/index.vue
index f70c4c2..808b250 100644
--- a/src/views/followvisit/SpecificDisease/index.vue
+++ b/src/views/followvisit/SpecificDisease/index.vue
@@ -218,7 +218,7 @@
type="text"
@click="
$router.push({
- path: '/patient/indexls/',
+ path: '/patient/indexls'+'?current='+scope.row.sfzh
})
"
><span class="button-textsc">{{
diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue
index 718fe91..5c40a50 100644
--- a/src/views/followvisit/discharge/index.vue
+++ b/src/views/followvisit/discharge/index.vue
@@ -218,7 +218,7 @@
type="text"
@click="
$router.push({
- path: '/patient/indexls/',
+ path: '/patient/indexls'+'?current='+scope.row.sfzh
})
"
><span class="button-textsc">{{
diff --git a/src/views/followvisit/outpatient/index.vue b/src/views/followvisit/outpatient/index.vue
index 9d0364e..bcaf0ed 100644
--- a/src/views/followvisit/outpatient/index.vue
+++ b/src/views/followvisit/outpatient/index.vue
@@ -218,7 +218,7 @@
type="text"
@click="
$router.push({
- path: '/patient/indexls/',
+ path: '/patient/indexls'+'?current='+scope.row.sfzh
})
"
><span class="button-textsc">{{
diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue
index fe433ae..9fc0a60 100644
--- a/src/views/followvisit/record/detailpage/index.vue
+++ b/src/views/followvisit/record/detailpage/index.vue
@@ -18,10 +18,14 @@
>鏌ョ湅鎮h�呮湰娆℃湇鍔′俊鎭�</el-button
>
</div>
- <div style="margin-left: 20px;color: #59a0f0;">
- <el-link href="https://9.208.2.207:6060/search-homepage" target="_blank" :underline="true">
- 鍓嶅線CDSS鏌ヨ
- </el-link>
+ <div style="margin-left: 20px; color: #59a0f0">
+ <el-link
+ href="https://9.208.2.207:6060/search-homepage"
+ target="_blank"
+ :underline="true"
+ >
+ 鍓嶅線CDSS鏌ヨ
+ </el-link>
</div>
</div>
<!-- <el-button type="success">闅忚鍚庣煭淇�</el-button> -->
@@ -211,96 +215,89 @@
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="鏌ョ湅褰撳墠鎮h�呬俊鎭�" name="1">
<div class="detailed">
- <el-form
- ref="userform"
- :model="userform"
+ <el-form ref="userform" :model="userform" label-width="100px">
+ <el-row :gutter="20">
+ <el-col :span="12">
+ <el-form-item label="鎮h�呭鍚�" prop="name">
+ <el-input
+ v-model="userform.name"
+ placeholder="璇疯緭鍏ュ鍚�"
+ maxlength="30"
+ ></el-input> </el-form-item
+ ></el-col>
+ <el-col :span="12"
+ ><el-form-item label="鑱旂郴鏂瑰紡" prop="telcode">
+ <el-input
+ v-model="userform.telcode"
+ placeholder="璇疯緭鍏ヨ仈绯绘柟寮�"
+ maxlength="30"
+ /> </el-form-item
+ ></el-col>
+ </el-row>
+ <el-row :gutter="20">
+ <el-col :span="24">
+ <el-form-item label="鍑虹敓鍦�" prop="birthplace">
+ <el-input
+ v-model="userform.birthplace"
+ placeholder="鍥姐�佺渷銆佸湴甯傘�佸尯鍘裤�佽閬撶瓑璇︾粏淇℃伅"
+ maxlength="50"
+ /> </el-form-item
+ ></el-col>
+ </el-row>
+ <el-row :gutter="20">
+ <el-col :span="24"
+ ><el-form-item label="灞呬綇鍦�" prop="placeOfResidence">
+ <el-input
+ v-model="userform.placeOfResidence"
+ placeholder="鍥姐�佺渷銆佸湴甯傘�佸尯鍘裤�佽閬撶瓑璇︾粏淇℃伅"
+ maxlength="50"
+ /> </el-form-item
+ ></el-col>
+ </el-row>
+ <el-row :gutter="20">
+ <el-col :span="24">
+ <el-form-item label="鏍囩" prop="desc">
+ <div class="xinz-inf">
+ <el-tag
+ :key="tag.tagname"
+ type="success"
+ v-for="tag in dynamicTags"
+ v-if="tag.isoperation != 3"
+ :disable-transitions="false"
+ >
+ {{ tag.tagname }}
+ </el-tag>
+ <el-select
+ v-if="inputVisible"
+ v-model="inputValue"
+ @change="handleInputConfirm"
+ filterable
+ allow-create
+ default-first-option
+ placeholder="璇烽�夋嫨/鏌ヨ"
+ >
+ <el-option
+ v-for="item in options"
+ :key="item.tagid"
+ :label="item.tagname"
+ :value="item.tagname"
+ >
+ </el-option>
+ </el-select>
- label-width="100px"
- >
- <el-row :gutter="20">
- <el-col :span="12">
- <el-form-item label="鎮h�呭鍚�" prop="name">
- <el-input
- v-model="userform.name"
- placeholder="璇疯緭鍏ュ鍚�"
- maxlength="30"
- ></el-input> </el-form-item
- ></el-col>
- <el-col :span="12"
- ><el-form-item label="鑱旂郴鏂瑰紡" prop="telcode">
- <el-input
- v-model="userform.telcode"
- placeholder="璇疯緭鍏ヨ仈绯绘柟寮�"
- maxlength="30"
- /> </el-form-item
- ></el-col>
- </el-row>
- <el-row :gutter="20">
- <el-col :span="24">
- <el-form-item label="鍑虹敓鍦�" prop="birthplace">
- <el-input
- v-model="userform.birthplace"
- placeholder="鍥姐�佺渷銆佸湴甯傘�佸尯鍘裤�佽閬撶瓑璇︾粏淇℃伅"
- maxlength="50"
- /> </el-form-item
- ></el-col>
- </el-row>
- <el-row :gutter="20">
- <el-col :span="24"
- ><el-form-item label="灞呬綇鍦�" prop="placeOfResidence">
- <el-input
- v-model="userform.placeOfResidence"
- placeholder="鍥姐�佺渷銆佸湴甯傘�佸尯鍘裤�佽閬撶瓑璇︾粏淇℃伅"
- maxlength="50"
- /> </el-form-item
- ></el-col>
- </el-row>
- <el-row :gutter="20">
- <el-col :span="24">
- <el-form-item label="鏍囩" prop="desc">
- <div class="xinz-inf">
- <el-tag
- :key="tag.tagname"
- type="success"
- v-for="tag in dynamicTags"
- v-if="tag.isoperation != 3"
-
- :disable-transitions="false"
-
- >
- {{ tag.tagname }}
- </el-tag>
- <el-select
- v-if="inputVisible"
- v-model="inputValue"
- @change="handleInputConfirm"
- filterable
- allow-create
- default-first-option
- placeholder="璇烽�夋嫨/鏌ヨ"
- >
- <el-option
- v-for="item in options"
- :key="item.tagid"
- :label="item.tagname"
- :value="item.tagname"
- >
- </el-option>
- </el-select>
-
- <el-button
- v-else
- class="button-new-tag"
- size="small"
- @click="showInput"
- >+ 鏂板鏍囩</el-button
- >
- </div>
- </el-form-item>
- </el-col>
- </el-row>
- </el-form>
- </div>
+ <el-button
+ v-else
+ class="button-new-tag"
+ size="small"
+ @click="showInput"
+ >+ 鏂板鏍囩</el-button
+ >
+ </div>
+ </el-form-item>
+ </el-col>
+ </el-row>
+ </el-form>
+ </div>
</el-collapse-item>
</el-collapse>
</div>
@@ -592,10 +589,7 @@
updatePersonVoices,
addPersonVoices,
} from "@/api/AiCentre/index";
-import {
- messagelistpatient,
-
-} from "@/api/patient/homepage";
+import { messagelistpatient } from "@/api/patient/homepage";
export default {
dicts: ["sys_normal_disable", "sys_user_sex", "sys_yujing", "sys_suggest"],
data() {
@@ -613,7 +607,7 @@
voiceDatatop: [], //棰樼洰琛�
dynamicTags: [],
- userform:{},
+ userform: {},
Whetherall: false, //鏄惁鍏ㄩ儴璁板綍灞曠ず
dialogFormVisible: false,
Voicetype: 0, //鏄惁涓鸿闊虫湇鍔�
@@ -690,7 +684,7 @@
if (res.code == 200) {
this.voiceDatatop = res.data.serviceSubtaskDetails;
this.voice = res.data.voice;
- this.activeName = "yy";
+ // this.activeName = "yy";
this.taskname = res.data.taskName;
// 闂嵎灞曠ず鏁版嵁澶勭悊
this.tableDatatop = res.data.filteredDetails;
@@ -785,23 +779,26 @@
item.subId = this.id;
item.taskid = this.taskid;
item.asrtext = item.matchedtext;
- item.isoperation = 1;
+ if (!item.id) {
+ item.isoperation = 1;
+ }
item.patid = this.patid;
item.templateid = item.templateID;
+
+ if (item.id) {
+ updatePersonVoices(item).then((res) => {
+ if (res.code == 200) {
+ this.$modal.msgSuccess("鏈嶅姟淇敼鎴愬姛");
+ }
+ });
+ } else {
+ addPersonVoices(item).then((res) => {
+ if (res.code == 200) {
+ this.$modal.msgSuccess("鏈嶅姟淇濆瓨鎴愬姛");
+ }
+ });
+ }
});
- if (this.tableDatatop[0].id) {
- updatePersonVoices(this.tableDatatop).then((res) => {
- if (res.code == 200) {
- this.$modal.msgSuccess("鏈嶅姟淇敼鎴愬姛");
- }
- });
- } else {
- addPersonVoices(this.tableDatatop).then((res) => {
- if (res.code == 200) {
- this.$modal.msgSuccess("鏈嶅姟淇濆瓨鎴愬姛");
- }
- });
- }
},
// 鑾峰彇鎮h�呰褰�
getTaskservelist(taskid) {
@@ -1037,20 +1034,20 @@
color: red;
}
.detailed {
- width: 88%;
- border-radius: 8px;
- padding: 30px;
- margin-bottom: 30px;
- background-color: #ddf0f8;
- .bg-purple {
- margin-bottom: 20px;
- }
- .spanvalue {
- display: inline-block;
- min-width: 200px;
- border-bottom: 1px solid rgb(172, 172, 172);
- }
- }
+ width: 88%;
+ border-radius: 8px;
+ padding: 30px;
+ margin-bottom: 30px;
+ background-color: #ddf0f8;
+ .bg-purple {
+ margin-bottom: 20px;
+ }
+ .spanvalue {
+ display: inline-block;
+ min-width: 200px;
+ border-bottom: 1px solid rgb(172, 172, 172);
+ }
+}
.headline {
font-size: 24px;
height: 40px;
@@ -1096,7 +1093,7 @@
::v-deep.offside-value .el-radio__label {
color: #fff;
}
-::v-deep.el-link.el-link--default{
+::v-deep.el-link.el-link--default {
color: #02a7f0 !important;
}
.mulsz {
diff --git a/src/views/patient/patient/indexls.vue b/src/views/patient/patient/indexls.vue
index d3e7306..69e8b02 100644
--- a/src/views/patient/patient/indexls.vue
+++ b/src/views/patient/patient/indexls.vue
@@ -179,7 +179,7 @@
},
YeWuXX: {
BingRenXX: {
- ZhengJianHM: "110101199701018034",
+ ZhengJianHM: this.$route.query.sfzh,
ZhengJianLXDM: "01",
ZhengJianLXMC: "灞呮皯韬唤璇�",
ZuZhiJGID: "47255004333112711A1001",
diff --git a/src/views/patient/physical/index.vue b/src/views/patient/physical/index.vue
index c8a7f4e..d103327 100644
--- a/src/views/patient/physical/index.vue
+++ b/src/views/patient/physical/index.vue
@@ -218,7 +218,7 @@
type="text"
@click="
$router.push({
- path: '/patient/indexls/',
+ path: '/patient/indexls'+'?current='+scope.row.sfzh
})
"
><span class="button-textsc">{{
diff --git a/src/views/patient/subsequent/index.vue b/src/views/patient/subsequent/index.vue
index aa042bc..d89e591 100644
--- a/src/views/patient/subsequent/index.vue
+++ b/src/views/patient/subsequent/index.vue
@@ -219,7 +219,7 @@
type="text"
@click="
$router.push({
- path: '/patient/indexls/',
+ path: '/patient/indexls'+'?current='+scope.row.sfzh
})
"
><span class="button-textsc">{{
--
Gitblit v1.9.3