From 91f78c7a3c325b7627f269524cdf92f006948cdf Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 17:37:35 +0800
Subject: [PATCH] 景宁电话接入
---
src/views/followvisit/tasklist/FollowupDetails/index.vue | 143 ++++++++++++++++++++++++++---------------------
1 files changed, 80 insertions(+), 63 deletions(-)
diff --git a/src/views/followvisit/tasklist/FollowupDetails/index.vue b/src/views/followvisit/tasklist/FollowupDetails/index.vue
index b480e12..3fcbb81 100644
--- a/src/views/followvisit/tasklist/FollowupDetails/index.vue
+++ b/src/views/followvisit/tasklist/FollowupDetails/index.vue
@@ -54,7 +54,7 @@
<div class="headline">浠诲姟璁剧疆</div>
<div class="jic-value">
<el-form ref="form" :model="form" label-width="80px">
- <el-form-item label="寮曠敤妯$増" prop="desc">
+ <el-form-item label="寮曠敤妯℃澘" prop="desc">
<el-cascader
class="demo-cascader"
v-model="form.templatevalue"
@@ -72,7 +72,7 @@
</el-select>
<div style="display: flex; margin-top: 20px">
<div class="PreviewTemplate" @click="PreviewTemplate()">
- 棰勮妯$増
+ 棰勮妯℃澘
</div>
<el-button type="primary" @click="Acknowledgereference"
>纭寮曠敤</el-button
@@ -138,7 +138,7 @@
placeholder="璇烽�夋嫨"
>
<el-option
- v-for="item in topicoptions"
+ v-for="item in taskoptions"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -181,11 +181,11 @@
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-select
- v-model="topqueryParams.topic"
+ v-model="tasktopic"
placeholder="璇烽�夋嫨鏂板绫诲瀷"
>
<el-option
- v-for="item in topicoptions"
+ v-for="item in taskoptions"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -199,23 +199,13 @@
plain
icon="el-icon-plus"
size="medium"
+ :disabled="!tasktopic"
@click="handleAdd"
v-hasPermi="['system:user:add']"
>鏂板</el-button
>
</el-col>
- <el-col :span="1.5">
- <el-button
- type="success"
- plain
- icon="el-icon-edit"
- size="medium"
- :disabled="single"
- @click="handleUpdate"
- v-hasPermi="['system:user:edit']"
- >淇敼</el-button
- >
- </el-col>
+
<el-col :span="1.5">
<el-button
type="danger"
@@ -311,7 +301,7 @@
width="160"
>
<template slot-scope="scope">
- <span>{{ parseTime(scope.row.createTime) }}</span>
+ <span>{{ formatTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column
@@ -439,7 +429,7 @@
<el-form-item label="閫夋嫨闂嵎:">
<el-row :gutter="20">
<el-col :span="6"
- ><el-select v-model="form.region" placeholder="璇烽�夋嫨妯$増">
+ ><el-select v-model="form.region" placeholder="璇烽�夋嫨妯℃澘">
<el-option label="鍖哄煙涓�" value="shanghai"></el-option>
<el-option
label="鍖哄煙浜�"
@@ -544,7 +534,7 @@
></el-col>
</el-row>
</el-form-item>
- <el-form-item label="Ai澶栧懠妯$増">
+ <el-form-item label="Ai澶栧懠妯℃澘">
<el-select v-model="form.value" placeholder="璇烽�夋嫨">
<el-option
v-for="item in options"
@@ -591,12 +581,12 @@
<el-radio label="AI鐢佃瘽"></el-radio>
</el-radio-group>
</el-form-item>
- <el-form-item label="鎺ㄩ�佹ā鐗�">
+ <el-form-item label="鎺ㄩ�佹ā鏉�">
<el-row :gutter="20">
<el-col :span="6"
><el-select
v-model="form.value"
- placeholder="璇烽�夋嫨鐭俊妯$増"
+ placeholder="璇烽�夋嫨鐭俊妯℃澘"
>
<el-option
v-for="item in options"
@@ -609,7 +599,7 @@
<el-col :span="6"
><el-select
v-model="form.value"
- placeholder="璇烽�夋嫨寰俊妯$増"
+ placeholder="璇烽�夋嫨寰俊妯℃澘"
>
<el-option
v-for="item in options"
@@ -835,7 +825,7 @@
</el-dialog>
<!-- 娣诲姞鎮h�� -->
<el-dialog
- title="娣诲姞娲惧彂鎮h��"
+ title="閫夋嫨鎮h��"
:visible.sync="dialogVisiblepatient"
width="70%"
:before-close="handleClosehz"
@@ -855,13 +845,13 @@
<el-form-item label="鎮h�呭悕绉帮細">
<el-input v-model="patientqueryParams.name"></el-input>
</el-form-item>
- <el-form-item label="鎮h�呮潵婧�" prop="status">
+ <el-form-item label="鎮h�呰寖鍥�" prop="status">
<el-select
- v-model="patientqueryParams.topic"
+ v-model="patientqueryParams.searchscope"
placeholder="璇烽�夋嫨"
>
<el-option
- v-for="item in topicoptions"
+ v-for="item in source"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -938,10 +928,10 @@
/>
<el-table-column
- label="鎮h�呮潵婧�"
+ label="鎮h�呰寖鍥�"
align="center"
- key="source"
- prop="source"
+ key="sourcefrom"
+ prop="sourcefrom"
/>
<el-table-column
label="鎵嬫満鍙风爜"
@@ -1002,17 +992,6 @@
</template>
<script>
-import {
- listsvr_prjtask,
- getsvr_prjtask,
- addsvr_prjtask,
- updatesvr_prjtask,
- delsvr_prjtask,
- Addpatienttask,
-} from "@/api/smartorpor/svr_prjtask";
-import { listpat_archive } from "@/api/smartorpor/pat_archive";
-import { listsvr_prjtaskline } from "@/api/smartorpor/svr_prjtaskline";
-
export default {
data() {
return {
@@ -1032,6 +1011,7 @@
patientqueryParams: {
pageNum: 1, //
pageSize: 10,
+ searchscope:2,
},
topicoptions: [],
showSearch: true, //
@@ -1048,6 +1028,7 @@
userList: null,
patientuserList: null,
sonuserList: null,
+ tasktopic: null, //鏂板绫诲瀷
form: {
name: "",
region: "",
@@ -1058,6 +1039,20 @@
resource: "",
desc: "",
},
+ source: [
+ {
+ value: 0,
+ label: "鎵�灞炴偅鑰�",
+ },
+ {
+ value: 1,
+ label: "绉戝鎮h��",
+ },
+ {
+ value: 2,
+ label: "鐥呭尯鎮h��",
+ },
+ ],
options: [
{
value: "閫夐」1",
@@ -1078,6 +1073,24 @@
{
value: "閫夐」5",
label: "鍖椾含鐑ら腑",
+ },
+ ],
+ taskoptions: [
+ {
+ value: "1",
+ label: "閫氱煡",
+ },
+ {
+ value: "2",
+ label: "闅忚",
+ },
+ {
+ value: "3",
+ label: "闂嵎",
+ },
+ {
+ value: "4",
+ label: "瀹f暀",
},
],
quote: false,
@@ -1107,22 +1120,24 @@
},
// 瀛愪换鍔′竴绾у脊妗�
handleAdd() {
- listsvr_prjtaskline(this.deliverytopqueryParams).then((response) => {
- console.log(response);
- this.sonuserList = response.rows;
- this.sontotal = response.total;
- this.loading = false;
- });
+ this.multiple = true;
+ // listsvr_prjtaskline(this.deliverytopqueryParams).then((response) => {
+ // console.log(response);
+ // this.sonuserList = response.rows;
+ // this.sontotal = response.total;
+ // this.loading = false;
+ // });
this.dialogVisible = true;
},
// 瀛愪换鍔′簩绾у脊妗�
handleAddpatient() {
- listpat_archive(this.patientqueryParams).then((response) => {
- console.log(response);
- this.patientuserList = response.rows;
- this.patienttotal = response.total;
- this.loading = false;
- });
+ console.log(this.multiple);
+ // listpat_archive(this.patientqueryParams).then((response) => {
+ // console.log(response);
+ // this.patientuserList = response.rows;
+ // this.patienttotal = response.total;
+ // this.loading = false;
+ // });
this.dialogVisiblepatient = true;
},
handleUpdate() {},
@@ -1130,8 +1145,10 @@
handleExport() {},
// 澶氶�夋閫変腑鏁版嵁
handleSelectionChange(selection) {
+ this.ids = null;
this.ids = selection.map((item) => item.patid).join(",");
// let result = this.ids.join(",");
+ this.multiple = !selection.length;
console.log(this.ids);
},
getList() {},
@@ -1151,7 +1168,7 @@
resetForm(formName) {
this.$refs[formName].resetFields();
},
- // 棰勮妯$増
+ // 棰勮妯℃澘
PreviewTemplate() {},
Acknowledgereference() {
this.quote = true;
@@ -1168,9 +1185,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;
},
@@ -1180,11 +1197,11 @@
console.log(this.topqueryParams);
// this.topqueryParams.pid = this.$route.query.id;
// console.log(this.topqueryParams.pid);
- listsvr_prjtask(this.topqueryParams).then((res) => {
- this.userList = res.rows;
- this.total = res.total;
- console.log(this.userList);
- });
+ // listsvr_prjtask(this.topqueryParams).then((res) => {
+ // this.userList = res.rows;
+ // this.total = res.total;
+ // console.log(this.userList);
+ // });
},
/** 鏌ヨ鎮h�呭垪琛� */
},
@@ -1203,7 +1220,7 @@
// margin-top: 20px;
margin: 20px;
margin-bottom: 0;
- padding: 30px;
+ padding: 20px;
background: #edf1f7;
border: 1px solid #dcdfe6;
-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12),
--
Gitblit v1.9.3