From 3b774a197bd7087ee42999937ccc1e7e048eb1aa Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 11 一月 2024 18:03:17 +0800
Subject: [PATCH] 指标完成
---
src/views/patient/propaganda/particty.vue | 125 +++++++++++++++++++++++++++++++++++------
1 files changed, 105 insertions(+), 20 deletions(-)
diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index 4ac1600..95f9611 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -35,7 +35,7 @@
</div>
<div class="jic-value">
<el-form ref="form" :model="form" label-width="105px">
- <el-form-item label="鍙戦�佹椂闂达細">
+ <el-form-item label="鍙戦�佹椂闂达細" v-if="currenttype != 2">
<el-date-picker
v-model="form.name"
type="date"
@@ -43,11 +43,12 @@
>
</el-date-picker>
</el-form-item>
- <el-form-item label="鍙戦�佹椂闂存锛�">
+ <el-form-item label="鍙戦�佹椂闂存锛�" v-if="currenttype != 2">
<el-checkbox-group v-model="checkList">
<el-checkbox label="涓婂崍锛�8:30-11:30锛�"></el-checkbox>
<el-checkbox label="涓嬪崍锛�14:30-16:30锛�"></el-checkbox>
<el-checkbox label="澶滈棿锛�18:30-20:30锛�"></el-checkbox>
+ <el-checkbox label="涓嶅畾鏃�"></el-checkbox>
</el-checkbox-group>
</el-form-item>
<el-form-item label="鏈嶅姟褰㈠紡">
@@ -61,8 +62,8 @@
</el-form-item>
<el-form-item label="缁勭粐褰㈠紡">
<el-radio-group v-model="form.radio">
- <el-radio :label="3">鍗曚汉</el-radio>
- <el-radio :label="6">澶氫汉</el-radio>
+ <el-radio :label="3">鍗曚汉瀹f暀</el-radio>
+ <el-radio :label="6">澶氫汉闆嗕腑瀹f暀</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="璇煶妯$増" prop="region">
@@ -91,14 +92,92 @@
v-show="showSearch"
label-width="98px"
>
- <el-form-item label="瀹f暀涓婚">
+ <el-form-item label="瀹f暀涓婚" v-if="currenttype == 1">
<el-input v-model="topqueryParams.name"></el-input>
</el-form-item>
- <el-form-item label="閫傜敤鐤剧梾">
+ <el-form-item
+ label="闅忚鍚嶇О"
+ v-if="currenttype == 2 || currenttype == 3"
+ >
+ <el-input
+ v-model="topqueryParams.name"
+ ></el-input> </el-form-item
+ ><el-form-item
+ label="閫氱煡鍚嶇О"
+ v-if="currenttype == 4 || currenttype == 5"
+ >
+ <el-input
+ v-model="topqueryParams.name"
+ ></el-input> </el-form-item
+ ><el-form-item label="浣撴濂楅" v-if="currenttype == 5">
+ <el-input v-model="topqueryParams.name"></el-input>
+ </el-form-item>
+ <el-form-item label="闂嵎涓婚" v-if="currenttype == 6">
+ <el-input v-model="topqueryParams.name"></el-input>
+ </el-form-item>
+ <el-form-item label="閫傜敤鐤剧梾" v-if="currenttype != 5">
<el-input v-model="topqueryParams.name"></el-input>
</el-form-item>
- <el-form-item label="瀹f暀绫诲瀷" prop="status">
+ <el-form-item
+ label="瀹f暀绫诲瀷"
+ prop="status"
+ v-if="currenttype == 1"
+ >
+ <el-select
+ v-model="topqueryParams.topic"
+ placeholder="璇烽�夋嫨"
+ >
+ <el-option
+ v-for="item in taskoptions"
+ :key="item.value"
+ :label="item.label"
+ :value="item.value"
+ >
+ </el-option>
+ </el-select>
+ </el-form-item>
+ <el-form-item
+ label="閫氱煡绫诲瀷"
+ prop="status"
+ v-if="currenttype == 4 || currenttype == 5"
+ >
+ <el-select
+ v-model="topqueryParams.topic"
+ placeholder="璇烽�夋嫨"
+ >
+ <el-option
+ v-for="item in taskoptions"
+ :key="item.value"
+ :label="item.label"
+ :value="item.value"
+ >
+ </el-option>
+ </el-select>
+ </el-form-item>
+ <el-form-item
+ label="闅忚绫诲瀷"
+ prop="status"
+ v-if="currenttype == 2 || currenttype == 3"
+ >
+ <el-select
+ v-model="topqueryParams.topic"
+ placeholder="璇烽�夋嫨"
+ >
+ <el-option
+ v-for="item in taskoptions"
+ :key="item.value"
+ :label="item.label"
+ :value="item.value"
+ >
+ </el-option>
+ </el-select>
+ </el-form-item>
+ <el-form-item
+ label="闂嵎绫诲瀷"
+ prop="status"
+ v-if="currenttype == 6"
+ >
<el-select
v-model="topqueryParams.topic"
placeholder="璇烽�夋嫨"
@@ -457,10 +536,14 @@
</template>
<script>
-import { listsvr_prjtask, Addpatienttask } from "@/api/smartorpor/svr_prjtask";
-import { listpat_archive } from "@/api/smartorpor/pat_archive";
-import { listsvr_prjtaskline } from "@/api/smartorpor/svr_prjtaskline";
import { messagelistpatient } from "@/api/patient/homepage";
+import {
+ getTaskpatient,
+ edithetask,
+ addhetask,
+ gethetaskinfo,
+ delhetaskinfo,
+} from "@/api/AiCentre/index";
import SFtable from "@/components/SFtable"; //琛ㄦ牸缁勪欢
export default {
@@ -486,6 +569,7 @@
],
tableLabelxj: [
{ label: "瀹f暀鍚嶇О", width: "", prop: "name" },
+ { label: "瀹f暀绫诲瀷", width: "", prop: "nametype" },
{ label: "瀹f暀妯$増", width: "", prop: "impTemplate" },
{ label: "鍒涘缓鏃ユ湡", width: "", prop: "create_time" },
{ label: "鍒涘缓浜�", width: "", prop: "update_by" },
@@ -576,19 +660,15 @@
taskoptions: [
{
value: "1",
- label: "閫氱煡",
+ label: "鍑洪櫌鐥呬汉",
},
{
value: "2",
- label: "闅忚",
+ label: "闂ㄨ瘖鐥呬汉",
},
{
value: "3",
- label: "闂嵎",
- },
- {
- value: "4",
- label: "瀹f暀",
+ label: "浣撴鐥呬汉",
},
],
quote: false,
@@ -605,6 +685,9 @@
methods: {
// 鑾峰彇褰撳墠绫诲瀷
Acquisitiontype() {
+ getTaskpatient({ allhosp: 1 }).then((res) => {
+ console.log(res);
+ });
this.currenttype = this.$route.query.type;
console.log(this.currenttype);
if (this.currenttype == 1) {
@@ -618,6 +701,8 @@
"鐭俊",
"寰俊鍏紬鍙�",
"寰俊灏忕▼搴�",
+ "鏀粯瀹�",
+ "鏅鸿兘灏忕▼搴�",
"閽夐拤",
];
} else if (this.currenttype == 2) {
@@ -719,9 +804,9 @@
let objictpint = {};
objictpint.patientes = this.ids;
objictpint.pguid = 2;
- Addpatienttask(objictpint).then((res) => {
- console.log(res);
- });
+ // Addpatienttask(objictpint).then((res) => {
+ // console.log(res);
+ // });
this.dialogVisiblepatient = false;
},
--
Gitblit v1.9.3