From 0bccc45dca0527bef40f5d9ed47c8e0d175cd40b Mon Sep 17 00:00:00 2001 From: WXL (wul) <wl_5969728@163.com> Date: 星期四, 11 九月 2025 14:57:52 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/record/index.vue | 79 +++++++++++++++++++++++++++------------ 1 files changed, 54 insertions(+), 25 deletions(-) diff --git a/src/views/followvisit/record/index.vue b/src/views/followvisit/record/index.vue index c70694d..074637e 100644 --- a/src/views/followvisit/record/index.vue +++ b/src/views/followvisit/record/index.vue @@ -149,8 +149,7 @@ <el-col :span="1.5"> <el-button type="primary" - plain - icon="el-icon-plus" + icon="el-icon-plus" size="medium" @click="handleAdd" >鏂板</el-button @@ -165,7 +164,6 @@ icon="el-icon-upload2" size="medium" @click="handleExport" - v-hasPermi="['system:user:export']" >瀵煎嚭</el-button > </div> @@ -208,6 +206,15 @@ size="medium" @click="buidegetTasklist()" >寰呭姙鏈嶅姟</el-button + > + </div> + </div> + </el-col> + <el-col :span="1.5"> + <div class="documentf"> + <div class="document"> + <el-button type="success" size="medium" @click="onthatday()" + >褰撴棩鏈嶅姟</el-button > </div> </div> @@ -409,7 +416,7 @@ <!-- <el-table-column label="鎬у埆"width="100" align="center" key="sex" prop="sex" /> --> <!-- <el-table-column label="搴婂彿" align="center" key="badNo" prop="badNo" /> --> <el-table-column - label="绉戝" + label="璇鹃缁�" align="center" key="deptname" prop="deptname" @@ -508,7 +515,7 @@ ></el-button > </el-tooltip> --> - <el-tooltip + <!-- <el-tooltip v-if="scope.row.sendstate == 1 || scope.row.sendstate == 2" class="item" effect="dark" @@ -524,7 +531,7 @@ ><i class="el-icon-remove-outline"></i>鏆傚仠鏈嶅姟</span ></el-button > - </el-tooltip> + </el-tooltip> --> <el-button size="medium" type="text" @click="Seedetails(scope.row)" ><span class="button-zx" ><i class="el-icon-s-order"></i>鏌ョ湅璇︽儏</span @@ -558,8 +565,8 @@ </el-row> <el-row :gutter="20"> <el-col :span="24" - ><el-form-item label="鎵�灞炵瀹�"> - <el-select v-model="form.region" placeholder="璇烽�夋嫨绉戝"> + ><el-form-item label="鎵�灞炶棰樼粍"> + <el-select v-model="form.region" placeholder="璇烽�夋嫨璇鹃缁�"> <el-option label="鍖哄煙涓�" value="shanghai"></el-option> <el-option label="鍖哄煙浜�" value="beijing"></el-option> </el-select> </el-form-item></el-col @@ -831,7 +838,7 @@ sourcetype: [ { value: 1, - label: "绉戝", + label: "璇鹃缁�", children: [], }, { @@ -855,7 +862,7 @@ // value: 0, // }, { - name: "搴旈殢璁�", + name: "闇�闅忚", value: 0, }, @@ -871,10 +878,10 @@ name: "寰呴殢璁�", value: 0, }, - { - name: "宸插彂閫�", - value: 0, - }, + // { + // name: "宸插彂閫�", + // value: 0, + // }, // { // name: "琛ㄥ崟宸插彂閫�", @@ -907,6 +914,10 @@ options: [], topicoptions: [ + { + value: null, + label: "鍏ㄩ儴", + }, { value: 1, label: "琛ㄥ崟宸查鍙�", @@ -1036,8 +1047,8 @@ this.cardlist[1].value = response.rows[0].ysf; this.ycvalue = response.rows[0].yc; this.cardlist[2].value = response.rows[0].fssb; - this.cardlist[3].value = response.rows[0].dfs; - this.cardlist[4].value = response.rows[0].yfs2; + this.cardlist[3].value = response.rows[0].dsf; + // this.cardlist[4].value = response.rows[0].yfs2; this.yfsvalue = response.rows[0].yfs; } this.loading = false; @@ -1067,11 +1078,13 @@ }); }, //鎮h��360璺宠浆 - gettoken360(sfzh,drcode,drname) { + gettoken360(sfzh, drcode, drname) { + this.$modal.msgWarning('360鍔熻兘鏆傛湭寮�閫�'); + return; // 闃绘鍚庣画浠g爜鎵ц this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh; - if (this.postData.XiaoXiTou.ZuHuMC=='涓芥按甯備腑鍖婚櫌') { - this.postData.YeWuXX.YongHuXX.YongHuID = '1400398571877961728'; - this.postData.YeWuXX.YongHuXX.YongHuXM = 'LSZYY'; + if (this.postData.XiaoXiTou.ZuHuMC == "涓芥按甯備腑鍖婚櫌") { + this.postData.YeWuXX.YongHuXX.YongHuID = "1400398571877961728"; + this.postData.YeWuXX.YongHuXX.YongHuXM = "LSZYY"; } query360PatInfo(this.postData).then((res) => { if (res.data.url) { @@ -1114,8 +1127,8 @@ this.cardlist[2].value = response.rows[0].ysf; this.ycvalue = response.rows[0].yc; this.cardlist[3].value = response.rows[0].fssb; - this.cardlist[4].value = response.rows[0].dfs; - this.cardlist[5].value = response.rows[0].yfs2; + this.cardlist[4].value = response.rows[0].dsf; + // this.cardlist[5].value = response.rows[0].yfs2; this.yfsvalue = response.rows[0].yfs; } this.loading = false; @@ -1244,6 +1257,9 @@ sort: 2, searchscope: 2, sendstate: 2, + scopetype: [], + leaveldeptcodes: [], + leavehospitaldistrictcodes: [], }; this.handleQuery(1); }, @@ -1263,6 +1279,15 @@ this.$nextTick((_) => { this.$refs.saveTagInput.$refs.input.focus(); }); + }, + onthatday() { + this.topqueryParams.startSendDateTime = this.getCurrentDate(); + this.topqueryParams.endSendDateTime = this.getCurrentDate(); + this.getList(1); + }, + getCurrentDate() { + const now = new Date(); + return now.toISOString().slice(0, 10); // 鎴彇鍓�10涓瓧绗︼紝鍗� YYYY-MM-DD }, //鑾峰彇澶卞幓鐒︾偣瑙﹀彂 handleInputConfirm() { @@ -1395,6 +1420,7 @@ patid: row.patid, id: row.id, Voicetype: type, + again: 1, }, }); }, @@ -1448,7 +1474,8 @@ this.topqueryParams.pageNum = null; this.topqueryParams.pageSize = null; this.download( - "smartor/serviceSubtask/export", + // "smartor/serviceSubtask/export", + "smartor/serviceSubtask/patItemExport", { ...this.topqueryParams, }, @@ -1559,10 +1586,12 @@ } } ::v-deep.leftvlue .el-card__body { - background: #d0e9fd; + background: #F2F8FF; + color: #324A9B; } ::v-deep.leftvlue .el-card__body:hover { - background: #8dc8f8; + background: #3664D9; + color: #fff; cursor: pointer; /* 榧犳爣鎮诞鏃跺彉涓烘墜褰� */ } ::v-deep.errleftvlue .el-card__body { -- Gitblit v1.9.3