| | |
| | | label-width="100px" |
| | | class="query-form" |
| | | > |
| | | <el-form-item label="满æåº¦ç±»å" prop="satisfactionScope"> |
| | | <el-form-item |
| | | v-if="isTongdeOrg" |
| | | label="满æåº¦ç±»å" |
| | | prop="satisfactionScope" |
| | | > |
| | | <el-select |
| | | v-model="satisfactionScope" |
| | | placeholder="é»è®¤å¨é¢" |
| | |
| | | |
| | | created() { |
| | | this.orgname = localStorage.getItem("orgname"); |
| | | |
| | | this.queryParams.serviceType = this.isTongdeOrg ? [6] : [2]; |
| | | this.initData(); |
| | | // 顶鍿£è
表å / é®é¢è¯¦æ
åæ tabï¼é»è®¤æå½åç»è®¡å£å¾å è½½ä¸æ¬¡ |
| | | this.maybeRefreshCompletedGroups(); |
| | |
| | | console.log(res,'åå§'); |
| | | |
| | | if (res.code == 200) { |
| | | console.log(res.msg); |
| | | console.log(res.msg,'res.msg'); |
| | | // return |
| | | window.location.href = res.msg; |
| | | console.log("windowå"); |
| | | } else { |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item |
| | | v-if="isTongdeCampus" |
| | | label="æ¥é´æ è®°" |
| | | prop="importanceFlagCode" |
| | | > |
| | | <el-input |
| | | v-model="topqueryParams.importanceFlagCode" |
| | | placeholder="请è¾å
¥æ¥é´æ è®°" |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item> |
| | | <el-button |
| | |
| | | key="currentPreachform" |
| | | prop="currentPreachform" |
| | | width="160" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="isTongdeCampus" |
| | | label="æ¥é´æ è®°" |
| | | align="center" |
| | | key="importanceFlagCode" |
| | | prop="importanceFlagCode" |
| | | width="120" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | </el-table-column> |
| | |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | currentPreachforms: [], |
| | | importanceFlagCode: "", |
| | | }, |
| | | orgname: "", |
| | | propss: { multiple: true }, |
| | |
| | | // â
ç¬¬åæ¥ï¼å¤çå
¶ä»æ°æ® |
| | | if (refresh) { |
| | | this.yfsvalue = response.rows[0].yfs; |
| | | // é¡¶é¨å¡ççæ°åä¸è·ãéè®¿ç¶æ/å¼å¸¸ãèµ°ï¼åç¬æ¥ä¸æ¬¡å»æç¶ææ¡ä»¶çç»è®¡ï¼ |
| | | // å¦åçäºãå¾
é访ãåãå·²å®æãæ°¸è¿æ¯ 0ï¼ççåç®éäº |
| | | this.refreshCardCounts(params); |
| | | if (this.isTongdeOrg) { |
| | | // çç«åå¾·/ååï¼é¡¶é¨å¡çæ°åä¸è·ãéè®¿ç¶æ/å¼å¸¸ãèµ°ï¼åç¬æ¥ä¸æ¬¡å»æç¶ææ¡ä»¶çç»è®¡ |
| | | this.refreshCardCounts(params); |
| | | } else { |
| | | // å
¶ä»å»é¢ï¼é¡¶é¨æ°æ®è·éç鿡件åå¨ï¼å次æ¥è¯¢å³å¯ |
| | | this.setCardValues(response.rows[0]); |
| | | } |
| | | } |
| | | |
| | | // â
ç¬¬äºæ¥ï¼å¤ç preachform çå
¶ä»æ°æ® |
| | |
| | | if (item.endtime) { |
| | | item.endDay = this.daysBetween(item.endtime); |
| | | } |
| | | console.log(item,'3'); |
| | | console.log(item, "3"); |
| | | |
| | | if (item.preachform) { |
| | | item.preachformson = item.preachform; |
| | |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | currentPreachforms: [], |
| | | importanceFlagCode: "", |
| | | }; |
| | | this.handleQuery(1); |
| | | }, |
| | |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | currentPreachforms: [], |
| | | importanceFlagCode: "", |
| | | }; |
| | | }, |
| | | handleSelectionChange(rows) { |
| | |
| | | // é¡¶é¨ç»è®¡å¡çç¹å»ï¼æå¯¹åºç鿡件ä¸å¸¦å°ä¸é¢çåè¡¨ï¼æ°å¼ä¸º 0 çå¡çåæ ·å¯ç¹ï¼ |
| | | // é¡¶é¨å¡çç»è®¡ï¼å»æãéè®¿ç¶æ / å¼å¸¸ãæ¡ä»¶ååç»è®¡ï¼ |
| | | // è¿æ ·å¡çæ°ååªè·æ¥æãç§å®¤/ç
åºçæ¡ä»¶èµ°ï¼ä¸ä¼å 为çäºãå¾
é访ãå°±æã已宿ãç®æ 0 |
| | | // æä¸æ¬¡æ¥è¯¢è¿åçç»è®¡è¡åå
¥é¡¶é¨å¡ç |
| | | setCardValues(row) { |
| | | if (!row) return; |
| | | this.cardlist[0].value = Number(row.wxsf || 0) + Number(row.xsf || 0); |
| | | this.cardlist[1].value = Number(row.wxsf) || 0; |
| | | this.cardlist[2].value = Number(row.xsf) || 0; |
| | | this.cardlist[3].value = Number(row.dsf) || 0; |
| | | this.cardlist[4].value = Number(row.fssb) || 0; |
| | | this.cardlist[5].value = Number(row.ywc) || 0; |
| | | this.ycvalue = Number(row.yc) || 0; |
| | | this.jgvalue = Number(row.jg) || 0; |
| | | }, |
| | | async refreshCardCounts(baseQuery) { |
| | | const query = { |
| | | ...(baseQuery || this.topqueryParams), |
| | |
| | | if (!res || !res.rows || !res.rows.length) { |
| | | return; |
| | | } |
| | | this.cardlist[0].value = Number(row.wxsf || 0) + Number(row.xsf || 0); |
| | | this.cardlist[1].value = Number(row.wxsf) || 0; |
| | | this.cardlist[2].value = Number(row.xsf) || 0; |
| | | this.cardlist[3].value = Number(row.dsf) || 0; |
| | | this.cardlist[4].value = Number(row.fssb) || 0; |
| | | this.cardlist[5].value = Number(row.ywc) || 0; |
| | | this.ycvalue = Number(row.yc) || 0; |
| | | this.jgvalue = Number(row.jg) || 0; |
| | | this.setCardValues(row); |
| | | } catch (e) { |
| | | console.warn("å·æ°é¡¶é¨å¡çç»è®¡å¤±è´¥", e); |
| | | } |
| | |
| | | @change="handleChange" |
| | | ></el-cascader> |
| | | </el-form-item> |
| | | <el-form-item label="ç¹ä½" prop="pointLocations" v-if="isTongdeCampus"> |
| | | <el-select |
| | | v-model="topqueryParams.pointLocations" |
| | | multiple |
| | | filterable |
| | | clearable |
| | | placeholder="è¯·éæ©ç¹ä½" |
| | | style="width: 240px" |
| | | > |
| | | <el-option |
| | | v-for="item in pointOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <!-- <el-form-item label="æå¡ç¶æ" prop="status"> |
| | | <el-select |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="isTongdeCampus" |
| | | label="ç¹ä½ç¼ç " |
| | | label="ç¹ä½" |
| | | width="120" |
| | | align="center" |
| | | key="pointLocation" |
| | | prop="pointLocation" |
| | | /> |
| | | > |
| | | <template slot-scope="scope"> |
| | | {{ pointNameOf(scope.row) }} |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | label="å¤ç人å" |
| | |
| | | updateUser, |
| | | resetUserPwd, |
| | | changeUserStatus, |
| | | deptTreeSelect, |
| | | } from "@/api/system/user"; |
| | | import { |
| | | getTaskservelist, |
| | |
| | | scopetype: [], |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | pointLocations: [], |
| | | }, |
| | | propss: { multiple: true }, |
| | | options: [], |
| | |
| | | leavehospitaldistrictcode: "", |
| | | serviceState: [], |
| | | checkboxlist: [], |
| | | // ç¹ä½å表ï¼åå¾·é¢åºï¼deptType=3ï¼ |
| | | pointOptions: [], |
| | | // è¡¨åæ ¡éª |
| | | rules: {}, |
| | | }; |
| | |
| | | } else { |
| | | this.getList(1); |
| | | } |
| | | this.getPointOptions(); |
| | | this.getConfigKey("sys.user.initPassword").then((response) => { |
| | | this.initPassword = response.msg; |
| | | }); |
| | |
| | | ); |
| | | console.log(this.topqueryParams.leavehospitaldistrictcodes, "11"); |
| | | } |
| | | |
| | | const queryParams = this.buildQueryParams(); |
| | | |
| | | this.loading = true; |
| | | if ( |
| | | this.topqueryParams.leavehospitaldistrictcodes[0] && |
| | | this.topqueryParams.leaveldeptcodes[0] |
| | | queryParams.leavehospitaldistrictcodes && |
| | | queryParams.leavehospitaldistrictcodes[0] && |
| | | queryParams.leaveldeptcodes && |
| | | queryParams.leaveldeptcodes[0] |
| | | ) { |
| | | this.topqueryParams.deptOrDistrict = 2; |
| | | queryParams.deptOrDistrict = 2; |
| | | } else { |
| | | this.topqueryParams.deptOrDistrict = 1; |
| | | queryParams.deptOrDistrict = 1; |
| | | } |
| | | |
| | | if (!this.followupAuthority()) { |
| | | this.$message.warning("æªé
ç½®ç§å®¤/ç
åºç¸å
³æéä¸å¯æ¥è¯¢"); |
| | | return Promise.reject(new Error("æ æéæ¥è¯¢")); |
| | | } |
| | | getTaskservelist(this.topqueryParams).then((response) => { |
| | | getTaskservelist(queryParams).then((response) => { |
| | | this.userList = response.rows[0].serviceSubtaskList; |
| | | this.total = response.total; |
| | | if (refresh) { |
| | |
| | | getCurrentDate() { |
| | | const now = new Date(); |
| | | return now.toISOString().slice(0, 10); // æªåå10个å符ï¼å³ YYYY-MM-DD |
| | | }, |
| | | |
| | | // ç¹ä½å表ï¼åå¾·é¢åºï¼deptType=3ï¼ |
| | | getPointOptions() { |
| | | if (!this.isTongdeCampus) return; |
| | | deptTreeSelect(3).then((response) => { |
| | | const flat = []; |
| | | const walk = (nodes) => { |
| | | (Array.isArray(nodes) ? nodes : []).forEach((n) => { |
| | | if (n.label && n.deptCode) { |
| | | flat.push({ label: n.label, value: String(n.deptCode) }); |
| | | } |
| | | if (n.children && n.children.length) walk(n.children); |
| | | }); |
| | | }; |
| | | walk(response && response.data); |
| | | this.pointOptions = flat; |
| | | }); |
| | | }, |
| | | |
| | | // ç¹ä½åç§°ï¼å° pointLocation ç¼ç æ å°ä¸ºç¹ä½åç§° |
| | | pointNameOf(row) { |
| | | if ( |
| | | !row || |
| | | row.pointLocation === undefined || |
| | | row.pointLocation === null || |
| | | row.pointLocation === "" |
| | | ) { |
| | | return ""; |
| | | } |
| | | const found = this.pointOptions.find( |
| | | (p) => String(p.value) === String(row.pointLocation) |
| | | ); |
| | | return found ? found.label : row.pointLocation; |
| | | }, |
| | | buidegetTasklist(type) { |
| | | // ç¨æ·æé䏿æå¾
é访任å¡ï¼ä¼ éå
¨é¨ç§å®¤åç
åº |
| | |
| | | |
| | | this.getList(refresh); |
| | | }, |
| | | // æé æ¥è¯¢/导åºåæ°ï¼éæ©ç¹ä½æ¶ç§å®¤/ç
åºä¼ nullï¼å¦åä¿æåå¼ |
| | | buildQueryParams() { |
| | | const params = { ...this.topqueryParams }; |
| | | if ( |
| | | this.topqueryParams.pointLocations && |
| | | this.topqueryParams.pointLocations.length > 0 |
| | | ) { |
| | | params.leaveldeptcodes = null; |
| | | params.leavehospitaldistrictcodes = null; |
| | | } |
| | | return params; |
| | | }, |
| | | // æ£è
èå´å¤ç |
| | | handleChange(value) { |
| | | let type = value[0]; |
| | |
| | | scopetype: [], |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | pointLocations: [], |
| | | }; |
| | | this.handleQuery(1); |
| | | }, |
| | |
| | | this.download( |
| | | "smartor/serviceSubtask/patItemExport", |
| | | { |
| | | ...this.topqueryParams, |
| | | ...this.buildQueryParams(), |
| | | }, |
| | | `user_${new Date().getTime()}.xlsx` |
| | | ).finally(() => { |
| | |
| | | @change="handleChange" |
| | | ></el-cascader> |
| | | </el-form-item> |
| | | <el-form-item label="ç¹ä½" prop="pointLocations" v-if="isTongdeCampus"> |
| | | <el-select |
| | | v-model="topqueryParams.pointLocations" |
| | | multiple |
| | | filterable |
| | | clearable |
| | | placeholder="è¯·éæ©ç¹ä½" |
| | | style="width: 240px" |
| | | > |
| | | <el-option |
| | | v-for="item in pointOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <!-- <el-form-item label="æå¡ç¶æ" prop="status"> |
| | | <el-select |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="isTongdeCampus" |
| | | label="ç¹ä½ç¼ç " |
| | | label="ç¹ä½" |
| | | width="120" |
| | | align="center" |
| | | key="pointLocation" |
| | | prop="pointLocation" |
| | | /> |
| | | > |
| | | <template slot-scope="scope"> |
| | | {{ pointNameOf(scope.row) }} |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | label="å¤ç人å" |
| | |
| | | updateUser, |
| | | resetUserPwd, |
| | | changeUserStatus, |
| | | deptTreeSelect, |
| | | } from "@/api/system/user"; |
| | | import { |
| | | getTaskservelist, |
| | |
| | | scopetype: [], |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | pointLocations: [], |
| | | }, |
| | | propss: { multiple: true }, |
| | | options: [], |
| | |
| | | leavehospitaldistrictcode: "", |
| | | serviceState: [], |
| | | checkboxlist: [], |
| | | // ç¹ä½å表ï¼åå¾·é¢åºï¼deptType=3ï¼ |
| | | pointOptions: [], |
| | | // è¡¨åæ ¡éª |
| | | rules: {}, |
| | | }; |
| | |
| | | } else { |
| | | this.getList(1); |
| | | } |
| | | this.getPointOptions(); |
| | | this.getConfigKey("sys.user.initPassword").then((response) => { |
| | | this.initPassword = response.msg; |
| | | }); |
| | |
| | | ); |
| | | console.log(this.topqueryParams.leavehospitaldistrictcodes, "11"); |
| | | } |
| | | |
| | | const queryParams = this.buildQueryParams(); |
| | | |
| | | this.loading = true; |
| | | if ( |
| | | this.topqueryParams.leavehospitaldistrictcodes[0] && |
| | | this.topqueryParams.leaveldeptcodes[0] |
| | | queryParams.leavehospitaldistrictcodes && |
| | | queryParams.leavehospitaldistrictcodes[0] && |
| | | queryParams.leaveldeptcodes && |
| | | queryParams.leaveldeptcodes[0] |
| | | ) { |
| | | this.topqueryParams.deptOrDistrict = 2; |
| | | queryParams.deptOrDistrict = 2; |
| | | } else { |
| | | this.topqueryParams.deptOrDistrict = 1; |
| | | queryParams.deptOrDistrict = 1; |
| | | } |
| | | |
| | | if (!this.followupAuthority()) { |
| | | this.$message.warning("æªé
ç½®ç§å®¤/ç
åºç¸å
³æéä¸å¯æ¥è¯¢"); |
| | | return Promise.reject(new Error("æ æéæ¥è¯¢")); |
| | | } |
| | | getTaskservelist(this.buildScopePayload(this.topqueryParams)).then((response) => { |
| | | getTaskservelist(this.buildScopePayload(queryParams)).then((response) => { |
| | | this.userList = response.rows[0].serviceSubtaskList; |
| | | this.total = response.total; |
| | | if (refresh) { |
| | |
| | | buildScopePayload(params) { |
| | | const payload = { ...params }; |
| | | if (this.satisfactionScope === "hospital") { |
| | | payload.deptcodes = params.leaveldeptcodes || []; |
| | | payload.hospitaldistrictcodes = params.leavehospitaldistrictcodes || []; |
| | | // éç¹ä½æ¶ leaveldeptcodes/leavehospitaldistrictcodes 为 nullï¼éåæ ·éä¼ ï¼ä¸è½ || [] å
æç©ºæ°ç» |
| | | payload.deptcodes = params.leaveldeptcodes; |
| | | payload.hospitaldistrictcodes = params.leavehospitaldistrictcodes; |
| | | delete payload.leaveldeptcodes; |
| | | delete payload.leavehospitaldistrictcodes; |
| | | } |
| | |
| | | ? row.hospitaldistrictname || row.leavehospitaldistrictname |
| | | : row.leavehospitaldistrictname || row.hospitaldistrictname) || "-" |
| | | ); |
| | | }, |
| | | |
| | | // ç¹ä½å表ï¼åå¾·é¢åºï¼deptType=3ï¼ |
| | | getPointOptions() { |
| | | if (!this.isTongdeCampus) return; |
| | | deptTreeSelect(3).then((response) => { |
| | | const flat = []; |
| | | const walk = (nodes) => { |
| | | (Array.isArray(nodes) ? nodes : []).forEach((n) => { |
| | | if (n.label && n.deptCode) { |
| | | flat.push({ label: n.label, value: String(n.deptCode) }); |
| | | } |
| | | if (n.children && n.children.length) walk(n.children); |
| | | }); |
| | | }; |
| | | walk(response && response.data); |
| | | this.pointOptions = flat; |
| | | }); |
| | | }, |
| | | |
| | | // ç¹ä½åç§°ï¼å° pointLocation ç¼ç æ å°ä¸ºç¹ä½åç§° |
| | | pointNameOf(row) { |
| | | if ( |
| | | !row || |
| | | row.pointLocation === undefined || |
| | | row.pointLocation === null || |
| | | row.pointLocation === "" |
| | | ) { |
| | | return ""; |
| | | } |
| | | const found = this.pointOptions.find( |
| | | (p) => String(p.value) === String(row.pointLocation) |
| | | ); |
| | | return found ? found.label : row.pointLocation; |
| | | }, |
| | | |
| | | // æå¡ç¶æåæ´å¤ç |
| | |
| | | this.topqueryParams.finishtimeEnd = this.dateRangefs[1]; |
| | | this.getList(refresh); |
| | | }, |
| | | // æé æ¥è¯¢/导åºåæ°ï¼éæ©ç¹ä½æ¶ç§å®¤/ç
åºä¼ nullï¼å¦åä¿æåå¼ |
| | | buildQueryParams() { |
| | | const params = { ...this.topqueryParams }; |
| | | if ( |
| | | this.topqueryParams.pointLocations && |
| | | this.topqueryParams.pointLocations.length > 0 |
| | | ) { |
| | | params.leaveldeptcodes = null; |
| | | params.leavehospitaldistrictcodes = null; |
| | | } |
| | | return params; |
| | | }, |
| | | // æ£è
èå´å¤ç |
| | | handleChange(value) { |
| | | let type = value[0]; |
| | |
| | | scopetype: [], |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | pointLocations: [], |
| | | }; |
| | | this.handleQuery(1); |
| | | }, |
| | |
| | | scopetype: [], |
| | | leaveldeptcodes: [], |
| | | leavehospitaldistrictcodes: [], |
| | | pointLocations: [], |
| | | }; |
| | | }, |
| | | handleSelectionChange(rows) { |
| | |
| | | this.download( |
| | | "smartor/serviceSubtask/patItemExport", |
| | | { |
| | | ...this.buildScopePayload(this.topqueryParams), |
| | | ...this.buildScopePayload(this.buildQueryParams()), |
| | | }, |
| | | `user_${new Date().getTime()}.xlsx` |
| | | ).finally(() => { |
| | |
| | | </el-input> |
| | | </el-form-item> |
| | | <!-- 丽===================水 --> |
| | | <el-form-item prop="campusid"> |
| | | <el-form-item prop="orgid"> |
| | | <el-select |
| | | style="width: 100%" |
| | | v-model="loginForm.campusid" |
| | | v-model="loginForm.orgid" |
| | | placeholder="è¯·éæ©é¢åº" |
| | | > |
| | | <el-option |
| | | v-for="item in options" |
| | | :label="item.label" |
| | | :value="item.campusid" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | <i slot="prefix" class="el-icon-mobile"></i> |
| | |
| | | password: "", |
| | | rememberMe: false, |
| | | code: "", |
| | | orgid: "H41010500003", |
| | | orgid: "", |
| | | }, |
| | | options: [], |
| | | loginRules: { |
| | |
| | | password: [ |
| | | { required: true, trigger: "blur", message: "请è¾å
¥æ¨çå¯ç " }, |
| | | ], |
| | | campusid: [{ required: true, trigger: "blur", message: "è¯·éæ©é¢åº" }], |
| | | orgid: [{ required: true, trigger: "change", message: "è¯·éæ©é¢åº" }], |
| | | }, |
| | | loading: false, |
| | | // éªè¯ç å¼å
³ |
| | |
| | | // this.loginForm.orgid = localStorage.getItem('orgid'); |
| | | // } |
| | | }, |
| | | computed: { |
| | | computed: { |
| | | isAdmin() { |
| | | const roles = this.$store.getters.roles || []; |
| | | return roles.includes("mydstaff"); |
| | | } |
| | | }, |
| | | }, |
| | | methods: { |
| | | getCode() { |
| | |
| | | getorganization() { |
| | | getorganization({ pageSize: 30 }).then((res) => { |
| | | if (res.code == 200) { |
| | | this.options = res.rows.map((item) => ({ |
| | | value: item.orgid, |
| | | label: item.organizationName, |
| | | campusid: item.organizationID, |
| | | })); |
| | | // åå¾·ç³»å / ååç³»å / æµæ±çæ°åå»é¢ï¼ç¨ campusid(organizationID) ä½ä¸æé®å¼ï¼ |
| | | // å
¶ä½ï¼ä¸½æ°´åºå organizationID å
¨ä¸º "1" ä¸å¯ä¸ï¼ï¼ç¨ orgid ä½ä¸æé®å¼ |
| | | const campusidKeywords = ["åå¾·", "åå", "æµæ±çæ°åå»é¢"]; |
| | | this.options = (res.rows || []).map((item) => { |
| | | console.log(item.organizationName); |
| | | |
| | | const name = item.organizationName || ""; |
| | | const useCampusid = campusidKeywords.some((kw) => |
| | | name.includes(kw) |
| | | ); |
| | | return { |
| | | value: String(useCampusid ? item.organizationID : item.orgid), |
| | | label: name, |
| | | campusid: item.organizationID, |
| | | orgid: item.orgid, |
| | | }; |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | |
| | | Cookies.remove("rememberMe"); |
| | | } |
| | | |
| | | // å¨æè®¾ç½® campusid åæ° |
| | | // é®å¼è§åï¼ä¸½æ°´åºåç¨ orgidï¼organizationID/campusid å为 "1" ä¸å¯ä¸ï¼ï¼ |
| | | // åå¾·/åå/æµæ±çæ°åå»é¢çåºåç¨ campusid(organizationID) ä½ä¸æé®å¼ |
| | | const selectedOrg = this.options.find( |
| | | (item) => item.campusid === this.loginForm.campusid |
| | | (item) => String(item.value) === String(this.loginForm.orgid) |
| | | ); |
| | | this.loginForm.campusid = selectedOrg.campusid || 1; |
| | | this.loginForm.orgid = selectedOrg.value || 1; |
| | | this.loginForm.orgname = selectedOrg.label || ""; |
| | | if (selectedOrg) { |
| | | this.loginForm.campusid = selectedOrg.campusid; |
| | | this.loginForm.orgid = selectedOrg.orgid; |
| | | this.loginForm.orgname = selectedOrg.label; |
| | | } |
| | | // å¸ä¸å¤ç----------------- |
| | | // if (selectedOrg) { |
| | | // if (selectedOrg.label.includes("æ¹æ»¨")) { |
| | |
| | | } else if (this.isAdmin) { |
| | | console.log(1); |
| | | |
| | | this.$router |
| | | this.$router |
| | | .push({ path: "/Intelligentcenter/dispose" }) |
| | | .catch(() => {}); |
| | | } else { |
| | |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | templateid: this.selectedTask.templateid, |
| | | libtemplateid: this.selectedTask.libtemplateid, |
| | | sendstate: 2, // åéç¶æ |
| | | continueFlag: 1, // å»¶ç»æ¤çæ å¿ï¼å¨é¢æ£è
ï¼ |
| | | continueFlag: 2, // å»¶ç»æ¤çæ å¿ï¼å¨é¢æ£è
ï¼ |
| | | hospType: 6, // æ£è
ç±»åï¼6=ä½é¢ |
| | | ...patient, |
| | | sendname: patient.patname, |
| | | // å¨é¢æ£è
使ç¨å½åæ¶é´ä½ä¸ºä»»å¡å¼å§æ¶é´ |
| | |
| | | libtemplateid: this.selectedTask.libtemplateid, |
| | | sendstate: 2, |
| | | continueFlag: 2, |
| | | hospType: 2, // æ£è
ç±»åï¼2=åºé¢ |
| | | ...patient, |
| | | sendname: patient.patname, |
| | | starttime: patient.starttime ? patient.starttime + " 00:00:00" : "", |
| | |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item |
| | | <!-- <el-form-item |
| | | label="ç¹ä½ç¼ç " |
| | | v-if=" |
| | | isTongdeCampus && (serviceType == 6 || serviceType == 14) |
| | | " |
| | | > |
| | | <el-input |
| | | style="width: 220px" |
| | | <el-select |
| | | v-model="form.pointLocation" |
| | | placeholder="请è¾å
¥ç¹ä½ç¼ç " |
| | | /> |
| | | </el-form-item> |
| | | style="width: 220px" |
| | | clearable |
| | | filterable |
| | | placeholder="è¯·éæ©ç¹ä½" |
| | | > |
| | | <el-option |
| | | v-for="item in pointOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> --> |
| | | |
| | | <el-form-item label="æå¡å½¢å¼"> |
| | | <SortCheckbox |
| | |
| | | >è¯åå
³è</el-radio |
| | | > |
| | | <el-radio label="5">ä»»å¡ç»</el-radio> |
| | | <el-radio label="7" v-if="isTongdeCampus&& (serviceType == 6 || serviceType == 14)">ç¹ä½å
³è</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | |
| | | <!-- ç¹ä½å
³è --> |
| | | <el-row v-if="form.appltype == 7"> |
| | | <el-form-item label="å
³èç¹ä½" prop="pointLocation"> |
| | | <el-select |
| | | v-model="form.pointLocation" |
| | | style="width: 400px" |
| | | clearable |
| | | filterable |
| | | placeholder="è¯·éæ©ç¹ä½" |
| | | > |
| | | <el-option |
| | | v-for="item in pointOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-row> |
| | | |
| | | <!-- è¯åå
³è --> |
| | | <el-row v-if="form.appltype == 6"> |
| | |
| | | } from "@/api/AiCentre/index"; |
| | | import { listMedication } from "@/api/knowledge/drug"; |
| | | import { getIvrtask } from "@/api/smartor/ivrtask"; |
| | | import { deptTreeSelect } from "@/api/system/user"; |
| | | import OptionalForm from "@/components/OptionalForm"; |
| | | import SFtable from "@/components/SFtable"; |
| | | import SortCheckbox from "@/components/SortCheckbox"; |
| | |
| | | queryParamsdept: {}, |
| | | quote: false, |
| | | serviceType: null, |
| | | // å¯éç¹ä½ï¼åå¾·é¢åºï¼deptType=3ï¼ |
| | | pointOptions: [], |
| | | // 忬¡é访å
³èä»»å¡ï¼ç¼äºå¿äººæ°å»é¢ï¼ |
| | | nextTaskDialogVisible: false, |
| | | nextTaskLoading: false, |
| | |
| | | this.getillnesslist(); |
| | | this.Getdetails(); |
| | | this.getQtemplateclassify(); |
| | | this.getPointOptions(); |
| | | }, |
| | | activated() { |
| | | if (this.id != this.$route.query.id) { |
| | |
| | | }, |
| | | |
| | | // ---------- æ°æ®å è½½ ---------- |
| | | getPointOptions() { |
| | | // ä»
åå¾·é¢åºï¼ç¹ä½ä¸æï¼deptType=3ï¼ |
| | | if (!this.isTongdeCampus) return; |
| | | deptTreeSelect(3).then((response) => { |
| | | const flat = []; |
| | | const walk = (nodes) => { |
| | | (Array.isArray(nodes) ? nodes : []).forEach((n) => { |
| | | if (n.label && n.deptCode) { |
| | | flat.push({ label: n.label, value: String(n.deptCode) }); |
| | | } |
| | | if (n.children && n.children.length) walk(n.children); |
| | | }); |
| | | }; |
| | | walk(response && response.data); |
| | | this.pointOptions = flat; |
| | | }); |
| | | }, |
| | | Acquisitiontype() { |
| | | let queryParams = { |
| | | pageNum: this.topqueryParams.pageNum, |
| | |
| | | this.leavehospitaldistrictcodes = []; |
| | | this.illnesscodes = []; |
| | | this.form.oplevelcode = null; |
| | | } else if (this.form.appltype == 7) { |
| | | this.deptcodesWards = []; |
| | | this.leavehospitaldistrictcodes = []; |
| | | this.illnesscodes = []; |
| | | this.form.oplevelcode = null; |
| | | this.medicalCodes = []; |
| | | } |
| | | |
| | | // æå¡å½¢å¼æ ¡éª |
| | |
| | | this.diagglist[0] || |
| | | this.form.oplevelcode || |
| | | this.medicalCodes[0] || |
| | | this.form.pointLocation || |
| | | this.form.longTask == 2 || |
| | | this.serviceType == 3 || |
| | | this.form.appltype == 5; |
| | |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="ç¹ä½ç¼ç " v-if="isTongdeCampus&& (serviceType == 6 || serviceType == 14)"> |
| | | <el-input |
| | | style="width: 220px" |
| | | <!-- <el-form-item label="ç¹ä½ç¼ç " v-if="isTongdeCampus&& (serviceType == 6 || serviceType == 14)"> |
| | | <el-select |
| | | v-model="form.pointLocation" |
| | | placeholder="请è¾å
¥ç¹ä½ç¼ç " |
| | | /> |
| | | </el-form-item> |
| | | style="width: 220px" |
| | | clearable |
| | | filterable |
| | | placeholder="è¯·éæ©ç¹ä½" |
| | | > |
| | | <el-option |
| | | v-for="item in pointOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> --> |
| | | |
| | | <el-form-item label="æå¡å½¢å¼"> |
| | | <SortCheckbox |
| | |
| | | <el-radio label="4">ææ¯å
³è</el-radio> |
| | | <el-radio label="5">ä»»å¡ç»</el-radio> |
| | | <el-radio label="6">è¯åå
³è</el-radio> |
| | | <el-radio label="7"v-if="isTongdeCampus&& (serviceType == 6 || serviceType == 14)">ç¹ä½å
³è</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | |
| | | <!-- ç¹ä½å
³è --> |
| | | <el-row v-if="form.appltype == 7"> |
| | | <el-form-item label="å
³èç¹ä½" prop="pointLocation"> |
| | | <el-select |
| | | v-model="form.pointLocation" |
| | | style="width: 400px" |
| | | clearable |
| | | filterable |
| | | placeholder="è¯·éæ©ç¹ä½" |
| | | > |
| | | <el-option |
| | | v-for="item in pointOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-row> |
| | | |
| | | <!-- è¯åå
³è --> |
| | | <el-row v-if="form.appltype == 6"> |
| | |
| | | belongDepts: [], |
| | | quote: false, |
| | | serviceType: null, |
| | | // å¯éç¹ä½ï¼åå¾·é¢åºï¼deptType=3ï¼ |
| | | pointOptions: [], |
| | | // 忬¡é访å
³èä»»å¡ï¼ç¼äºå¿äººæ°å»é¢ï¼ |
| | | orgname: localStorage.getItem("orgname"), |
| | | nextTaskDialogVisible: false, |
| | |
| | | this.getillnesslist(); |
| | | this.Getdetails(); |
| | | this.getFollowupclassify(); |
| | | this.getPointOptions(); |
| | | }, |
| | | activated() { |
| | | if (this.id != this.$route.query.id) { |
| | |
| | | }, |
| | | |
| | | // ---------- æ°æ®å è½½ ---------- |
| | | getPointOptions() { |
| | | // ä»
åå¾·é¢åºï¼ç¹ä½ä¸æï¼deptType=3ï¼ |
| | | if (!this.isTongdeCampus) return; |
| | | deptTreeSelect(3).then((response) => { |
| | | const flat = []; |
| | | const walk = (nodes) => { |
| | | (Array.isArray(nodes) ? nodes : []).forEach((n) => { |
| | | if (n.label && n.deptCode) { |
| | | flat.push({ label: n.label, value: String(n.deptCode) }); |
| | | } |
| | | if (n.children && n.children.length) walk(n.children); |
| | | }); |
| | | }; |
| | | walk(response && response.data); |
| | | this.pointOptions = flat; |
| | | }); |
| | | }, |
| | | Acquisitiontype() { |
| | | let queryParams = { |
| | | pageNum: this.topqueryParams.pageNum, |
| | |
| | | this.leavehospitaldistrictcodes = []; |
| | | this.illnesscodes = []; |
| | | this.operationcodes = []; |
| | | } else if (this.form.appltype == 7) { |
| | | this.deptcodesWards = []; |
| | | this.leavehospitaldistrictcodes = []; |
| | | this.illnesscodes = []; |
| | | this.operationcodes = []; |
| | | this.medicalCodes = []; |
| | | } |
| | | |
| | | // æå¡å½¢å¼æ ¡éª |
| | |
| | | this.diagglist[0] || |
| | | this.operationcodes[0] || |
| | | this.medicalCodes[0] || |
| | | this.form.pointLocation || |
| | | this.form.longTask == 2 || |
| | | this.serviceType == 3 || |
| | | this.form.appltype == 5; // ä»»å¡ç»è·³è¿å¼ºå¶å
³è |
| | |
| | | }; |
| | | |
| | | // æ é¢è¡ |
| | | worksheet.mergeCells(1, 1, 1, 20); |
| | | worksheet.mergeCells(1, 1, 1, 26); |
| | | worksheet.getCell( |
| | | 1, |
| | | 1 |
| | |
| | | worksheet.getCell(3, col).style = headerStyle; |
| | | }); |
| | | |
| | | // æ°å¢è®¡ç®ææ |
| | | worksheet.mergeCells(2, 16, 3, 16); |
| | | worksheet.getCell(2, 16).value = "é访ç"; |
| | | // é访æ
åµå¤§åï¼æ£å¸¸è¯é³/ææ¥ææè®¿/é¢è®¿ææ¥è¯/微信/çµè¯ä¸æ£ç¡®/å
¶ä»ï¼ |
| | | worksheet.mergeCells(2, 16, 2, 21); |
| | | worksheet.getCell(2, 16).value = "é访æ
åµ"; |
| | | worksheet.getCell(2, 16).style = headerStyle; |
| | | worksheet.mergeCells(2, 17, 3, 17); |
| | | worksheet.getCell(2, 17).value = "æ¨éç"; |
| | | worksheet.getCell(2, 17).style = headerStyle; |
| | | const situationCols = [ |
| | | "æ£å¸¸è¯é³", |
| | | "æ£è
ææ¥ææè®¿", |
| | | "é¢è®¿æè
æ¥è¯", |
| | | "微信é访", |
| | | "é访çµè¯ä¸æ£ç¡®", |
| | | "å
¶ä»æ
åµä¸å®é访", |
| | | ]; |
| | | situationCols.forEach((label, idx) => { |
| | | const col = 16 + idx; |
| | | worksheet.getCell(3, col).value = label; |
| | | worksheet.getCell(3, col).style = headerStyle; |
| | | }); |
| | | |
| | | // æ°å¢è®¡ç®ææ |
| | | worksheet.mergeCells(2, 22, 3, 22); |
| | | worksheet.getCell(2, 22).value = "é访ç"; |
| | | worksheet.getCell(2, 22).style = headerStyle; |
| | | worksheet.mergeCells(2, 23, 3, 23); |
| | | worksheet.getCell(2, 23).value = "æ¨éç"; |
| | | worksheet.getCell(2, 23).style = headerStyle; |
| | | worksheet.mergeCells(2, 24, 3, 24); |
| | | worksheet.getCell(2, 24).value = "å·²æ¨é"; |
| | | worksheet.getCell(2, 24).style = headerStyle; |
| | | worksheet.mergeCells(2, 25, 3, 25); |
| | | worksheet.getCell(2, 25).value = "忬¡é访æ¨é人æ°"; |
| | | worksheet.getCell(2, 25).style = headerStyle; |
| | | worksheet.mergeCells(2, 26, 3, 26); |
| | | worksheet.getCell(2, 26).value = "追踪é访æ¨éç"; |
| | | worksheet.getCell(2, 26).style = headerStyle; |
| | | |
| | | // æ°æ®è¡ |
| | | this.tableData.forEach((item) => { |
| | |
| | | item.needFollowUpAgain, |
| | | item.pendingFollowUpAgain |
| | | ), |
| | | item.taskSituation1 || 0, |
| | | item.taskSituation2 || 0, |
| | | item.taskSituation3 || 0, |
| | | item.taskSituation4 || 0, |
| | | item.taskSituation5 || 0, |
| | | item.taskSituation6 || 0, |
| | | this.calculateFollowUpRate(item), |
| | | this.calculatePushRate(item), |
| | | item.manuallyCalled || 0, |
| | | item.againFollowUpPushCount || 0, |
| | | this.calculateAgainFollowUpPushRate(item), |
| | | ]; |
| | | const row = worksheet.addRow(rowData); |
| | | row.eachCell((cell) => { |
| | |
| | | { width: 12 }, |
| | | { width: 12 }, |
| | | { width: 12 }, |
| | | { width: 12 }, |
| | | { width: 12 }, |
| | | { width: 12 }, |
| | | { width: 12 }, |
| | | { width: 12 }, |
| | | { width: 12 }, |
| | | { width: 12 }, |
| | | { width: 12 }, |
| | | { width: 12 }, |
| | | ]; |
| | | }, |
| | | |
| | | getExportSummaries() { |
| | | // æåæ°æ®ï¼è®¡ç®åè®¡è¡ |
| | | // æåæ°æ®ï¼è®¡ç®å计è¡ï¼26 åï¼ä¸ä¸»è¡¨å¯¼åºè¡¨å¤´ä¸è´ï¼ |
| | | const data = this.tableData; |
| | | const sums = [ |
| | | "å计", |
| | | "/", |
| | | 0, |
| | | 0, |
| | | 0, |
| | | 0, |
| | | 0, |
| | | 0, |
| | | 0, |
| | | "0%", |
| | | 0, |
| | | 0, |
| | | 0, |
| | | 0, |
| | | "0%", |
| | | "0%", |
| | | "0%", |
| | | "å计", // 0 |
| | | "/", // 1 |
| | | 0, // 2 åºé¢äººæ¬¡ |
| | | 0, // 3 æ éé访 |
| | | 0, // 4 åºé访 |
| | | 0, // 5 éé访(馿¬¡) |
| | | 0, // 6 å¾
é访(馿¬¡) |
| | | 0, // 7 宿(馿¬¡) |
| | | 0, // 8 失败(馿¬¡) |
| | | "0.00%", // 9 æåç(馿¬¡) |
| | | 0, // 10 éé访(忬¡) |
| | | 0, // 11 å¾
é访(忬¡) |
| | | 0, // 12 宿(忬¡) |
| | | 0, // 13 失败(忬¡) |
| | | "0.00%", // 14 æåç(忬¡) |
| | | 0, // 15 æ£å¸¸è¯é³ |
| | | 0, // 16 æ£è
ææ¥ææè®¿ |
| | | 0, // 17 é¢è®¿æè
æ¥è¯ |
| | | 0, // 18 微信é访 |
| | | 0, // 19 é访çµè¯ä¸æ£ç¡® |
| | | 0, // 20 å
¶ä»æ
åµä¸å®é访 |
| | | "0.00%", // 21 é访ç |
| | | "0.00%", // 22 æ¨éç |
| | | 0, // 23 å·²æ¨é |
| | | 0, // 24 忬¡é访æ¨éäººæ° |
| | | "0.00%", // 25 追踪é访æ¨éç |
| | | ]; |
| | | // æ°ååç´¢å¼ |
| | | const numIndices = [2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13]; |
| | | data.forEach((row) => { |
| | | numIndices.forEach((idx) => { |
| | | const val = Number(row[this.getFieldByIndex(idx)]) || 0; |
| | | sums[idx] += val; |
| | | }); |
| | | // æ°ååæ±åï¼ç´¢å¼ -> åæ®µåï¼ |
| | | const numFields = [ |
| | | [2, "dischargeCount"], |
| | | [3, "nonFollowUp"], |
| | | [4, "followUpNeeded"], |
| | | [5, "needFollowUp"], |
| | | [6, "pendingFollowUp"], |
| | | [7, "followUpSuccess"], |
| | | [8, "followUpFail"], |
| | | [10, "needFollowUpAgain"], |
| | | [11, "pendingFollowUpAgain"], |
| | | [12, "followUpSuccessAgain"], |
| | | [13, "followUpFailAgain"], |
| | | [15, "taskSituation1"], |
| | | [16, "taskSituation2"], |
| | | [17, "taskSituation3"], |
| | | [18, "taskSituation4"], |
| | | [19, "taskSituation5"], |
| | | [20, "taskSituation6"], |
| | | [23, "manuallyCalled"], |
| | | [24, "againFollowUpPushCount"], |
| | | ]; |
| | | numFields.forEach(([idx, field]) => { |
| | | sums[idx] = this.formatNumber( |
| | | data.reduce((s, row) => s + (Number(row[field]) || 0), 0) |
| | | ); |
| | | }); |
| | | // æ ¼å¼åæ°å |
| | | numIndices.forEach((idx) => { |
| | | sums[idx] = this.formatNumber(sums[idx]); |
| | | }); |
| | | // 计ç®ä¸¤ä¸ªç¾åæ¯åçå¹³åå¼ |
| | | const followUpRates = data |
| | | .map((row) => |
| | | parseFloat(this.calculateFollowUpRate(row).replace("%", "")) |
| | | ) |
| | | .filter((v) => !isNaN(v)); |
| | | const pushRates = data |
| | | .map((row) => parseFloat(this.calculatePushRate(row).replace("%", ""))) |
| | | .filter((v) => !isNaN(v)); |
| | | sums[15] = followUpRates.length |
| | | ? ( |
| | | followUpRates.reduce((a, b) => a + b, 0) / followUpRates.length |
| | | ).toFixed(2) + "%" |
| | | : "0.00%"; |
| | | sums[16] = pushRates.length |
| | | ? (pushRates.reduce((a, b) => a + b, 0) / pushRates.length).toFixed(2) + |
| | | "%" |
| | | : "0.00%"; |
| | | |
| | | // æåççåè®¡ç¨æ´ä½æ³è®¡ç® |
| | | const totalSuccess = data.reduce( |
| | | (s, row) => s + (Number(row.followUpSuccess) || 0), |
| | |
| | | denomAgain > 0 |
| | | ? ((totalSuccessAgain / denomAgain) * 100).toFixed(2) + "%" |
| | | : "0.00%"; |
| | | |
| | | // é访ç / æ¨éçï¼ååè¡çå¹³åå¼ |
| | | const followUpRates = data |
| | | .map((row) => |
| | | parseFloat(this.calculateFollowUpRate(row).replace("%", "")) |
| | | ) |
| | | .filter((v) => !isNaN(v)); |
| | | sums[21] = followUpRates.length |
| | | ? ( |
| | | followUpRates.reduce((a, b) => a + b, 0) / followUpRates.length |
| | | ).toFixed(2) + "%" |
| | | : "0.00%"; |
| | | const pushRates = data |
| | | .map((row) => parseFloat(this.calculatePushRate(row).replace("%", ""))) |
| | | .filter((v) => !isNaN(v)); |
| | | sums[22] = pushRates.length |
| | | ? (pushRates.reduce((a, b) => a + b, 0) / pushRates.length).toFixed(2) + |
| | | "%" |
| | | : "0.00%"; |
| | | |
| | | // 追踪é访æ¨éçï¼æ´ä½æ³ = 忬¡é访æ¨é人æ°å计 / åºé¢äººæ¬¡å计 |
| | | const totalPush = data.reduce( |
| | | (s, row) => s + (Number(row.againFollowUpPushCount) || 0), |
| | | 0 |
| | | ); |
| | | const totalDischarge = data.reduce( |
| | | (s, row) => s + (Number(row.dischargeCount) || 0), |
| | | 0 |
| | | ); |
| | | sums[25] = |
| | | totalDischarge > 0 |
| | | ? ((totalPush / totalDischarge) * 100).toFixed(2) + "%" |
| | | : "0.00%"; |
| | | |
| | | return sums; |
| | | }, |
| | | |
| | |
| | | sheetNameSuffix = `${startDateFormatted}è³${endDateFormatted}`; |
| | | } |
| | | } else { |
| | | const now = new Date(); |
| | | const currentMonth = now.getMonth() + 1; |
| | | const currentYear = now.getFullYear(); |
| | | |
| | | if (isLishuiHospital) { |
| | | // 丽水å¸ä¸å»é¢ï¼æ¾ç¤ºå¹´æ |
| | | dateRangeString = `${currentYear}å¹´${currentMonth}æ`; |
| | | sheetNameSuffix = `${currentYear}å¹´${currentMonth}æ`; |
| | | } else { |
| | | // å
¶ä»å»é¢ï¼æ¾ç¤ºæä»½ |
| | | dateRangeString = `${currentMonth}æ`; |
| | | sheetNameSuffix = `${currentMonth}æ`; |
| | | } |
| | | // æªéæ©æ¶é´ï¼æ°æ®æªåæ¶é´çéï¼ä¸ºå
¨é¨æ°æ®ï¼æä»¶åæ æ³¨âå
¨é¨â |
| | | dateRangeString = "å
¨é¨"; |
| | | sheetNameSuffix = "å
¨é¨"; |
| | | } |
| | | |
| | | // æ ¹æ® serviceType çæé访类ååç§°ï¼å
¼å®¹åé/å¤éï¼ |
| | |
| | | const end = this.queryParams.dateRange[1].split(" ")[0]; |
| | | dateRangeString = `${start}è³${end}`; |
| | | } else { |
| | | dateRangeString = `${new Date().getMonth() + 1}æ`; |
| | | // æªéæ©æ¶é´ï¼æ°æ®ä¸ºå
¨é¨ |
| | | dateRangeString = "å
¨é¨"; |
| | | } |
| | | |
| | | const fileName = `${areaName}å»çé访å表_${dateRangeString}.xlsx`; |
| | |
| | | // detail: https://cli.vuejs.org/config/#devserver-proxy |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | // target: `https://www.health-y.cn/lssf`, |
| | | target: `http://192.168.100.10:8096`, |
| | | // target: `http://192.168.100.10:8094`,//çç«åå¾· |
| | | // target: `http://192.168.100.10:8096`, |
| | | target: `http://192.168.100.10:8094`,//çç«åå¾· |
| | | // target: `http://192.168.100.10:8095`,//æ°å |
| | | // target: `http://192.168.100.10:8098`,//å¸ä¸ |
| | | // target:`http://localhost:8095`, |
| | | // target: `http://192.168.100.168:8095`, |
| | | // target:`http://35z1t16164.qicp.vip`, |
| | | // target: `http://192.168.100.172:8095`, |
| | | // target: `http://220.66.153.137:8095`, |
| | | // target: `http://192.168.100.10:8089`,//åå |
| | | // target: `https://9.208.38.93:8092/`, |
| | | changeOrigin: true, |