| src/views/followvisit/mzsatisfaction/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/followvisit/zysatisfaction/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/views/sfstatistics/percentage/components/FirstFollowUp.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| 随访通用11.18 (2).zip | 补丁 | 查看 | 原始文档 | blame | 历史 | |
| 随访通用11.18.zip | 补丁 | 查看 | 原始文档 | blame | 历史 | |
| 随访通用11.19.zip | 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/followvisit/mzsatisfaction/index.vue
@@ -64,6 +64,7 @@ clearable placeholder="è¯·éæ©ç¹ä½" style="width: 240px" @change="handlePointLocationChange" > <el-option v-for="item in pointOptions" @@ -1253,6 +1254,8 @@ checkboxlist: [], // ç¹ä½å表ï¼åå¾·é¢åºï¼deptType=3ï¼ pointOptions: [], // ç¹ä½éæ©åå²å¼ï¼ç¨äºâå ¨é¨/å ·ä½ç¹ä½âäºæ¥å¤æï¼ pointPrevLocations: [], // è¡¨åæ ¡éª rules: {}, }; @@ -1405,8 +1408,30 @@ }); }; walk(response && response.data); this.pointOptions = flat; this.pointOptions = [{ label: "å ¨é¨", value: "all" }, ...flat]; // è¿å ¥é¡µé¢é»è®¤æ¥è¯¢å ¨é¨ç¹ä½ this.topqueryParams.pointLocations = ["all"]; this.pointPrevLocations = ["all"]; if (!this.errtype) { this.getList(1); } }); }, // ç¹ä½éæ©ï¼å ¨é¨ä¸å ·ä½ç¹ä½äºæ¥ handlePointLocationChange(val) { const all = "all"; const hasAll = val.includes(all); if (hasAll && val.length > 1) { const prev = this.pointPrevLocations || []; if (prev.includes(all)) { // ä¹åå·²éâå ¨é¨âï¼æ¬æ¬¡æ°å¢å ·ä½ç¹ä½ â 廿âå ¨é¨â this.topqueryParams.pointLocations = val.filter((v) => v !== all); } else { // æ¬æ¬¡æ°å¢âå ¨é¨â â åªä¿çâå ¨é¨â this.topqueryParams.pointLocations = [all]; } } this.pointPrevLocations = [...this.topqueryParams.pointLocations]; }, // ç¹ä½åç§°ï¼å° pointLocation ç¼ç æ å°ä¸ºç¹ä½åç§° @@ -1586,10 +1611,15 @@ // æé æ¥è¯¢/导åºåæ°ï¼éæ©ç¹ä½æ¶ç§å®¤/ç åºä¼ nullï¼å¦åä¿æåå¼ buildQueryParams() { const params = { ...this.topqueryParams }; if ( this.topqueryParams.pointLocations && this.topqueryParams.pointLocations.length > 0 ) { let locations = this.topqueryParams.pointLocations || []; // âå ¨é¨âç¹ä½ï¼å±å¼ä¸ºææå®é ç¹ä½ç¼ç if (locations.includes("all")) { locations = this.pointOptions .filter((p) => p.value !== "all") .map((p) => p.value); } params.pointLocations = locations; if (locations.length > 0) { params.leaveldeptcodes = null; params.leavehospitaldistrictcodes = null; } @@ -1631,8 +1661,9 @@ scopetype: [], leaveldeptcodes: [], leavehospitaldistrictcodes: [], pointLocations: [], pointLocations: ["all"], }; this.pointPrevLocations = ["all"]; this.handleQuery(1); }, handleSelectionChange(rows) { src/views/followvisit/zysatisfaction/index.vue
@@ -87,6 +87,7 @@ clearable placeholder="è¯·éæ©ç¹ä½" style="width: 240px" @change="handlePointLocationChange" > <el-option v-for="item in pointOptions" @@ -1249,6 +1250,8 @@ checkboxlist: [], // ç¹ä½å表ï¼åå¾·é¢åºï¼deptType=3ï¼ pointOptions: [], // ç¹ä½éæ©åå²å¼ï¼ç¨äºâå ¨é¨/å ·ä½ç¹ä½âäºæ¥å¤æï¼ pointPrevLocations: [], // è¡¨åæ ¡éª rules: {}, }; @@ -1426,8 +1429,30 @@ }); }; walk(response && response.data); this.pointOptions = flat; this.pointOptions = [{ label: "å ¨é¨", value: "all" }, ...flat]; // è¿å ¥é¡µé¢é»è®¤æ¥è¯¢å ¨é¨ç¹ä½ this.topqueryParams.pointLocations = ["all"]; this.pointPrevLocations = ["all"]; if (!this.errtype) { this.getList(1); } }); }, // ç¹ä½éæ©ï¼å ¨é¨ä¸å ·ä½ç¹ä½äºæ¥ handlePointLocationChange(val) { const all = "all"; const hasAll = val.includes(all); if (hasAll && val.length > 1) { const prev = this.pointPrevLocations || []; if (prev.includes(all)) { // ä¹åå·²éâå ¨é¨âï¼æ¬æ¬¡æ°å¢å ·ä½ç¹ä½ â 廿âå ¨é¨â this.topqueryParams.pointLocations = val.filter((v) => v !== all); } else { // æ¬æ¬¡æ°å¢âå ¨é¨â â åªä¿çâå ¨é¨â this.topqueryParams.pointLocations = [all]; } } this.pointPrevLocations = [...this.topqueryParams.pointLocations]; }, // ç¹ä½åç§°ï¼å° pointLocation ç¼ç æ å°ä¸ºç¹ä½åç§° @@ -1627,10 +1652,15 @@ // æé æ¥è¯¢/导åºåæ°ï¼éæ©ç¹ä½æ¶ç§å®¤/ç åºä¼ nullï¼å¦åä¿æåå¼ buildQueryParams() { const params = { ...this.topqueryParams }; if ( this.topqueryParams.pointLocations && this.topqueryParams.pointLocations.length > 0 ) { let locations = this.topqueryParams.pointLocations || []; // âå ¨é¨âç¹ä½ï¼å±å¼ä¸ºææå®é ç¹ä½ç¼ç if (locations.includes("all")) { locations = this.pointOptions .filter((p) => p.value !== "all") .map((p) => p.value); } params.pointLocations = locations; if (locations.length > 0) { params.leaveldeptcodes = null; params.leavehospitaldistrictcodes = null; } @@ -1671,8 +1701,9 @@ scopetype: [], leaveldeptcodes: [], leavehospitaldistrictcodes: [], pointLocations: [], pointLocations: ["all"], }; this.pointPrevLocations = ["all"]; this.handleQuery(1); }, /** éç½®æé®æä½ */ @@ -1693,8 +1724,9 @@ scopetype: [], leaveldeptcodes: [], leavehospitaldistrictcodes: [], pointLocations: [], pointLocations: ["all"], }; this.pointPrevLocations = ["all"]; }, handleSelectionChange(rows) { this.selectedRows = rows.map((row) => { src/views/sfstatistics/percentage/components/FirstFollowUp.vue
@@ -1256,6 +1256,14 @@ this.orgname == "第ä¸äººæ°å»é¢å´å±±é¢åº" ); }, // 第ä¸äººæ°å»é¢ä¸ä¸ªé¢åºï¼åæ¶çæ 忶宿/éé访 è®¡ç® isDiyiRenmin() { return ( this.orgname == "第ä¸äººæ°å»é¢æ¹æ»¨é¢åº" || this.orgname == "第ä¸äººæ°å»é¢å´å±±é¢åº" || this.orgname == "第ä¸äººæ°å»é¢åä¸é¢åº" ); }, }, methods: { loadData() { @@ -1380,8 +1388,24 @@ const rate = ((need - timeout) / need) * 100; return (rate < 0 ? 0 : rate).toFixed(2) + "%"; }, // åæ¶çå±ç¤ºææ¡ï¼ç®æ å»é¢å端计ç®ï¼å ¶ä»ç¨å端 rate åæ®µ // 计ç®åæ¶çï¼ç¬¬ä¸äººæ°å»é¢ä¸é¢åºï¼ï¼åæ¶å®æ / éé访 calculateTimelyRateByCompletion(timelyFollowUp, needFollowUp) { const timely = Number(timelyFollowUp) || 0; const need = Number(needFollowUp) || 0; if (need <= 0) { return "0.00%"; } const rate = (timely / need) * 100; return (rate < 0 ? 0 : rate).toFixed(2) + "%"; }, // åæ¶çå±ç¤ºææ¡ï¼ç¬¬ä¸äººæ°å»é¢ä¸é¢åºå端æåæ¶å®æ/éé访ï¼ç®æ å»é¢æ(éé访-è¶ æ¶)/éé访ï¼å ¶ä»ç¨å端 rate åæ®µ getTimelyRateText(row) { if (this.isDiyiRenmin) { return this.calculateTimelyRateByCompletion( row.timelyFollowUp, row.needFollowUp ); } if (this.isTargetHospital) { return this.calculateTimelyRate( row.needFollowUp, @@ -1429,7 +1453,20 @@ sums[index] = "0.00%"; } } else if (column.property === "rate") { if (this.isTargetHospital) { if (this.isDiyiRenmin) { const totalTimely = data.reduce( (sum, item) => sum + (Number(item.timelyFollowUp) || 0), 0 ); const totalNeed = data.reduce( (sum, item) => sum + (Number(item.needFollowUp) || 0), 0 ); sums[index] = this.calculateTimelyRateByCompletion( totalTimely, totalNeed ); } else if (this.isTargetHospital) { const totalNeed = data.reduce( (sum, item) => sum + (Number(item.needFollowUp) || 0), 0 @@ -1524,7 +1561,9 @@ "el-tooltip", { props: { content: this.isTargetHospital content: this.isDiyiRenmin ? "åæ¶ç=忶宿/éé访" : this.isTargetHospital ? "åæ¶ç=(éé访-人工è§å®æ¶é´å 没æè¿çµè¯)/éé访" : "(åºé¢æ¶é´+ä»»å¡å¨æ)å°äºå®ææ¶é´å³ä¸ºè¶ æ¶;(éé访-è¶ æ¶)/éé访", placement: "top", @@ -1612,7 +1651,20 @@ sums[index] = "0.00%"; } } else if (column.property === "rate") { if (this.isTargetHospital) { if (this.isDiyiRenmin) { const totalTimely = data.reduce( (sum, item) => sum + (Number(item.timelyFollowUp) || 0), 0 ); const totalNeed = data.reduce( (sum, item) => sum + (Number(item.needFollowUp) || 0), 0 ); sums[index] = this.calculateTimelyRateByCompletion( totalTimely, totalNeed ); } else if (this.isTargetHospital) { const totalNeed = data.reduce( (sum, item) => sum + (Number(item.needFollowUp) || 0), 0 @@ -2142,9 +2194,21 @@ : "0.00%" ); // åæ¶çï¼ç®æ å»é¢è®¡ç®ï¼å ¶ä»å rate å¹³åï¼ // åæ¶çï¼ç¬¬ä¸äººæ°å»é¢ä¸é¢åºæåæ¶å®æ/éé访ï¼ç®æ å»é¢è®¡ç®ï¼å ¶ä»å rate å¹³åï¼ if (showTimelyRate) { if (graded) { if (this.isDiyiRenmin) { const totalTimely = data.reduce( (s, r) => s + (Number(r.timelyFollowUp) || 0), 0 ); const totalNeed = data.reduce( (s, r) => s + (Number(r.needFollowUp) || 0), 0 ); sums.push( this.calculateTimelyRateByCompletion(totalTimely, totalNeed) ); } else if (graded) { const totalNeed = data.reduce( (s, r) => s + (Number(r.needFollowUp) || 0), 0 @@ -2661,8 +2725,17 @@ summaries[followUpRateIdx] = (avgFollowUpRate * 100).toFixed(2) + "%"; } // åæ¶ç计ç®ï¼ç®æ å»é¢ (éé访-äººå·¥è¶ æ¶)/éé访ï¼å ¶ä»åå端 rate å¹³å if (graded) { // åæ¶ç计ç®ï¼ç¬¬ä¸äººæ°å»é¢ä¸é¢åºæåæ¶å®æ/éé访ï¼ç®æ å»é¢ (éé访-äººå·¥è¶ æ¶)/éé访ï¼å ¶ä»åå端 rate å¹³å if (this.isDiyiRenmin) { const totalTimely = this.tableData.reduce( (sum, item) => sum + (Number(item.timelyFollowUp) || 0), 0 ); summaries[timelyRateIdx] = this.calculateTimelyRateByCompletion( totalTimely, totalNeed ); } else if (graded) { const totalTimeout = this.tableData.reduce( (sum, item) => sum + (Number(item.manualCallTimeout) || 0), 0 Ëæ·ÃͨÓÃ11.18 (2).zipBinary files differ
Ëæ·ÃͨÓÃ11.18.zipBinary files differ
Ëæ·ÃͨÓÃ11.19.zipBinary files differ