| | |
| | | this.options = (this.$store.getters.tasktypes || []).map((o) => |
| | | labelFix[o.label] ? { ...o, label: labelFix[o.label] } : o |
| | | ); |
| | | console.log(11, this.options); |
| | | |
| | | // è·åç§å®¤å表 |
| | | this.flatArraydept = (this.$store.getters.belongDepts || []).map( |
| | |
| | | } |
| | | }, |
| | | sortChineseNumber(aRow, bRow) { |
| | | return this.compareWardNames(this.getWardName(aRow), this.getWardName(bRow)); |
| | | return this.compareWardNames( |
| | | this.getWardName(aRow), |
| | | this.getWardName(bRow) |
| | | ); |
| | | }, |
| | | sortHospitalWard(aRow, bRow) { |
| | | return this.compareWardNames( |
| | |
| | | // ç
åºç»è®¡ï¼å«ç»è®¡ç±»å为空çæ
åµï¼ |
| | | if (this.queryParams.statisticaltype != 2) { |
| | | const rawSelected = this.queryParams.leavehospitaldistrictcodes || []; |
| | | const selected = rawSelected.filter( |
| | | (code) => code && code !== "all" |
| | | ); |
| | | const selected = rawSelected.filter((code) => code && code !== "all"); |
| | | const useAll = !rawSelected.length || rawSelected.includes("all"); |
| | | |
| | | if (!useAll && selected.length) { |
| | |
| | | |
| | | buildCompletedMeta() { |
| | | return { |
| | | dimension: |
| | | this.queryParams.statisticaltype == 2 ? "dept" : "ward", |
| | | dimension: this.queryParams.statisticaltype == 2 ? "dept" : "ward", |
| | | scope: this.satisfactionScope, |
| | | dateRange: [...(this.queryParams.dateRange || [])], |
| | | }; |
| | |
| | | |
| | | // æå½åç»è®¡ç±»ååç»ï¼ç
åºç»è®¡ -> ç
åºï¼ç§å®¤ç»è®¡ -> ç§å®¤ |
| | | groupCompletedRows(rows) { |
| | | const dimension = |
| | | this.queryParams.statisticaltype == 2 ? "dept" : "ward"; |
| | | const dimension = this.queryParams.statisticaltype == 2 ? "dept" : "ward"; |
| | | const groupMap = new Map(); |
| | | |
| | | (rows || []).forEach((row) => { |
| | | const name = |
| | | dimension === "ward" ? this.wardNameOf(row) : this.deptNameOf(row); |
| | | const code = |
| | | dimension === "ward" |
| | | ? this.wardCodeOf(row) |
| | | : this.deptCodeOf(row); |
| | | dimension === "ward" ? this.wardCodeOf(row) : this.deptCodeOf(row); |
| | | |
| | | const key = String(code || name || "unknown"); |
| | | if (!groupMap.has(key)) { |
| | | groupMap.set(key, { |
| | | key, |
| | | label: |
| | | name || (dimension === "ward" ? "æªåç
åº" : "æªåç§å®¤"), |
| | | label: name || (dimension === "ward" ? "æªåç
åº" : "æªåç§å®¤"), |
| | | rows: [], |
| | | }); |
| | | } |
| | |
| | | const orderMap = new Map(); |
| | | |
| | | (list || []).forEach((item, index) => { |
| | | const code = |
| | | dimension === "ward" ? item.districtCode : item.deptCode; |
| | | const code = dimension === "ward" ? item.districtCode : item.deptCode; |
| | | if (code) orderMap.set(String(code), index); |
| | | }); |
| | | |
| | |
| | | width="120" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="isTongdeCampus" |
| | | label="ç¹ä½ç¼ç " |
| | | width="120" |
| | | align="center" |
| | | key="pointLocation" |
| | | prop="pointLocation" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="å¤ç人å" |
| | |
| | | {{ wardNameOf(scope.row) }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="isTongdeCampus" |
| | | label="ç¹ä½ç¼ç " |
| | | width="120" |
| | | align="center" |
| | | key="pointLocation" |
| | | prop="pointLocation" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="å¤ç人å" |
| | |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item |
| | | label="ç¹ä½ç¼ç " |
| | | v-if=" |
| | | isTongdeCampus && (serviceType == 6 || serviceType == 14) |
| | | " |
| | | > |
| | | <el-input |
| | | style="width: 220px" |
| | | v-model="form.pointLocation" |
| | | placeholder="请è¾å
¥ç¹ä½ç¼ç " |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="æå¡å½¢å¼"> |
| | | <SortCheckbox |
| | | v-model="checkList" |
| | |
| | | </el-row> |
| | | |
| | | <!-- ç¼äºå¿äººæ°å»é¢ï¼è¶
æ¶æªå®ææ¯å¦å次é访 / 忬¡é访å
³èä»»å¡ --> |
| | | <el-row v-if="form.appltype == 1 && orgname == 'ç¼äºå¿äººæ°å»é¢'"> |
| | | <el-row |
| | | v-if="form.appltype == 1 && orgname == 'ç¼äºå¿äººæ°å»é¢'" |
| | | > |
| | | <el-col :span="12"> |
| | | <el-form-item label="è¶
æ¶æªå®ææ¯å¦å次é访"> |
| | | <el-radio-group v-model="form.nexttaskflag"> |
| | |
| | | templatename: "", |
| | | templateid: null, |
| | | libtemplateid: null, |
| | | pointLocation: "", |
| | | kcb: |
| | | "亲ç±çæ£è
/å®¶å±ï¼æä»¬æ¯" + |
| | | localStorage.getItem("orgname") + |
| | |
| | | detailList: [], |
| | | }, |
| | | }, |
| | | taskoptions: [ |
| | | { value: "4", label: "åºé¢ç
人" }, |
| | | { value: "1", label: "å¨é¢ç
人" }, |
| | | { value: "2", label: "é¨è¯ç
人" }, |
| | | { value: "3", label: "使£ç
人" }, |
| | | { value: "6", label: "é¢å¤æ£è
" }, |
| | | { value: "5", label: "ææ¯ç
人" }, |
| | | ], |
| | | source: [ |
| | | { value: 0, label: "æå±æ£è
" }, |
| | | { value: 1, label: "ç§å®¤æ£è
" }, |
| | |
| | | }, |
| | | remaining() { |
| | | return this.illnesslist.length - 10; |
| | | }, |
| | | // æ£è
ç±»åä¸æï¼æ°å¢ç±»åï¼ï¼æä»»å¡ç±»åéå¶å¯éèå´ |
| | | taskoptions() { |
| | | const options = [ |
| | | { value: "4", label: "åºé¢ç
人" }, |
| | | { value: "1", label: "å¨é¢ç
人" }, |
| | | { value: "2", label: "é¨è¯ç
人" }, |
| | | { value: "3", label: "使£ç
人" }, |
| | | { value: "6", label: "é¢å¤æ£è
" }, |
| | | { value: "5", label: "ææ¯ç
人" }, |
| | | ]; |
| | | // åºé¢é访ï¼serviceType=2ï¼ï¼åªè½éæ©å¨é¢æ£è
|
| | | if (this.serviceType == 2) { |
| | | return options.filter((item) => item.value == "1"); |
| | | } |
| | | // å
¥é¢é访ï¼serviceType=18ï¼ï¼ä¸å¯éæ©åºé¢æ£è
|
| | | if (this.serviceType == 18) { |
| | | return options.filter((item) => item.value != "4"); |
| | | } |
| | | return options; |
| | | }, |
| | | }, |
| | | methods: { |
| | |
| | | templatename: "", |
| | | templateid: null, |
| | | libtemplateid: null, |
| | | pointLocation: "", |
| | | kcb: |
| | | "亲ç±çæ£è
/å®¶å±ï¼æä»¬æ¯" + |
| | | localStorage.getItem("orgname") + |
| | |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="ç¹ä½ç¼ç " v-if="isTongdeCampus&& (serviceType == 6 || serviceType == 14)"> |
| | | <el-input |
| | | style="width: 220px" |
| | | v-model="form.pointLocation" |
| | | placeholder="请è¾å
¥ç¹ä½ç¼ç " |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="æå¡å½¢å¼"> |
| | | <SortCheckbox |
| | | v-model="checkList" |
| | |
| | | templatename: "", |
| | | templateid: null, |
| | | libtemplateid: null, |
| | | pointLocation: "", |
| | | kcb: |
| | | "亲ç±çæ£è
/å®¶å±ï¼æ¨å¥½ï¼æä»¬æ¯" + |
| | | localStorage.getItem("orgname") + |
| | |
| | | detailList: [], |
| | | }, |
| | | }, |
| | | taskoptions: [ |
| | | { value: "4", label: "åºé¢ç
人" }, |
| | | { value: "1", label: "å¨é¢ç
人" }, |
| | | { value: "2", label: "é¨è¯ç
人" }, |
| | | { value: "3", label: "使£ç
人" }, |
| | | { value: "5", label: "ææ¯ç
人" }, |
| | | ], |
| | | source: [ |
| | | { value: 0, label: "æå±æ£è
" }, |
| | | { value: 1, label: "ç§å®¤æ£è
" }, |
| | |
| | | this.Getdetails(); |
| | | this.getFollowupclassify(); |
| | | } |
| | | }, |
| | | computed: { |
| | | // æ£è
ç±»åä¸æï¼æ°å¢ç±»åï¼ï¼æä»»å¡ç±»åéå¶å¯éèå´ |
| | | taskoptions() { |
| | | const options = [ |
| | | { value: "4", label: "åºé¢ç
人" }, |
| | | { value: "1", label: "å¨é¢ç
人" }, |
| | | { value: "2", label: "é¨è¯ç
人" }, |
| | | { value: "3", label: "使£ç
人" }, |
| | | { value: "5", label: "ææ¯ç
人" }, |
| | | ]; |
| | | // åºé¢é访ï¼serviceType=2ï¼ï¼åªè½éæ©å¨é¢æ£è
|
| | | if (this.serviceType == 2) { |
| | | return options.filter((item) => item.value == "1"); |
| | | } |
| | | // å
¥é¢é访ï¼serviceType=18ï¼ï¼ä¸å¯éæ©åºé¢æ£è
|
| | | if (this.serviceType == 18) { |
| | | return options.filter((item) => item.value != "4"); |
| | | } |
| | | return options; |
| | | }, |
| | | }, |
| | | methods: { |
| | | // ---------- å·¥å
·æ¹æ³ ---------- |
| | |
| | | templatename: "", |
| | | templateid: null, |
| | | libtemplateid: null, |
| | | pointLocation: "", |
| | | kcb: |
| | | "亲ç±çæ£è
/å®¶å±ï¼æ¨å¥½ï¼æä»¬æ¯" + |
| | | localStorage.getItem("orgname") + |
| | |
| | | // 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://192.168.100.10:8089`,//åå |