| | |
| | | import request from "@/utils/request"; |
| | | |
| | | // åºç¡æ°æ® |
| | | export function getTopstatistics(data) { |
| | | // é¨è¯åºç¡æ°æ® |
| | | export function getoutpatientamount(data) { |
| | | return request({ |
| | | url: "/smartor/extemplate/list", |
| | | url: "/smartor/patouthosp/selectPatMedOuthospCount", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // å¨é¢/åºé¢åºç¡æ°æ® |
| | | export function getInhospital(data) { |
| | | return request({ |
| | | url: "/smartor/patinhosp/selectPatMedInhospListCount", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | // ä¸é¨æ°æ®æ® |
| | | export function getBarchart(data) { |
| | | return request({ |
| | | url: "/smartor/serviceSubtask/getSfFzInfoEveryMonth", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | |
| | | // æ¿åä¸é¨æ°æ®å¤§å¾ |
| | | export function getCentraldata(Id) { |
| | | return request({ |
| | | url: "/smartor/extemplate/remove/" + Id, |
| | | method: "get", |
| | | }); |
| | | } |
| | | // æ¿åä¸é¨æ°æ®å¤§å¾ |
| | | export function getMissiondata(Id) { |
| | | return request({ |
| | | url: "/smartor/extemplate/remove/" + Id, |
| | | method: "get", |
| | | url: "/smartor/serviceSubtask/getSfFzInfoEveryMonth", |
| | | ethod: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | |
| | | export * from './questionnaire' |
| | | export * from './SingleTask' |
| | | export * from './external' |
| | | export * from './Homeimage' |
| | | |
| | | |
| | |
| | | newPassword |
| | | } |
| | | return request({ |
| | | url: '/system/user/profile/updatePwd/edit', |
| | | url: '/system/user/profile/updatePwd', |
| | | method: 'post', |
| | | params: data |
| | | }) |
| | |
| | | <div class="subtitle">å¤è¯éç¥</div> |
| | | <div class="grid-contents bg-purple-light">0次</div> |
| | | </div> |
| | | </el-col> </el-row |
| | | > |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="3" |
| | | ><div class="grid-contents bg-purples" ></div></el-col |
| | | > |
| | | ><div class="grid-contents bg-purples"></div |
| | | ></el-col> |
| | | <el-col :span="7" > |
| | | <div style="display: flex"> |
| | | <div class="subtitle">åºé¢è¯ä¼°</div> |
| | |
| | | <div class="grid-contents bg-purple-light">0次</div> |
| | | </div> |
| | | </el-col> |
| | | </el-row |
| | | > |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="3" |
| | |
| | | <div class="subtitle">å¤è¯éç¥</div> |
| | | <div class="grid-contents bg-purple-light">0次</div> |
| | | </div> |
| | | </el-col> </el-row |
| | | > |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="3" |
| | | ><div class="grid-contents bg-purples" ></div></el-col |
| | | > |
| | | ><div class="grid-contents bg-purples"></div |
| | | ></el-col> |
| | | <el-col :span="7"> |
| | | <div style="display: flex"> |
| | | <div class="subtitle">满æåº¦è°æ¥</div> |
| | |
| | | <div class="grid-contents bg-purple-light">0次</div> |
| | | </div> |
| | | </el-col> |
| | | |
| | | </el-row |
| | | > |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="3" |
| | | ><div class="grid-contents bg-purples" >å¨é¢ï¼</div></el-col |
| | |
| | | <div class="subtitle">å
¶ä»éç¥</div> |
| | | <div class="grid-contents bg-purple-light">0次</div> |
| | | </div> |
| | | </el-col> </el-row |
| | | > |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | // import { |
| | | // getUserWork, |
| | | // getregionCollect, |
| | | // getregionOrderCount, |
| | | |
| | | // } from "@/api/home"; |
| | | import { |
| | | getoutpatientamount, |
| | | getInhospital, |
| | | getBarchart, |
| | | getQtemplateobj, |
| | | } from "@/api/AiCentre/index"; |
| | | import dayjs from "dayjs"; |
| | | |
| | | export default { |
| | |
| | | }, |
| | | }, |
| | | created() { |
| | | // this.getoutpatientamount(); |
| | | // this.getInhospital(); |
| | | // this.getBarchart(); |
| | | this.$nextTick(function () { |
| | | this.getregionAmountCollect(); |
| | | this.getUserWorks(); |
| | | this.getregionCollect(); |
| | | this.getregionOrderCount(); |
| | | this.getNodeCount(); |
| | | this.getPrtnerCount(); |
| | | this.getnodeCollect(); |
| | | this.getSkuTop(); |
| | | }); |
| | |
| | | this.dyat = 360; |
| | | } |
| | | this.getregionAmountCollect(); |
| | | this.getUserWorks(); |
| | | this.getregionCollect(); |
| | | this.getregionOrderCount(); |
| | | this.getNodeCount(); |
| | | this.getPrtnerCount(); |
| | | // this.getoutpatientamount(); |
| | | // this.getInhospital(); |
| | | // this.getBarchart(); |
| | | this.getnodeCollect(); |
| | | this.getSkuTop(); |
| | | }, |
| | | |
| | | // è·åç¹ä½æ»æ° |
| | | async getNodeCount() { |
| | | // const res = await getNodeCount(); |
| | | // this.NodeCount = res.data; |
| | | }, |
| | | // è·ååä½åæ»æ° |
| | | async getPrtnerCount() { |
| | | // const res = await getPrtnerCount(); |
| | | // this.PrtnerCount = res.data; |
| | | }, |
| | | // åä½åç¹ä½æ±æ»ç»è®¡é¥¼ç¶å¾ |
| | | async getnodeCollect() { |
| | | // const res = await getnodeCollect(); |
| | |
| | | { amount: 0, count: 67, skuId: "0", skuName: "æ¾å°ç§" }, |
| | | ]; |
| | | }, |
| | | // è·å工忰é |
| | | async getUserWorks() { |
| | | // const res = await getUserWork(this.atd, this.td); |
| | | // this.ticketStatistics = res.data[0]; |
| | | // è·åé¨è¯åºç¡æ°æ® |
| | | getoutpatientamount() { |
| | | getoutpatientamount().then((res) => {}); |
| | | }, |
| | | // è·åå°±è¯æ°é |
| | | async getregionOrderCount() { |
| | | // const res = await getregionOrderCount({ |
| | | // start: this.atd, |
| | | // end: this.td, |
| | | // }); |
| | | // this.order = res.data; |
| | | getBarchart() { |
| | | getBarchart().then((res) => {}); |
| | | }, |
| | | // è·åæ»éæ°é |
| | | async getregionCollect() { |
| | | // const res = await getregionCollect({ |
| | | // start: this.atd, |
| | | // end: this.td, |
| | | // }); |
| | | // this.Count = (res.data / 1000000).toFixed(2); |
| | | getInhospital() { |
| | | getInhospital().then((res) => {}); |
| | | }, |
| | | |
| | | // è·å线ç¶å¾æ¶é´ |
| | | async getregionAmountCollect() { |
| | | // const res = await getregionAmountCollect(1, this.endatd, this.statd); |
| | | //getregionAmountCollect(1, this.endatd, this.statd); |
| | | // this.xAxis = res.data.xAxis; |
| | | // this.series = res.data.series; |
| | | this.xAxis = ["1æ", "2æ", "3æ", "4æ", "5æ", "6æ", "7æ", "8æ"]; |
| | |
| | | headers: { |
| | | Authorization: "Bearer " + getToken(), |
| | | }, |
| | | uploadImgUrl: process.env.VUE_APP_BASE_API + "/common/upload", |
| | | uploadImgUrl: process.env.VUE_APP_BASE_API + "/common/uploadSort", |
| | | uploadImgUrlword: process.env.VUE_APP_BASE_API + "/common/uploadShow", |
| | | uploadUrlPath: "没ææä»¶ä¸ä¼ ", |
| | | quillUpdateImg: false, |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div class="CONTENT"> |
| | | <div class="preview-left"> |
| | | </div> |
| | | </div> |
| | | <el-dialog |
| | | :visible.sync="dialogVisible" |
| | | width="50%" |
| | |
| | | questionList: null, |
| | | revisitAfter: null, |
| | | dialogVisible:false, |
| | | Endornot: true, |
| | | // å端å
¬é¥ |
| | | publicKey: |
| | | "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKR0yHv0rbJWQE+Sc7/FwpW66qMd9qX2k6z+SDgkSdxWh/1GbBoAP7bDQQRF6vXmoKsD2ya42H6XRLSDXAoayuMCAwEAAQ== ", |
| | |
| | | placeholder="请è¾å
¥ä»»å¡æè¿°" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="æå¡å½¢å¼" prop="taskDesc"> |
| | | <el-form-item label="æå¡å½¢å¼"> |
| | | <el-checkbox-group v-model="checkList"> |
| | | <el-checkbox |
| | | v-for="(item, index) in checkboxlist" |
| | |
| | | <div class="headline"> |
| | | <div>ä»»å¡ä½¿ç¨æ¨¡æ¿</div> |
| | | <div style="margin-left: 20px"> |
| | | <el-form :model="form"> |
| | | <el-form ref="forms"> |
| | | <el-form-item label=""> |
| | | <el-input |
| | | style="width: 300px" |
| | |
| | | ></el-button> |
| | | |
| | | <el-button |
| | | v-if="this.form.libtemplateid" |
| | | v-if="form.libtemplateid" |
| | | type="success" |
| | | icon="el-icon-search" |
| | | @click="previewfnmb" |
| | |
| | | <el-form-item label="é®å·åç§°"> |
| | | <el-input v-model="topqueryParams.svyname"></el-input> |
| | | </el-form-item> |
| | | |
| | | <!-- <el-form-item label="é®å·ç±»å" prop="status"> |
| | | <el-select v-model="topqueryParams.topic" placeholder="è¯·éæ©"> |
| | | <el-option |
| | | v-for="item in taskoptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> --> |
| | | <el-form-item label="éç¨å½¢å¼" prop="status"> |
| | | <el-select v-model="topqueryParams.topica" placeholder="è¯·éæ©"> |
| | | <el-option |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <!-- <el-form-item label="éç¨ç§å®¤" prop="status"> |
| | | <el-select v-model="topqueryParams.topicd" placeholder="è¯·éæ©"> |
| | | <el-option |
| | | v-for="item in topicoptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> --> |
| | | <el-form-item> |
| | | <el-button |
| | | type="primary" |
| | |
| | | { required: true, message: "ä»»å¡åç§°ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | { |
| | | min: 2, |
| | | max: 20, |
| | | message: "ä»»å¡åç§°é¿åº¦å¿
é¡»ä»äº 2 å 20 ä¹é´", |
| | | max: 30, |
| | | message: "ä»»å¡åç§°é¿åº¦å¿
é¡»ä»äº 2 å 30 ä¹é´", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | |
| | | taskDesc: [ |
| | | { required: true, message: "ä»»å¡æè¿°ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | ], |
| | | sendType: [ |
| | | { required: true, message: "åé设置ä¸è½ä¸ºç©º", trigger: "blur" }, |
| | | ], |
| | | daytime: [{ required: true, message: "æ°æä¸è½ä¸ºç©º", trigger: "blur" }], |
| | | }, |
| | | quote: false, |
| | | serviceType: null, |
| | |
| | | }); |
| | | }, |
| | | nextstep() { |
| | | this.$refs["form"].validate((valid) => { |
| | | if (valid) { |
| | | if (this.Editprogress <= 3) { |
| | | return this.Editprogress++; |
| | | } |
| | | } else { |
| | | this.$modal.msgError("表åå
容æªå®åï¼è¯·æ£æ¥"); |
| | | } |
| | | }); |
| | | }, |
| | | // ä¿å |
| | | submitForm(formName) { |
| | | this.$refs["form"].validate((valid) => { |
| | | if (valid) { |
| | | if (this.time4 && this.form.sendType == 3) |
| | | this.form.showTimeMorn = this.time4; |
| | | this.form.sendTimeslot = [{ |
| | | begantime: this.time4, |
| | | endtime: "", |
| | | xh: 1, |
| | | }]; |
| | | if (this.checkList[0]) { |
| | | this.form.preachform = this.checkList.join(","); |
| | | } else { |
| | |
| | | this.$modal.msgError("è¯·éæ©ç
人"); |
| | | return; |
| | | } |
| | | if (!this.form.templatename) { |
| | | this.$modal.msgError("æªéæ©æ¨¡æ¿"); |
| | | return; |
| | | } |
| | | if ((this.form.sendType == 1 && this.time1) || this.form.sendType == 2) { |
| | | } else if (this.form.sendType == 3 && this.time4) { |
| | | } else { |
| | | return this.$modal.msgError("æ¶é´ä¿¡æ¯ç¼ºå¤±"); |
| | | } |
| | | |
| | | const filteredArray = this.variableList.filter( |
| | | (item) => |
| | | item.name !== "å§å" && |
| | | item.name !== "çµè¯" && |
| | | item.name !== "å°å" |
| | | item.name !== "å§å" && item.name !== "çµè¯" && item.name !== "å°å" |
| | | ); |
| | | this.form.textParam = this.convertFormat2ToFormat1(filteredArray); |
| | | if (this.form.taskid) { |
| | |
| | | path: "/followvisit/tasklist", |
| | | query: { tasktopic: this.form.serviceType }, |
| | | }); |
| | | } |
| | | }); |
| | | }else{ |
| | | this.$modal.msgError("表åå
容æªå®åï¼è¯·æ£æ¥"); |
| | | } |
| | | }); |
| | | }, |
| | |
| | | : []; |
| | | this.overallCase = this.form.patTaskRelevances.concat(); |
| | | this.checkList = this.form.preachform.split(","); |
| | | console.log(this.form.showDate, "this.form"); |
| | | this.daytime = this.form.showDate.split(","); |
| | | console.log(this.form, "this.form"); |
| | | if (this.form.showDate)this.daytime = this.form.showDate.split(","); |
| | | if (this.form.showTimeMorn) { |
| | | if (this.form.sendType == 3) { |
| | | this.time4 = this.form.showTimeMorn; |
| | | console.log(1122); |
| | | } else { |
| | | this.time1 = this.form.showTimeMorn.split(","); |
| | | } |
| | |
| | | if (this.time1) this.form.showTimeMorn = this.time1.join(","); |
| | | if (this.time2) this.form.showTimeNoon = this.time2.join(","); |
| | | if (this.time3) this.form.showTimeNight = this.time3.join(","); |
| | | console.log(combinedData, "combinedData"); |
| | | }, |
| | | // æ¥çæ¨¡æ¿ |
| | | previewGo() { |
| | |
| | | proxy: { |
| | | // detail: https://cli.vuejs.org/config/#devserver-proxy |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | target: `http://192.168.1.10:8095`, |
| | | // target:`http://localhost:8095`, |
| | | // target: `http://192.168.1.10:8095`, |
| | | target:`http://localhost:8095`, |
| | | // target: `http://192.168.101.135:8095`, |
| | | changeOrigin: true, |
| | | pathRewrite: { |