From 09a1bd58e04706d7e1d6e1543b990c08a4b8f97c Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 16 一月 2025 13:57:03 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/questionnaire/index.vue | 53 +++++++++++++++++++++++++---------------------------- 1 files changed, 25 insertions(+), 28 deletions(-) diff --git a/src/views/patient/questionnaire/index.vue b/src/views/patient/questionnaire/index.vue index ee6d850..0f992b7 100644 --- a/src/views/patient/questionnaire/index.vue +++ b/src/views/patient/questionnaire/index.vue @@ -236,7 +236,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 @@ -247,7 +247,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 @@ -258,7 +258,7 @@ width="160" > <template slot-scope="scope"> - <span>{{ parseTime(scope.row.createTime) }}</span> + <span>{{ formatTime(scope.row.createTime) }}</span> </template> </el-table-column> @@ -271,7 +271,7 @@ :show-overflow-tooltip="true" > <template slot-scope="scope"> - <div>宸插彂閫�</div> + <div>宸插彂閫佹湭棰嗗彇</div> </template> </el-table-column> <el-table-column @@ -282,7 +282,7 @@ class-name="small-padding fixed-width" > <template slot-scope="scope"> - <el-button + <!-- <el-button size="medium" type="text" @click="followupvisit(scope.row)" @@ -299,7 +299,7 @@ ><span class="button-sc" ><i class="el-icon-delete"></i>鍋滄</span ></el-button - > + > --> <el-button size="medium" type="text" @@ -321,7 +321,7 @@ @pagination="getList" /> </el-row> - <!-- 娣诲姞鎴栦慨鏀归棬璇婇殢璁垮璇濇 --> + <!-- 娣诲姞鎴栦慨鏀瑰奖鍍忛殢璁垮璇濇 --> <el-dialog :title="title" :visible.sync="addalteropen" @@ -364,7 +364,7 @@ </el-row> <el-row :gutter="20"> <el-col :span="24"> - <el-form-item label="闂ㄨ瘖闅忚瑕佹眰"> + <el-form-item label="褰卞儚闅忚瑕佹眰"> <el-input type="textarea" v-model="form.desc"></el-input> </el-form-item> </el-col> @@ -488,7 +488,7 @@ // 鐢ㄦ埛琛ㄦ牸鏁版嵁 userList: null, // 寮瑰嚭灞傛爣棰� - title: "鏂板闂ㄨ瘖闅忚", + title: "鏂板褰卞儚闅忚", // 鏄惁鏄剧ず淇敼銆佹坊鍔犲脊鍑哄眰 addalteropen: false, // 淇敼鍙戦�佹椂闂村璇濇 @@ -507,13 +507,13 @@ dynamicTags: ["閫夐」涓�", "閫夐」浜�", "閫夐」涓�"], //閫夐」 inputVisible: false, inputValue: "", - previewVisible: false, //闂ㄨ瘖闅忚棰勮寮规 + previewVisible: false, //褰卞儚闅忚棰勮寮规 radio: "", radios: [], - previewtype: 2, //棰勮闂ㄨ瘖闅忚绫诲瀷 + previewtype: 2, //棰勮褰卞儚闅忚绫诲瀷 total: 0, // 鎬绘潯鏁� - ImportQuantity: 999, //瀵奸棬璇婇殢璁挎暟閲� - //棰勮闂ㄨ瘖闅忚淇℃伅 + ImportQuantity: 999, //瀵煎奖鍍忛殢璁挎暟閲� + //棰勮褰卞儚闅忚淇℃伅 previewvalue: { username: "杩欎釜鍖荤敓瀵逛綘鎬庝箞鏍�", }, @@ -589,10 +589,8 @@ topqueryParams: { pageNum: 1, pageSize: 10, - type: 6, - userName: undefined, - tagid: undefined, - topic: undefined, + serviceType:7, + }, propss: { multiple: true }, options: [], @@ -614,7 +612,6 @@ value: 4, label: "宸插仠姝�", }, - ], // 琛ㄥ崟鏍¢獙 rules: { @@ -678,7 +675,7 @@ }); }, methods: { - /** 鏌ヨ闂ㄨ瘖闅忚鍒楄〃 */ + /** 鏌ヨ褰卞儚闅忚鍒楄〃 */ getList() { this.loading = true; getTaskservelist(this.topqueryParams).then((response) => { @@ -687,7 +684,7 @@ this.loading = false; }); }, - // 鏌ョ湅闂ㄨ瘖闅忚璇︽儏 + // 鏌ョ湅褰卞儚闅忚璇︽儏 Referencequestion(row) { this.previewVisible = true; }, @@ -705,7 +702,7 @@ this.options = []; } }, - // 闂ㄨ瘖闅忚鐘舵�佷慨鏀� + // 褰卞儚闅忚鐘舵�佷慨鏀� handleStatusChange(row) { let text = row.status === "0" ? "鍚敤" : "鍋滅敤"; this.$modal @@ -785,8 +782,11 @@ /** 鏂板鎸夐挳鎿嶄綔 */ handleAdd() { this.$router.push({ - path: "/followvisit/particty", - query: { type: 6 }, + path: "/followvisit/QuestionnaireTask", + query: { + type: 2, + serviceType: 7, + }, }); }, @@ -885,13 +885,10 @@ this.modificationVisible = true; }, // 璺宠浆璇︽儏椤� - Seedetails() { + Seedetails(row) { this.$router.push({ path: "/followvisit/QuestionnaireTask", - query: { - type: 2, - serviceType: 7, - }, + query: { taskid: row.taskid, patid: row.patid }, }); }, // 瀵煎叆鎸夐挳 -- Gitblit v1.9.3