From 8a980bd32dc2dc70f90447eb6ba293a06a2d881c Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 28 十一月 2023 18:11:36 +0800
Subject: [PATCH] 提交信息
---
src/views/followvisit/outpatient/index.vue | 8
src/views/patient/physical/index.vue | 4
src/views/patient/propaganda/index.vue | 1
src/views/system/label/index.vue | 5
src/views/patient/questionnaire/index.vue | 4
src/views/patient/subsequent/index.vue | 4
src/views/patient/propaganda/particty.vue | 489 +++++++++++--------------------------
src/components/SFtable/index.vue | 215 +++++++++-------
src/views/followvisit/discharge/index.vue | 9
9 files changed, 289 insertions(+), 450 deletions(-)
diff --git a/src/components/SFtable/index.vue b/src/components/SFtable/index.vue
index feb19b5..2fdf215 100644
--- a/src/components/SFtable/index.vue
+++ b/src/components/SFtable/index.vue
@@ -1,100 +1,131 @@
<!-- 琛ㄦ牸缁勪欢灏佽 -->
<template>
- <el-table
- :data="currentList"
- style="width: 1158px"
- :header-cell-style="{
- background: '#f3f6fb',
- color: '#666',
- height: '42px',
- 'font-weight': 400,
- }"
- :highlight-current-row="true"
- empty-text="鏆傛棤鏁版嵁"
+ <el-table
+ :data="currentList"
+ @selection-change="handleSelectionChange"
+ :header-cell-style="{
+ background: '#f3f6fb',
+ color: '#666',
+ height: '42px',
+ 'font-weight': 400,
+ }"
+ :highlight-current-row="true"
+ empty-text="鏆傛棤鏁版嵁"
+ >
+ <el-table-column v-if="multiplechoice" type="selection" width="50" align="center" />
+ <el-table-column label="搴忓彿" align="center" key="id" prop="id" />
+ <el-table-column
+ v-for="(item, index) in tableLabel"
+ :key="index"
+ :prop="item.prop"
+ :width="item.width"
+ :label="item.label"
+ :formatter="formatData"
>
- <el-table-column type="index" :index="indexMethod" label="搴忓彿" width="80">
- </el-table-column>
- <el-table-column
- v-for="(item, index) in tableLabel"
- :key="index"
- :prop="item.prop"
- :width="item.width"
- :label="item.label"
- :formatter="formatData"
- >
- </el-table-column>
- <el-table-column label="鎿嶄綔" width="100">
- <template slot-scope="scope">
- <el-button type="text" @click.native="$emit('details', scope.row)"
- >鏌ョ湅璇︽儏</el-button
- >
- </template>
- </el-table-column>
- </el-table>
- </template>
-
- <script>
- import dayjs from "dayjs";
- export default {
- data() {
- return {};
+ </el-table-column>
+ <el-table-column
+ label="鎿嶄綔"
+ align="center"
+ width="120"
+ class-name="small-padding fixed-width"
+ >
+ <template slot-scope="scope">
+ <el-button
+ v-if="controlxz"
+ size="medium"
+ type="text"
+ @click.native="$emit('handleUpdate', scope.row)"
+ ><span class="button-zx"
+ ><i class="el-icon-s-promotion"></i>閫夋嫨</span
+ ></el-button
+ >
+ <el-button
+ v-if="controlsc"
+ size="medium"
+ type="text"
+ @click.native="$emit('details', scope.row)"
+ ><span style="color: red"
+ ><i class="el-icon-delete"></i>鍒犻櫎</span
+ ></el-button
+ >
+ </template>
+ </el-table-column>
+ </el-table>
+</template>
+
+<script>
+import dayjs from "dayjs";
+export default {
+ data() {
+ return {
+ ids: [],
+ };
+ },
+ props: {
+ currentList: {
+ type: Array,
+ required: true,
},
- props: {
- currentList: {
- type: Array,
- required: true,
- },
- tableLabel: {
- type: Array,
- default: () => [],
- },
- currentIndex: {
- type: Number,
- required: true,
- },
+ tableLabel: {
+ type: Array,
+ default: () => [],
},
- created() {},
-
- methods: {
- indexMethod(index) {
- return parseInt(this.currentIndex) - 9 + index;
- },
+ controlsc: {
+ type: Boolean,
+ default: true,
+ },
+ controlxz: {
+ type: Boolean,
+ default: true,
+ },
+ multiplechoice:{
+ type: Boolean,
+ default: true,
+ }
+
+ },
+ created() {},
+
+ methods: {
// 鏁版嵁杩囨护
- formatData(row, column, cellValue) {
- if (column.property === "createType") {
- if (cellValue === 1) {
- return "鑷姩";
- }
- return "鎵嬪姩";
+ formatData(row, column, cellValue) {
+ if (column.property === "createType") {
+ if (cellValue === 1) {
+ return "鑷姩";
}
- if (column.property === "createTime") {
- return dayjs(cellValue).format("YYYY.MM.DD HH:mm:ss");
- }
- return cellValue;
- },
+ return "鎵嬪姩";
+ }
+ if (column.property === "createTime") {
+ return dayjs(cellValue).format("YYYY.MM.DD HH:mm:ss");
+ }
+ return cellValue;
},
- };
- </script>
-
- <style lang="scss">
- .el-table td,
- .el-table th.is-leaf {
- border-bottom: unset;
- }
- .el-table td,
- .el-table th {
- padding: 5px 0;
- }
- .el-table thead {
- font-weight: 400;
- color: #666;
- }
- .dialog-footer {
- width: 100%;
- padding: 10px 20px 20px;
- text-align: center !important;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- }
- </style>
-
\ No newline at end of file
+ // 澶氶�夋閫変腑鏁版嵁
+ handleSelectionChange(selection) {
+ $emit("handleSelectionChange", selection);
+ },
+ },
+};
+</script>
+
+<style lang="scss">
+.el-table td,
+.el-table th.is-leaf {
+ border-bottom: unset;
+}
+.el-table td,
+.el-table th {
+ padding: 5px 0;
+}
+.el-table thead {
+ font-weight: 400;
+ color: #666;
+}
+.dialog-footer {
+ width: 100%;
+ padding: 10px 20px 20px;
+ text-align: center !important;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+}
+</style>
diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue
index f3de6a2..7c5e1cd 100644
--- a/src/views/followvisit/discharge/index.vue
+++ b/src/views/followvisit/discharge/index.vue
@@ -2,7 +2,6 @@
<div class="app-container">
<el-row :gutter="20">
<!--鐢ㄦ埛鏁版嵁-->
-
<el-form
:model="topqueryParams"
ref="queryForm"
@@ -959,9 +958,13 @@
},
// 璺宠浆璇︽儏椤�
Seedetails() {
+ // this.$router.push({
+ // path: "/followvisit/record/detailpage/",
+ // query: { id: "1" },
+ // });
this.$router.push({
- path: "/followvisit/record/detailpage/",
- query: { id: "1" },
+ path: "/followvisit/particty",
+ query: { type: 3, },
});
},
// 瀵煎叆鎸夐挳
diff --git a/src/views/followvisit/outpatient/index.vue b/src/views/followvisit/outpatient/index.vue
index 2623298..91f90f7 100644
--- a/src/views/followvisit/outpatient/index.vue
+++ b/src/views/followvisit/outpatient/index.vue
@@ -954,9 +954,13 @@
},
// 璺宠浆璇︽儏椤�
Seedetails() {
+ // this.$router.push({
+ // path: "/followvisit/record/detailpage/",
+ // query: { id: "1" },
+ // });
this.$router.push({
- path: "/followvisit/record/detailpage/",
- query: { id: "1" },
+ path: "/followvisit/particty",
+ query: { type: 2, },
});
},
// 瀵煎叆鎸夐挳
diff --git a/src/views/patient/physical/index.vue b/src/views/patient/physical/index.vue
index 90c1bd6..70609e8 100644
--- a/src/views/patient/physical/index.vue
+++ b/src/views/patient/physical/index.vue
@@ -916,8 +916,8 @@
// 璺宠浆璇︽儏椤�
Seedetails() {
this.$router.push({
- path: "/followvisit/record/detailpage/",
- query: { id: "1" },
+ path: "/followvisit/particty",
+ query: { type: 5 },
});
},
// 瀵煎叆鎸夐挳
diff --git a/src/views/patient/propaganda/index.vue b/src/views/patient/propaganda/index.vue
index d50fa4e..349c095 100644
--- a/src/views/patient/propaganda/index.vue
+++ b/src/views/patient/propaganda/index.vue
@@ -717,6 +717,7 @@
handleUpdate(row) {
this.$router.push({
path: "/followvisit/particty",
+ query: { type: 1, },
});
},
/** 閲嶇疆瀵嗙爜鎸夐挳鎿嶄綔 */
diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index 7c5e6ef..4ac1600 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -50,19 +50,16 @@
<el-checkbox label="澶滈棿锛�18:30-20:30锛�"></el-checkbox>
</el-checkbox-group>
</el-form-item>
- <el-form-item label="瀹f暀褰㈠紡">
+ <el-form-item label="鏈嶅姟褰㈠紡">
<el-checkbox-group v-model="checkList">
- <el-checkbox label="褰撻潰"></el-checkbox>
- <el-checkbox label="澶氬獟浣�"></el-checkbox>
- <el-checkbox label="绾歌川"></el-checkbox>
- <el-checkbox label="鐢佃瘽"></el-checkbox>
- <el-checkbox label="鐭俊"></el-checkbox>
- <el-checkbox label="寰俊鍏紬鍙�"></el-checkbox>
- <el-checkbox label="寰俊灏忕▼搴�"></el-checkbox>
- <el-checkbox label="閽夐拤"></el-checkbox>
+ <el-checkbox
+ v-for="(item, index) in checkboxlist"
+ :key="index"
+ :label="item"
+ ></el-checkbox>
</el-checkbox-group>
</el-form-item>
- <el-form-item label="鍙戦�佹椂闂存锛�">
+ <el-form-item label="缁勭粐褰㈠紡">
<el-radio-group v-model="form.radio">
<el-radio :label="3">鍗曚汉</el-radio>
<el-radio :label="6">澶氫汉</el-radio>
@@ -79,7 +76,7 @@
</div>
<div class="examine-jic">
<div class="headline">
- <div>瀹f暀鍐呭鍒楄〃</div>
+ <div>{{ title }}</div>
</div>
<div class="examine-jic">
<div class="jic-value">
@@ -161,91 +158,15 @@
</el-form-item>
</el-form>
<el-divider></el-divider>
- <el-table
- v-loading="loading"
- :data="userList"
- @selection-change="handleSelectionChange"
- >
- <el-table-column
- type="selection"
- width="50"
- align="center"
- />
- <el-table-column
- label="搴忓彿"
- align="center"
- key="id"
- prop="id"
- />
-
- <el-table-column
- label="瀹f暀鍚嶇О"
- align="center"
- sortable
- key="name"
- prop="name"
- :show-overflow-tooltip="true"
- />
- <el-table-column
- label="瀹f暀妯℃澘"
- align="center"
- key="impTemplate"
- prop="impTemplate"
- />
- <el-table-column
- label="鍒涘缓鏃ユ湡"
- align="center"
- key="create_time"
- prop="create_time"
- />
-
- <el-table-column
- label="鍒涘缓浜�"
- align="center"
- key="update_by"
- prop="update_by"
- sortable
- width="120"
- :show-overflow-tooltip="true"
- />
- <el-table-column
- label="鎿嶄綔"
- align="center"
- width="120"
- class-name="small-padding fixed-width"
- >
- <template slot-scope="scope">
- <el-button
- size="medium"
- type="text"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['system:user:edit']"
- ><span class="button-zx"
- ><i class="el-icon-s-promotion"></i>寮�濮嬫墽琛�</span
- ></el-button
- >
- </template>
- </el-table-column>
- <el-table-column
- label="浠诲姟璇︽儏"
- align="center"
- width="200"
- class-name="small-padding fixed-width"
- >
- <template slot-scope="scope">
- <el-button
- size="medium"
- type="text"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['system:user:edit']"
- ><span class="button-xq"
- ><i class="el-icon-s-data"></i>閫夋嫨</span
- ></el-button
- >
- </template>
- </el-table-column>
- </el-table>
-
+ <!-- 閫夋嫨浠诲姟鍒楄〃 -->
+ <SFtable
+ @handleUpdate="handleUpdate"
+ @handleSelectionChange="handleSelectionChange"
+ :currentList="userList"
+ :tableLabel="tableLabelxj"
+ :controlsc="false"
+ :multiplechoice="false"
+ />
<pagination
v-show="total > 0"
:total="total"
@@ -380,8 +301,7 @@
icon="el-icon-plus"
size="medium"
:disabled="!tasktopic"
- @click="handleAdd"
- v-hasPermi="['system:user:add']"
+ @click="handleAddpatient"
>鏂板</el-button
>
</el-col>
@@ -394,152 +314,20 @@
size="medium"
:disabled="multiple"
@click="handleDelete"
- v-hasPermi="['system:user:remove']"
>鍒犻櫎</el-button
>
</el-col>
<!-- <el-col :span="1.5"> </el-col> -->
</el-row>
- <!-- <right-toolbar
- :showSearch.sync="showSearch"
- @queryTable="getList"
- :columns="columns"
- ></right-toolbar> -->
- <el-table
- v-loading="loading"
- :data="userList"
- @selection-change="handleSelectionChange"
- >
- <el-table-column
- type="selection"
- width="50"
- align="center"
- />
- <el-table-column
- label="搴忓彿"
- align="center"
- key="id"
- prop="id"
- />
-
- <el-table-column
- label="浠诲姟鍚嶇О"
- align="center"
- sortable
- key="name"
- prop="name"
- :show-overflow-tooltip="true"
- />
- <el-table-column
- label="鏈嶅姟妯℃澘"
- align="center"
- key="impTemplate"
- prop="impTemplate"
- />
- <el-table-column
- label="鍒涘缓鏃ユ湡"
- align="center"
- key="create_time"
- prop="create_time"
- />
- <el-table-column
- label="鎵ц鐘舵��"
- align="center"
- key="phonenumber"
- prop="phonenumber"
- width="120"
- />
-
- <el-table-column
- label="鎵ц鐘舵��"
- align="center"
- key="topicnumber"
- prop="topicnumber"
- width="120"
- :show-overflow-tooltip="true"
- >
- <template slot-scope="scope">
- <div>鎵ц瀹屾垚/鎵ц澶辫触</div>
- </template>
- </el-table-column>
- <el-table-column
- label="鏇存柊浜�"
- align="center"
- key="update_by"
- prop="update_by"
- sortable
- width="120"
- :show-overflow-tooltip="true"
- />
-
- <el-table-column
- label="鏇存柊鏃堕棿"
- sortable
- align="center"
- prop="update_time"
- width="160"
- >
- <template slot-scope="scope">
- <span>{{ parseTime(scope.row.createTime) }}</span>
- </template>
- </el-table-column>
- <el-table-column
- label="鎿嶄綔"
- align="center"
- width="120"
- class-name="small-padding fixed-width"
- >
- <template slot-scope="scope">
- <el-button
- size="medium"
- type="text"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['system:user:edit']"
- ><span class="button-zx"
- ><i class="el-icon-s-promotion"></i>寮�濮嬫墽琛�</span
- ></el-button
- >
- </template>
- </el-table-column>
- <el-table-column
- label="浠诲姟璇︽儏"
- align="center"
- width="200"
- class-name="small-padding fixed-width"
- >
- <template slot-scope="scope">
- <el-button
- size="medium"
- type="text"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['system:user:edit']"
- ><span class="button-xq"
- ><i class="el-icon-s-data"></i>璇︽儏</span
- ></el-button
- >
- <el-button
- size="medium"
- type="text"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['system:user:edit']"
- ><span class="button-bb"
- ><i class="el-icon-s-order"></i>鎶ヨ〃</span
- ></el-button
- >
- <el-button
- size="medium"
- type="text"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['system:user:edit']"
- ><span class="button-sc"
- ><i class="el-icon-delete"></i>鍒犻櫎</span
- ></el-button
- >
- </template>
- </el-table-column>
- </el-table>
-
+ <!-- 閫変腑鎮h�呭垪琛� -->
+ <SFtable
+ @handleUpdate="handleUpdate"
+ @handleSelectionChange="handleSelectionChange"
+ :currentList="sonuserList"
+ :tableLabel="tableLabelhz"
+ :controlxz="false"
+ />
<pagination
v-show="total > 0"
:total="total"
@@ -640,73 +428,14 @@
>
</el-form-item>
</el-form>
-
- <el-table
- v-loading="patientloading"
- :data="patientuserList"
- @selection-change="handleSelectionChange"
- >
- <el-table-column type="selection" width="50" align="center" />
- <el-table-column
- label="搴忓彿"
- align="center"
- key="patid"
- prop="patid"
- />
-
- <el-table-column
- label="鎮h�呭悕绉�"
- align="center"
- sortable
- key="name"
- prop="name"
- :show-overflow-tooltip="true"
- />
-
- <el-table-column
- label="鎮h�呮潵婧�"
- align="center"
- key="source"
- prop="source"
- />
- <el-table-column
- label="鎵嬫満鍙风爜"
- align="center"
- key="telcode"
- prop="telcode"
- width="120"
- :show-overflow-tooltip="true"
- />
-
- <el-table-column
- label="浠诲姟璇︽儏"
- align="center"
- width="200"
- class-name="small-padding fixed-width"
- >
- <template slot-scope="scope">
- <el-button
- size="medium"
- type="text"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['system:user:edit']"
- ><span class="button-xq"
- ><i class="el-icon-s-data"></i>璇︽儏</span
- ></el-button
- >
-
- <el-button
- size="medium"
- type="text"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['system:user:edit']"
- ><span class="button-sc"
- ><i class="el-icon-delete"></i>鍒犻櫎</span
- ></el-button
- >
- </template>
- </el-table-column>
- </el-table>
+ <!-- 閫夋嫨鎮h�呭垪琛� -->
+ <SFtable
+ @handleUpdate="handleUpdate"
+ @handleSelectionChange="handleSelectionChange"
+ :currentList="patientuserList"
+ :tableLabel="tableLabelhz"
+ :controlsc="false"
+ />
</el-row>
<pagination
v-show="patienttotal > 0"
@@ -728,25 +457,69 @@
</template>
<script>
-import {
- listsvr_prjtask,
- getsvr_prjtask,
- addsvr_prjtask,
- updatesvr_prjtask,
- delsvr_prjtask,
- Addpatienttask,
-} from "@/api/smartorpor/svr_prjtask";
+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 SFtable from "@/components/SFtable"; //琛ㄦ牸缁勪欢
export default {
+ name: "ServiceDetails",
data() {
return {
+ title: "瀹f暀鍐呭鍒楄〃",
+ currenttype: 1, //1瀹f暀2闂ㄨ瘖3鍑洪櫌4澶嶈瘖5浣撴6闂嵎
Editprogress: 1, //缂栬緫杩涘害
loading: false, // 閬僵灞�
patientloading: false, // 閬僵灞�
- dialogVisible: false, //浠诲姟璇︽儏寮规
dialogVisiblepatient: false, //娣诲姞鎮h�呭脊妗�
+ checkboxlist: [],
+ tableLabel: [],
+ // 鎮h�呰〃鍗�
+ tableLabelhz: [
+ { label: "鎮h�呭悕绉�", width: "", prop: "name" },
+ { label: "鎬у埆", width: "", prop: "sex" },
+ { label: "骞撮緞", width: "", prop: "age" },
+ { label: "灏辫瘖绉戝", width: "", prop: "impTemplate" },
+ { label: "鍏ラ櫌鏃ユ湡", width: "", prop: "create_time" },
+ { label: "鍒涘缓浜�", width: "", prop: "update_by" },
+ ],
+ tableLabelxj: [
+ { label: "瀹f暀鍚嶇О", width: "", prop: "name" },
+ { label: "瀹f暀妯$増", width: "", prop: "impTemplate" },
+ { label: "鍒涘缓鏃ユ湡", width: "", prop: "create_time" },
+ { label: "鍒涘缓浜�", width: "", prop: "update_by" },
+ ],
+ tableLabelmz: [
+ { label: "闅忚鍚嶇О", width: "118", prop: "name" },
+ { label: "闅忚妯$増", width: "130", prop: "impTemplate" },
+ { label: "鍒涘缓鏃ユ湡", width: "136", prop: "create_time" },
+ { label: "鍒涘缓浜�", width: "130", prop: "update_by" },
+ ],
+ tableLabelcy: [
+ { label: "闅忚鍚嶇О", width: "118", prop: "name" },
+ { label: "闅忚璁″垝", width: "130", prop: "impTemplate" },
+ { label: "鍒涘缓鏃ユ湡", width: "136", prop: "create_time" },
+ { label: "鍒涘缓浜�", width: "130", prop: "update_by" },
+ ],
+ tableLabelfz: [
+ { label: "閫氱煡鍚嶇О", width: "118", prop: "name" },
+ { label: "閫氱煡妯$増", width: "130", prop: "impTemplate" },
+ { label: "鍒涘缓鏃ユ湡", width: "136", prop: "create_time" },
+ { label: "鍒涘缓浜�", width: "130", prop: "update_by" },
+ ],
+ tableLabeltj: [
+ { label: "閫氱煡鍚嶇О", width: "118", prop: "name" },
+ { label: "閫氱煡妯$増", width: "130", prop: "impTemplate" },
+ { label: "鍒涘缓鏃ユ湡", width: "136", prop: "create_time" },
+ { label: "鍒涘缓浜�", width: "130", prop: "update_by" },
+ ],
+ tableLabelwj: [
+ { label: "闂嵎鍚嶇О", width: "118", prop: "name" },
+ { label: "闂嵎妯$増", width: "130", prop: "impTemplate" },
+ { label: "鍒涘缓鏃ユ湡", width: "136", prop: "create_time" },
+ { label: "鍒涘缓浜�", width: "130", prop: "update_by" },
+ ],
topqueryParams: {
pageNum: 1, //
pageSize: 10,
@@ -772,9 +545,9 @@
// 闈炲涓鐢�
multiple: true,
// 鐢ㄦ埛琛ㄦ牸鏁版嵁
- userList: null,
- patientuserList: null,
- sonuserList: null,
+ userList: [], //妯$増鍒楄〃
+ patientuserList: [], //閫夋嫨鎮h�呭垪琛�
+ sonuserList: [], //閫変腑鎮h�呭垪琛�
tasktopic: null, //鏂板绫诲瀷
form: {
name: "",
@@ -794,14 +567,6 @@
{
value: "閫夐」2",
label: "鍙岀毊濂�",
- },
- {
- value: "閫夐」3",
- label: "铓典粩鐓�",
- },
- {
- value: "閫夐」4",
- label: "榫欓』闈�",
},
{
value: "閫夐」5",
@@ -829,13 +594,63 @@
quote: false,
};
},
+ components: { SFtable },
created() {
this.Addsubtask();
this.Getsubtask();
+ this.Acquisitiontype();
},
methods: {
+ // 鑾峰彇褰撳墠绫诲瀷
+ Acquisitiontype() {
+ this.currenttype = this.$route.query.type;
+ console.log(this.currenttype);
+ if (this.currenttype == 1) {
+ this.title = "瀹f暀鍐呭鍒楄〃";
+ this.tableLabel = this.tableLabelxj;
+ this.checkboxlist = [
+ "褰撻潰",
+ "澶氬獟浣�",
+ "绾歌川",
+ "鐢佃瘽",
+ "鐭俊",
+ "寰俊鍏紬鍙�",
+ "寰俊灏忕▼搴�",
+ "閽夐拤",
+ ];
+ } else if (this.currenttype == 2) {
+ this.title = "闅忚鍐呭鍒楄〃";
+ this.tableLabel = this.tableLabelmz;
+ this.checkboxlist = ["褰撻潰", "绾歌川", "鐢佃瘽", "鐭俊", "寰俊鍏紬鍙�"];
+ } else if (this.currenttype == 3) {
+ this.title = "闅忚璁″垝鍒楄〃";
+ this.tableLabel = this.tableLabelcy;
+ this.checkboxlist = ["褰撻潰", "绾歌川", "鐢佃瘽", "鐭俊", "寰俊鍏紬鍙�"];
+ } else if (this.currenttype == 4) {
+ this.title = "閫氱煡鍐呭鍒楄〃";
+ this.tableLabel = this.tableLabelfz;
+ this.checkboxlist = ["鐢佃瘽", "鐭俊", "寰俊鍏紬鍙�"];
+ } else if (this.currenttype == 5) {
+ this.title = "閫氱煡鍐呭鍒楄〃";
+ this.tableLabel = this.tableLabeltj;
+ this.checkboxlist = ["绾歌川", "鐢佃瘽", "鐭俊", "寰俊鍏紬鍙�"];
+ } else if (this.currenttype == 6) {
+ this.title = "闂嵎鍐呭鍒楄〃";
+ this.tableLabel = this.tableLabelwj;
+ this.checkboxlist = [
+ "褰撻潰",
+ "澶氬獟浣�",
+ "绾歌川",
+ "鐢佃瘽",
+ "鐭俊",
+ "寰俊鍏紬鍙�",
+ "寰俊灏忕▼搴�",
+ "閽夐拤",
+ ];
+ }
+ },
// 涓嬩竴姝�
submitForm(formName) {
if (this.Editprogress <= 3) {
@@ -851,21 +666,10 @@
// }
// });
},
- // 瀛愪换鍔′竴绾у脊妗�
- handleAdd() {
- 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() {
- console.log(this.multiple);
- listpat_archive(this.patientqueryParams).then((response) => {
+ handleAddpatient(row) {
+ console.log(row, "瀛愮粍浠舵暟鎹�");
+ messagelistpatient(this.patientqueryParams).then((response) => {
console.log(response);
this.patientuserList = response.rows;
this.patienttotal = response.total;
@@ -887,9 +691,6 @@
getList() {},
handleQuery() {},
resetQuery() {},
- handleCloserw() {
- this.dialogVisible = false;
- },
handleClosehz() {
this.dialogVisiblepatient = false;
},
@@ -928,9 +729,7 @@
Getsubtask() {
this.topqueryParams.pguid = 2;
console.log(this.topqueryParams);
- // this.topqueryParams.pid = this.$route.query.id;
- // console.log(this.topqueryParams.pid);
- listsvr_prjtask(this.topqueryParams).then((res) => {
+ messagelistpatient(this.topqueryParams).then((res) => {
this.userList = res.rows;
this.total = res.total;
console.log(this.userList);
diff --git a/src/views/patient/questionnaire/index.vue b/src/views/patient/questionnaire/index.vue
index b1a80e2..327b358 100644
--- a/src/views/patient/questionnaire/index.vue
+++ b/src/views/patient/questionnaire/index.vue
@@ -901,8 +901,8 @@
// 璺宠浆璇︽儏椤�
Seedetails() {
this.$router.push({
- path: "/followvisit/record/detailpage/",
- query: { id: "1" },
+ path: "/followvisit/particty",
+ query: { type: 6 },
});
},
// 瀵煎叆鎸夐挳
diff --git a/src/views/patient/subsequent/index.vue b/src/views/patient/subsequent/index.vue
index cd0bce3..ee23915 100644
--- a/src/views/patient/subsequent/index.vue
+++ b/src/views/patient/subsequent/index.vue
@@ -913,8 +913,8 @@
// 璺宠浆璇︽儏椤�
Seedetails() {
this.$router.push({
- path: "/followvisit/record/detailpage/",
- query: { id: "1" },
+ path: "/followvisit/particty",
+ query: { type: 4 },
});
},
// 瀵煎叆鎸夐挳
diff --git a/src/views/system/label/index.vue b/src/views/system/label/index.vue
index f42d302..f910400 100644
--- a/src/views/system/label/index.vue
+++ b/src/views/system/label/index.vue
@@ -524,9 +524,10 @@
methods: {
/** 鏌ヨ鏍囩鍒楄〃 */
- getList() {
+ getList(row) {
+ console.log(row);
+ console.log(this.queryParams);
listtag(this.addDateRange(this.queryParams)).then((response) => {
- console.log(response);
this.total = response.total;
this.userList = response.rows;
});
--
Gitblit v1.9.3