diff --git a/.env.development b/.env.development index 37eda79..673047d 100644 --- a/.env.development +++ b/.env.development @@ -4,6 +4,6 @@ NODE_ENV=development # 公司内网环境 # 孟工本地:http://192.168.0.121:8028 -# VUE_APP_LOGIN_URL='http://192.168.0.35:8028' +VUE_APP_LOGIN_URL='http://192.168.0.35:8001' # 温州的 -VUE_APP_LOGIN_URL='http://47.110.224.240:8022' +# VUE_APP_LOGIN_URL='http://47.110.224.240:8022' diff --git a/.env.production b/.env.production index 09798e5..4be0f14 100644 --- a/.env.production +++ b/.env.production @@ -1,14 +1,18 @@ NODE_ENV=production VUE_APP_NODE_ENV=prod -# 温州正式环境 -# VUE_APP_LOGIN_URL='http://192.168.2.32:8022' +# 杭州测试环境 +# VUE_APP_LOGIN_URL='http://172.17.7.3:8001' + +# 杭州正式环境 +VUE_APP_LOGIN_URL='http://172.17.1.65:80' # 公司内网环境 -VUE_APP_LOGIN_URL='http://192.168.0.35:8028' +# VUE_APP_LOGIN_URL='http://192.168.0.35:8001' # 后缀 -- 公司内部环境打开 -VUE_APP_BASE_HOUZHUI='/hz_qg' +# VUE_APP_BASE_HOUZHUI='/hz_qg' # 信创 # VUE_APP_LOGIN_URL='http://192.168.0.36:8022' + diff --git a/src/components/360View/crf-select.vue b/src/components/360View/crf-select.vue index ee112b6..f4ab361 100644 --- a/src/components/360View/crf-select.vue +++ b/src/components/360View/crf-select.vue @@ -75,7 +75,7 @@ export default { this.visible = true this.dataListLoading = true this.$nextTick(() => { - this.$http.get('/quguang/crf/page', { + this.$http.get('/hz_quguang/crf/page', { params: { projectId: window.SITE_CONFIG['projectId'], order: '', diff --git a/src/components/360View/img-reccrd.vue b/src/components/360View/img-reccrd.vue index 9d57f27..71bbce3 100644 --- a/src/components/360View/img-reccrd.vue +++ b/src/components/360View/img-reccrd.vue @@ -472,7 +472,7 @@ export default { // 查询项目树/时间树 async queryProgramTree(type) { this.examineType = type - const { data: res } = await this.$http.get('/quguang/patient/view/getExamItem', { params: { + const { data: res } = await this.$http.get('/hz_quguang/patient/view/getExamItem', { params: { patientIdNumber: this.patientInfo.patientIdNumber, type: type, patientId: this.patientInfo.patientId @@ -542,7 +542,7 @@ export default { fileType: this.fileType } return new Promise((resolve, reject) => { - const { data: res } = this.$http.post('/quguang/patient/view/getExamFiles', data).then((res) => { + const { data: res } = this.$http.post('/hz_quguang/patient/view/getExamFiles', data).then((res) => { if (res.data && res.data.code === 0) { const data = res.data.data if (data && data.length) { @@ -656,7 +656,7 @@ export default { }, // 查询标签 async queryTags() { - const { data: res } = await this.$http.get('/quguang/tag/tree') + const { data: res } = await this.$http.get('/hz_quguang/tag/tree') if (res.code === 0) { if (res.data.length) { res.data.forEach(item => { @@ -693,10 +693,10 @@ export default { let url = '' if (this.subTitle === '新增子级菜单') { params.pid = this.pid - url = '/quguang/tag/saveTag' + url = '/hz_quguang/tag/saveTag' } else { params.id = this.tagId - url = '/quguang/tag/updateTagName' + url = '/hz_quguang/tag/updateTagName' } const { data: res } = await this.$http({ method: 'post', @@ -715,7 +715,7 @@ export default { async handleDelTag(tagId) { const { data: res } = await this.$http({ method: 'post', - url: '/quguang/tag/deleteTag', + url: '/hz_quguang/tag/deleteTag', data: { id: tagId } @@ -736,10 +736,10 @@ export default { patientIdNumber: this.patientInfo.patientIdNumber } if (this.tagType === 1) { - url = '/quguang/tag/relation/savePatientTag' + url = '/hz_quguang/tag/relation/savePatientTag' params.flag = 1 } else if (this.tagType === 2) { - url = '/quguang/tag/relation/saveExamItemTag' + url = '/hz_quguang/tag/relation/saveExamItemTag' params.risNo = this.risNo params.examNo = this.examNo params.examItemCode = this.examItemCode @@ -764,7 +764,7 @@ export default { }, // 查询患者标签 async queryPatientTag() { - const { data: res } = await this.$http.get('/quguang/tag/relation/getPatientTagList', { params: { + const { data: res } = await this.$http.get('/hz_quguang/tag/relation/getPatientTagList', { params: { patientId: this.patientInfo.patientId } }) @@ -778,7 +778,7 @@ export default { async deletePatientTag(item) { const { data: res } = await this.$http({ method: 'post', - url: '/quguang/tag/relation/deletePatientTag', + url: '/hz_quguang/tag/relation/deletePatientTag', data: { id: item.id } @@ -795,7 +795,7 @@ export default { this.risNo = row.risNo this.examNo = row.examNo } - const { data: res } = await this.$http.get('/quguang/tag/relation/getExamItemTagList', { params: { + const { data: res } = await this.$http.get('/hz_quguang/tag/relation/getExamItemTagList', { params: { risNo: this.risNo, examNo: this.examNo } @@ -810,7 +810,7 @@ export default { async deleteExamineTag(item) { const { data: res } = await this.$http({ method: 'post', - url: '/quguang/tag/relation/deleteExamItemTag', + url: '/hz_quguang/tag/relation/deleteExamItemTag', data: { id: item.id } diff --git a/src/components/360View/index.vue b/src/components/360View/index.vue index 4088e99..a753682 100644 --- a/src/components/360View/index.vue +++ b/src/components/360View/index.vue @@ -430,7 +430,7 @@ export default { // 根据id获取患者信息--中间上侧患者信息 async getPatientData() { const { data: res } = await this.$http.get( - '/quguang/patient/view/getPatientData', + '/hz_quguang/patient/view/getPatientData', { params: { patientIdNumber: this.patientIdNumber @@ -448,7 +448,7 @@ export default { const type = ['诊断', '手术', '用药', '住院', '出院', '检查', '随访'] const { data: res } = await this.$http({ method: 'post', - url: '/quguang/patient/view/getTimeAxisData', + url: '/hz_quguang/patient/view/getTimeAxisData', data: { patientIdNumber: this.patientIdNumber, type: typeScreenCheckArr !== undefined ? typeScreenCheckArr : type @@ -478,7 +478,7 @@ export default { async getTimeAxisNodeInfo(item) { this.type = item.type this.isVisit = item.isVisit - const { data: res } = await this.$http.get('/quguang/patient/view/getTimeAxisNodeInfo', { + const { data: res } = await this.$http.get('/hz_quguang/patient/view/getTimeAxisNodeInfo', { params: { date: moment(item.date).format('YYYY-MM-DD'), type: item.type, @@ -497,7 +497,7 @@ export default { this.crfVisible = false this.type = info.type this.isVisit = info.isVisit - const { data: res } = await this.$http.get(`/quguang/from/data/${info.formId}`) + const { data: res } = await this.$http.get(`/hz_quguang/from/data/${info.formId}`) if (res.code === 0) { this.VisitContent = res.data.formContent ? Base64.decode(res.data.formContent) : '' this.dataForm = res.data diff --git a/src/components/360View/info.vue b/src/components/360View/info.vue index 9b39e86..b4122a7 100644 --- a/src/components/360View/info.vue +++ b/src/components/360View/info.vue @@ -136,7 +136,7 @@ export default { }, // 获取随访方案列表 async getFollowList() { - const { data: res } = await this.$http.get('/quguang/visit/patient/getVisitList', { + const { data: res } = await this.$http.get('/hz_quguang/visit/patient/getVisitList', { params: { projectId: window.SITE_CONFIG['projectId'] } @@ -150,7 +150,7 @@ export default { }, // 获取设置随访方案弹框备注信息 async getVisit() { - const { data: res } = await this.$http.get('/quguang/visit/patient/getVisit', { + const { data: res } = await this.$http.get('/hz_quguang/visit/patient/getVisit', { params: { patientIdNumber: this.patientIdNumber, projectId: window.SITE_CONFIG['projectId'] @@ -167,7 +167,7 @@ export default { async sureFollowClick() { const { data: res } = await this.$http({ method: 'post', - url: '/quguang/visit/patient', + url: '/hz_quguang/visit/patient', data: { ...this.form, projectId: window.SITE_CONFIG['projectId'], patientIdNumber: this.patientIdNumber } }) if (res.code === 0) { diff --git a/src/components/360View/key-indicators.vue b/src/components/360View/key-indicators.vue index 458d645..8b5596b 100644 --- a/src/components/360View/key-indicators.vue +++ b/src/components/360View/key-indicators.vue @@ -122,7 +122,7 @@ export default { parent.style.width = '380px' }, synchronData() { - this.$http.post('/quguang/table/dict/updateTableDict').then(({ data: res }) => { + this.$http.post('/hz_quguang/table/dict/updateTableDict').then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } else { @@ -139,7 +139,7 @@ export default { } }, async getShiLiAndYanYaData() { - const { data: res } = await this.$http.get('/quguang/patient/view/getYanZouAndYanYaData', { + const { data: res } = await this.$http.get('/hz_quguang/patient/view/getYanZouAndYanYaData', { params: { patientId: this.patientId } @@ -153,7 +153,7 @@ export default { }, // 获取关键指标--右侧获取筛选的具体值 async getKPI() { - const { data: res } = await this.$http.get(`/quguang/patient/view/getKPI?patientId=${this.patientId}`) + const { data: res } = await this.$http.get(`/hz_quguang/patient/view/getKPI?patientId=${this.patientId}`) if (res.code === 0) { this.kpilist = res.data if (res.data.length) { @@ -165,7 +165,7 @@ export default { }, // 获取关键指标的值--右侧根据关键指标中的具体值获取echarts图 async getKPIValue(obj) { - const { data: res } = await this.$http.get('/quguang/patient/view/getKPIValue', { + const { data: res } = await this.$http.get('/hz_quguang/patient/view/getKPIValue', { params: { id: obj.id, patientId: this.patientId diff --git a/src/components/H5form/blDataInfo.vue b/src/components/H5form/blDataInfo.vue index b6c012d..cc5ad19 100644 --- a/src/components/H5form/blDataInfo.vue +++ b/src/components/H5form/blDataInfo.vue @@ -110,7 +110,7 @@ export default { // 获取病例检查数据 async getBljcList() { // type 1 初诊 2 复诊 - const { data: res } = await this.$http.get('/quguang/opera/record/getEmrData', { + const { data: res } = await this.$http.get('/hz_quguang/opera/record/getEmrData', { params: { patientIdNumber: this.archiveCaseCRFItem.patientIdNumber, type: this.activeName diff --git a/src/components/H5form/consent-book-jmjl.vue b/src/components/H5form/consent-book-jmjl.vue index 39f1276..b0debc9 100644 --- a/src/components/H5form/consent-book-jmjl.vue +++ b/src/components/H5form/consent-book-jmjl.vue @@ -627,7 +627,7 @@ export default { // 获取手术间列表、麻醉方式列表、麻醉会诊列表 async scheduledList(type, id) { // 类型 1:职位,2:手术间,3:麻醉方式,4麻醉会诊,5手术切口等级,6手术部位 - const { data: res } = await this.$http.get('/quguang/sys/param/getList', { + const { data: res } = await this.$http.get('/hz_quguang/sys/param/getList', { params: { type: type } @@ -656,7 +656,7 @@ export default { // 获取表单 async getInfo(flag) { const { data: res } = await this.$http.get( - '/quguang/opera/agree/getOperaAgreeInfo', + '/hz_quguang/opera/agree/getOperaAgreeInfo', { params: { formId: this.archiveCaseCRFItem.id, @@ -711,7 +711,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { res.data.forEach(item => { item.name = item.operaName @@ -761,7 +761,7 @@ export default { }) // console.log('formvalue', formvalue) const { data: res } = await this.$http.post( - '/quguang/opera/agree/saveOperaAgreeInfo', + '/hz_quguang/opera/agree/saveOperaAgreeInfo', formvalue ) if (res.code === 0) { @@ -778,7 +778,7 @@ export default { }, // 是否开启了CA认证表单状态 async getSendCaStatus() { - const { data: res } = await this.$http.get('/quguang/caSign/getSendCaStatus', { + const { data: res } = await this.$http.get('/hz_quguang/caSign/getSendCaStatus', { params: { name: this.archiveCaseCRFItem.formName } @@ -803,7 +803,7 @@ export default { window.localStorage.getItem('qg-userData') ? this.userData = JSON.parse(window.localStorage.getItem('qg-userData')) : '' const caParams = { // 多人医生签名的url - signUrl: '/quguang/caSign/multiCaSign', + signUrl: '/hz_quguang/caSign/multiCaSign', // 文件名称 fileName: this.archiveCaseCRFItem.formName, // 表单标志位,10 激光手术同意书 + 联合手术同意书 diff --git a/src/components/H5form/consent-book-zfz-jgzl.vue b/src/components/H5form/consent-book-zfz-jgzl.vue index 00b78cd..f3f92f4 100644 --- a/src/components/H5form/consent-book-zfz-jgzl.vue +++ b/src/components/H5form/consent-book-zfz-jgzl.vue @@ -639,7 +639,7 @@ export default { // 获取手术间列表、麻醉方式列表、麻醉会诊列表 async scheduledList(type, id) { // 类型 1:职位,2:手术间,3:麻醉方式,4麻醉会诊,5手术切口等级,6手术部位 - const { data: res } = await this.$http.get('/quguang/sys/param/getList', { + const { data: res } = await this.$http.get('/hz_quguang/sys/param/getList', { params: { type: type } @@ -668,7 +668,7 @@ export default { // 获取表单 async getInfo(flag) { const { data: res } = await this.$http.get( - '/quguang/opera/agree/getOperaAgreeInfo', + '/hz_quguang/opera/agree/getOperaAgreeInfo', { params: { formId: this.archiveCaseCRFItem.id, @@ -723,7 +723,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { res.data.forEach(item => { item.name = item.operaName @@ -773,7 +773,7 @@ export default { }) // console.log('formvalue', formvalue) const { data: res } = await this.$http.post( - '/quguang/opera/agree/saveOperaAgreeInfo', + '/hz_quguang/opera/agree/saveOperaAgreeInfo', formvalue ) if (res.code === 0) { @@ -790,7 +790,7 @@ export default { }, // 是否开启了CA认证表单状态 async getSendCaStatus() { - const { data: res } = await this.$http.get('/quguang/caSign/getSendCaStatus', { + const { data: res } = await this.$http.get('/hz_quguang/caSign/getSendCaStatus', { params: { name: this.archiveCaseCRFItem.formName } @@ -815,7 +815,7 @@ export default { window.localStorage.getItem('qg-userData') ? this.userData = JSON.parse(window.localStorage.getItem('qg-userData')) : '' const caParams = { // 多人医生签名的url - signUrl: '/quguang/caSign/multiCaSign', + signUrl: '/hz_quguang/caSign/multiCaSign', // 文件名称 fileName: this.archiveCaseCRFItem.formName, // 表单标志位,10 激光手术同意书 + 联合手术同意书 diff --git a/src/components/H5form/consent-book.vue b/src/components/H5form/consent-book.vue index 8698b99..e13495a 100644 --- a/src/components/H5form/consent-book.vue +++ b/src/components/H5form/consent-book.vue @@ -337,7 +337,7 @@ export default { }, // 获取表单 async getInfo() { - const { data: res } = await this.$http.get('/quguang/informed/consent/getInformedConsentInfo', { + const { data: res } = await this.$http.get('/hz_quguang/informed/consent/getInformedConsentInfo', { params: { formId: this.archiveCaseCRFItem.id, formName: this.archiveCaseCRFItem.formName, @@ -393,7 +393,7 @@ export default { formvalue[item] = JSON.stringify(formvalue[item]) } }) - const { data: res } = await this.$http.post('/quguang/informed/consent/saveInformedConsent', formvalue) + const { data: res } = await this.$http.post('/hz_quguang/informed/consent/saveInformedConsent', formvalue) if (res.code === 0) { this.saveEidtTitle = '编辑' this.$message({ @@ -407,7 +407,7 @@ export default { }, // 是否开启了CA认证表单状态 async getSendCaStatus() { - const { data: res } = await this.$http.get('/quguang/caSign/getSendCaStatus', { + const { data: res } = await this.$http.get('/hz_quguang/caSign/getSendCaStatus', { params: { name: this.archiveCaseCRFItem.formName } diff --git a/src/components/H5form/dzblLook.vue b/src/components/H5form/dzblLook.vue index b825b58..46b0eaa 100644 --- a/src/components/H5form/dzblLook.vue +++ b/src/components/H5form/dzblLook.vue @@ -73,7 +73,7 @@ export default { }, // 获取左侧列表 async getInfo() { - const { data: res } = await this.$http.get('/quguang/qg/emr/getQgEmrRecordList', { + const { data: res } = await this.$http.get('/hz_quguang/qg/emr/getQgEmrRecordList', { params: { formId: this.archiveCaseCRFItem.id } diff --git a/src/components/H5form/dzblLookFun.vue b/src/components/H5form/dzblLookFun.vue index daa15e2..dd89eed 100644 --- a/src/components/H5form/dzblLookFun.vue +++ b/src/components/H5form/dzblLookFun.vue @@ -701,7 +701,7 @@ export default { // 获取屈光电子病历信息 async getQgEmrRecordInfo(id, flag) { this.isShow = 0 - const { data: res } = await this.$http.get('/quguang/qg/emr/getQgEmrRecordInfo', { + const { data: res } = await this.$http.get('/hz_quguang/qg/emr/getQgEmrRecordInfo', { params: { id: id } @@ -752,7 +752,10 @@ export default { this.html2Pdf({ marginStyle: Base64.encode(''), htmlBase: Base64.encode(document.getElementById('printButtonA5').innerHTML), - pageSize: 'A5' + pageSize: 'A5', + formId: this.formListValue.formId, + // 表单标志位,1:屈光电子病历/屈光电子病历(复诊) 2:术后检查记录表,3:角膜交联病历/角膜交联病历(复诊),4:角膜交联术后检查记录单,5:复诊病历 + formFlag: 1 }) }, 100); } diff --git a/src/components/H5form/fzbl.vue b/src/components/H5form/fzbl.vue index b3e6b73..7e79cc2 100644 --- a/src/components/H5form/fzbl.vue +++ b/src/components/H5form/fzbl.vue @@ -251,7 +251,7 @@ export default { // 获取表单 async getInfo() { this.isGetFormValue = false - const { data: res } = await this.$http.get('/quguang/fuzhen/emr/getInfo', { + const { data: res } = await this.$http.get('/hz_quguang/fuzhen/emr/getInfo', { params: { formId: this.archiveCaseCRFItem.id, formDate: this.archiveCaseCRFItem.formDate, @@ -287,12 +287,12 @@ export default { // 保存表单 saveAllForm(flag) { // publicFile.js中调取--获取上次保存时间方法 - this.getUpSaveTime('/quguang/fuzhen/emr/getInfo', flag) + this.getUpSaveTime('/hz_quguang/fuzhen/emr/getInfo', flag) }, // 保存表单 saveAllForm(flag) { // publicFile.js中调取--获取上次保存时间方法 - this.getUpSaveTime('/quguang/fuzhen/emr/getInfo', flag) + this.getUpSaveTime('/hz_quguang/fuzhen/emr/getInfo', flag) }, async saveForm(flag) { this.formListValue.createName = this.userData.realName @@ -302,7 +302,7 @@ export default { formvalue[item] = JSON.stringify(formvalue[item]) } }) - const { data: res } = await this.$http.post('/quguang/fuzhen/emr/saveInfo', formvalue) + const { data: res } = await this.$http.post('/hz_quguang/fuzhen/emr/saveInfo', formvalue) if (res.code === 0) { this.saveEidtTitle = '编辑' // res.data:病历最新的记录Id diff --git a/src/components/H5form/fzblLook.vue b/src/components/H5form/fzblLook.vue index 5f3ae82..e8e5501 100644 --- a/src/components/H5form/fzblLook.vue +++ b/src/components/H5form/fzblLook.vue @@ -74,7 +74,7 @@ export default { }, // 获取左侧列表 async getInfo() { - const { data: res } = await this.$http.get('/quguang/fuzhen/emr/getFuZhenRecordList', { + const { data: res } = await this.$http.get('/hz_quguang/fuzhen/emr/getFuZhenRecordList', { params: { formId: this.archiveCaseCRFItem.id } diff --git a/src/components/H5form/fzblLookPdfFun.vue b/src/components/H5form/fzblLookPdfFun.vue index 35ec076..570a8d4 100644 --- a/src/components/H5form/fzblLookPdfFun.vue +++ b/src/components/H5form/fzblLookPdfFun.vue @@ -119,7 +119,7 @@ export default { // 获取屈光电子病历信息 async getQgEmrRecordInfo(id, flag) { this.isShow = 0 - const { data: res } = await this.$http.get('/quguang/fuzhen/emr/getFuZhenRecordInfo', { + const { data: res } = await this.$http.get('/hz_quguang/fuzhen/emr/getFuZhenRecordInfo', { params: { id: id } @@ -148,7 +148,10 @@ export default { this.html2Pdf({ marginStyle: Base64.encode(''), htmlBase: Base64.encode(document.getElementById('printButtonA5').innerHTML), - pageSize: 'A5' + pageSize: 'A5', + formId: this.formListValue.formId, + // 表单标志位,1:屈光电子病历/屈光电子病历(复诊) 2:术后检查记录表,3:角膜交联病历/角膜交联病历(复诊),4:角膜交联术后检查记录单,5:复诊病历 + formFlag: 5 }) }, 100); } diff --git a/src/components/H5form/historyData.vue b/src/components/H5form/historyData.vue index e1ca110..4154ccd 100644 --- a/src/components/H5form/historyData.vue +++ b/src/components/H5form/historyData.vue @@ -807,7 +807,7 @@ export default { // 获取信息 async getInfo(url) { this.flag = 0 - const { data: res } = await this.$http.get(`/quguang/qg/emr/${url}`, { + const { data: res } = await this.$http.get(`/hz_quguang/qg/emr/${url}`, { params: { patientId: this.patientId } @@ -1134,7 +1134,7 @@ export default { // 一键引入 async yjyrClick() { // flag 1 引入当天 flag 0 最新 - const { data: res } = await this.$http.get('/quguang/qg/emr/getCollectData', { + const { data: res } = await this.$http.get('/hz_quguang/qg/emr/getCollectData', { params: { patientId: this.patientId, flag: this.isTodayCheck ? 1 : 0 diff --git a/src/components/H5form/lhopera-consent-book.vue b/src/components/H5form/lhopera-consent-book.vue index e17298c..aa026a1 100644 --- a/src/components/H5form/lhopera-consent-book.vue +++ b/src/components/H5form/lhopera-consent-book.vue @@ -713,7 +713,7 @@ export default { // 获取手术间列表、麻醉方式列表、麻醉会诊列表 async scheduledList(type, id) { // 类型 1:职位,2:手术间,3:麻醉方式,4麻醉会诊,5手术切口等级,6手术部位 - const { data: res } = await this.$http.get('/quguang/sys/param/getList', { + const { data: res } = await this.$http.get('/hz_quguang/sys/param/getList', { params: { type: type } @@ -742,7 +742,7 @@ export default { // 获取表单 async getInfo(flag) { const { data: res } = await this.$http.get( - '/quguang/opera/agree/getOperaAgreeInfo', + '/hz_quguang/opera/agree/getOperaAgreeInfo', { params: { formId: this.archiveCaseCRFItem.id, @@ -798,7 +798,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { res.data.forEach(item => { item.name = item.operaName @@ -847,7 +847,7 @@ export default { } }) const { data: res } = await this.$http.post( - '/quguang/opera/agree/saveOperaAgreeInfo', + '/hz_quguang/opera/agree/saveOperaAgreeInfo', formvalue ) if (res.code === 0) { @@ -864,7 +864,7 @@ export default { }, // 是否开启了CA认证表单状态 async getSendCaStatus() { - const { data: res } = await this.$http.get('/quguang/caSign/getSendCaStatus', { + const { data: res } = await this.$http.get('/hz_quguang/caSign/getSendCaStatus', { params: { name: this.archiveCaseCRFItem.formName } @@ -889,7 +889,7 @@ export default { window.localStorage.getItem('qg-userData') ? this.userData = JSON.parse(window.localStorage.getItem('qg-userData')) : '' const caParams = { // 多人医生签名的url - signUrl: '/quguang/caSign/multiCaSign', + signUrl: '/hz_quguang/caSign/multiCaSign', // 文件名称 fileName: this.archiveCaseCRFItem.formName, // 表单标志位,10 激光手术同意书 + 联合手术同意书 diff --git a/src/components/H5form/life-tab.vue b/src/components/H5form/life-tab.vue index 931b093..b8c9ffd 100644 --- a/src/components/H5form/life-tab.vue +++ b/src/components/H5form/life-tab.vue @@ -76,7 +76,7 @@ export default { methods: { // 获取生命体征 async getlife(tab) { - const { data: res } = await this.$http.get('/quguang/pda/getInfo', { + const { data: res } = await this.$http.get('/hz_quguang/pda/getInfo', { params: { operaPatientId: this.currentPatientInfo.id, type: tab diff --git a/src/components/H5form/notice-book.vue b/src/components/H5form/notice-book.vue index ef1633a..a85e8d4 100644 --- a/src/components/H5form/notice-book.vue +++ b/src/components/H5form/notice-book.vue @@ -286,7 +286,7 @@ export default { // 获取表单 async getInfo() { const { data: res } = await this.$http.get( - '/quguang/notification/getNotificationInfo', + '/hz_quguang/notification/getNotificationInfo', { params: { formId: this.archiveCaseCRFItem.id, @@ -340,7 +340,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { res.data.forEach((item) => { item.name = item.operaName @@ -362,7 +362,7 @@ export default { } }) const { data: res } = await this.$http.post( - '/quguang/notification/saveNotification', + '/hz_quguang/notification/saveNotification', formvalue ) if (res.code === 0) { @@ -378,7 +378,7 @@ export default { }, // 是否开启了CA认证表单状态 async getSendCaStatus() { - const { data: res } = await this.$http.get('/quguang/caSign/getSendCaStatus', { + const { data: res } = await this.$http.get('/hz_quguang/caSign/getSendCaStatus', { params: { name: this.archiveCaseCRFItem.formName } diff --git a/src/components/H5form/operaCheckLook.vue b/src/components/H5form/operaCheckLook.vue index 155f2f4..53f76b6 100644 --- a/src/components/H5form/operaCheckLook.vue +++ b/src/components/H5form/operaCheckLook.vue @@ -69,7 +69,7 @@ export default { }, // 获取左侧列表 async getInfo() { - const { data: res } = await this.$http.get('/quguang/opera/after/getOperaAfterRecordList', { + const { data: res } = await this.$http.get('/hz_quguang/opera/after/getOperaAfterRecordList', { params: { formId: this.archiveCaseCRFItem.id } diff --git a/src/components/H5form/operaCheckLookPdfFun.vue b/src/components/H5form/operaCheckLookPdfFun.vue index 805ee22..6cf8c66 100644 --- a/src/components/H5form/operaCheckLookPdfFun.vue +++ b/src/components/H5form/operaCheckLookPdfFun.vue @@ -327,7 +327,7 @@ export default { // 获取屈光电子病历信息 async getQgEmrRecordInfo(id, flag) { this.isShow = 0 - const { data: res } = await this.$http.get('/quguang/opera/after/getOperaAfterInfoRecord', { + const { data: res } = await this.$http.get('/hz_quguang/opera/after/getOperaAfterInfoRecord', { params: { id: id } @@ -387,7 +387,10 @@ export default { this.html2Pdf({ marginStyle: Base64.encode(''), htmlBase: Base64.encode(document.getElementById('printButtonA5').innerHTML), - pageSize: 'A5' + pageSize: 'A5', + formId: this.formListValue.formId, + // 表单标志位,1:屈光电子病历/屈光电子病历(复诊) 2:术后检查记录表,3:角膜交联病历/角膜交联病历(复诊),4:角膜交联术后检查记录单,5:复诊病历 + formFlag: 2 }) }, 100); } diff --git a/src/components/H5form/intoMrz.vue b/src/components/H5form/operaRecordIntoMrz.vue similarity index 100% rename from src/components/H5form/intoMrz.vue rename to src/components/H5form/operaRecordIntoMrz.vue diff --git a/src/components/H5form/operation-nursing-record.vue b/src/components/H5form/operation-nursing-record.vue index 33c75d3..d19f7d6 100644 --- a/src/components/H5form/operation-nursing-record.vue +++ b/src/components/H5form/operation-nursing-record.vue @@ -1033,7 +1033,7 @@ export default { // 获取表单 async getInfo(pageTitle) { const { data: res } = await this.$http.get( - '/quguang/opera/huli/getOperaHuLiInfoByOperaId', + '/hz_quguang/opera/huli/getOperaHuLiInfoByOperaId', { params: { operaId: @@ -1086,7 +1086,7 @@ export default { }, // 获取生命体征 async getLife(type) { - const { data: res } = await this.$http.get('/quguang/pda/getInfo', { + const { data: res } = await this.$http.get('/hz_quguang/pda/getInfo', { params: { operaPatientId: this.pageTitle === '手术列表' @@ -1118,7 +1118,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { res.data.forEach((item) => { item.name = item.operaName @@ -1131,7 +1131,7 @@ export default { }, // 获取手术状态时间 async getOperaStatusTime() { - const { data: res } = await this.$http.get('/quguang/pda/getOperaStatusTime', { + const { data: res } = await this.$http.get('/hz_quguang/pda/getOperaStatusTime', { params: { operaId: this.pageTitle === '手术列表' @@ -1204,7 +1204,7 @@ export default { } }) const { data: res } = await this.$http.post( - '/quguang/opera/huli/saveOperaHuLiInfo', + '/hz_quguang/opera/huli/saveOperaHuLiInfo', formvalue ) if (res.code === 0) { @@ -1242,6 +1242,8 @@ export default { this.getInfo() }) this.$emit('closeDialog') + } else { + this.$emit('closeDialog') } // 我转出正常-暂时不开 diff --git a/src/components/H5form/operation-plan-fun.vue b/src/components/H5form/operation-plan-fun.vue index 94bf8b9..b9bd68b 100644 --- a/src/components/H5form/operation-plan-fun.vue +++ b/src/components/H5form/operation-plan-fun.vue @@ -586,7 +586,7 @@ export default { // 获取表单内容 async getInfo() { this.isGetFormValue = false - const { data: res } = await this.$http.get('/quguang/opera/plan/getOperaPlanInfo', { + const { data: res } = await this.$http.get('/hz_quguang/opera/plan/getOperaPlanInfo', { params: { formId: this.archiveCaseCRFItem.id, formName: this.archiveCaseCRFItem.formName, @@ -620,7 +620,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { res.data.forEach(item => { item.name = item.operaName @@ -666,7 +666,7 @@ export default { formvalue[item] = JSON.stringify(formvalue[item]) } }) - const { data: res } = await this.$http.post('/quguang/opera/plan/saveOperaPlanInfo', formvalue) + const { data: res } = await this.$http.post('/hz_quguang/opera/plan/saveOperaPlanInfo', formvalue) if (res.code === 0) { this.saveEidtTitle = '编辑' text ? '' : this.$message({ diff --git a/src/components/H5form/operation-plan.vue b/src/components/H5form/operation-plan.vue index 318218f..a911561 100644 --- a/src/components/H5form/operation-plan.vue +++ b/src/components/H5form/operation-plan.vue @@ -122,6 +122,9 @@
手术方式
+
+ nomo +
其它
@@ -197,6 +200,11 @@ /> --> + +
+ / + +
@@ -274,6 +282,11 @@ /> -->
+ +
+ / + +
@@ -491,6 +504,10 @@ export default { // 手术方式 ssfsOd: '', ssfsOs: '', + nomoOd1:'', + nomoOd2:'', + nomoOs1:'', + nomoOs2:'', // 其它 qtOd: [], qtOs: [], @@ -608,7 +625,7 @@ export default { async getInfo() { this.isGetFormValue = false const { data: res } = await this.$http.get( - '/quguang/opera/plan/getOperaPlanInfo', + '/hz_quguang/opera/plan/getOperaPlanInfo', { params: { formId: this.archiveCaseCRFItem.id, @@ -682,7 +699,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { res.data.forEach((item) => { item.name = item.operaName @@ -734,7 +751,7 @@ export default { }, // -4:等待签到,-3:等待验光/等待谈话,-2:等待验光,-1:等待谈话 async statusHandle() { - const { data: res } = await this.$http.post('/quguang/pda/updateOperaStatus', { + const { data: res } = await this.$http.post('/hz_quguang/pda/updateOperaStatus', { operaId: this.formListValue.operaId, status: -1 }) @@ -752,7 +769,7 @@ export default { // background: 'rgba(255, 255, 255, 0.7)' // }) // publicFile.js中调取--获取上次保存时间方法 - this.getUpSaveTime('/quguang/opera/plan/getOperaPlanInfo', text) + this.getUpSaveTime('/hz_quguang/opera/plan/getOperaPlanInfo', text) }, async saveForm(text) { const userData = window.localStorage.getItem('qg-userData') ? JSON.parse(window.localStorage.getItem('qg-userData')) : '' @@ -764,7 +781,7 @@ export default { } }) const { data: res } = await this.$http.post( - '/quguang/opera/plan/saveOperaPlanInfo', + '/hz_quguang/opera/plan/saveOperaPlanInfo', formvalue ) if (res.code === 0) { diff --git a/src/components/H5form/operation-record copy.vue b/src/components/H5form/operation-record copy.vue index 6076f39..015d8ce 100644 --- a/src/components/H5form/operation-record copy.vue +++ b/src/components/H5form/operation-record copy.vue @@ -1549,7 +1549,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { // res.data.forEach((item) => { // item.name = item.operaName @@ -1566,7 +1566,7 @@ export default { async getInfo() { console.log(this.archiveCaseCRFItem) const { data: res } = await this.$http.get( - '/quguang/opera/record/getOperaRecordInfoByOperaId', + '/hz_quguang/opera/record/getOperaRecordInfoByOperaId', { params: { operaId: @@ -1731,7 +1731,7 @@ export default { }, // 计算矫正度数中的球镜 async jsJzdsQjValue(jzds, loading) { - const { data: res } = await this.$http.get('/quguang/opera/record/getQjValue', { + const { data: res } = await this.$http.get('/hz_quguang/opera/record/getQjValue', { params: { value: this.bljcList.plan.yqjzdsOd1, age: this.formListValue.patientAge @@ -1752,7 +1752,7 @@ export default { // 获取病例检查数据 async getBljcList() { // type 1 初诊 2 复诊 - const { data: res } = await this.$http.get('/quguang/opera/record/getEmrData', { + const { data: res } = await this.$http.get('/hz_quguang/opera/record/getEmrData', { params: { patientIdNumber: this.archiveCaseCRFItem ? this.archiveCaseCRFItem.patientIdNumber : '', type: 1 // 1 初诊病历 2 复诊病历 @@ -1781,7 +1781,7 @@ export default { } }) const { data: res } = await this.$http.post( - '/quguang/opera/record/saveOperaRecordInfo', + '/hz_quguang/opera/record/saveOperaRecordInfo', formvalue ) if (res.code === 0) { @@ -1799,7 +1799,7 @@ export default { }, // 是否开启了CA认证表单状态 async getSendCaStatus(resData) { - const { data: res } = await this.$http.get('/quguang/caSign/getSendCaStatus', { + const { data: res } = await this.$http.get('/hz_quguang/caSign/getSendCaStatus', { params: { name: '手术记录' } @@ -1826,7 +1826,7 @@ export default { this.formListValue.zdSign = '' const caParams = { // 多人医生签名的url - signUrl: '/quguang/caSign/multiCaSign', + signUrl: '/hz_quguang/caSign/multiCaSign', // 文件名称 fileName: '手术记录', // 表单标志位,1:屈光电子病历/屈光电子病历(复诊) 2:术后检查记录表,3:角膜交联病历/角膜交联病历(复诊),4:角膜交联术后检查记录单,5:复诊病历,6:手术计划,7:手术记录 diff --git a/src/components/H5form/operation-record-into.vue b/src/components/H5form/operation-record-into.vue index 4132433..7f52db2 100644 --- a/src/components/H5form/operation-record-into.vue +++ b/src/components/H5form/operation-record-into.vue @@ -211,7 +211,7 @@ export default { }, // 获取表单列表 async getFormList() { - const { data: res } = await this.$http.get('/quguang/opera/record/temp/getListByName', { + const { data: res } = await this.$http.get('/hz_quguang/opera/record/temp/getListByName', { params: { operaName: this.currentList.operaName } diff --git a/src/components/H5form/operation-record.vue b/src/components/H5form/operation-record.vue index 2f253d0..4a2c660 100644 --- a/src/components/H5form/operation-record.vue +++ b/src/components/H5form/operation-record.vue @@ -1198,7 +1198,7 @@ :archive-case-c-r-f-item="archiveCaseCRFItem" @yinruTemplateClick="yinruTemplateClick" @closeDialog="intoTemplateVisible = false" /> - { // item.name = item.operaName @@ -1507,7 +1507,7 @@ export default { async getInfo() { console.log(this.archiveCaseCRFItem) const { data: res } = await this.$http.get( - '/quguang/opera/record/getOperaRecordInfoByOperaId', + '/hz_quguang/opera/record/getOperaRecordInfoByOperaId', { params: { operaId: @@ -1671,7 +1671,7 @@ export default { }, // 计算矫正度数中的球镜 async jsJzdsQjValue(jzds, loading) { - const { data: res } = await this.$http.get('/quguang/opera/record/getQjValue', { + const { data: res } = await this.$http.get('/hz_quguang/opera/record/getQjValue', { params: { value: this.bljcList.plan.yqjzdsOd1, age: this.formListValue.patientAge @@ -1692,7 +1692,7 @@ export default { // 获取病例检查数据 async getBljcList() { // type 1 初诊 2 复诊 - const { data: res } = await this.$http.get('/quguang/opera/record/getEmrData', { + const { data: res } = await this.$http.get('/hz_quguang/opera/record/getEmrData', { params: { patientIdNumber: this.archiveCaseCRFItem ? this.archiveCaseCRFItem.patientIdNumber : '', type: 1 // 1 初诊病历 2 复诊病历 @@ -1720,7 +1720,7 @@ export default { } }) const { data: res } = await this.$http.post( - '/quguang/opera/record/saveOperaRecordInfo', + '/hz_quguang/opera/record/saveOperaRecordInfo', formvalue ) if (res.code === 0) { @@ -1760,6 +1760,8 @@ export default { this.getInfo() }) this.$emit('closeDialog') + } else { + this.$emit('closeDialog') } // 我转出正常-暂时不开 diff --git a/src/components/H5form/operationed-check-record.vue b/src/components/H5form/operationed-check-record.vue index 295de15..614178e 100644 --- a/src/components/H5form/operationed-check-record.vue +++ b/src/components/H5form/operationed-check-record.vue @@ -1394,7 +1394,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { res.data.forEach(item => { item.name = item.operaName @@ -1413,7 +1413,7 @@ export default { this.isGetFormValue = false this.formListValue.ykjcImgOd = this.ykjcImgOd this.formListValue.ykjcImgOs = this.ykjcImgOs - const { data: res } = await this.$http.get('/quguang/opera/after/getOperaAfterInfo', { + const { data: res } = await this.$http.get('/hz_quguang/opera/after/getOperaAfterInfo', { params: { formId: this.archiveCaseCRFItem.id, formName: this.archiveCaseCRFItem.formName, @@ -1531,7 +1531,7 @@ export default { // 手术日期改变时计算术后天数 async operaDateChange(text, e) { if (e) { - const { data: res } = await this.$http.get('/quguang/opera/after/getOperaAfterDayInfo', { + const { data: res } = await this.$http.get('/hz_quguang/opera/after/getOperaAfterDayInfo', { params: { dateStr: e } @@ -1579,7 +1579,7 @@ export default { // 保存表单 saveAllForm() { // publicFile.js中调取--获取上次保存时间方法 - this.getUpSaveTime('/quguang/opera/after/getOperaAfterInfo') + this.getUpSaveTime('/hz_quguang/opera/after/getOperaAfterInfo') }, saveForm() { this.$refs.formListValue.validate(async (valid) => { @@ -1601,7 +1601,7 @@ export default { // 主诉拼接,走CA认证之前提前拼接,方便判断 this.zsSplit(index) }) - const { data: res } = await this.$http.post('/quguang/opera/after/saveOperaAfterInfo', formvalue) + const { data: res } = await this.$http.post('/hz_quguang/opera/after/saveOperaAfterInfo', formvalue) if (res.code === 0) { this.saveEidtTitle = '编辑' // res.data:病历最新的记录Id diff --git a/src/components/H5form/payDemandNote.vue b/src/components/H5form/payDemandNote.vue index c00ee42..557ffb0 100644 --- a/src/components/H5form/payDemandNote.vue +++ b/src/components/H5form/payDemandNote.vue @@ -375,7 +375,7 @@ export default { }, // 获取表单 async getInfo() { - const { data: res } = await this.$http.get('/quguang/sfd/getInfo', { + const { data: res } = await this.$http.get('/hz_quguang/sfd/getInfo', { params: { formId: this.archiveCaseCRFItem.id, formName: this.archiveCaseCRFItem.formName, @@ -423,7 +423,7 @@ export default { }, // 获取收费项列表 async getpayList() { - const { data: res } = await this.$http.get('/quguang/charge/conf/getList') + const { data: res } = await this.$http.get('/hz_quguang/charge/conf/getList') if (res.code === 0) { this.sfxmList = res.data } else { @@ -480,7 +480,7 @@ export default { this.formListValue.gzrSign = '' this.formListValue.dlrSign = '' const { data: res } = await this.$http.post( - '/quguang/sfd/save', + '/hz_quguang/sfd/save', this.formListValue ) if (res.code === 0) { @@ -496,7 +496,7 @@ export default { }, // 是否开启了CA认证表单状态 async getSendCaStatus() { - const { data: res } = await this.$http.get('/quguang/caSign/getSendCaStatus', { + const { data: res } = await this.$http.get('/hz_quguang/caSign/getSendCaStatus', { params: { name: this.archiveCaseCRFItem.formName } diff --git a/src/components/H5form/qg-dzbl.vue b/src/components/H5form/qg-dzbl.vue index 3813dcf..9217bfe 100644 --- a/src/components/H5form/qg-dzbl.vue +++ b/src/components/H5form/qg-dzbl.vue @@ -2549,7 +2549,7 @@ export default { this.formListValue.lxdjcImgOs = this.lxdjcImgOs this.formListValue.stydjcImgOd = this.stydjcImgOd this.formListValue.stydjcImgOs = this.stydjcImgOs - const { data: res } = await this.$http.get('/quguang/qg/emr/getQgEmrInfo', { + const { data: res } = await this.$http.get('/hz_quguang/qg/emr/getQgEmrInfo', { params: { formId: this.archiveCaseCRFItem.id, formName: this.archiveCaseCRFItem.formName, @@ -2586,7 +2586,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { res.data.forEach(item => { item.name = item.operaName @@ -2602,7 +2602,7 @@ export default { console.log('获取预约手术信息') // flag>0 不能修改,因为已预约了 // flag=0可修改,还未预约 - const { data: res } = await this.$http.get('/quguang/opera/patient/getExecuteOperaList', { + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getExecuteOperaList', { params: { crfFormId: this.archiveCaseCRFItem.id } @@ -2738,7 +2738,7 @@ export default { // 引入检查数据 async yrData() { // flag 1 引入当天 flag 0 最新 - const { data: res } = await this.$http.get('/quguang/qg/emr/getCollectData', { + const { data: res } = await this.$http.get('/hz_quguang/qg/emr/getCollectData', { params: { patientId: this.patientId, flag: 1 @@ -2752,7 +2752,7 @@ export default { }, // 获取上次保存时间 async getUpSaveTime(yrFlag) { - const { data: res } = await this.$http.get('/quguang/qg/emr/getQgEmrInfo', { + const { data: res } = await this.$http.get('/hz_quguang/qg/emr/getQgEmrInfo', { params: { formId: this.archiveCaseCRFItem.id, formName: this.archiveCaseCRFItem.formName, @@ -2786,7 +2786,7 @@ export default { }, // 保存预约手术信息 async saveOrderScheduled(yrFlag) { - const { data: res } = await this.$http.post('/quguang/opera/patient/save', { + const { data: res } = await this.$http.post('/hz_quguang/opera/patient/save', { crfFormId: this.archiveCaseCRFItem.id, operaODOS: this.yyssfs.odList.length > 0 || this.yyssfs.osList.length > 0 || this.yyssfs.ouList.length > 0 ? [{ eyeType: 'OD', @@ -2879,7 +2879,7 @@ export default { formvalue[item] = JSON.stringify(formvalue[item]) } }) - const { data: res } = await this.$http.post('/quguang/qg/emr/saveQgEmrInfo', formvalue) + const { data: res } = await this.$http.post('/hz_quguang/qg/emr/saveQgEmrInfo', formvalue) if (res.code === 0) { this.saveEidtTitle = '编辑' // res.data:病历最新的记录Id diff --git a/src/components/H5form/qgyj.vue b/src/components/H5form/qgyj.vue index ee64131..851d9a5 100644 --- a/src/components/H5form/qgyj.vue +++ b/src/components/H5form/qgyj.vue @@ -887,7 +887,7 @@ export default { }, async getInfo() { this.isGetFormValue = false - const { data: res } = await this.$http.get('/quguang/qg/yujian/getQgYujianInfo', { + const { data: res } = await this.$http.get('/hz_quguang/qg/yujian/getQgYujianInfo', { params: { formId: this.archiveCaseCRFItem.id, formName: this.archiveCaseCRFItem.formName, @@ -955,7 +955,7 @@ export default { formvalue[item] = JSON.stringify(formvalue[item]) } }) - const { data: res } = await this.$http.post('/quguang/qg/yujian/saveQgYujianInfo', formvalue) + const { data: res } = await this.$http.post('/hz_quguang/qg/yujian/saveQgYujianInfo', formvalue) if (res.code === 0) { this.saveEidtTitle = '编辑' text ? '' : this.$message({ diff --git a/src/components/H5form/safety-checklist.vue b/src/components/H5form/safety-checklist.vue index ce45153..218dd23 100644 --- a/src/components/H5form/safety-checklist.vue +++ b/src/components/H5form/safety-checklist.vue @@ -866,7 +866,7 @@ export default { }, // 获取表单 async getInfo() { - const { data: res } = await this.$http.get('/quguang/safety/check/getSafetyCheckInfo', { + const { data: res } = await this.$http.get('/hz_quguang/safety/check/getSafetyCheckInfo', { params: { operaId: this.pageTitle === '手术列表' ? this.archiveCaseCRFItem.id : this.archiveCaseCRFItem.operaId, patientIdNumber: this.archiveCaseCRFItem.patientIdNumber @@ -897,7 +897,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { res.data.forEach(item => { item.name = item.operaName @@ -917,7 +917,7 @@ export default { }) }, async getSaveDate(flag) { - const { data: res } = await this.$http.get('/quguang/safety/check/getSafetyCheckInfo', { + const { data: res } = await this.$http.get('/hz_quguang/safety/check/getSafetyCheckInfo', { params: { operaId: this.pageTitle === '手术列表' ? this.archiveCaseCRFItem.id : this.archiveCaseCRFItem.operaId, patientIdNumber: this.archiveCaseCRFItem.patientIdNumber @@ -955,7 +955,7 @@ export default { formvalue[item] = JSON.stringify(formvalue[item]) } }) - const { data: res } = await this.$http.post('/quguang/safety/check/saveSafetyCheckInfo', formvalue) + const { data: res } = await this.$http.post('/hz_quguang/safety/check/saveSafetyCheckInfo', formvalue) if (res.code === 0) { this.saveEidtTitle = '编辑' this.$message({ diff --git a/src/components/H5form/shouquanBook.vue b/src/components/H5form/shouquanBook.vue index 8ebfa65..6980375 100644 --- a/src/components/H5form/shouquanBook.vue +++ b/src/components/H5form/shouquanBook.vue @@ -688,7 +688,7 @@ export default { }, // 获取表单 async getInfo() { - const { data: res } = await this.$http.get('/quguang/shouquan/getOperaShouQuanInfo', { + const { data: res } = await this.$http.get('/hz_quguang/shouquan/getOperaShouQuanInfo', { params: { formId: this.archiveCaseCRFItem.id, formName: this.archiveCaseCRFItem.formName, @@ -759,7 +759,7 @@ export default { } }) // return - const { data: res } = await this.$http.post('/quguang/shouquan/saveOperaShouQuan', formvalue) + const { data: res } = await this.$http.post('/hz_quguang/shouquan/saveOperaShouQuan', formvalue) if (res.code === 0) { this.saveEidtTitle = '编辑' this.$message({ @@ -773,7 +773,7 @@ export default { }, // 是否开启了CA认证表单状态 async getSendCaStatus() { - const { data: res } = await this.$http.get('/quguang/caSign/getSendCaStatus', { + const { data: res } = await this.$http.get('/hz_quguang/caSign/getSendCaStatus', { params: { name: this.archiveCaseCRFItem.formName } diff --git a/src/components/H5form/talk-record.vue b/src/components/H5form/talk-record.vue index d3c2347..1b4de0b 100644 --- a/src/components/H5form/talk-record.vue +++ b/src/components/H5form/talk-record.vue @@ -743,7 +743,7 @@ export default { // 获取手术间列表、麻醉方式列表、麻醉会诊列表 async scheduledList(type, id) { // 类型 1:职位,2:手术间,3:麻醉方式,4麻醉会诊,5手术切口等级,6手术部位 - const { data: res } = await this.$http.get('/quguang/sys/param/getList', { + const { data: res } = await this.$http.get('/hz_quguang/sys/param/getList', { params: { type: type } @@ -772,7 +772,7 @@ export default { // 获取表单 async getInfo(flag) { const { data: res } = await this.$http.get( - '/quguang/opera/agree/getOperaAgreeInfo', + '/hz_quguang/opera/agree/getOperaAgreeInfo', { params: { formId: this.archiveCaseCRFItem.id, @@ -827,7 +827,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { res.data.forEach(item => { item.name = item.operaName @@ -877,7 +877,7 @@ export default { }) // console.log('formvalue', formvalue) const { data: res } = await this.$http.post( - '/quguang/opera/agree/saveOperaAgreeInfo', + '/hz_quguang/opera/agree/saveOperaAgreeInfo', formvalue ) if (res.code === 0) { @@ -895,7 +895,7 @@ export default { }, // -4:等待签到,-3:等待验光/等待谈话,-2:等待验光,-1:等待谈话 async statusHandle() { - const { data: res } = await this.$http.post('/quguang/pda/updateOperaStatus', { + const { data: res } = await this.$http.post('/hz_quguang/pda/updateOperaStatus', { operaId: this.formListValue.operaId, status: -2 }) @@ -906,7 +906,7 @@ export default { }, // 是否开启了CA认证表单状态 async getSendCaStatus() { - const { data: res } = await this.$http.get('/quguang/caSign/getSendCaStatus', { + const { data: res } = await this.$http.get('/hz_quguang/caSign/getSendCaStatus', { params: { name: this.archiveCaseCRFItem.formName } @@ -931,7 +931,7 @@ export default { window.localStorage.getItem('qg-userData') ? this.userData = JSON.parse(window.localStorage.getItem('qg-userData')) : '' const caParams = { // 多人医生签名的url - signUrl: '/quguang/caSign/multiCaSign', + signUrl: '/hz_quguang/caSign/multiCaSign', // 文件名称 fileName: this.archiveCaseCRFItem.formName, // 表单标志位,10 激光手术同意书 + 联合手术同意书 diff --git a/src/components/H5formOhter/h5formButton.vue b/src/components/H5formOhter/h5formButton.vue index 5374a5d..4d4676e 100644 --- a/src/components/H5formOhter/h5formButton.vue +++ b/src/components/H5formOhter/h5formButton.vue @@ -354,7 +354,7 @@ export default { // 一键引入全部 async yjyrClick() { // flag 1 引入当天 flag 0 最新 - const { data: res } = await this.$http.get('/quguang/qg/emr/getCollectData', { + const { data: res } = await this.$http.get('/hz_quguang/qg/emr/getCollectData', { params: { patientId: this.$parent.patientId, flag: 1 diff --git a/src/components/H5formOhter/historyRecord.vue b/src/components/H5formOhter/historyRecord.vue index 6382e7b..fc2d0fa 100644 --- a/src/components/H5formOhter/historyRecord.vue +++ b/src/components/H5formOhter/historyRecord.vue @@ -73,7 +73,7 @@ export default { }, data() { return { - uploadUrl: process.env.VUE_APP_LOGIN_URL + '/quguang/bd/file/uploadFile', + uploadUrl: process.env.VUE_APP_LOGIN_URL + '/hz_quguang/bd/file/uploadFile', uploadData: { formId: this.archiveCaseCRFItem.id }, @@ -97,7 +97,7 @@ export default { }, // 查询 getHistoryList() { - this.$http.get('/quguang/bd/file/getFileList', { + this.$http.get('/hz_quguang/bd/file/getFileList', { params: { formId: this.archiveCaseCRFItem.id } @@ -143,7 +143,7 @@ export default { } this.$confirm('确认删除该条信息么?').then(async() => { const { data: res } = await this.$http({ - url: '/quguang/bd/file/delete', + url: '/hz_quguang/bd/file/delete', method: 'delete', data: [this.id] }) diff --git a/src/components/assignpeople-dialog/index.vue b/src/components/assignpeople-dialog/index.vue index 727b5c0..89467f9 100644 --- a/src/components/assignpeople-dialog/index.vue +++ b/src/components/assignpeople-dialog/index.vue @@ -83,7 +83,7 @@ export default { // 确定分配人员 async sureJoinedPeopleClick() { this.$emit('IsDialogVisible', false) - const { data: res } = await this.$http.post('/quguang/projectUser', { + const { data: res } = await this.$http.post('/hz_quguang/projectUser', { projectId: this.currentPeopleId, userIdList: this.joinedListUserId }) diff --git a/src/components/data-vision/index.vue b/src/components/data-vision/index.vue index 5b5b0ea..9938d16 100644 --- a/src/components/data-vision/index.vue +++ b/src/components/data-vision/index.vue @@ -248,7 +248,7 @@ export default { }, // 获取今日数据 async getTodayDataList() { - // const { data: res } = await this.$http.get('/quguang/data/analyse/todayDpAnalyse') + // const { data: res } = await this.$http.get('/hz_quguang/data/analyse/todayDpAnalyse') // if (res.code === 0) { // this.todayDataList = JSON.parse(JSON.stringify(res.data)) // this.todayDataList.forEach(item => { @@ -287,7 +287,7 @@ export default { }, // 当月订片top5 async getMonthOperationTop() { - const { data: res } = await this.$http.get('/quguang/data/analyse/monthDpTop5') + const { data: res } = await this.$http.get('/hz_quguang/data/analyse/monthDpTop5') if (res.code === 0) { this.monthOperationTopList = res.data } else { @@ -296,7 +296,7 @@ export default { }, // 获取历史录入数据 async getHistoryDataList() { - const { data: res } = await this.$http.get('/quguang/data/analyse/historyInsert') + const { data: res } = await this.$http.get('/hz_quguang/data/analyse/historyInsert') if (res.code === 0) { this.historyDataList = res.data } else { @@ -305,7 +305,7 @@ export default { }, // 获取患者分析数据 async getPatientSnalyse() { - const { data: res } = await this.$http.get('/quguang/data/analyse/patientAnalyse') + const { data: res } = await this.$http.get('/hz_quguang/data/analyse/patientAnalyse') if (res.code === 0) { this.patientAnalyseList = res.data } else { @@ -314,7 +314,7 @@ export default { }, // 获取眼压分布 async getYanyaList() { - const { data: res } = await this.$http.get('/quguang/data/analyse/IOPAnalyse') + const { data: res } = await this.$http.get('/hz_quguang/data/analyse/IOPAnalyse') if (res.code === 0) { this.yanyaList = res.data } else { @@ -323,7 +323,7 @@ export default { }, // 获取视力分布 async getShiliList() { - const { data: res } = await this.$http.get('/quguang/data/analyse/VAAnalyse') + const { data: res } = await this.$http.get('/hz_quguang/data/analyse/VAAnalyse') if (res.code === 0) { this.shiliList = res.data } else { @@ -332,7 +332,7 @@ export default { }, // 获取眼轴分布 async getYanzhouList() { - const { data: res } = await this.$http.get('/quguang/data/analyse/ALAnalyse') + const { data: res } = await this.$http.get('/hz_quguang/data/analyse/ALAnalyse') if (res.code === 0) { this.yanzhouList = res.data } else { @@ -341,7 +341,7 @@ export default { }, // 获取用药分析 async medication() { - const { data: res } = await this.$http.get('/quguang/data/analyse/medicationAnalyse') + const { data: res } = await this.$http.get('/hz_quguang/data/analyse/medicationAnalyse') if (res.code === 0) { this.medicationList = res.data } else { @@ -350,7 +350,7 @@ export default { }, // 获取诊断分析 async getDiagnosis() { - const { data: res } = await this.$http.get('/quguang/data/analyse/diagnoseAnalyse') + const { data: res } = await this.$http.get('/hz_quguang/data/analyse/diagnoseAnalyse') if (res.code === 0) { this.diagnosenList = res.data } else { diff --git a/src/components/dept-select/index.vue b/src/components/dept-select/index.vue index a9826b8..f0d0e0e 100644 --- a/src/components/dept-select/index.vue +++ b/src/components/dept-select/index.vue @@ -32,7 +32,7 @@ export default { methods: { getDataList(id) { // /sys/user/getDeptList4AddUser - return this.$http.get('/quguang/sys/dept/list?type=1').then(({ data: res }) => { + return this.$http.get('/hz_quguang/sys/dept/list?type=1').then(({ data: res }) => { if (res.code === 0) { this.dataList = res.data } else { this.$message.error(res.msg) } }).catch(() => {}) } diff --git a/src/components/device-select/index.vue b/src/components/device-select/index.vue index 416c44d..b4b1628 100644 --- a/src/components/device-select/index.vue +++ b/src/components/device-select/index.vue @@ -31,7 +31,7 @@ export default { mounted() { this.getDataList() }, methods: { getDataList(id) { - return this.$http.get('/quguang/device/project/getList').then(({ data: res }) => { + return this.$http.get('/hz_quguang/device/project/getList').then(({ data: res }) => { if (res.code === 0) { this.dataList = res.data } else { this.$message.error(res.msg) } }).catch(() => {}) } diff --git a/src/components/exam-item-select/index.vue b/src/components/exam-item-select/index.vue index f53bd75..aec4e67 100644 --- a/src/components/exam-item-select/index.vue +++ b/src/components/exam-item-select/index.vue @@ -31,7 +31,7 @@ export default { mounted() { this.getDataList() }, methods: { getDataList(id) { - return this.$http.get('/quguang/checkItem/project/getList').then(({ data: res }) => { + return this.$http.get('/hz_quguang/checkItem/project/getList').then(({ data: res }) => { if (res.code === 0) { this.dataList = res.data } else { this.$message.error(res.msg) } }).catch(() => {}) } diff --git a/src/components/hm-crf/edit-full-case-template.vue b/src/components/hm-crf/edit-full-case-template.vue index b6650db..3183bea 100644 --- a/src/components/hm-crf/edit-full-case-template.vue +++ b/src/components/hm-crf/edit-full-case-template.vue @@ -161,7 +161,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/from/data/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/from/data/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -199,7 +199,7 @@ export default { // 获取病历模板tab类型 async getTypeTemplate() { this.nodataShow = false - const { data: res } = await this.$http.get(`/quguang/medical/record/template/getListByType/${this.activeName}`) + const { data: res } = await this.$http.get(`/hz_quguang/medical/record/template/getListByType/${this.activeName}`) if (res.code === 0) { this.typeTemplateList = res.data this.tabItemList = res.data @@ -210,7 +210,7 @@ export default { }, // 获取右侧智能填充数据 async getMedicalValue() { - const { data: res } = await this.$http.get(`/quguang/medical/record/template/getValue/${this.dataForm.patientIdNumber}`) + const { data: res } = await this.$http.get(`/hz_quguang/medical/record/template/getValue/${this.dataForm.patientIdNumber}`) if (res.code === 0) { this.examData = res.data } else { @@ -262,7 +262,7 @@ export default { }, // 引用上次病历 async referenceLastData() { - const { data: res } = await this.$http.get(`/quguang/from/data/getLastERMData/${this.dataForm.patientCentreId}/${this.dataForm.patientIdNumber}`) + const { data: res } = await this.$http.get(`/hz_quguang/from/data/getLastERMData/${this.dataForm.patientCentreId}/${this.dataForm.patientIdNumber}`) if (res.code === 0) { this.dataForm.content = Base64.decode(res.data.formContent) // console.log(this.dataForm.content) @@ -311,7 +311,7 @@ export default { // this.getText(clyj) // return if (ifr.contentWindow.isSignSuccess()) { - this.$http.post('/quguang/from/data/saveWriteVisit', { + this.$http.post('/hz_quguang/from/data/saveWriteVisit', { ermData: { zhsbsh: '', // 主诉病史 zhkjch: '', // 专科检查 diff --git a/src/components/hm-crf/followUp-原始.vue b/src/components/hm-crf/followUp-原始.vue index bc8b7d9..85e6adb 100644 --- a/src/components/hm-crf/followUp-原始.vue +++ b/src/components/hm-crf/followUp-原始.vue @@ -60,7 +60,7 @@ export default { this.crfVisible = false this.crfDataVisible = false this.$nextTick(() => { - this.$http.get('/quguang/crf/template', { params: { crfId: this.crfId }}).then(({ data: res }) => { + this.$http.get('/hz_quguang/crf/template', { params: { crfId: this.crfId }}).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -71,7 +71,7 @@ export default { }).catch(() => {}) // 获取绑定数据 - this.$http.get('/quguang/crf/fillData', { + this.$http.get('/hz_quguang/crf/fillData', { params: { crfId: this.crfId, idNumber: this.patientIdNumber @@ -118,7 +118,7 @@ export default { const ifrDoc = ifr.contentWindow.document || ifr.contentDocument const body = ifrDoc.getElementsByTagName('body')[0] const crfContent = body.innerHTML - this.$http.post('/quguang/crf/form', { + this.$http.post('/hz_quguang/crf/form', { crfId: this.crfId, dataContent: Base64.encode(crfContent), idNumber: this.patientIdNumber, @@ -141,7 +141,7 @@ export default { }) }, updateVisitPlan() { - this.$http.post('/quguang/visit/list/updateVisitPlan', { + this.$http.post('/hz_quguang/visit/list/updateVisitPlan', { patientIdNumber: this.patientIdNumber, projectId: window.SITE_CONFIG['projectId'] }).then(({ data: res }) => { diff --git a/src/components/hm-crf/followUp.vue b/src/components/hm-crf/followUp.vue index 14264ef..0e29f45 100644 --- a/src/components/hm-crf/followUp.vue +++ b/src/components/hm-crf/followUp.vue @@ -81,7 +81,7 @@ export default { this.crfVisible = false // console.log(this.dataForm) this.$nextTick(() => { - this.$http.get(`/quguang/from/data/${this.dataForm.formId}`) + this.$http.get(`/hz_quguang/from/data/${this.dataForm.formId}`) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) @@ -113,7 +113,7 @@ export default { const ifrDoc = ifr.contentWindow.document || ifr.contentDocument const body = ifrDoc.getElementsByTagName('body')[0] const crfContent = body.innerHTML - this.$http.post('/quguang/from/data/saveWriteVisit', { + this.$http.post('/hz_quguang/from/data/saveWriteVisit', { formContent: Base64.encode(crfContent), // inputDate: this.inputDate, id: this.dataForm.formId diff --git a/src/components/hm-crf/index.vue b/src/components/hm-crf/index.vue index 627a32c..25e8ab8 100644 --- a/src/components/hm-crf/index.vue +++ b/src/components/hm-crf/index.vue @@ -177,7 +177,7 @@ export default { }, mounted() { // Cookies.set('qg-token', '9def6f4db676363e9f01990d56e62929') - // this.$http.get(`/quguang/sys/table/dict/getList`, { + // this.$http.get(`/hz_quguang/sys/table/dict/getList`, { // params: { // isCrf: 1 // } diff --git a/src/components/hm-crf/intelligent-full.vue b/src/components/hm-crf/intelligent-full.vue index cd5d504..6c56faa 100644 --- a/src/components/hm-crf/intelligent-full.vue +++ b/src/components/hm-crf/intelligent-full.vue @@ -142,7 +142,7 @@ export default { } // console.log(this.dataForm) this.$nextTick(() => { - this.$http.get(`/quguang/from/data/${this.dataForm.formId}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/from/data/${this.dataForm.formId}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -160,7 +160,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { res.data.forEach(item => { item.name = item.operaName @@ -198,7 +198,7 @@ export default { // 获取术士部位列表 async getSurgicalSiteList() { // 类型 1:职位,2:手术间,3:麻醉方式,4麻醉会诊,5手术切口等级,6手术部位 - const { data: res } = await this.$http.get('/quguang/sys/param/getList', { + const { data: res } = await this.$http.get('/hz_quguang/sys/param/getList', { params: { type: 6 } @@ -246,7 +246,7 @@ export default { const ifrDoc = ifr.contentWindow.document || ifr.contentDocument const body = ifrDoc.getElementsByTagName('body')[0] const crfContent = body.innerHTML - this.$http.post('/quguang/from/data/saveWriteVisit', { + this.$http.post('/hz_quguang/from/data/saveWriteVisit', { formContent: Base64.encode(crfContent), // inputDate: this.inputDate, id: this.dataForm.formId @@ -276,7 +276,7 @@ export default { if (FormValue.operationProjectOD && FormValue.operationProjectOD.length <= 0 && FormValue.operationProjectOS.length <= 0 && FormValue.operationProjectOU.length <= 0) { this.saveForm() } else { - const { data: res } = await this.$http.post('/quguang/opera/patient/save', { + const { data: res } = await this.$http.post('/hz_quguang/opera/patient/save', { crfFormId: this.dataForm.formId, operaODOS: [{ eyeType: 'OD', diff --git a/src/components/hm-crf/load_crf.vue b/src/components/hm-crf/load_crf.vue index 805a6ac..0b2dd63 100644 --- a/src/components/hm-crf/load_crf.vue +++ b/src/components/hm-crf/load_crf.vue @@ -38,7 +38,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get('/quguang/crf/form', { params: { id: this.id }}) + this.$http.get('/hz_quguang/crf/form', { params: { id: this.id }}) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) diff --git a/src/components/hm-crf/preview.vue b/src/components/hm-crf/preview.vue index 2aa58be..ec57b5d 100644 --- a/src/components/hm-crf/preview.vue +++ b/src/components/hm-crf/preview.vue @@ -56,7 +56,7 @@ export default { }, // 获取信息 getInfo() { - const url = this.title === '病历模板' ? '/quguang/medical/record/template' : '/quguang/crf/template' + const url = this.title === '病历模板' ? '/hz_quguang/medical/record/template' : '/hz_quguang/crf/template' this.$http.get(`${url}/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) diff --git a/src/components/hm-crf/preview_dialog.vue b/src/components/hm-crf/preview_dialog.vue index 2f47482..d1cf8a0 100644 --- a/src/components/hm-crf/preview_dialog.vue +++ b/src/components/hm-crf/preview_dialog.vue @@ -43,7 +43,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get('/quguang/crf/template', { params: { crfId: this.dataForm.id }}).then(({ data: res }) => { + this.$http.get('/hz_quguang/crf/template', { params: { crfId: this.dataForm.id }}).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/components/hm-crf/tinymce/plugins/hm_select_multiple/plugin.js b/src/components/hm-crf/tinymce/plugins/hm_select_multiple/plugin.js index 40294e9..f34c318 100644 --- a/src/components/hm-crf/tinymce/plugins/hm_select_multiple/plugin.js +++ b/src/components/hm-crf/tinymce/plugins/hm_select_multiple/plugin.js @@ -149,7 +149,7 @@ from '../hm_utils/index' console.log(className) const hmType = dataForm['data-hm_type'] // ----------动态设置下拉菜单参数 - // http.get('/quguang/opera/patient/getOperaList').then(({ data: res }) => { + // http.get('/hz_quguang/opera/patient/getOperaList').then(({ data: res }) => { // if (res.code === 0) { // var selectList = res.data // window.sessionStorage.setItem('selectList', JSON.stringify(selectList)) diff --git a/src/components/hm-crf/tinymce/plugins/hm_select_multiple/plugin备份.js b/src/components/hm-crf/tinymce/plugins/hm_select_multiple/plugin备份.js index 79bdce1..c3ad994 100644 --- a/src/components/hm-crf/tinymce/plugins/hm_select_multiple/plugin备份.js +++ b/src/components/hm-crf/tinymce/plugins/hm_select_multiple/plugin备份.js @@ -149,7 +149,7 @@ from '../hm_utils/index' console.log(className) const hmType = dataForm['data-hm_type'] // ----------动态设置下拉菜单参数 - // http.get('/quguang/opera/patient/getOperaList').then(({ data: res }) => { + // http.get('/hz_quguang/opera/patient/getOperaList').then(({ data: res }) => { // if (res.code === 0) { // var selectList = res.data // window.sessionStorage.setItem('selectList', JSON.stringify(selectList)) diff --git a/src/components/item-select/display.vue b/src/components/item-select/display.vue index 298bf5d..a93bad4 100644 --- a/src/components/item-select/display.vue +++ b/src/components/item-select/display.vue @@ -124,7 +124,7 @@ export default { this.options_kpi = window.SITE_CONFIG['dict_colSearch'] } else { // 检索字典表 - // const { data: res } = await this.$http.get('/quguang/sys/table/dict/getList', { params: { type: 1 }}) + // const { data: res } = await this.$http.get('/hz_quguang/sys/table/dict/getList', { params: { type: 1 }}) // this.options_kpi = res.data } } diff --git a/src/components/item-select/index.vue b/src/components/item-select/index.vue index 261d828..6a01e39 100644 --- a/src/components/item-select/index.vue +++ b/src/components/item-select/index.vue @@ -237,7 +237,7 @@ export default { this.options_kpi = window.SITE_CONFIG['dict_colSearch'] } else { // 检索字典表 - // this.$http.get('/quguang/sys/table/dict/getList', { params: { type: 1 }}).then(({ data: res }) => { + // this.$http.get('/hz_quguang/sys/table/dict/getList', { params: { type: 1 }}).then(({ data: res }) => { // this.options_kpi = res.data // }) } diff --git a/src/components/kpi-select/display.vue b/src/components/kpi-select/display.vue index 59c8604..b98925c 100644 --- a/src/components/kpi-select/display.vue +++ b/src/components/kpi-select/display.vue @@ -57,7 +57,7 @@ export default { } else if (this.type === 2 && window.SITE_CONFIG.dict_colChart) { this.options_kpi = window.SITE_CONFIG.dict_colChart } else { - // const { data: res } = await this.$http.get('/quguang/sys/table/dict/getList', { params: { type: this.type }}) + // const { data: res } = await this.$http.get('/hz_quguang/sys/table/dict/getList', { params: { type: this.type }}) // this.options_kpi = res.data } } diff --git a/src/components/patient-search/index.vue b/src/components/patient-search/index.vue index e9d3708..ad30965 100644 --- a/src/components/patient-search/index.vue +++ b/src/components/patient-search/index.vue @@ -101,7 +101,7 @@ export default { }, data() { return { - uploadUrl: process.env.VUE_APP_LOGIN_URL + '/quguang/patient/data/searchByExcel', + uploadUrl: process.env.VUE_APP_LOGIN_URL + '/hz_quguang/patient/data/searchByExcel', headers: { token: Cookies.get('token') }, @@ -158,7 +158,7 @@ export default { }, getDataList() { this.dataListLoading = true - this.$http.post('/quguang/patient/data/page', { + this.$http.post('/hz_quguang/patient/data/page', { filterItemList: [...this.queryItemData_must, ...this.queryItemData_should, ...this.queryItemData_must_not], key: this.keyWord, limit: this.limit, diff --git a/src/components/progress-ods/index-all.vue b/src/components/progress-ods/index-all.vue index b089ccd..636e73c 100644 --- a/src/components/progress-ods/index-all.vue +++ b/src/components/progress-ods/index-all.vue @@ -63,7 +63,7 @@ export default { const endDate = year + '-12-31' this.endDate = endDate // this.progressLoading = true - this.$http.get('/quguang/stats/examItem/allExtract', { params: { startDate, endDate }}) + this.$http.get('/hz_quguang/stats/examItem/allExtract', { params: { startDate, endDate }}) .then(({ data: res }) => { this.progressList = res.data window.sessionStorage.setItem('progressList', JSON.stringify(this.progressList)) diff --git a/src/components/progress-ods/index.vue b/src/components/progress-ods/index.vue index 24cdc98..0a7279c 100644 --- a/src/components/progress-ods/index.vue +++ b/src/components/progress-ods/index.vue @@ -69,7 +69,7 @@ export default { const startDate = year + '-01-01' const endDate = year + '-12-31' this.endDate = endDate - this.$http.get('/quguang/stats/examItem/extract', { params: { code: this.itemSelect, startDate, endDate }}) + this.$http.get('/hz_quguang/stats/examItem/extract', { params: { code: this.itemSelect, startDate, endDate }}) .then(({ data: res }) => { this.dataList = res.data this.progressLoading = false diff --git a/src/components/region-tree/index.vue b/src/components/region-tree/index.vue index 08e0e3d..0e23cff 100644 --- a/src/components/region-tree/index.vue +++ b/src/components/region-tree/index.vue @@ -37,7 +37,7 @@ export default { }, methods: { getDataList(id) { - return this.$http.get('/quguang/sys/region/tree').then(({ data: res }) => { + return this.$http.get('/hz_quguang/sys/region/tree').then(({ data: res }) => { if (res.code === 0) { this.dataList = treeDataTranslateChildren(res.data) // this.dataList = treeDataTranslate(res.data, 'id', 'pid') diff --git a/src/components/ren-dept-tree/src/ren-dept-tree.vue b/src/components/ren-dept-tree/src/ren-dept-tree.vue index d33d0a4..69b57b9 100644 --- a/src/components/ren-dept-tree/src/ren-dept-tree.vue +++ b/src/components/ren-dept-tree/src/ren-dept-tree.vue @@ -79,7 +79,7 @@ export default { return data.name.indexOf(value) !== -1 }, getDeptList(id) { - return this.$http.get('/quguang/sys/dept/list').then(({ data: res }) => { + return this.$http.get('/hz_quguang/sys/dept/list').then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/components/ren-region-tree/src/ren-region-tree.vue b/src/components/ren-region-tree/src/ren-region-tree.vue index ee55d38..fd5f33b 100644 --- a/src/components/ren-region-tree/src/ren-region-tree.vue +++ b/src/components/ren-region-tree/src/ren-region-tree.vue @@ -93,7 +93,7 @@ export default { return data.name.indexOf(value) !== -1 }, getDataList(id) { - return this.$http.get('/quguang/sys/region/tree').then(({ data: res }) => { + return this.$http.get('/hz_quguang/sys/region/tree').then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/components/searchContents/index.vue b/src/components/searchContents/index.vue index 4ca342e..669e97d 100644 --- a/src/components/searchContents/index.vue +++ b/src/components/searchContents/index.vue @@ -239,7 +239,7 @@ export default { }, // 确定添加身份证号 async surePatientIdClick() { - const { data: res } = await this.$http.post('/quguang/project/patient/completeIdNumber', { + const { data: res } = await this.$http.post('/hz_quguang/project/patient/completeIdNumber', { birthday: this.$options.filters['dateFilterTwo'](this.noPatientIDList.birthday), hospitalId: this.noPatientIDList.hospitalId, name: this.noPatientIDList.name, @@ -283,7 +283,7 @@ export default { }) const { data: res } = await this.$http({ method: 'post', - url: '/quguang/project/patient', + url: '/hz_quguang/project/patient', data: patientInfoArr }) if (res.code === 0) { diff --git a/src/components/user-select/index.vue b/src/components/user-select/index.vue index d45764a..c83ce05 100644 --- a/src/components/user-select/index.vue +++ b/src/components/user-select/index.vue @@ -44,7 +44,7 @@ export default { methods: { // 添加项目时,获取人员列表 getDataList(id) { - return this.$http.get('/quguang/project/getPresonListForAddProject?deptId=' + this.deptId).then(({ data: res }) => { + return this.$http.get('/hz_quguang/project/getPresonListForAddProject?deptId=' + this.deptId).then(({ data: res }) => { if (res.code === 0) { this.dataList = res.data } else { this.$message.error(res.msg) } }).catch(() => {}) } diff --git a/src/mixins/IntelligentFill.js b/src/mixins/IntelligentFill.js index aa8df9e..1e7b9a3 100644 --- a/src/mixins/IntelligentFill.js +++ b/src/mixins/IntelligentFill.js @@ -7,7 +7,7 @@ export default { // 智能填充 getFirstFeedbackData(title, id, patientId) { console.log(this.dataForm) - this.$http.get('/quguang/from/data/getFirstFeedbackData', { + this.$http.get('/hz_quguang/from/data/getFirstFeedbackData', { params: { formName: this.dataForm.formName, patientIdNumber: this.dataForm.patientIdNumber, diff --git a/src/mixins/htmlToPdfToBlob copy.js b/src/mixins/htmlToPdfToBlob copy.js index ec30c66..13d3036 100644 --- a/src/mixins/htmlToPdfToBlob copy.js +++ b/src/mixins/htmlToPdfToBlob copy.js @@ -158,7 +158,7 @@ export default { console.log('-----------') this.$http({ method: 'post', - url: '/quguang/qg/emr/uploadFile', + url: '/hz_quguang/qg/emr/uploadFile', headers: { 'Content-Type': 'multipart/form-data' }, diff --git a/src/mixins/htmlToPdfToBlob.js b/src/mixins/htmlToPdfToBlob.js index 9e3bf44..dae4de9 100644 --- a/src/mixins/htmlToPdfToBlob.js +++ b/src/mixins/htmlToPdfToBlob.js @@ -226,7 +226,7 @@ export default { console.log('-----------') this.$http({ method: 'post', - url: '/quguang/qg/emr/uploadFile', + url: '/hz_quguang/qg/emr/uploadFile', headers: { 'Content-Type': 'multipart/form-data' }, @@ -244,10 +244,12 @@ export default { }, // html转pdf 后端接口 async html2Pdf(customParams, callback) { - const { data: res } = await this.$http.post('/quguang/caSign/html2Pdf', { + const { data: res } = await this.$http.post('/hz_quguang/caSign/html2Pdf', { htmlBase: customParams.htmlBase ? customParams.htmlBase : '', marginStyle: customParams.marginStyle || '', pageSize: customParams.paperSize ? customParams.paperSize : 'A5', // 页面大小:A4 + formId: customParams.formId, + formFlag: customParams.formFlag, }) if (res.code === 0) { callback ? callback() : '' @@ -257,7 +259,7 @@ export default { }, // 前端转pdf后传给后端 async uploadFormPdf(pdfBase) { - const { data: res } = await this.$http.post('/quguang/caSign/uploadFormPdf', { + const { data: res } = await this.$http.post('/hz_quguang/caSign/uploadFormPdf', { pdfBase: pdfBase, }) if (res.code === 0) { diff --git a/src/mixins/operationPlan.js b/src/mixins/operationPlan.js index 8c23603..2fbc20f 100644 --- a/src/mixins/operationPlan.js +++ b/src/mixins/operationPlan.js @@ -13,6 +13,8 @@ export default { YQJZDS: '', // 手术方式 operationList: '', + // nomo + nomo:'', // 其他 QT: '', // 备注 @@ -32,6 +34,8 @@ export default { YQJZDS: '', // 手术方式 operationList: '', + // nomo + nomo:'', // 其他 QT: '', // 备注 @@ -51,6 +55,8 @@ export default { YQJZDS: '预期矫正度数', // 手术方式 operationList: '', + // nomo + nomo:'', // 其他 QT: '', // 备注 @@ -70,6 +76,8 @@ export default { YQJZDS: '', // 手术方式 operationList: '手术方式', + // nomo + nomo:'', // 其他 QT: '', // 备注 @@ -78,7 +86,28 @@ export default { doctorSign: '', // 患者签字 patientOrDlrSign:'', - }, { + },{ + name: 'nomo', + nameClass: 'nomo', + // 验光核查 + YGHC: '', + // 预留屈光度 + YLQGD: '', + // 预期矫正度数 + YQJZDS: '', + // 手术方式 + operationList: '', + // nomo + nomo:'nomo', + // 其他 + QT: '', + // 备注 + bz: '', + // 医生签字 + doctorSign: '', + // 患者签字 + patientOrDlrSign:'', + }, { name: '其他', nameClass: 'qt', // 验光核查 @@ -89,6 +118,8 @@ export default { YQJZDS: '', // 手术方式 operationList: '', + // nomo + nomo:'', // 其他 QT: '其他', // 备注 @@ -108,6 +139,8 @@ export default { YQJZDS: '', // 手术方式 operationList: '', + // nomo + nomo:'', // 其他 QT: '', // 备注 diff --git a/src/mixins/publicFile.js b/src/mixins/publicFile.js index b4391b4..5056a5d 100644 --- a/src/mixins/publicFile.js +++ b/src/mixins/publicFile.js @@ -24,7 +24,7 @@ export default { // 获取histoken const userData = window.localStorage.getItem('qg-userData') ? JSON.parse(window.localStorage.getItem('qg-userData')) : '' - const { data: res } = await this.$http.get('/quguang/sys/user/queryLoadToken', { + const { data: res } = await this.$http.get('/hz_quguang/sys/user/queryLoadToken', { params: { userName: userData.realName, userCode: userData.employeeId diff --git a/src/mixins/refreshDate.js b/src/mixins/refreshDate.js index c9a201c..5481290 100644 --- a/src/mixins/refreshDate.js +++ b/src/mixins/refreshDate.js @@ -7,7 +7,7 @@ export default { methods: { // 获取最新的预检信息 async getLastQgYujianInfo(text) { - const { data: res } = await this.$http.get('/quguang/qg/yujian/getLastQgYujianInfo', { + const { data: res } = await this.$http.get('/hz_quguang/qg/yujian/getLastQgYujianInfo', { params: { patientIdNumber: this.archiveCaseCRFItem.patientIdNumber } @@ -26,7 +26,7 @@ export default { // 获取最新的诊断信息 async getNewZdInfo1(text) { const zdArr = [] - const { data: res } = await this.$http.get('/quguang/opera/patient/getHisDiagList', { + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getHisDiagList', { params: { patientId: this.patientId } @@ -53,7 +53,7 @@ export default { }, // 获取最新的诊断信息 async getNewZdInfo(text) { - const { data: res } = await this.$http.get('/quguang/qg/emr/getDiagString', { + const { data: res } = await this.$http.get('/hz_quguang/qg/emr/getDiagString', { params: { patientId: this.patientId } @@ -66,7 +66,7 @@ export default { }, // 获取最新的泪道冲洗信息 async getNewLdcxInfo() { - const { data: res } = await this.$http.get('/quguang/qg/emr/getLdcx', { + const { data: res } = await this.$http.get('/hz_quguang/qg/emr/getLdcx', { params: { patientId: this.patientId } @@ -86,7 +86,7 @@ export default { }, // 获取裂隙灯散瞳眼底检查最近一次数据 async getKxdStydExam(flag) { - const { data: res } = await this.$http.get('/quguang/qg/emr/getLxdStydExam', { + const { data: res } = await this.$http.get('/hz_quguang/qg/emr/getLxdStydExam', { params: { patientIdNumber: this.archiveCaseCRFItem.patientIdNumber, formId: this.archiveCaseCRFItem.id, @@ -108,7 +108,7 @@ export default { }, // 更新眼科检查的最新一次数据 async getYkjc() { - const { data: res } = await this.$http.get('/quguang/opera/after/getYkjc', { + const { data: res } = await this.$http.get('/hz_quguang/opera/after/getYkjc', { params: { patientIdNumber: this.archiveCaseCRFItem.patientIdNumber, formId: this.archiveCaseCRFItem.id @@ -129,7 +129,7 @@ export default { }, // 更新手术计划验光核查偏差值 async getOpearPlanPcz() { - const { data: res } = await this.$http.get('/quguang/opera/plan/getPczQjSgZxInfo', { + const { data: res } = await this.$http.get('/hz_quguang/opera/plan/getPczQjSgZxInfo', { params: { patientIdNumber: this.archiveCaseCRFItem.patientIdNumber, zjygXtOd1: this.formListValue.zjygXtOd1, @@ -150,7 +150,7 @@ export default { }, // 更新复诊病历中专科检查和辅助检查数据 async getZkjcAndFzjc(flag, text) { - const { data: res } = await this.$http.get('/quguang/fuzhen/emr/getZkjcAndFzjc', { + const { data: res } = await this.$http.get('/hz_quguang/fuzhen/emr/getZkjcAndFzjc', { params: { flag: flag, // 1:专科检查 2:辅助检查 patientId: this.patientId, @@ -165,7 +165,7 @@ export default { }, // 获取TBUT async getTbut() { - const { data: res } = await this.$http.get('/quguang/qg/emr/getTbut', { + const { data: res } = await this.$http.get('/hz_quguang/qg/emr/getTbut', { params: { patientIdNumber: this.archiveCaseCRFItem.patientIdNumber, formId: this.archiveCaseCRFItem.id @@ -182,7 +182,7 @@ export default { // 获取最新的手术方式 --- 读取手术通知单的手术方式 async getOperaPlanName() { this.operaPlanRefresh = false - const { data: res } = await this.$http.get('/quguang/opera/plan/getOperaInfo', { + const { data: res } = await this.$http.get('/hz_quguang/opera/plan/getOperaInfo', { params: { operaId: this.archiveCaseCRFItem.operaId } @@ -203,7 +203,7 @@ export default { }, // 获取试戴记录 async getSdjl() { - const { data: res } = await this.$http.get('/quguang/opera/plan/getBzInfo', { + const { data: res } = await this.$http.get('/hz_quguang/opera/plan/getBzInfo', { params: { patientIdNumber: this.archiveCaseCRFItem.patientIdNumber, patientId: this.patientId diff --git a/src/mixins/signGet.js b/src/mixins/signGet.js index e35df4c..97c11fe 100644 --- a/src/mixins/signGet.js +++ b/src/mixins/signGet.js @@ -15,7 +15,7 @@ export default { }) console.log('this.operaId', this.operaId); console.log('this.archiveCaseCRFItem.operaId', this.archiveCaseCRFItem.operaId); - const { data: res } = await this.$http.get('/quguang/sys/doctor/empower/getMainDoctorSign', { + const { data: res } = await this.$http.get('/hz_quguang/sys/doctor/empower/getMainDoctorSign', { params: { operaPatientId: this.operaId ? this.operaId : this.archiveCaseCRFItem.operaId } @@ -38,9 +38,10 @@ export default { // 获取ca签名图片 async getCaUserSignImg(sign, date, code, name, resData) { console.log('8888888888'); - const { data: res } = await this.$http.get('/quguang/caSign/getCaUserSignImg', { + const { data: res } = await this.$http.get('/hz_quguang/caSign/getCaUserSignImg', { params: { - userId: resData.employeeId + userId: resData.employeeId, + formName: this.formListValue.formName, } }) if (res.code === 0) { diff --git a/src/mixins/websocket.js b/src/mixins/websocket.js index e581cec..4be4d6e 100644 --- a/src/mixins/websocket.js +++ b/src/mixins/websocket.js @@ -58,7 +58,7 @@ export default { // websocket启动 createWebSocket() { const URL = process.env.VUE_APP_LOGIN_URL.replace('http', 'ws') - const webSocketLink = `${URL}/quguang/websocket/WZYSG_QG` // webSocket地址 + const webSocketLink = `${URL}/hz_quguang/websocket/WZYSG_QG` // webSocket地址 // console.log(webSocketLink); try { if ('WebSocket' in window) { diff --git a/src/mixins/yiXinQianSign.js b/src/mixins/yiXinQianSign.js index e3ca238..a2ee067 100644 --- a/src/mixins/yiXinQianSign.js +++ b/src/mixins/yiXinQianSign.js @@ -10,7 +10,7 @@ export default { methods: { // 是否开启了CA认证表单状态 async getSendCaStatus(toParams, callback, operaTextFlag) { - const { data: res } = await this.$http.get('/quguang/caSign/getSendCaStatus', { + const { data: res } = await this.$http.get('/hz_quguang/caSign/getSendCaStatus', { params: { name: this.archiveCaseCRFItem.formName ? this.archiveCaseCRFItem.formName : this.formListValue.formName } @@ -24,7 +24,7 @@ export default { }, // --------------------文件签---------------------- - // CA医生签名接口调取-单医生/quguang/caSign-多医生/quguang/caSign/multiCaSign + // CA医生签名接口调取-单医生/hz_quguang/caSign-多医生/hz_quguang/caSign/multiCaSign async caSign(base64, customParams, caBack) { uni.postMessage({ data: { @@ -34,7 +34,7 @@ export default { console.log('customParams', customParams) console.log('CA医生签名接口调取base64', base64) // console.log('customParams.caParams.signUrl', customParams.caParams.signUrl) - const url = caBack ? (caBack.signUrl ? caBack.signUrl : '/quguang/caSign') : (customParams.caParams.signUrl ? customParams.caParams.signUrl : 'quguang/caSign') + const url = caBack ? (caBack.signUrl ? caBack.signUrl : '/hz_quguang/caSign') : (customParams.caParams.signUrl ? customParams.caParams.signUrl : 'quguang/caSign') const { data: res } = await this.$http.post(url, caBack || { // 待签名文件(Base64/string) fileData: base64 || '', @@ -78,7 +78,7 @@ export default { }, // 患者CA平板无线签-上传代签名的文件接口给CA async padPatientSign(base64, customParams) { - const { data: res } = await this.$http.post('/quguang/caSign/uploadCaSignBase', { + const { data: res } = await this.$http.post('/hz_quguang/caSign/uploadCaSignBase', { fileData: customParams.isHaveDoctorSign ? '' : base64, // 待签名文件(Base64/string) 有医生签:后端生成有签名的pdf,没有医生签:需传base64文件 fileName: customParams.caParams.fileName, // 文件名称 formFlag: customParams.caParams.formFlag, // 标志位,8:告知书,9:基因检测同意书,10:联合手术同意书 13:告知书/授权书 @@ -116,7 +116,7 @@ export default { signMethod: 6, // 签署方法:6:智能指纹签名屏 一般都是6 8:普通平板电脑(非指纹屏) createUserId: this.userData.employeeId, // 创建表单工号 isVoiceRecord: 0, - callbackURL: 'http://192.168.2.32:83/quguang/caSign/patientCaSignCallBack', + callbackURL: 'http://192.168.2.32:83/hz_quguang/caSign/patientCaSignCallBack', redirectURL: '', isCallbackSignatureImg: '', imageFormat: 'JPG', @@ -132,7 +132,7 @@ export default { }, // 把返回的code传给后端 async callbackUpdataeOrderCode(customParams, resData) { - const { data: res } = await this.$http.post('/quguang/caSign/updateOrderCode', { + const { data: res } = await this.$http.post('/hz_quguang/caSign/updateOrderCode', { formId: customParams.caParams.formId, orderCode: resData.orderCode }) @@ -141,7 +141,7 @@ export default { // --------------------数据签----------------------- // CA门诊批量数据签 async batchDataCa(params, callback) { - const { data: res } = await this.$http.post('/quguang/caSign/batchDataCa', params) + const { data: res } = await this.$http.post('/hz_quguang/caSign/batchDataCa', params) if (res.code === 0) { this.$message({ message: '此表单已CA成功', @@ -154,7 +154,7 @@ export default { }, // CA其他表单批量数据签 async operaFormDataCaSign(params, callback) { - const { data: res } = await this.$http.post('/quguang/caSign/operaFormDataCaSign', params) + const { data: res } = await this.$http.post('/hz_quguang/caSign/operaFormDataCaSign', params) if (res.code === 0) { // this.$message({ // message: '此表单已CA成功', @@ -175,7 +175,7 @@ export default { type: 'warning' }) } - const { data: res } = await this.$http.post('/quguang/caSign/cancelCa', { + const { data: res } = await this.$http.post('/hz_quguang/caSign/cancelCa', { formFlag: this.formFlag, formId: this.archiveCaseCRFItem.id }) diff --git a/src/page-subspecialty/router/index.js b/src/page-subspecialty/router/index.js index f6af228..ce0c9c7 100644 --- a/src/page-subspecialty/router/index.js +++ b/src/page-subspecialty/router/index.js @@ -157,7 +157,7 @@ export function addDynamicRoute(routeParams, router) { const createRouter = () => new Router({ mode: 'history', - base: process.env.NODE_ENV === 'production' ? process.env.VUE_APP_BASE_HOUZHUI : '/', // 公司内部环境打开--浏览器基础路径 + // base: process.env.NODE_ENV === 'production' ? process.env.VUE_APP_BASE_HOUZHUI : '/', // 公司内部环境打开--浏览器基础路径 scrollBehavior: () => ({ y: 0 }), routes: pageRoutes.concat(moduleRoutes) }) @@ -189,7 +189,7 @@ router.beforeEach((to, from, next) => { next() } else { // 获取字典列表, 添加并全局变量保存 - // http.get('/quguang/sys/dict/type/all').then(({ data: res }) => { + // http.get('/hz_quguang/sys/dict/type/all').then(({ data: res }) => { // if (res.code !== 0) { // return // } @@ -197,7 +197,7 @@ router.beforeEach((to, from, next) => { // }).catch(() => {}) // 获取左侧菜单列表,添加并全局变量保存 - http.get('/quguang/sys/menu/nav').then(({ data: res }) => { + http.get('/hz_quguang/sys/menu/nav').then(({ data: res }) => { if (res.code !== 0) { Vue.prototype.$message.error(res.msg) return next({ name: 'login' }) @@ -208,7 +208,7 @@ router.beforeEach((to, from, next) => { }) // 获取菜单管理菜单列表,并添加动态路由 - http.get('/quguang/sys/menu/list', { + http.get('/hz_quguang/sys/menu/list', { params: { type: 0 } @@ -228,7 +228,7 @@ router.beforeEach((to, from, next) => { return next({ name: 'login' }) }) // 获取【字段字典表】, 添加并全局变量保存 - // http.get('/quguang/sys/table/dict/getList', { params: { type: 1 }}).then(({ data: res }) => { + // http.get('/hz_quguang/sys/table/dict/getList', { params: { type: 1 }}).then(({ data: res }) => { // window.SITE_CONFIG['dict_colSearch'] = res.data // }) } diff --git a/src/page-subspecialty/store/modules/sign.js b/src/page-subspecialty/store/modules/sign.js index 3097c63..cab7c59 100644 --- a/src/page-subspecialty/store/modules/sign.js +++ b/src/page-subspecialty/store/modules/sign.js @@ -88,6 +88,16 @@ export default { ysSign: '', dlrSign: '' }, + // 准分子激光治疗性角膜切削术同意书 + consentBookZfzJgzl: { + ysSign: '', + dlrSign: '' + }, + // 角膜交联术治疗同意书 + contentBookJmjl: { + ysSign: '', + dlrSign: '' + }, // 联合手术同意书 lhOperaRecord: { ysSign: '', @@ -125,6 +135,8 @@ export default { operationedCheckRecord: state => state.operationedCheckRecord, qgdzbl: state => state.qgdzbl, talkRecord: state => state.talkRecord, + consentBookZfzJgzl: state => state.consentBookZfzJgzl, + contentBookJmjl: state => state.contentBookJmjl, noticeBook: state => state.noticeBook, consentBook: state => state.consentBook, shouquanBook: state => state.shouquanBook, diff --git a/src/page-subspecialty/views/authorize.vue b/src/page-subspecialty/views/authorize.vue index ac3790e..1e214e0 100644 --- a/src/page-subspecialty/views/authorize.vue +++ b/src/page-subspecialty/views/authorize.vue @@ -13,15 +13,15 @@
- + - +
-
+ - + + + - + + + @@ -61,9 +65,10 @@ + @@ -126,7 +132,7 @@ export default { )) : '' this.visible = true - this.getCaAuth() + // this.getCaAuth() this.$nextTick(() => { this.$refs['dataForm'].resetFields() this.dataForm.authorizeTime = [new Date(), new Date()] @@ -139,7 +145,7 @@ export default { }, // 获取CA是否授权 async getCaAuth() { - const { data: res } = await this.$http.get('/quguang/caSign/getAuthKey', { + const { data: res } = await this.$http.get('/hz_quguang/caSign/getAuthKey', { params: { userId: this.userData.employeeId } @@ -152,7 +158,7 @@ export default { }, // ca授权链接跳转 async caSubmitHandle() { - const { data: res } = await this.$http.post('/quguang/caSign/getOauthUrl', + const { data: res } = await this.$http.post('/hz_quguang/caSign/getOauthUrl', { callbackURL: '', oauthMethod: '3', @@ -170,7 +176,7 @@ export default { // 获取信息 async getInfo() { const { data: res } = await this.$http.get( - '/quguang/sys/doctor/empower/getEmpowerInfo', + '/hz_quguang/sys/doctor/empower/getEmpowerInfo', { params: { employeeId: '' @@ -183,7 +189,7 @@ export default { }, // 获取用户列表 async getUserList() { - const { data: res } = await this.$http.get('/quguang/sys/user') + const { data: res } = await this.$http.get('/hz_quguang/sys/user') if (res.code === 0) { this.userList = res.data this.list_filtered = this.userList; @@ -202,7 +208,7 @@ export default { }, async dataFormSubmitHandle() { const { data: res } = await this.$http.post( - '/quguang/sys/doctor/empower/saveOrUpdate', + '/hz_quguang/sys/doctor/empower/saveOrUpdate', this.dataForm ) if (res.code === 0) { diff --git a/src/page-subspecialty/views/main-navbar-update-password.vue b/src/page-subspecialty/views/main-navbar-update-password.vue index 7cf28d5..1ee346e 100644 --- a/src/page-subspecialty/views/main-navbar-update-password.vue +++ b/src/page-subspecialty/views/main-navbar-update-password.vue @@ -89,7 +89,7 @@ export default { type: 'warning' }) } - this.$http.put('/quguang/sys/user/password', this.dataForm).then(({ data: res }) => { + this.$http.put('/hz_quguang/sys/user/password', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/main-navbar.vue b/src/page-subspecialty/views/main-navbar.vue index 01c314b..127574a 100644 --- a/src/page-subspecialty/views/main-navbar.vue +++ b/src/page-subspecialty/views/main-navbar.vue @@ -150,7 +150,7 @@ export default { cancelButtonText: this.$t('cancel'), type: 'warning' }).then(() => { - this.$http.post('/quguang/logout').then(({ data: res }) => { + this.$http.post('/hz_quguang/logout').then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/main.vue b/src/page-subspecialty/views/main.vue index 4d89653..d580155 100644 --- a/src/page-subspecialty/views/main.vue +++ b/src/page-subspecialty/views/main.vue @@ -96,7 +96,7 @@ export default { }, // 获取当前登录用户信息 getUserInfo() { - return this.$http.get('/quguang/sys/user/info').then(({ data: res }) => { + return this.$http.get('/hz_quguang/sys/user/info').then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -105,7 +105,7 @@ export default { }, // 获取权限 getPermissions() { - return this.$http.get('/quguang/sys/menu/permissions', { + return this.$http.get('/hz_quguang/sys/menu/permissions', { params: { drgsName: window.localStorage.getItem('identity') } diff --git a/src/page-subspecialty/views/modules/articleManagement/add-or-update.vue b/src/page-subspecialty/views/modules/articleManagement/add-or-update.vue index 4ecafb0..55b234e 100644 --- a/src/page-subspecialty/views/modules/articleManagement/add-or-update.vue +++ b/src/page-subspecialty/views/modules/articleManagement/add-or-update.vue @@ -95,7 +95,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/article/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/article/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -112,7 +112,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/article', { ...this.dataForm, substance: Base64.encode(this.dataForm.substance) }).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/article', { ...this.dataForm, substance: Base64.encode(this.dataForm.substance) }).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/articleManagement/articleContent.vue b/src/page-subspecialty/views/modules/articleManagement/articleContent.vue index a65ef79..eb9ccc4 100644 --- a/src/page-subspecialty/views/modules/articleManagement/articleContent.vue +++ b/src/page-subspecialty/views/modules/articleManagement/articleContent.vue @@ -21,7 +21,7 @@ export default { }, methods: { getInfo() { - this.$http.get(`/quguang/article/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/article/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/articleManagement/index.vue b/src/page-subspecialty/views/modules/articleManagement/index.vue index 8326cf9..411a89e 100644 --- a/src/page-subspecialty/views/modules/articleManagement/index.vue +++ b/src/page-subspecialty/views/modules/articleManagement/index.vue @@ -32,8 +32,8 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/article/page', - deleteURL: '/quguang/article', + getDataListURL: '/hz_quguang/article/page', + deleteURL: '/hz_quguang/article', getDataListIsPage: true } } diff --git a/src/page-subspecialty/views/modules/batchCaManagement/index.vue b/src/page-subspecialty/views/modules/batchCaManagement/index.vue index 4969a43..e5658b9 100644 --- a/src/page-subspecialty/views/modules/batchCaManagement/index.vue +++ b/src/page-subspecialty/views/modules/batchCaManagement/index.vue @@ -65,8 +65,8 @@ export default { return { mixinViewModuleOptions: { createdIsNeed: false, - getDataListURL: '/quguang/patient/manage/page', - deleteURL: '/quguang/patient/manage', + getDataListURL: '/hz_quguang/patient/manage/page', + deleteURL: '/hz_quguang/patient/manage', getDataListIsPage: true }, startEndTime: [], diff --git a/src/page-subspecialty/views/modules/chargeManagement/alertList/index.vue b/src/page-subspecialty/views/modules/chargeManagement/alertList/index.vue index 69f6884..b4a7b05 100644 --- a/src/page-subspecialty/views/modules/chargeManagement/alertList/index.vue +++ b/src/page-subspecialty/views/modules/chargeManagement/alertList/index.vue @@ -54,8 +54,8 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/sys/target/earlyWarning', - deleteURL: '/quguang/sys/role', + getDataListURL: '/hz_quguang/sys/target/earlyWarning', + deleteURL: '/hz_quguang/sys/role', deleteIsBatch: true }, dataForm: { diff --git a/src/page-subspecialty/views/modules/chargeManagement/alertSet/add-or-update.vue b/src/page-subspecialty/views/modules/chargeManagement/alertSet/add-or-update.vue index 173b051..fa58815 100644 --- a/src/page-subspecialty/views/modules/chargeManagement/alertSet/add-or-update.vue +++ b/src/page-subspecialty/views/modules/chargeManagement/alertSet/add-or-update.vue @@ -103,7 +103,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/sys/target/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/sys/target/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -130,7 +130,7 @@ export default { // return this.$message.error('值只能填写一个') // } // } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/sys/target', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/sys/target', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/chargeManagement/alertSet/index.vue b/src/page-subspecialty/views/modules/chargeManagement/alertSet/index.vue index 992eb99..ce6f041 100644 --- a/src/page-subspecialty/views/modules/chargeManagement/alertSet/index.vue +++ b/src/page-subspecialty/views/modules/chargeManagement/alertSet/index.vue @@ -44,8 +44,8 @@ export default { return { targetNameList: [], mixinViewModuleOptions: { - getDataListURL: '/quguang/sys/target/targetList', - deleteURL: '/quguang/sys/target' + getDataListURL: '/hz_quguang/sys/target/targetList', + deleteURL: '/hz_quguang/sys/target' } } }, @@ -55,7 +55,7 @@ export default { methods: { // 获取指标名称 async getTargetName() { - const { data: res } = await this.$http.get('/quguang/sys/target/selectTarget') + const { data: res } = await this.$http.get('/hz_quguang/sys/target/selectTarget') if (res.code === 0) { this.targetNameList = res.data } else { @@ -66,7 +66,7 @@ export default { async switchHandle(scopeRow, e) { console.log(scopeRow, e) // 1:开启 0:关闭 - const { data: res } = await this.$http.post('/quguang/sys/target/switchStatus', { + const { data: res } = await this.$http.post('/hz_quguang/sys/target/switchStatus', { id: scopeRow.id, status: e === false ? 0 : 1 }) diff --git a/src/page-subspecialty/views/modules/chargeManagement/dataControl/index.vue b/src/page-subspecialty/views/modules/chargeManagement/dataControl/index.vue index 42b0021..4658547 100644 --- a/src/page-subspecialty/views/modules/chargeManagement/dataControl/index.vue +++ b/src/page-subspecialty/views/modules/chargeManagement/dataControl/index.vue @@ -169,7 +169,7 @@ export default { data() { return { // mixinViewModuleOptions: { - // getDataListURL: '/quguang/qgzk/getPatientList', + // getDataListURL: '/hz_quguang/qgzk/getPatientList', // getDataListIsPage: true, // createdIsNeed: false // }, @@ -221,7 +221,7 @@ export default { spinner: 'el-icon-loading', background: 'rgba(255, 255, 255, 0.7)' }) - const { data: res } = await this.$http.get('/quguang/qgzk/getPatientList', { + const { data: res } = await this.$http.get('/hz_quguang/qgzk/getPatientList', { params: { orderType: this.orderType, orderColumn: this.orderColumn, @@ -249,7 +249,7 @@ export default { }, // 获取检查设备列表 async getDeviceList() { - const { data: res } = await this.$http.get('/quguang/qgzk/getDeviceList') + const { data: res } = await this.$http.get('/hz_quguang/qgzk/getDeviceList') if (res.code === 0) { this.deviceList = res.data } else { @@ -266,7 +266,7 @@ export default { async getExamItemList() { console.log(123) if (this.currentPatient && Object.keys(this.currentPatient).length > 0) { - const { data: res } = await this.$http.get('/quguang/qgzk/getExamItemList', { + const { data: res } = await this.$http.get('/hz_quguang/qgzk/getExamItemList', { params: { risNo: this.currentPatient ? this.currentPatient.risNo : '', deviceId: this.dataForm.deviceId ? this.dataForm.deviceId : '' @@ -296,7 +296,7 @@ export default { if (this.currentCheckItem && Object.keys(this.currentCheckItem).length > 0) { // this.$http({ // method: 'get', - // url: '/quguang/qgzk/getExamFiles', + // url: '/hz_quguang/qgzk/getExamFiles', // headers: { // 'Content-Type': 'application/pdf' // }, @@ -306,7 +306,7 @@ export default { // }).then((res)=>{ // console.log('res',res); // }) - const { data: res } = await this.$http.get('/quguang/qgzk/getExamFiles', { + const { data: res } = await this.$http.get('/hz_quguang/qgzk/getExamFiles', { params: { examNo: this.currentCheckItem.examNo } @@ -352,7 +352,7 @@ export default { deletePdf() { console.log('删除pdf', this.currentCheckItem) this.$confirmFun('您确定要删除此文件吗?', '您已取消删除').then(async () => { - const { data: res } = await this.$http.delete('/quguang/qgzk/delExamFile', { + const { data: res } = await this.$http.delete('/hz_quguang/qgzk/delExamFile', { params: { recId: this.currentPdfItem.recId } @@ -377,7 +377,7 @@ export default { }, // 获取核查数据 async getExamDataList() { - const { data: res } = await this.$http.get('/quguang/qgzk/getExamDataList', { + const { data: res } = await this.$http.get('/hz_quguang/qgzk/getExamDataList', { params: { examNo: this.currentCheckItem.examNo, examItemFlag: this.currentCheckItem.examItemFlag @@ -395,7 +395,7 @@ export default { // 数据核查-删除数据 deleteHandle(scopeRow) { this.$confirmFun('您确定要删除此数据吗?', '您已取消删除').then(async () => { - const { data: res } = await this.$http.delete('/quguang/qgzk/delExamData', { + const { data: res } = await this.$http.delete('/hz_quguang/qgzk/delExamData', { params: { recId: scopeRow.recId, examItemFlag: this.currentCheckItem.examItemFlag @@ -414,7 +414,7 @@ export default { }, // 数据核查-确认数据 async sureHandle(scopeRow) { - const { data: res } = await this.$http.post('/quguang/qgzk/dataConfirm', { + const { data: res } = await this.$http.post('/hz_quguang/qgzk/dataConfirm', { recId: scopeRow.recId, examItemFlag: this.currentCheckItem.examItemFlag }) diff --git a/src/page-subspecialty/views/modules/dataManagement/computerInspect.vue b/src/page-subspecialty/views/modules/dataManagement/computerInspect.vue index e69bacb..6e6963e 100644 --- a/src/page-subspecialty/views/modules/dataManagement/computerInspect.vue +++ b/src/page-subspecialty/views/modules/dataManagement/computerInspect.vue @@ -98,8 +98,8 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/vision/find', - deleteURL: '/quguang/pat/Manage', + getDataListURL: '/hz_quguang/vision/find', + deleteURL: '/hz_quguang/pat/Manage', getDataListIsPage: true }, dataForm: { @@ -136,7 +136,7 @@ export default { background: 'rgba(0, 0, 0, 0.7)', customClass: 'export-loading' }) - this.$http.post('/quguang/vision/exportExcel', + this.$http.post('/hz_quguang/vision/exportExcel', { recIds: this.currentTableList.map(item => item.recId) }, diff --git a/src/page-subspecialty/views/modules/outpatientManagement/HIS-add.vue b/src/page-subspecialty/views/modules/outpatientManagement/HIS-add.vue index e663666..9ae49d5 100644 --- a/src/page-subspecialty/views/modules/outpatientManagement/HIS-add.vue +++ b/src/page-subspecialty/views/modules/outpatientManagement/HIS-add.vue @@ -89,7 +89,7 @@ export default { if (flag === 2 && !this.dataFormHis.patientId && !this.dataFormHis.patientName && !this.dataFormHis.patientIdNumber) { return this.$message.error('搜索内容不能为空') } - const { data: res } = await this.$http.get('/quguang/patient/manage/getHisPatientList', { + const { data: res } = await this.$http.get('/hz_quguang/patient/manage/getHisPatientList', { params: this.dataFormHis }) if (res.code === 0) { diff --git a/src/page-subspecialty/views/modules/outpatientManagement/editPatid.vue b/src/page-subspecialty/views/modules/outpatientManagement/editPatid.vue index 84521f3..44c68fb 100644 --- a/src/page-subspecialty/views/modules/outpatientManagement/editPatid.vue +++ b/src/page-subspecialty/views/modules/outpatientManagement/editPatid.vue @@ -59,7 +59,7 @@ export default { if (!valid) { return false } - this.$http.post('/quguang/pat/Manage/updateIdNumber', this.dataForm).then(({ data: res }) => { + this.$http.post('/hz_quguang/pat/Manage/updateIdNumber', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/outpatientManagement/index.vue b/src/page-subspecialty/views/modules/outpatientManagement/index.vue index 0b519ab..41c1947 100644 --- a/src/page-subspecialty/views/modules/outpatientManagement/index.vue +++ b/src/page-subspecialty/views/modules/outpatientManagement/index.vue @@ -171,7 +171,7 @@ export default { return { mixinViewModuleOptions: { createdIsNeed: false, - getDataListURL: '/quguang/patient/manage/page', + getDataListURL: '/hz_quguang/patient/manage/page', getDataListIsPage: true }, startEndTime: [], @@ -271,7 +271,7 @@ export default { }, // 获取手术医生列表 async getDoctorList() { - const { data: res } = await this.$http.get('/quguang/opera/reservation/getDoctorList') + const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getDoctorList') if (res.code === 0) { this.doctorList = res.data } else { diff --git a/src/page-subspecialty/views/modules/outpatientManagement/patient-add-or-update.vue b/src/page-subspecialty/views/modules/outpatientManagement/patient-add-or-update.vue index 9a29045..ace2de9 100644 --- a/src/page-subspecialty/views/modules/outpatientManagement/patient-add-or-update.vue +++ b/src/page-subspecialty/views/modules/outpatientManagement/patient-add-or-update.vue @@ -126,7 +126,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/patient/manage/${this.params.patientCentreId}/${this.params.patientIdNumber}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/patient/manage/${this.params.patientCentreId}/${this.params.patientIdNumber}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -145,7 +145,7 @@ export default { }, // 获取随访列表 async getVisitList() { - const { data: res } = await this.$http.get('/quguang/visit/getList') + const { data: res } = await this.$http.get('/hz_quguang/visit/getList') if (res.code === 0) { this.visitList = res.data } else { @@ -161,7 +161,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/patient/manage', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/patient/manage', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/patientManagement/HIS-add.vue b/src/page-subspecialty/views/modules/patientManagement/HIS-add.vue index 0a0215d..39732d5 100644 --- a/src/page-subspecialty/views/modules/patientManagement/HIS-add.vue +++ b/src/page-subspecialty/views/modules/patientManagement/HIS-add.vue @@ -89,7 +89,7 @@ export default { if (flag === 2 && !this.dataFormHis.patientId && !this.dataFormHis.patientName && !this.dataFormHis.patientIdNumber) { return this.$message.error('搜索内容不能为空') } - const { data: res } = await this.$http.get('/quguang/patient/manage/getHisPatientList', { + const { data: res } = await this.$http.get('/hz_quguang/patient/manage/getHisPatientList', { params: this.dataFormHis }) if (res.code === 0) { diff --git a/src/page-subspecialty/views/modules/patientManagement/editPatid.vue b/src/page-subspecialty/views/modules/patientManagement/editPatid.vue index 84521f3..44c68fb 100644 --- a/src/page-subspecialty/views/modules/patientManagement/editPatid.vue +++ b/src/page-subspecialty/views/modules/patientManagement/editPatid.vue @@ -59,7 +59,7 @@ export default { if (!valid) { return false } - this.$http.post('/quguang/pat/Manage/updateIdNumber', this.dataForm).then(({ data: res }) => { + this.$http.post('/hz_quguang/pat/Manage/updateIdNumber', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/patientManagement/index.vue b/src/page-subspecialty/views/modules/patientManagement/index.vue index 9ba7549..472f36b 100644 --- a/src/page-subspecialty/views/modules/patientManagement/index.vue +++ b/src/page-subspecialty/views/modules/patientManagement/index.vue @@ -242,8 +242,8 @@ export default { return { mixinViewModuleOptions: { createdIsNeed: false, - getDataListURL: '/quguang/patient/manage/page', - deleteURL: '/quguang/patient/manage', + getDataListURL: '/hz_quguang/patient/manage/page', + deleteURL: '/hz_quguang/patient/manage', getDataListIsPage: true }, cheackAllFooter: false, @@ -338,7 +338,7 @@ export default { }, // 获取手术医生列表 async getDoctorList() { - const { data: res } = await this.$http.get('/quguang/opera/reservation/getDoctorList') + const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getDoctorList') if (res.code === 0) { this.doctorList = res.data } else { @@ -372,7 +372,7 @@ export default { }, // 发送问卷 async sendQuestionHandle(scopeRow) { - const { data: res } = await this.$http.get(`/quguang/patient/manage/callbackWechat/${scopeRow.patientCentreId}/${scopeRow.patientIdNumber}/${scopeRow.patientId}/${scopeRow.patientName}`) + const { data: res } = await this.$http.get(`/hz_quguang/patient/manage/callbackWechat/${scopeRow.patientCentreId}/${scopeRow.patientIdNumber}/${scopeRow.patientId}/${scopeRow.patientName}`) if (res.code === 0) { this.$message({ message: '发送问卷成功', diff --git a/src/page-subspecialty/views/modules/patientManagement/patient-add-or-update.vue b/src/page-subspecialty/views/modules/patientManagement/patient-add-or-update.vue index d147fbf..8a91cad 100644 --- a/src/page-subspecialty/views/modules/patientManagement/patient-add-or-update.vue +++ b/src/page-subspecialty/views/modules/patientManagement/patient-add-or-update.vue @@ -133,7 +133,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/patient/manage/${this.params.patientCentreId}/${this.params.patientIdNumber}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/patient/manage/${this.params.patientCentreId}/${this.params.patientIdNumber}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -152,7 +152,7 @@ export default { }, // 获取随访列表 async getVisitList() { - const { data: res } = await this.$http.get('/quguang/visit/getList') + const { data: res } = await this.$http.get('/hz_quguang/visit/getList') if (res.code === 0) { this.visitList = res.data } else { @@ -168,7 +168,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/patient/manage', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/patient/manage', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/propagandaManagement/notification/add-propaganda.vue b/src/page-subspecialty/views/modules/propagandaManagement/notification/add-propaganda.vue index a9b7e23..b660fcc 100644 --- a/src/page-subspecialty/views/modules/propagandaManagement/notification/add-propaganda.vue +++ b/src/page-subspecialty/views/modules/propagandaManagement/notification/add-propaganda.vue @@ -73,7 +73,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/preach/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/preach/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -89,7 +89,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/preach', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/preach', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/propagandaManagement/notification/index.vue b/src/page-subspecialty/views/modules/propagandaManagement/notification/index.vue index 6e3f9e7..6d19c48 100644 --- a/src/page-subspecialty/views/modules/propagandaManagement/notification/index.vue +++ b/src/page-subspecialty/views/modules/propagandaManagement/notification/index.vue @@ -56,8 +56,8 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/preach', - deleteURL: '/quguang/preach', + getDataListURL: '/hz_quguang/preach', + deleteURL: '/hz_quguang/preach', deleteIsBatch: true, getDataListIsPage: false }, diff --git a/src/page-subspecialty/views/modules/propagandaManagement/statistics/index-table.vue b/src/page-subspecialty/views/modules/propagandaManagement/statistics/index-table.vue index 6c46447..35336a7 100644 --- a/src/page-subspecialty/views/modules/propagandaManagement/statistics/index-table.vue +++ b/src/page-subspecialty/views/modules/propagandaManagement/statistics/index-table.vue @@ -190,7 +190,7 @@ export default { }, methods: { async getCountArticleList(params, flag) { - const { data: res } = await this.$http.get('/quguang/propagation/page', { + const { data: res } = await this.$http.get('/hz_quguang/propagation/page', { params: this.dataForm }) if (res.code === 0) { @@ -227,7 +227,7 @@ export default { }, // 宣教配置 async articleConfigClick() { - const { data: res } = await this.$http.post('/quguang/preach/updateConfig', this.setDataForm) + const { data: res } = await this.$http.post('/hz_quguang/preach/updateConfig', this.setDataForm) if (res.code === 0) { this.$message({ message: '配置成功', @@ -240,7 +240,7 @@ export default { }, // 获取宣教配置 async getArticleConfig() { - const { data: res } = await this.$http.get('/quguang/preach/getPreachConfig') + const { data: res } = await this.$http.get('/hz_quguang/preach/getPreachConfig') if (res.code === 0) { res.data ? this.setDataForm = res.data : '' } else { diff --git a/src/page-subspecialty/views/modules/propagandaManagement/statistics/index-模块化 -1.vue b/src/page-subspecialty/views/modules/propagandaManagement/statistics/index-模块化 -1.vue index 878af0a..5b95de0 100644 --- a/src/page-subspecialty/views/modules/propagandaManagement/statistics/index-模块化 -1.vue +++ b/src/page-subspecialty/views/modules/propagandaManagement/statistics/index-模块化 -1.vue @@ -217,7 +217,7 @@ export default { }, methods: { async getCountArticleList(params, flag) { - const { data: res } = await this.$http.get('/quguang/propagation/page', { + const { data: res } = await this.$http.get('/hz_quguang/propagation/page', { params: this.dataForm }) if (res.code === 0) { @@ -254,7 +254,7 @@ export default { }, // 宣教配置 async articleConfigClick() { - const { data: res } = await this.$http.post('/quguang/preach/updateConfig', this.setDataForm) + const { data: res } = await this.$http.post('/hz_quguang/preach/updateConfig', this.setDataForm) if (res.code === 0) { this.$message({ message: '配置成功', @@ -267,7 +267,7 @@ export default { }, // 获取宣教配置 async getArticleConfig() { - const { data: res } = await this.$http.get('/quguang/preach/getPreachConfig') + const { data: res } = await this.$http.get('/hz_quguang/preach/getPreachConfig') if (res.code === 0) { res.data ? this.setDataForm = res.data : '' } else { diff --git a/src/page-subspecialty/views/modules/propagandaManagement/statistics/index.vue b/src/page-subspecialty/views/modules/propagandaManagement/statistics/index.vue index 931405b..c75f37f 100644 --- a/src/page-subspecialty/views/modules/propagandaManagement/statistics/index.vue +++ b/src/page-subspecialty/views/modules/propagandaManagement/statistics/index.vue @@ -219,7 +219,7 @@ export default { }, methods: { async getCountArticleList(params, flag) { - const { data: res } = await this.$http.get('/quguang/propagation/page', { + const { data: res } = await this.$http.get('/hz_quguang/propagation/page', { params: this.dataForm }) if (res.code === 0) { @@ -256,7 +256,7 @@ export default { }, // 宣教配置 async articleConfigClick() { - const { data: res } = await this.$http.post('/quguang/preach/updateConfig', this.setDataForm) + const { data: res } = await this.$http.post('/hz_quguang/preach/updateConfig', this.setDataForm) if (res.code === 0) { this.$message({ message: '配置成功', @@ -269,7 +269,7 @@ export default { }, // 获取宣教配置 async getArticleConfig() { - const { data: res } = await this.$http.get('/quguang/preach/getPreachConfig') + const { data: res } = await this.$http.get('/hz_quguang/preach/getPreachConfig') if (res.code === 0) { res.data ? this.setDataForm = res.data : '' } else { diff --git a/src/page-subspecialty/views/modules/questionManagement/editPatid.vue b/src/page-subspecialty/views/modules/questionManagement/editPatid.vue index 4617d4d..83d26e6 100644 --- a/src/page-subspecialty/views/modules/questionManagement/editPatid.vue +++ b/src/page-subspecialty/views/modules/questionManagement/editPatid.vue @@ -86,7 +86,7 @@ export default { if (!valid) { return false } - this.$http.post('/quguang/survey/bindSurvey', this.dataForm).then(({ data: res }) => { + this.$http.post('/hz_quguang/survey/bindSurvey', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/questionManagement/index.vue b/src/page-subspecialty/views/modules/questionManagement/index.vue index 2df0954..b7e3dee 100644 --- a/src/page-subspecialty/views/modules/questionManagement/index.vue +++ b/src/page-subspecialty/views/modules/questionManagement/index.vue @@ -99,7 +99,7 @@ export default { return { mixinViewModuleOptions: { createdIsNeed: false, - getDataListURL: '/quguang/survey/getSurveyList', + getDataListURL: '/hz_quguang/survey/getSurveyList', getDataListIsPage: true }, editPatidVisible: false, diff --git a/src/page-subspecialty/views/modules/questionManagement/patient-add-or-update.vue b/src/page-subspecialty/views/modules/questionManagement/patient-add-or-update.vue index d147fbf..8a91cad 100644 --- a/src/page-subspecialty/views/modules/questionManagement/patient-add-or-update.vue +++ b/src/page-subspecialty/views/modules/questionManagement/patient-add-or-update.vue @@ -133,7 +133,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/patient/manage/${this.params.patientCentreId}/${this.params.patientIdNumber}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/patient/manage/${this.params.patientCentreId}/${this.params.patientIdNumber}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -152,7 +152,7 @@ export default { }, // 获取随访列表 async getVisitList() { - const { data: res } = await this.$http.get('/quguang/visit/getList') + const { data: res } = await this.$http.get('/hz_quguang/visit/getList') if (res.code === 0) { this.visitList = res.data } else { @@ -168,7 +168,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/patient/manage', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/patient/manage', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/seeDoctor/archives/add-archivs.vue b/src/page-subspecialty/views/modules/seeDoctor/archives/add-archivs.vue index 1da057a..c1cc504 100644 --- a/src/page-subspecialty/views/modules/seeDoctor/archives/add-archivs.vue +++ b/src/page-subspecialty/views/modules/seeDoctor/archives/add-archivs.vue @@ -76,7 +76,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/patient/archive', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/patient/archive', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/seeDoctor/archives/add-caseForm.vue b/src/page-subspecialty/views/modules/seeDoctor/archives/add-caseForm.vue index 44d6def..72e382d 100644 --- a/src/page-subspecialty/views/modules/seeDoctor/archives/add-caseForm.vue +++ b/src/page-subspecialty/views/modules/seeDoctor/archives/add-caseForm.vue @@ -78,7 +78,7 @@ export default { // 1、手术计划当天一个人只能生成一份 // 2、如果另一个人添加手术计划就提醒已经存在一份了是否继续添加 // 大于0提示 - const { data: res } = await this.$http.get('/quguang/medical/record/getMedicalCount', { + const { data: res } = await this.$http.get('/hz_quguang/medical/record/getMedicalCount', { params: { patientIdNumber: this.patientInfoObj.patientIdNumber, formName: this.dataForm.formName, @@ -98,7 +98,7 @@ export default { } }, addForm() { - this.$http.post('/quguang/medical/record', this.dataForm).then(({ data: res }) => { + this.$http.post('/hz_quguang/medical/record', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/seeDoctor/archives/case-template-drawer.vue b/src/page-subspecialty/views/modules/seeDoctor/archives/case-template-drawer.vue index 2f21119..0814970 100644 --- a/src/page-subspecialty/views/modules/seeDoctor/archives/case-template-drawer.vue +++ b/src/page-subspecialty/views/modules/seeDoctor/archives/case-template-drawer.vue @@ -60,7 +60,7 @@ export default { }, async getTypeTemplate() { this.nodataShow = false - const { data: res } = await this.$http.get(`/quguang/medical/record/template/getListByType/${this.activeName}`) + const { data: res } = await this.$http.get(`/hz_quguang/medical/record/template/getListByType/${this.activeName}`) if (res.code === 0) { this.typeTemplateList = res.data this.tabItemList = res.data diff --git a/src/page-subspecialty/views/modules/seeDoctor/archives/index.vue b/src/page-subspecialty/views/modules/seeDoctor/archives/index.vue index 518e6bb..b4af364 100644 --- a/src/page-subspecialty/views/modules/seeDoctor/archives/index.vue +++ b/src/page-subspecialty/views/modules/seeDoctor/archives/index.vue @@ -522,7 +522,7 @@ export default { async getArchiveCaseList(archiveId, dataList) { console.log(archiveId) this.noDataShow = false - const { data: res } = await this.$http.get(`/quguang/medical/record/getList/${archiveId}`) + const { data: res } = await this.$http.get(`/hz_quguang/medical/record/getList/${archiveId}`) if (res.code === 0) { this.archiveCaseCRFList = JSON.parse(JSON.stringify(res.data)) this.archiveListOperaIndex = this.archiveCaseCRFList.findIndex(item => item.crfType === '手术') @@ -561,7 +561,7 @@ export default { // 解决表单显示隐藏问题 // (如果不加,第一次点击和第二次点击是相同表单名称的情况下,表单不会隐藏后再显示,就会出现data中的formListValue值还是使用上一个表单中的值) this.formFlag = 1 - const { data: res } = await this.$http.get(`/quguang/from/data/${this.dataForm.id}`) + const { data: res } = await this.$http.get(`/hz_quguang/from/data/${this.dataForm.id}`) if (res.code !== 0) { this.loading = false return this.$message.error(res.msg) @@ -615,7 +615,7 @@ export default { deleteCRFList(item) { // console.log(item) this.$confirmFun('你确定要删除此病历吗?').then(async() => { - const { data: res } = await this.$http.delete(`/quguang/medical/record/${item.id}`) + const { data: res } = await this.$http.delete(`/hz_quguang/medical/record/${item.id}`) if (res.code === 0) { this.getArchiveCaseList(this.currentArchiveList.id) this.$message({ @@ -696,7 +696,7 @@ export default { // 1、手术计划当天一个人只能生成一份 // 2、如果另一个人添加手术计划就提醒已经存在一份了是否继续添加 // 大于0提示 - const { data: res } = await this.$http.get('/quguang/medical/record/getMedicalCount', { + const { data: res } = await this.$http.get('/hz_quguang/medical/record/getMedicalCount', { params: { patientIdNumber: this.patientInfoObj.patientIdNumber, formName: item.name, @@ -719,7 +719,7 @@ export default { } }, async addForm(item) { - const { data: res } = await this.$http.post('/quguang/medical/record', { + const { data: res } = await this.$http.post('/hz_quguang/medical/record', { archiveId: this.currentArchiveList.id, crfId: item.id, formDate: dateFilterTwo(this.$moment().format('L')), // 2022/04/29, @@ -739,7 +739,7 @@ export default { }, // 根据类型获取模板列表 async getCRFList(type) { - const { data: res } = await this.$http.get(`/quguang/crf/template/getListByType/${type}`) + const { data: res } = await this.$http.get(`/hz_quguang/crf/template/getListByType/${type}`) if (res.code === 0) { this.commeFormList = res.data } else { @@ -763,7 +763,7 @@ export default { }, // 判断表单是否正在编辑 async getErmUpdating() { - const { data: res } = await this.$http.get('/quguang/medical/record/getErmUpdating', { + const { data: res } = await this.$http.get('/hz_quguang/medical/record/getErmUpdating', { params: { formId: this.archiveCaseCRFItem.id } @@ -784,7 +784,7 @@ export default { }, // 表单正在编辑保存状态 async getSaveErmUpdating() { - const { data: res } = await this.$http.post('/quguang/medical/record/saveErmUpdating', { + const { data: res } = await this.$http.post('/hz_quguang/medical/record/saveErmUpdating', { formId: this.archiveCaseCRFItem.id }) if (res.code !== 0) { @@ -793,7 +793,7 @@ export default { }, // 删除表单正在编辑状态 async deleteErmUpdating(formId) { - const { data: res } = await this.$http.delete('/quguang/medical/record/deleteErmUpdating', { + const { data: res } = await this.$http.delete('/hz_quguang/medical/record/deleteErmUpdating', { params: { formId: formId, employeeId: this.userData.employeeId @@ -804,7 +804,7 @@ export default { } }, async saveCrfDescriptionH5(text) { - const { data: res } = await this.$http.post('/quguang/from/data/saveWriteVisit', { + const { data: res } = await this.$http.post('/hz_quguang/from/data/saveWriteVisit', { formContent: JSON.stringify(this.$refs[text].formListValue), id: this.archiveCaseCRFItem.id }) diff --git a/src/page-subspecialty/views/modules/seeDoctor/archives/intelligent-filling-drawer.vue b/src/page-subspecialty/views/modules/seeDoctor/archives/intelligent-filling-drawer.vue index 93b928a..bd39417 100644 --- a/src/page-subspecialty/views/modules/seeDoctor/archives/intelligent-filling-drawer.vue +++ b/src/page-subspecialty/views/modules/seeDoctor/archives/intelligent-filling-drawer.vue @@ -130,7 +130,7 @@ export default { }, init() { this.$nextTick(() => { - this.$http.get('/quguang/crf/template', { params: { crfId: this.crfId }}).then(({ data: res }) => { + this.$http.get('/hz_quguang/crf/template', { params: { crfId: this.crfId }}).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -140,7 +140,7 @@ export default { } }).catch(() => { }) - // this.$http.get(`/quguang/from/data/getFirstFeedbackData/${this.patientIdNumber}`).then(({ data: res }) => { + // this.$http.get(`/hz_quguang/from/data/getFirstFeedbackData/${this.patientIdNumber}`).then(({ data: res }) => { // if (res.code !== 0) { // return this.$message.error(res.msg) // } @@ -180,7 +180,7 @@ export default { const ifrDoc = ifr.contentWindow.document || ifr.contentDocument const body = ifrDoc.getElementsByTagName('body')[0] const crfContent = body.innerHTML - this.$http.post('/quguang/crf/form', { + this.$http.post('/hz_quguang/crf/form', { crfId: this.crfId, dataContent: Base64.encode(crfContent), idNumber: this.patientIdNumber, diff --git a/src/page-subspecialty/views/modules/seeDoctor/archives/record-file.vue b/src/page-subspecialty/views/modules/seeDoctor/archives/record-file.vue index a810528..d6c1c5f 100644 --- a/src/page-subspecialty/views/modules/seeDoctor/archives/record-file.vue +++ b/src/page-subspecialty/views/modules/seeDoctor/archives/record-file.vue @@ -134,14 +134,14 @@ export default { // 保存谈话清单 async checkboxChangeHandle(value) { console.log(value) - const { data: res } = await this.$http.post('/quguang/medical/record/saveTalkList', { + const { data: res } = await this.$http.post('/hz_quguang/medical/record/saveTalkList', { formId: this.formId, dataJson: JSON.stringify(value) }) }, // 获取谈话清单 async getTalkList() { - const { data: res } = await this.$http.get(`/quguang/medical/record/getTalkList/${this.formId}`) + const { data: res } = await this.$http.get(`/hz_quguang/medical/record/getTalkList/${this.formId}`) if (res.code === 0) { this.checkList = res.data ? JSON.parse(res.data) : [] } else { @@ -244,7 +244,7 @@ export default { this.$http({ method: 'post', - url: '/quguang/medical/record/saveTalkRecord', + url: '/hz_quguang/medical/record/saveTalkRecord', headers: { 'Content-Type': 'multipart/form-data' }, @@ -260,7 +260,7 @@ export default { // 获取激光角膜屈光手术同意书谈话记录 async getTalkTecord() { this.recordFlag = false - const { data: res } = await this.$http.get(`/quguang/medical/record/getTalkRecord/${this.formId}`) + const { data: res } = await this.$http.get(`/hz_quguang/medical/record/getTalkRecord/${this.formId}`) if (res.code === 0) { this.recordList = res.data this.recordFlag = true diff --git a/src/page-subspecialty/views/modules/seeDoctor/changeRecord.vue b/src/page-subspecialty/views/modules/seeDoctor/changeRecord.vue index cd07735..7aa7549 100644 --- a/src/page-subspecialty/views/modules/seeDoctor/changeRecord.vue +++ b/src/page-subspecialty/views/modules/seeDoctor/changeRecord.vue @@ -47,7 +47,7 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/visit/patient/getChangeRecord', + getDataListURL: '/hz_quguang/visit/patient/getChangeRecord', getDataListIsPage: true, createdIsNeed: false }, diff --git a/src/page-subspecialty/views/modules/seeDoctor/edit-follow-unit-visit.vue b/src/page-subspecialty/views/modules/seeDoctor/edit-follow-unit-visit.vue index 84aa929..cf10579 100644 --- a/src/page-subspecialty/views/modules/seeDoctor/edit-follow-unit-visit.vue +++ b/src/page-subspecialty/views/modules/seeDoctor/edit-follow-unit-visit.vue @@ -78,7 +78,7 @@ export default { }, // 获取随访列表 async getVisitList() { - const { data: res } = await this.$http.get('/quguang/visit/getList') + const { data: res } = await this.$http.get('/hz_quguang/visit/getList') if (res.code === 0) { this.visitList = res.data } else { @@ -92,7 +92,7 @@ export default { return false } // 修改随访方案/修改下次来访 - const url = this.title === '修改随访方案' ? '/quguang/visit/patient/bindPat' : '/quguang/visit/patient/updateNextVisitDate' + const url = this.title === '修改随访方案' ? '/hz_quguang/visit/patient/bindPat' : '/hz_quguang/visit/patient/updateNextVisitDate' const dataList = this.title === '修改随访方案' ? { visitId: this.dataForm.visitId, remark: this.dataForm.remark, diff --git a/src/page-subspecialty/views/modules/seeDoctor/followUpRecord/add-follow-record.vue b/src/page-subspecialty/views/modules/seeDoctor/followUpRecord/add-follow-record.vue index 20af412..d265de5 100644 --- a/src/page-subspecialty/views/modules/seeDoctor/followUpRecord/add-follow-record.vue +++ b/src/page-subspecialty/views/modules/seeDoctor/followUpRecord/add-follow-record.vue @@ -76,7 +76,7 @@ export default { return false } this.dataForm.centreId = JSON.parse(window.localStorage.getItem('qg-userData')).centreId - this.$http.post('/quguang/from/data', this.dataForm).then(({ data: res }) => { + this.$http.post('/hz_quguang/from/data', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/seeDoctor/followUpRecord/followUpRecord.vue b/src/page-subspecialty/views/modules/seeDoctor/followUpRecord/followUpRecord.vue index c7c95fe..d5bb6f8 100644 --- a/src/page-subspecialty/views/modules/seeDoctor/followUpRecord/followUpRecord.vue +++ b/src/page-subspecialty/views/modules/seeDoctor/followUpRecord/followUpRecord.vue @@ -178,7 +178,7 @@ export default { }, // 根据类型获取随访表单列表 async getFollowFormList() { - const { data: res } = await this.$http.get('/quguang/crf/template/getListByType/随访') + const { data: res } = await this.$http.get('/hz_quguang/crf/template/getListByType/随访') if (res.code === 0) { this.followFormList = res.data } else { @@ -234,7 +234,7 @@ export default { item ? this.dataForm = { ...this.dataForm, ...item } : '' this.crfVisible = false this.$nextTick(() => { - this.$http.get(`/quguang/from/data/${this.dataForm.formId}`) + this.$http.get(`/hz_quguang/from/data/${this.dataForm.formId}`) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) @@ -267,7 +267,7 @@ export default { this.loading = true const addFromData = data data ? this.dataForm = data : '' - const { data: res } = await this.$http.get(`/quguang/from/data/${this.patientCentreId}/${this.patientIdNumber}`) + const { data: res } = await this.$http.get(`/hz_quguang/from/data/${this.patientCentreId}/${this.patientIdNumber}`) if (res.code === 0) { if (res.data.length > 0) { res.data.forEach(item => { @@ -340,7 +340,7 @@ export default { // 删除 async deleteHandle() { this.$confirmFun('你确定要删除此随访记录吗?').then(async() => { - const { data: res } = await this.$http.delete(`/quguang/from/data/${this.dataForm.id}`) + const { data: res } = await this.$http.delete(`/hz_quguang/from/data/${this.dataForm.id}`) if (res.code === 0) { this.$message({ message: this.$t('prompt.success'), diff --git a/src/page-subspecialty/views/modules/seeDoctor/followUpRecord/followUpRecordList.vue b/src/page-subspecialty/views/modules/seeDoctor/followUpRecord/followUpRecordList.vue index 1048c67..ef3d710 100644 --- a/src/page-subspecialty/views/modules/seeDoctor/followUpRecord/followUpRecordList.vue +++ b/src/page-subspecialty/views/modules/seeDoctor/followUpRecord/followUpRecordList.vue @@ -58,7 +58,7 @@ export default { }) }, async getVisitRecord() { - const { data: res } = await this.$http.get(`/quguang/visit/record/${this.patientIdNumber}`) + const { data: res } = await this.$http.get(`/hz_quguang/visit/record/${this.patientIdNumber}`) if (res.code === 0) { this.visitRecordList = res.data } else { diff --git a/src/page-subspecialty/views/modules/seeDoctor/index.vue b/src/page-subspecialty/views/modules/seeDoctor/index.vue index c67a261..992e756 100644 --- a/src/page-subspecialty/views/modules/seeDoctor/index.vue +++ b/src/page-subspecialty/views/modules/seeDoctor/index.vue @@ -143,7 +143,7 @@ export default { patientInfoShow: false, patientInfoTitle: '显示【患者基本信息】', mixinViewModuleOptions: { - deleteURL: '/quguang/patient/archive' + deleteURL: '/hz_quguang/patient/archive' }, patientInfo: [], patientInfoObj: {}, @@ -229,7 +229,7 @@ export default { this.patientCentreId = this.pageParams.patientCentreId this.getPatientInfo() this.getArchiveList() - this.getWarnInfo() + // this.getWarnInfo() }, mounted() { // setTimeout(() => { @@ -249,7 +249,7 @@ export default { }, // 获取患者信息 async getPatientInfo() { - this.$http.get(`/quguang/patient/manage/${this.patientCentreId}/${this.patientIdNumber}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/patient/manage/${this.patientCentreId}/${this.patientIdNumber}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -258,7 +258,7 @@ export default { }, // 获取预警信息 async getWarnInfo() { - const { data: res } = await this.$http.get('/quguang/sys/target/getPatientWarn', { + const { data: res } = await this.$http.get('/hz_quguang/sys/target/getPatientWarn', { params: { centreId: this.patientCentreId, patientIdNumber: this.patientIdNumber @@ -274,7 +274,7 @@ export default { async getArchiveList() { this.archiveDataShow = false this.isRightArchivsShow = false - const { data: res } = await this.$http.get(`/quguang/patient/archive/${this.patientCentreId}/${this.patientIdNumber}`) + const { data: res } = await this.$http.get(`/hz_quguang/patient/archive/${this.patientCentreId}/${this.patientIdNumber}`) if (res.code === 0) { this.archiveList = res.data this.activeName = res.data.length > 0 ? res.data[0].id : '' diff --git a/src/page-subspecialty/views/modules/statisticalAnalysis/data-statis.vue b/src/page-subspecialty/views/modules/statisticalAnalysis/data-statis.vue index a3d0e65..d0457fa 100644 --- a/src/page-subspecialty/views/modules/statisticalAnalysis/data-statis.vue +++ b/src/page-subspecialty/views/modules/statisticalAnalysis/data-statis.vue @@ -88,7 +88,7 @@ export default { datequery: '' }, mixinViewModuleOptions: { - getDataListURL: '/quguang/flow/findCount', + getDataListURL: '/hz_quguang/flow/findCount', getDataListIsPage: true }, dataForm: { @@ -118,7 +118,7 @@ export default { }, // 获取柱形图和折线图数据 async getEchartsData() { - const { data: res } = await this.$http.get('/quguang/flow/getEchartsData') + const { data: res } = await this.$http.get('/hz_quguang/flow/getEchartsData') if (res.code === 0) { this.echartsData = res.data } else { diff --git a/src/page-subspecialty/views/modules/statisticalManagement/index.vue b/src/page-subspecialty/views/modules/statisticalManagement/index.vue index ab4d7af..10b29cd 100644 --- a/src/page-subspecialty/views/modules/statisticalManagement/index.vue +++ b/src/page-subspecialty/views/modules/statisticalManagement/index.vue @@ -176,7 +176,7 @@ export default { // 获取今日数据统计 async getTodayCensus() { this.todayShow = false - const { data: res } = await this.$http.get('/quguang/data/analyse/todayCensus') + const { data: res } = await this.$http.get('/hz_quguang/data/analyse/todayCensus') this.todayCensusList = res.data const opera = this.todayCensusList.opera const schedule = this.todayCensusList.schedule @@ -188,7 +188,7 @@ export default { }, // 手术量统计 async getOperaCensus() { - const { data: res } = await this.$http.get(`/quguang/data/analyse/operaCensus/${this.operationRadioValue}`) + const { data: res } = await this.$http.get(`/hz_quguang/data/analyse/operaCensus/${this.operationRadioValue}`) if (res.code === 0) { this.operationVolumeList = res.data } else { @@ -197,7 +197,7 @@ export default { }, // 术士统计 async getSSTJList() { - const { data: res } = await this.$http.get(`/quguang/data/analyse/operaTypeCensus/${this.ssfxRadioValue}`) + const { data: res } = await this.$http.get(`/hz_quguang/data/analyse/operaTypeCensus/${this.ssfxRadioValue}`) if (res.code === 0) { this.ssfxPieList = res.data } else { @@ -206,7 +206,7 @@ export default { }, // 医生手术量 async getdoctorSSLList() { - const { data: res } = await this.$http.get(`/quguang/data/analyse/doctorOperaCensus/${this.doctorSSLRadioValue}`) + const { data: res } = await this.$http.get(`/hz_quguang/data/analyse/doctorOperaCensus/${this.doctorSSLRadioValue}`) if (res.code === 0) { this.doctorSSLBarList = res.data } else { @@ -214,7 +214,7 @@ export default { } }, async getwjtjList() { - const { data: res } = await this.$http.get(`/quguang/data/analyse/surveyCensus/${this.wjtjRadioValue}`) + const { data: res } = await this.$http.get(`/hz_quguang/data/analyse/surveyCensus/${this.wjtjRadioValue}`) if (res.code === 0) { this.wjtjFunnelList = res.data } else { diff --git a/src/page-subspecialty/views/modules/surgicalManagement/operationList/index.vue b/src/page-subspecialty/views/modules/surgicalManagement/operationList/index.vue index aaba668..0ae37e6 100644 --- a/src/page-subspecialty/views/modules/surgicalManagement/operationList/index.vue +++ b/src/page-subspecialty/views/modules/surgicalManagement/operationList/index.vue @@ -202,7 +202,7 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/his/opera/schedule/getOperaList', + getDataListURL: '/hz_quguang/his/opera/schedule/getOperaList', getDataListIsPage: true, createdIsNeed: false }, @@ -307,7 +307,7 @@ export default { // 获取手术医生列表 async getDoctorList() { // type 1: 主刀医生,2:检查医生 - const { data: res } = await this.$http.get('/quguang/opera/reservation/getDoctorList', { + const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getDoctorList', { params: { type: 1 } @@ -407,7 +407,7 @@ export default { }, // 状态回滚--一级一级回滚 async backOperaStatus(scopeRow) { - const { data: res } = await this.$http.post('/quguang/pda/backOperaStatus', { + const { data: res } = await this.$http.post('/hz_quguang/pda/backOperaStatus', { operaId: scopeRow.id }) if (res.code === 0) { @@ -424,7 +424,7 @@ export default { if (!this.remark) { return this.$message.error('请填写取消理由后再执行下一步操作') } - const { data: res } = await this.$http.delete('/quguang/opera/reservation/delete', { + const { data: res } = await this.$http.delete('/hz_quguang/opera/reservation/delete', { params: { operaPatientId: this.currentPatientInfo.id, remark: this.remark @@ -483,7 +483,7 @@ export default { }, // 保存生命体征封装 async funsaveLife(parmas) { - const { data: res } = await this.$http.post('/quguang/pda/saveOrUpdate', parmas) + const { data: res } = await this.$http.post('/hz_quguang/pda/saveOrUpdate', parmas) if (res.code === 0) { this.$message({ message: '您已保存成功', @@ -499,7 +499,7 @@ export default { async signHandle(scopeRow) { let newStatus = scopeRow.status + 1 console.log('newstatus',newStatus); - const { data: res } = await this.$http.post('/quguang/pda/updateOperaStatus', { + const { data: res } = await this.$http.post('/hz_quguang/pda/updateOperaStatus', { operaId: scopeRow.id, status: newStatus }) @@ -516,7 +516,7 @@ export default { }, // 叫号 async callHandle(scopeRow) { - const { data: res } = await this.$http.get(`/quguang/his/opera/schedule/callPatient/${scopeRow.id}`) + const { data: res } = await this.$http.get(`/hz_quguang/his/opera/schedule/callPatient/${scopeRow.id}`) if (res.code === 0) { this.$message({ message: '呼叫成功', @@ -530,7 +530,7 @@ export default { } }, async shenzhouCall(scopeRow) { - const { data: res } = await this.$http.post('/quguang/his/opera/schedule/shenZhouCallPatient', { + const { data: res } = await this.$http.post('/hz_quguang/his/opera/schedule/shenZhouCallPatient', { hisUserName: this.userData.realName, hisUserCode: this.userData.employeeId, msg: `屈光手术室、${scopeRow.patientName}`, diff --git a/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/choose-scheduled-data.vue b/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/choose-scheduled-data.vue index 07d5c72..1195a48 100644 --- a/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/choose-scheduled-data.vue +++ b/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/choose-scheduled-data.vue @@ -65,7 +65,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/sys/centre/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/sys/centre/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/process-scheduled-tab.vue b/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/process-scheduled-tab.vue index 7f65532..2136dbb 100644 --- a/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/process-scheduled-tab.vue +++ b/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/process-scheduled-tab.vue @@ -80,8 +80,8 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/opera/patient/page', - // deleteURL: '/quguang/patient/manage', + getDataListURL: '/hz_quguang/opera/patient/page', + // deleteURL: '/hz_quguang/patient/manage', getDataListIsPage: true }, cheackAllFooter: false, diff --git a/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/scheduled-order.vue b/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/scheduled-order.vue index 49ad3bd..9aa8ad5 100644 --- a/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/scheduled-order.vue +++ b/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/scheduled-order.vue @@ -292,7 +292,7 @@ @click="chooseScheduledCheckClick('选择手术日期')" >选择手术日期
-
+
{ @@ -621,7 +621,7 @@ export default { if (title === '选择手术日期') { this.patientInfo.mainDoctorInfo = rowList } else if (title === '选择核查日期') { - this.patientInfo.checkDoctorInfo = rowList + // this.patientInfo.checkDoctorInfo = rowList } // console.log(rowList) }, @@ -633,7 +633,7 @@ export default { // 获取患者详情 async getOperationInfo(id) { this.operaPatientId = id - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaInfo', { + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaInfo', { params: { id: id } @@ -768,7 +768,7 @@ export default { if (title === '选择手术日期') { this.$refs.chooseScheduledRef.rowListObj = this.patientInfo.mainDoctorInfo ? this.patientInfo.mainDoctorInfo : '' } else { - this.$refs.chooseScheduledRef.rowListObj = this.patientInfo.checkDoctorInfo ? this.patientInfo.checkDoctorInfo : '' + // this.$refs.chooseScheduledRef.rowListObj = this.patientInfo.checkDoctorInfo ? this.patientInfo.checkDoctorInfo : '' } this.$refs.chooseScheduledRef.title = title @@ -792,24 +792,24 @@ export default { operaTypeList.forEach(item => { item.operaEntityList[0] && item.operaEntityList[0].operationName ? '' : item.operaEntityList = [] }) - console.log(this.patientInfo.checkDoctorInfo) + // console.log(this.patientInfo.checkDoctorInfo) if (!this.patientInfo.mainDoctorInfo) { return this.$message.error('请选择手术日期') } - if (!this.patientInfo.checkDoctorInfo) { - return this.$message.error('请选择术前核查') - } + // if (!this.patientInfo.checkDoctorInfo) { + // return this.$message.error('请选择术前核查') + // } const params = { ...this.dataForm, operaPatientId: this.operaPatientId, - checkDoctorNumSourceId: this.patientInfo.checkDoctorInfo.id, // 检查医生号源ID + // checkDoctorNumSourceId: this.patientInfo.checkDoctorInfo.id, // 检查医生号源ID mainDoctorNumSourceId: this.patientInfo.mainDoctorInfo.id, // 主刀医生号源ID diagList: this.patientInfo.diagList, // 术前诊断列表 id: '', // 手术PID--修改时传 operaTypeList: operaTypeList, // 拟施手术列表 operaReservationId: this.patientInfo.operaReservationId // 手术预约ID--修改时传 } - const url = this.title === '未预约' ? '/quguang/opera/reservation/saveOperaReservation' : '/quguang/opera/reservation/updateOperaReservation' + const url = this.title === '未预约' ? '/hz_quguang/opera/reservation/saveOperaReservation' : '/hz_quguang/opera/reservation/updateOperaReservation' const { data: res } = await this.$http.post(url, params) if (res.code === 0) { this.$emit('refreshDataList') @@ -827,7 +827,7 @@ export default { } const params = { ...this.dataForm, - checkDoctorNumSourceId: this.patientInfo.checkDoctorInfo.id, // 检查医生号源ID + // checkDoctorNumSourceId: this.patientInfo.checkDoctorInfo.id, // 检查医生号源ID mainDoctorNumSourceId: this.patientInfo.mainDoctorInfo.id, // 主刀医生号源ID diagList: this.patientInfo.diagList, // 术前诊断列表 osOpera: this.osOpera, @@ -835,7 +835,7 @@ export default { ouOpera: this.ouOpera, patientIdNumber: this.patientInfo.patientIdNumber } - const { data: res } = await this.$http.post('/quguang/opera/reservation/saveOperaReservationForPatient', params) + const { data: res } = await this.$http.post('/hz_quguang/opera/reservation/saveOperaReservationForPatient', params) if (res.code === 0) { this.$emit('refreshDataList') this.visible = false @@ -847,7 +847,7 @@ export default { // 审核 async examineHandle(status) { - const { data: res } = await this.$http.post('/quguang/opera/reservation/operaAudit', { + const { data: res } = await this.$http.post('/hz_quguang/opera/reservation/operaAudit', { hisOperaId: this.dataForm.hisOperaId ? this.dataForm.hisOperaId : 0, operaPatientId: [this.operaPatientId], remark: this.dataForm.examine, @@ -957,7 +957,7 @@ export default { padding-top: 6px; .choose-date, .choose-check { - width: 50%; + width: 100%; padding: 8px 12px; background: #eaf2ff; border-radius: 6px; diff --git a/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/scheduled-tab.vue b/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/scheduled-tab.vue index d57f213..4c8273e 100644 --- a/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/scheduled-tab.vue +++ b/src/page-subspecialty/views/modules/surgicalManagement/operationOrder/scheduled-tab.vue @@ -224,7 +224,7 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/opera/patient/page', + getDataListURL: '/hz_quguang/opera/patient/page', getDataListIsPage: true, createdIsNeed: false }, @@ -274,7 +274,7 @@ export default { // 获取手术医生列表 // type 1主刀 2检查 async getDoctorList() { - const { data: res } = await this.$http.get('/quguang/opera/reservation/getDoctorList', { + const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getDoctorList', { params: { type: 1 } @@ -287,7 +287,7 @@ export default { }, // 获取手术列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { this.operaList = res.data } else { @@ -307,7 +307,7 @@ export default { async deleteScheduledClick(scopeRow) { this.$confirmFun('您确定要删除此未预约患者吗?').then(async() => { const { data: res } = await this.$http({ - url: '/quguang/opera/patient/delete', + url: '/hz_quguang/opera/patient/delete', method: 'delete', data: [scopeRow.id] }) @@ -359,7 +359,7 @@ export default { if (this.status === 2 && !this.remark) { return this.$message.error('请填写取消理由后再执行下一步操作') } - const { data: res } = await this.$http.delete('/quguang/opera/reservation/delete', { + const { data: res } = await this.$http.delete('/hz_quguang/opera/reservation/delete', { params: { operaPatientId: this.cancleOrderList.id, remark: this.remark @@ -409,7 +409,7 @@ export default { this.examineReviewVisible = true }, async sureExamineHandle() { - const { data: res } = await this.$http.post('/quguang/opera/reservation/operaAudit', { + const { data: res } = await this.$http.post('/hz_quguang/opera/reservation/operaAudit', { operaPatientId: this.operaPatientIdArr, remark: this.examine, status: this.examineStatus diff --git a/src/page-subspecialty/views/modules/surgicalManagement/schedule/add-schedule.vue b/src/page-subspecialty/views/modules/surgicalManagement/schedule/add-schedule.vue index 1daf316..484f9c6 100644 --- a/src/page-subspecialty/views/modules/surgicalManagement/schedule/add-schedule.vue +++ b/src/page-subspecialty/views/modules/surgicalManagement/schedule/add-schedule.vue @@ -102,7 +102,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/patient/manage/${this.params.patientCentreId}/${this.params.patientIdNumber}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/patient/manage/${this.params.patientCentreId}/${this.params.patientIdNumber}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -120,7 +120,7 @@ export default { }, // 获取患者列表 async getPatientList(query) { - const { data: res } = await this.$http.get('/quguang/opera/schedule/getPatientList', { + const { data: res } = await this.$http.get('/hz_quguang/opera/schedule/getPatientList', { params: { patientName: query } @@ -144,7 +144,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/opera/schedule', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/opera/schedule', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/surgicalManagement/schedule/doctor-schedule.vue b/src/page-subspecialty/views/modules/surgicalManagement/schedule/doctor-schedule.vue index 6aa6d33..ddcba12 100644 --- a/src/page-subspecialty/views/modules/surgicalManagement/schedule/doctor-schedule.vue +++ b/src/page-subspecialty/views/modules/surgicalManagement/schedule/doctor-schedule.vue @@ -290,7 +290,7 @@ export default { // 复制上周号源 async copyNum() { // type----- 1:手术日程,2:术前核查 - const {data:res} = await this.$http.post('/quguang/num/source/copyNumberSource',{ + const {data:res} = await this.$http.post('/hz_quguang/num/source/copyNumberSource',{ searchDate:this.newDate, type:this.sourceFlag, }) @@ -302,7 +302,7 @@ export default { }, async getScheduleList() { // type----- 1:手术日程,2:术前核查 - const { data: res } = await this.$http.get('/quguang/opera/reservation/getList', { + const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getList', { params: { searchDate: this.newDate, type: this.sourceFlag @@ -480,7 +480,7 @@ export default { // 正式使用 if (this.title === 'plus' && this.titleButton!=='选择核查日期') { // 选择医生时判断医生有没有手术权限 - const { data: res } = await this.$http.post('/quguang/num/source/authorDoctor', { + const { data: res } = await this.$http.post('/hz_quguang/num/source/authorDoctor', { doctorCode: item.doctorCode, operaVOList: this.operaTypeList }) diff --git a/src/page-subspecialty/views/modules/surgicalManagement/schedule/edit-operation.vue b/src/page-subspecialty/views/modules/surgicalManagement/schedule/edit-operation.vue index ed3f2c0..667fecc 100644 --- a/src/page-subspecialty/views/modules/surgicalManagement/schedule/edit-operation.vue +++ b/src/page-subspecialty/views/modules/surgicalManagement/schedule/edit-operation.vue @@ -73,7 +73,7 @@ export default { } // 有id--说明是生成后保存过的接口 if (this.dataForm.id) { - this.$http.post('/quguang/num/source/update', this.dataForm).then(({ data: res }) => { + this.$http.post('/hz_quguang/num/source/update', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/surgicalManagement/schedule/index.vue b/src/page-subspecialty/views/modules/surgicalManagement/schedule/index.vue index 06b6fdf..0f20495 100644 --- a/src/page-subspecialty/views/modules/surgicalManagement/schedule/index.vue +++ b/src/page-subspecialty/views/modules/surgicalManagement/schedule/index.vue @@ -8,11 +8,11 @@ - + + - + -->
diff --git a/src/page-subspecialty/views/modules/surgicalManagement/schedule/number-detail-manage.vue b/src/page-subspecialty/views/modules/surgicalManagement/schedule/number-detail-manage.vue index 0412022..5d081e9 100644 --- a/src/page-subspecialty/views/modules/surgicalManagement/schedule/number-detail-manage.vue +++ b/src/page-subspecialty/views/modules/surgicalManagement/schedule/number-detail-manage.vue @@ -217,7 +217,7 @@ export default { }, // 获取预约患者详情 async getPatientList() { - const { data: res } = await this.$http.get('/quguang/opera/reservation/getPatientList', { + const { data: res } = await this.$http.get('/hz_quguang/opera/reservation/getPatientList', { params: { doctorCode: this.dataForm.doctorCode, // 医生工号 morOrAft: this.morOrAft === '上午' ? 1 : 2, // morOrAft --1:上午,2:下午 @@ -233,7 +233,7 @@ export default { }, // 生成预约号 async creatNumberClick() { - const { data: res } = await this.$http.post('/quguang/num/source/createNumSource', this.dataForm) + const { data: res } = await this.$http.post('/hz_quguang/num/source/createNumSource', this.dataForm) if (res.code === 0) { this.dataList = res.data this.saveButtonShow = true @@ -243,7 +243,7 @@ export default { }, // 号源管理列表 async getSourceList() { - const { data: res } = await this.$http.get('/quguang/num/source/getList', { + const { data: res } = await this.$http.get('/hz_quguang/num/source/getList', { params: { doctorCode: this.dataForm.doctorCode, // 医生工号 morOrAft: this.morOrAft === '上午' ? 1 : 2, // morOrAft --1:上午,2:下午 @@ -327,7 +327,7 @@ export default { deleteClickFun(id) { this.$confirmFun('您确定要删除吗?').then(async() => { const { data: res } = await this.$http({ - url: '/quguang/num/source', + url: '/hz_quguang/num/source', method: 'delete', data: id }) @@ -344,7 +344,7 @@ export default { }, // 表单提交 async dataFormSubmitHandle() { - const { data: res } = await this.$http.post('/quguang/num/source/saveSource', this.dataList) + const { data: res } = await this.$http.post('/hz_quguang/num/source/saveSource', this.dataList) if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/surgicalManagement/schedule/operation-detail.vue b/src/page-subspecialty/views/modules/surgicalManagement/schedule/operation-detail.vue index 4b76d6c..0ab3ed2 100644 --- a/src/page-subspecialty/views/modules/surgicalManagement/schedule/operation-detail.vue +++ b/src/page-subspecialty/views/modules/surgicalManagement/schedule/operation-detail.vue @@ -99,7 +99,7 @@ export default { handleCurrentChange() {}, // 获取信息 getInfo() { - this.$http.get(`/quguang/patient/manage/${this.params.patientCentreId}/${this.params.patientIdNumber}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/patient/manage/${this.params.patientCentreId}/${this.params.patientIdNumber}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/systemManagement/appUpdate/addUpdate.vue b/src/page-subspecialty/views/modules/systemManagement/appUpdate/addUpdate.vue index ec8c902..ce8477c 100644 --- a/src/page-subspecialty/views/modules/systemManagement/appUpdate/addUpdate.vue +++ b/src/page-subspecialty/views/modules/systemManagement/appUpdate/addUpdate.vue @@ -113,11 +113,11 @@ export default { init() { console.log(this.text) this.visible = true - this.uploadUrl = process.env.VUE_APP_LOGIN_URL + '/quguang/hot/update/uploadFile' + this.uploadUrl = process.env.VUE_APP_LOGIN_URL + '/hz_quguang/hot/update/uploadFile' this.text === '编辑' ? this.getAppList() : '' }, async getAppList() { - const { data: res } = await this.$http.get('/quguang/hot/update/get') + const { data: res } = await this.$http.get('/hz_quguang/hot/update/get') if (res.code === 0) { res.data ? this.dataForm = res.data : '' } else { @@ -144,7 +144,7 @@ export default { }, // 表单提交 async saveHandle() { - const { data: res } = await this.$http.post('/quguang/hot/update/save', this.dataForm) + const { data: res } = await this.$http.post('/hz_quguang/hot/update/save', this.dataForm) if (res.code === 0) { this.$message({ message: '保存成功', diff --git a/src/page-subspecialty/views/modules/systemManagement/appUpdate/index.vue b/src/page-subspecialty/views/modules/systemManagement/appUpdate/index.vue index 4ffc7dc..98eae71 100644 --- a/src/page-subspecialty/views/modules/systemManagement/appUpdate/index.vue +++ b/src/page-subspecialty/views/modules/systemManagement/appUpdate/index.vue @@ -62,7 +62,7 @@ export default { }, methods: { async getAppList() { - const { data: res } = await this.$http.get('/quguang/hot/update/get') + const { data: res } = await this.$http.get('/hz_quguang/hot/update/get') if (res.code === 0) { res.data ? this.appList = [{ ...res.data }] : '' } else { diff --git a/src/page-subspecialty/views/modules/systemManagement/centre/add-edit-centre.vue b/src/page-subspecialty/views/modules/systemManagement/centre/add-edit-centre.vue index be2eeee..d37037d 100644 --- a/src/page-subspecialty/views/modules/systemManagement/centre/add-edit-centre.vue +++ b/src/page-subspecialty/views/modules/systemManagement/centre/add-edit-centre.vue @@ -60,7 +60,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/sys/centre/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/sys/centre/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -77,7 +77,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/sys/centre', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/sys/centre', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/systemManagement/centre/index.vue b/src/page-subspecialty/views/modules/systemManagement/centre/index.vue index 961242c..726b2ff 100644 --- a/src/page-subspecialty/views/modules/systemManagement/centre/index.vue +++ b/src/page-subspecialty/views/modules/systemManagement/centre/index.vue @@ -50,8 +50,8 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/sys/centre/list', - deleteURL: '/quguang/sys/centre' + getDataListURL: '/hz_quguang/sys/centre/list', + deleteURL: '/hz_quguang/sys/centre' } } }, diff --git a/src/page-subspecialty/views/modules/systemManagement/formSet/addPay.vue b/src/page-subspecialty/views/modules/systemManagement/formSet/addPay.vue index 702b8ee..501b2f3 100644 --- a/src/page-subspecialty/views/modules/systemManagement/formSet/addPay.vue +++ b/src/page-subspecialty/views/modules/systemManagement/formSet/addPay.vue @@ -99,7 +99,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { this.operaList = res.data this.operaList.forEach(item => { @@ -113,7 +113,7 @@ export default { // 获取信息 getInfo() { console.log('id', this.dataForm.id) - this.$http.get('/quguang/charge/conf/getInfo', { + this.$http.get('/hz_quguang/charge/conf/getInfo', { params: { id: this.dataForm.id } @@ -134,7 +134,7 @@ export default { return false } }) - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/charge/conf', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/charge/conf', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/systemManagement/formSet/operaRecordSet.vue b/src/page-subspecialty/views/modules/systemManagement/formSet/operaRecordSet.vue index 37eb7ec..cefc87d 100644 --- a/src/page-subspecialty/views/modules/systemManagement/formSet/operaRecordSet.vue +++ b/src/page-subspecialty/views/modules/systemManagement/formSet/operaRecordSet.vue @@ -263,7 +263,7 @@ export default { }, // 获取术士项目列表 async getOperaList() { - const { data: res } = await this.$http.get('/quguang/opera/patient/getOperaList') + const { data: res } = await this.$http.get('/hz_quguang/opera/patient/getOperaList') if (res.code === 0) { this.operaList = res.data if (this.eyeYrFlag === 0) { @@ -277,7 +277,7 @@ export default { }, // 获取表单列表 async getFormList() { - const { data: res } = await this.$http.get('/quguang/opera/record/temp/getListByName', { + const { data: res } = await this.$http.get('/hz_quguang/opera/record/temp/getListByName', { params: { operaName: this.currentList.operaName } @@ -299,7 +299,7 @@ export default { }) }, async editFormSet(item) { - const { data: res } = await this.$http.get('/quguang/opera/record/temp/getInfo', { + const { data: res } = await this.$http.get('/hz_quguang/opera/record/temp/getInfo', { params: { id: item.id } @@ -328,7 +328,7 @@ export default { const osArr = JSON.parse(JSON.stringify(formListValue).replace(/Od/g, 'Os')) this.mrzFormValue = { ...formListValue, ...osArr } console.log(this.mrzFormValue) - const { data: res } = await this.$http.post('/quguang/opera/record/temp/saveOrUpdate', { + const { data: res } = await this.$http.post('/hz_quguang/opera/record/temp/saveOrUpdate', { ...this.mrzFormValue, ...this.dataForm }) if (res.code === 0) { @@ -345,7 +345,7 @@ export default { // 删除 deleteFormSet(item) { this.$confirmFun('您确定要删除此默认值设置吗', '您已取消删除').then(async() => { - const { data: res } = await this.$http.delete('/quguang/opera/record/temp', { + const { data: res } = await this.$http.delete('/hz_quguang/opera/record/temp', { params: { id: item.id } diff --git a/src/page-subspecialty/views/modules/systemManagement/formSet/payDemandNoteSet.vue b/src/page-subspecialty/views/modules/systemManagement/formSet/payDemandNoteSet.vue index 060764b..95ff507 100644 --- a/src/page-subspecialty/views/modules/systemManagement/formSet/payDemandNoteSet.vue +++ b/src/page-subspecialty/views/modules/systemManagement/formSet/payDemandNoteSet.vue @@ -60,8 +60,8 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/charge/conf/getList', - deleteURL: '/quguang/charge/conf/deleteConf' + getDataListURL: '/hz_quguang/charge/conf/getList', + deleteURL: '/hz_quguang/charge/conf/deleteConf' } } }, diff --git a/src/page-subspecialty/views/modules/systemManagement/job/index.vue b/src/page-subspecialty/views/modules/systemManagement/job/index.vue index 6acf60f..0b833ae 100644 --- a/src/page-subspecialty/views/modules/systemManagement/job/index.vue +++ b/src/page-subspecialty/views/modules/systemManagement/job/index.vue @@ -85,7 +85,7 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/sys/schedule/page', + getDataListURL: '/hz_quguang/sys/schedule/page', getDataListIsPage: true }, dataForm: { @@ -114,7 +114,7 @@ export default { cancelButtonText: this.$t('cancel'), type: 'warning' }).then(() => { - this.$http.put('/quguang/sys/schedule/pause', id ? [id] : this.dataListSelections.map(item => item.id)).then(({ data: res }) => { + this.$http.put('/hz_quguang/sys/schedule/pause', id ? [id] : this.dataListSelections.map(item => item.id)).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -143,7 +143,7 @@ export default { cancelButtonText: this.$t('cancel'), type: 'warning' }).then(() => { - this.$http.put('/quguang/sys/schedule/resume', id ? [id] : this.dataListSelections.map(item => item.id)).then(({ data: res }) => { + this.$http.put('/hz_quguang/sys/schedule/resume', id ? [id] : this.dataListSelections.map(item => item.id)).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -172,7 +172,7 @@ export default { cancelButtonText: this.$t('cancel'), type: 'warning' }).then(() => { - this.$http.put('/quguang/sys/schedule/run', id ? [id] : this.dataListSelections.map(item => item.id)).then(({ data: res }) => { + this.$http.put('/hz_quguang/sys/schedule/run', id ? [id] : this.dataListSelections.map(item => item.id)).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -193,7 +193,7 @@ export default { this.$confirmFun('您确定要删除吗?').then(async() => { const { data: res } = await this.$http({ method: 'delete', - url: '/quguang/sys/schedule', + url: '/hz_quguang/sys/schedule', data: idArr }) if (res.code === 0) { diff --git a/src/page-subspecialty/views/modules/systemManagement/job/schedule-add-or-update.vue b/src/page-subspecialty/views/modules/systemManagement/job/schedule-add-or-update.vue index 78a79da..51ccdd6 100644 --- a/src/page-subspecialty/views/modules/systemManagement/job/schedule-add-or-update.vue +++ b/src/page-subspecialty/views/modules/systemManagement/job/schedule-add-or-update.vue @@ -72,7 +72,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/sys/schedule/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/sys/schedule/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -85,7 +85,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/sys/schedule', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/sys/schedule', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/systemManagement/job/schedule-log.vue b/src/page-subspecialty/views/modules/systemManagement/job/schedule-log.vue index c4e8d5a..952b28c 100644 --- a/src/page-subspecialty/views/modules/systemManagement/job/schedule-log.vue +++ b/src/page-subspecialty/views/modules/systemManagement/job/schedule-log.vue @@ -48,7 +48,7 @@ export default { return { visible: false, mixinViewModuleOptions: { - getDataListURL: '/quguang/sys/scheduleLog/page', + getDataListURL: '/hz_quguang/sys/scheduleLog/page', getDataListIsPage: true }, dataForm: { @@ -63,7 +63,7 @@ export default { }, // 失败信息 showErrorInfo(id) { - this.$http.get(`/quguang/sys/scheduleLog/${id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/sys/scheduleLog/${id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/systemManagement/log/index.vue b/src/page-subspecialty/views/modules/systemManagement/log/index.vue index ead9064..0aa4be3 100644 --- a/src/page-subspecialty/views/modules/systemManagement/log/index.vue +++ b/src/page-subspecialty/views/modules/systemManagement/log/index.vue @@ -44,7 +44,7 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/sys/log/operation/page', + getDataListURL: '/hz_quguang/sys/log/operation/page', getDataListIsPage: true }, nextVisitTime: [], diff --git a/src/page-subspecialty/views/modules/systemManagement/menu/index.vue b/src/page-subspecialty/views/modules/systemManagement/menu/index.vue index 7cee6dc..e272858 100644 --- a/src/page-subspecialty/views/modules/systemManagement/menu/index.vue +++ b/src/page-subspecialty/views/modules/systemManagement/menu/index.vue @@ -64,8 +64,8 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/sys/menu/list', - deleteURL: '/quguang/sys/menu' + getDataListURL: '/hz_quguang/sys/menu/list', + deleteURL: '/hz_quguang/sys/menu' } } } diff --git a/src/page-subspecialty/views/modules/systemManagement/menu/menu-dept-add-or-update.vue b/src/page-subspecialty/views/modules/systemManagement/menu/menu-dept-add-or-update.vue index a119268..bca37dc 100644 --- a/src/page-subspecialty/views/modules/systemManagement/menu/menu-dept-add-or-update.vue +++ b/src/page-subspecialty/views/modules/systemManagement/menu/menu-dept-add-or-update.vue @@ -133,7 +133,7 @@ export default { }, // 获取菜单列表 getMenuList() { - return this.$http.get('/quguang/sys/menu/list').then(({ data: res }) => { + return this.$http.get('/hz_quguang/sys/menu/list').then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -142,7 +142,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/sys/menu/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/sys/menu/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -178,7 +178,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/sys/menu', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/sys/menu', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/systemManagement/role/index.vue b/src/page-subspecialty/views/modules/systemManagement/role/index.vue index 55d40dc..2bb951d 100644 --- a/src/page-subspecialty/views/modules/systemManagement/role/index.vue +++ b/src/page-subspecialty/views/modules/systemManagement/role/index.vue @@ -55,8 +55,8 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/sys/role/page', - deleteURL: '/quguang/sys/role', + getDataListURL: '/hz_quguang/sys/role/page', + deleteURL: '/hz_quguang/sys/role', deleteIsBatch: true, getDataListIsPage: true }, diff --git a/src/page-subspecialty/views/modules/systemManagement/role/role-add-or-update.vue b/src/page-subspecialty/views/modules/systemManagement/role/role-add-or-update.vue index 407aeb3..2f43490 100644 --- a/src/page-subspecialty/views/modules/systemManagement/role/role-add-or-update.vue +++ b/src/page-subspecialty/views/modules/systemManagement/role/role-add-or-update.vue @@ -78,7 +78,7 @@ export default { }, // 获取菜单列表 getMenuList() { - return this.$http.get('/quguang/sys/menu/list', { + return this.$http.get('/hz_quguang/sys/menu/list', { params: { type: 0 } @@ -91,7 +91,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/sys/role/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/sys/role/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -113,7 +113,7 @@ export default { ...this.$refs.menuListTree.getHalfCheckedKeys(), ...this.$refs.menuListTree.getCheckedKeys() ] - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/sys/role', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/sys/role', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/systemManagement/set/alert-setting/add-or-update.vue b/src/page-subspecialty/views/modules/systemManagement/set/alert-setting/add-or-update.vue index d4c03ea..a01926a 100644 --- a/src/page-subspecialty/views/modules/systemManagement/set/alert-setting/add-or-update.vue +++ b/src/page-subspecialty/views/modules/systemManagement/set/alert-setting/add-or-update.vue @@ -102,7 +102,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/yzk/target/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/yzk/target/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -129,7 +129,7 @@ export default { return this.$message.error('值只能填写一个') } } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/yzk/target', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/yzk/target', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/systemManagement/set/alert-setting/index.vue b/src/page-subspecialty/views/modules/systemManagement/set/alert-setting/index.vue index 0353729..15cf731 100644 --- a/src/page-subspecialty/views/modules/systemManagement/set/alert-setting/index.vue +++ b/src/page-subspecialty/views/modules/systemManagement/set/alert-setting/index.vue @@ -43,8 +43,8 @@ export default { return { targetNameList: [], mixinViewModuleOptions: { - getDataListURL: '/quguang/yzk/target/targetList', - deleteURL: '/quguang/yzk/target' + getDataListURL: '/hz_quguang/yzk/target/targetList', + deleteURL: '/hz_quguang/yzk/target' } } }, @@ -54,7 +54,7 @@ export default { methods: { // 获取指标名称 async getTargetName() { - const { data: res } = await this.$http.get('/quguang/yzk/target/selectTarget') + const { data: res } = await this.$http.get('/hz_quguang/yzk/target/selectTarget') if (res.code === 0) { this.targetNameList = res.data } else { @@ -65,7 +65,7 @@ export default { async switchHandle(scopeRow, e) { console.log(scopeRow, e) // 1:开启 0:关闭 - const { data: res } = await this.$http.post('/quguang/yzk/target/switchStatus', { + const { data: res } = await this.$http.post('/hz_quguang/yzk/target/switchStatus', { id: scopeRow.id, status: e === false ? 0 : 1 }) diff --git a/src/page-subspecialty/views/modules/systemManagement/set/case-template/add-or-update.vue b/src/page-subspecialty/views/modules/systemManagement/set/case-template/add-or-update.vue index 6f0dc68..cdf91b5 100644 --- a/src/page-subspecialty/views/modules/systemManagement/set/case-template/add-or-update.vue +++ b/src/page-subspecialty/views/modules/systemManagement/set/case-template/add-or-update.vue @@ -146,7 +146,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/crf/template/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/crf/template/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -182,7 +182,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/crf/template', { ...this.dataForm, content: Base64.encode(this.dataForm.content) }).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/crf/template', { ...this.dataForm, content: Base64.encode(this.dataForm.content) }).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/systemManagement/set/case-template/index.vue b/src/page-subspecialty/views/modules/systemManagement/set/case-template/index.vue index 725689d..4453db0 100644 --- a/src/page-subspecialty/views/modules/systemManagement/set/case-template/index.vue +++ b/src/page-subspecialty/views/modules/systemManagement/set/case-template/index.vue @@ -77,9 +77,9 @@ export default { // followUpVisible: false, // 测试 previewVisible: false, mixinViewModuleOptions: { - getDataListURL: '/quguang/crf/template/page', + getDataListURL: '/hz_quguang/crf/template/page', getDataListIsPage: true, - deleteURL: '/quguang/crf/template' + deleteURL: '/hz_quguang/crf/template' }, dataForm: {}, systemInfo: {} @@ -113,7 +113,7 @@ export default { }, // 状态是否开启 async changeStatus(scopeRow, index) { - const { data: res } = await this.$http.post('/quguang/crf/template/updateCaStatus', { + const { data: res } = await this.$http.post('/hz_quguang/crf/template/updateCaStatus', { id: scopeRow.id, sendCaStatus: scopeRow.sendCaStatus === 1 ? 0 : 1 }) diff --git a/src/page-subspecialty/views/modules/systemManagement/set/followup-potocol.vue b/src/page-subspecialty/views/modules/systemManagement/set/followup-potocol.vue index d22b218..c03087d 100644 --- a/src/page-subspecialty/views/modules/systemManagement/set/followup-potocol.vue +++ b/src/page-subspecialty/views/modules/systemManagement/set/followup-potocol.vue @@ -183,7 +183,7 @@ export default { this.dialogFormVisible = true const { data: res } = await this.$http({ method: sureEditText === '确定' ? 'post' : 'put', - url: '/quguang/visit', + url: '/hz_quguang/visit', data: { name: this.form.name, description: this.form.description, @@ -213,7 +213,7 @@ export default { handleChangeCycle() {}, // 获取随访列表 async getFollowList(e) { - const { data: res } = await this.$http.get('/quguang/visit/page', { + const { data: res } = await this.$http.get('/hz_quguang/visit/page', { params: { limit: this.limit, page: this.currentPage, @@ -227,7 +227,7 @@ export default { // 移出 deleteClick(scopeRow) { confirm('').then(async() => { - const { data: res } = await this.$http.delete('/quguang/visit', { + const { data: res } = await this.$http.delete('/hz_quguang/visit', { params: { id: scopeRow.id } @@ -251,7 +251,7 @@ export default { }, // 获取随访详情 async getVisitInfo(scopeRow) { - const { data: res } = await this.$http.get('/quguang/visit/getInfo', { + const { data: res } = await this.$http.get('/hz_quguang/visit/getInfo', { params: { id: scopeRow.id } diff --git a/src/page-subspecialty/views/modules/systemManagement/team/edit-password.vue b/src/page-subspecialty/views/modules/systemManagement/team/edit-password.vue index 1e33ebd..b47c893 100644 --- a/src/page-subspecialty/views/modules/systemManagement/team/edit-password.vue +++ b/src/page-subspecialty/views/modules/systemManagement/team/edit-password.vue @@ -88,7 +88,7 @@ export default { type: 'warning' }) } - this.$http.put('/quguang/sys/user/updateOtherPassword', this.dataForm).then(({ data: res }) => { + this.$http.put('/hz_quguang/sys/user/updateOtherPassword', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/systemManagement/team/index.vue b/src/page-subspecialty/views/modules/systemManagement/team/index.vue index 2db2bda..e57e0e2 100644 --- a/src/page-subspecialty/views/modules/systemManagement/team/index.vue +++ b/src/page-subspecialty/views/modules/systemManagement/team/index.vue @@ -118,8 +118,8 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/sys/user/page', - deleteURL: '/quguang/sys/user', + getDataListURL: '/hz_quguang/sys/user/page', + deleteURL: '/hz_quguang/sys/user', getDataListIsPage: true }, dataForm: { @@ -139,7 +139,7 @@ export default { methods: { // 获取权限名称 async getRoleName() { - const { data: res } = await this.$http.get('/quguang/sys/role') + const { data: res } = await this.$http.get('/hz_quguang/sys/role') if (res.code === 0) { this.roleNameList = res.data } diff --git a/src/page-subspecialty/views/modules/systemManagement/team/team-add-or-update.vue b/src/page-subspecialty/views/modules/systemManagement/team/team-add-or-update.vue index 71b78e7..a24df6d 100644 --- a/src/page-subspecialty/views/modules/systemManagement/team/team-add-or-update.vue +++ b/src/page-subspecialty/views/modules/systemManagement/team/team-add-or-update.vue @@ -213,14 +213,14 @@ export default { }, // 获取中心 async getCentreList() { - const { data: res } = await this.$http.get('/quguang/sys/centre/list') + const { data: res } = await this.$http.get('/hz_quguang/sys/centre/list') if (res.code === 0) { this.centerList = res.data } }, // 获取职位列表 --- 1:职位,2:手术方式,3:手术间,4:麻醉方式 async getCentreJobList() { - const { data: res } = await this.$http.get('/quguang/sys/param/getList', { + const { data: res } = await this.$http.get('/hz_quguang/sys/param/getList', { params: { type: 1 } @@ -231,7 +231,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get(`/quguang/sys/user/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/sys/user/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -317,7 +317,7 @@ export default { spinner: 'el-icon-loading', background: 'rgba(255, 255, 255, 0.7)' }) - const { data: res } = await this.$http.post('/quguang/sys/user/saveUserImg', { + const { data: res } = await this.$http.post('/hz_quguang/sys/user/saveUserImg', { base64: this.dataForm.signImgBase }) if (res.code === 0) { @@ -340,7 +340,7 @@ export default { type: 'warning' }) } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/sys/user', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/sys/user', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/systemManagement/template/add-fenlei.vue b/src/page-subspecialty/views/modules/systemManagement/template/add-fenlei.vue index 05c045d..50f8a0c 100644 --- a/src/page-subspecialty/views/modules/systemManagement/template/add-fenlei.vue +++ b/src/page-subspecialty/views/modules/systemManagement/template/add-fenlei.vue @@ -79,7 +79,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get('/quguang/sys/template/getInfo', { + this.$http.get('/hz_quguang/sys/template/getInfo', { params: { id: this.dataForm.id } @@ -96,7 +96,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/sys/template/parent', { ...this.dataForm }) + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/sys/template/parent', { ...this.dataForm }) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) diff --git a/src/page-subspecialty/views/modules/systemManagement/template/add-or-update.vue b/src/page-subspecialty/views/modules/systemManagement/template/add-or-update.vue index 2c432c7..f859559 100644 --- a/src/page-subspecialty/views/modules/systemManagement/template/add-or-update.vue +++ b/src/page-subspecialty/views/modules/systemManagement/template/add-or-update.vue @@ -87,7 +87,7 @@ export default { }, // 获取信息 getInfo() { - this.$http.get('/quguang/sys/template/getInfo', { + this.$http.get('/hz_quguang/sys/template/getInfo', { params: { id: this.dataForm.id } @@ -104,7 +104,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/sys/template/content', { ...this.dataForm }).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/sys/template/content', { ...this.dataForm }).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/systemManagement/template/tab-fun.vue b/src/page-subspecialty/views/modules/systemManagement/template/tab-fun.vue index 8250602..b3b6ac8 100644 --- a/src/page-subspecialty/views/modules/systemManagement/template/tab-fun.vue +++ b/src/page-subspecialty/views/modules/systemManagement/template/tab-fun.vue @@ -101,7 +101,7 @@ export default { methods: { // 获取分类列表 async getfenleiList() { - const { data: res } = await this.$http.get('/quguang/sys/template/getListByType', { + const { data: res } = await this.$http.get('/hz_quguang/sys/template/getListByType', { params: { type: this.mainActiveName } @@ -117,7 +117,7 @@ export default { }, // 获取内容 async getContent() { - const { data: res } = await this.$http.get('/quguang/sys/template/getListByPid', { + const { data: res } = await this.$http.get('/hz_quguang/sys/template/getListByPid', { params: { pid: this.currentFenleiList.id } @@ -163,7 +163,7 @@ export default { deleteFenleiClick(item, flag) { const text = flag === '分类' ? '删除此分类将同时删除分类级下的所有内容,您确定要删除此模板分类吗?' : '您确定要删除此内容吗?' this.$confirmFun(text, '您已取消此操作').then(async() => { - const { data: res } = await this.$http.delete('/quguang/sys/template/delete', { + const { data: res } = await this.$http.delete('/hz_quguang/sys/template/delete', { params: { id: item.id } diff --git a/src/page-subspecialty/views/modules/visitManagement/design/add-edit-design.vue b/src/page-subspecialty/views/modules/visitManagement/design/add-edit-design.vue index 5aeeccc..fd514cd 100644 --- a/src/page-subspecialty/views/modules/visitManagement/design/add-edit-design.vue +++ b/src/page-subspecialty/views/modules/visitManagement/design/add-edit-design.vue @@ -154,7 +154,7 @@ export default { // 获取信息 getInfo() { this.loading = true - this.$http.get(`/quguang/visit/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/visit/${this.dataForm.id}`).then(({ data: res }) => { this.dataForm = { ...this.dataForm, ...res.data } this.loading = false }).catch(() => { this.loading = false }) @@ -181,7 +181,7 @@ export default { if (!valid) { return false } this.dataForm.planList.forEach((item, index) => (item.sort = index + 1)) - this.$http[!this.dataForm.id ? 'post' : 'put']('/quguang/visit', this.dataForm) + this.$http[!this.dataForm.id ? 'post' : 'put']('/hz_quguang/visit', this.dataForm) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) diff --git a/src/page-subspecialty/views/modules/visitManagement/design/index.vue b/src/page-subspecialty/views/modules/visitManagement/design/index.vue index 76c337f..025af13 100644 --- a/src/page-subspecialty/views/modules/visitManagement/design/index.vue +++ b/src/page-subspecialty/views/modules/visitManagement/design/index.vue @@ -79,8 +79,8 @@ export default { data() { return { mixinViewModuleOptions: { - getDataListURL: '/quguang/visit/page', - deleteURL: '/quguang/visit', + getDataListURL: '/hz_quguang/visit/page', + deleteURL: '/hz_quguang/visit', getDataListIsPage: true } } diff --git a/src/page-subspecialty/views/modules/visitManagement/visitList/index.vue b/src/page-subspecialty/views/modules/visitManagement/visitList/index.vue index 994da01..9025b8b 100644 --- a/src/page-subspecialty/views/modules/visitManagement/visitList/index.vue +++ b/src/page-subspecialty/views/modules/visitManagement/visitList/index.vue @@ -4,13 +4,13 @@
- +
- +
@@ -18,13 +18,13 @@ 电话随访失败列表
- +
历史未随访列表
- +
--> @@ -35,7 +35,7 @@
@@ -86,7 +86,7 @@ export default { }, 200) }, async getDoctorList() { - const { data: res } = await this.$http.get('/quguang/dp/getDoctorList') + const { data: res } = await this.$http.get('/hz_quguang/dp/getDoctorList') if (res.code === 0) { this.doctorList = [{ doctorId: '', doctorName: '全部' }, ...res.data] } diff --git a/src/page-subspecialty/views/pages/login.vue b/src/page-subspecialty/views/pages/login.vue index 4b26299..0cd660c 100644 --- a/src/page-subspecialty/views/pages/login.vue +++ b/src/page-subspecialty/views/pages/login.vue @@ -107,7 +107,7 @@ export default { async getCaptcha() { console.log(process.env.VUE_APP_LOGIN_URL) this.dataForm.uuid = getUUID() - const { data: res } = await this.$http.get(`/quguang/captcha?uuid=${this.dataForm.uuid}`) + const { data: res } = await this.$http.get(`/hz_quguang/captcha?uuid=${this.dataForm.uuid}`) this.captchaPath = res.data }, // 表单提交 @@ -116,7 +116,7 @@ export default { if (!valid) { return false } - this.$http.post('/quguang/login', this.dataForm).then(({ data: res }) => { + this.$http.post('/hz_quguang/login', this.dataForm).then(({ data: res }) => { if (res.code === 0) { Cookies.set('qg-token', res.data.token) window.localStorage.setItem('qg-userData', JSON.stringify(res.data.currentUser)) diff --git a/src/page-subspecialty/views/pages/pdaTransfer.vue b/src/page-subspecialty/views/pages/pdaTransfer.vue index 8935c4e..97c408b 100644 --- a/src/page-subspecialty/views/pages/pdaTransfer.vue +++ b/src/page-subspecialty/views/pages/pdaTransfer.vue @@ -31,7 +31,7 @@ export default { methods: { async noPasswordLogin() { // http://127.0.0.1:8002/pdaTransfer?account=13201&password=Zhouwanli123&operaId=950915739899285504&patientIdNumber=E44169155 - const { data: res } = await this.$http.post('/quguang/noCaptchaLogin', { + const { data: res } = await this.$http.post('/hz_quguang/noCaptchaLogin', { account: this.returnParam.account, password: this.returnParam.password }) diff --git a/src/page-subspecialty/views/pages/question/index.vue b/src/page-subspecialty/views/pages/question/index.vue index 61b34ec..0c27ce0 100644 --- a/src/page-subspecialty/views/pages/question/index.vue +++ b/src/page-subspecialty/views/pages/question/index.vue @@ -30,7 +30,7 @@ export default { }, methods: { async getQuestion() { - const { data: res } = await this.$http.get('/quguang/from/data/1509099624667811842') + const { data: res } = await this.$http.get('/hz_quguang/from/data/1509099624667811842') if (res.code === 0) { this.dataForm = res.data this.dataForm.content = Base64.decode(res.data.formContent) diff --git a/src/page-subspecialty/views/pages/satusScreen.vue b/src/page-subspecialty/views/pages/satusScreen.vue index 5c7e23f..da7d4c7 100644 --- a/src/page-subspecialty/views/pages/satusScreen.vue +++ b/src/page-subspecialty/views/pages/satusScreen.vue @@ -80,7 +80,7 @@ export default { }, methods: { async getScreenData(flag) { - const { data: res } = await this.$http.get('/quguang/pda', { + const { data: res } = await this.$http.get('/hz_quguang/pda', { params: this.dataForm }) if (res.code === 0) { diff --git a/src/page-subspecialty/views/pages/setPassword.vue b/src/page-subspecialty/views/pages/setPassword.vue index d14b1cb..cfb9662 100644 --- a/src/page-subspecialty/views/pages/setPassword.vue +++ b/src/page-subspecialty/views/pages/setPassword.vue @@ -88,7 +88,7 @@ export default { type: 'warning' }) } - this.$http.post('/quguang/updatePasswordByAccount', this.dataForm).then(({ data: res }) => { + this.$http.post('/hz_quguang/updatePasswordByAccount', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/pages/transfer.vue b/src/page-subspecialty/views/pages/transfer.vue index f42cc76..fb94050 100644 --- a/src/page-subspecialty/views/pages/transfer.vue +++ b/src/page-subspecialty/views/pages/transfer.vue @@ -32,7 +32,7 @@ export default { noPasswordLogin() { // histoken跳转患者列表:https://quguang.huimu.cloud/transfer?hisToken=d2f58562a53a776a8e4c4893788e9778 // histoken跳转档案:https://quguang.huimu.cloud/transfer?patientId=1243349&patientIdNumber=110226198510083659&hisToken=d2f58562a53a776a8e4c4893788e9778 - this.$http.post('/quguang/noPasswordLogin', { + this.$http.post('/hz_quguang/noPasswordLogin', { hisToken: this.returnParam.hisToken }).then(({ data: res }) => { if (res.code === 0) { @@ -63,7 +63,7 @@ export default { }, // 获取患者信息 getPatientInfo() { - this.$http.get(`/quguang/patient/manage/${this.currentUser.centreId}/${this.returnParam.patientIdNumber.toUpperCase()}`).then(({ data: res }) => { + this.$http.get(`/hz_quguang/patient/manage/${this.currentUser.centreId}/${this.returnParam.patientIdNumber.toUpperCase()}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } else { @@ -73,7 +73,7 @@ export default { }, // HIS查询患者详情 getHisPatientInfo() { - this.$http.get('/quguang/patient/manage/getHisPatientList', { + this.$http.get('/hz_quguang/patient/manage/getHisPatientList', { params: { patientId: this.returnParam.patientId, patientIdNumber: '' @@ -93,7 +93,7 @@ export default { }, // 保存患者信息 async savePatientInfo() { - const { data: res } = await this.$http.post('/quguang/patient/manage', this.patientInfo) + const { data: res } = await this.$http.post('/hz_quguang/patient/manage', this.patientInfo) if (res.code !== 0) { return this.$message.error(res.msg + ',his中未返回就诊号,请和护士沟通,登录系统执行手动引入操作') } else { diff --git a/vue.config.js b/vue.config.js index afdb6e9..98f700e 100644 --- a/vue.config.js +++ b/vue.config.js @@ -14,7 +14,7 @@ function resolve(dir) { module.exports = { parallel: false, publicPath: '/', // 其他正式环境 - publicPath: process.env.NODE_ENV === 'production' ? process.env.VUE_APP_BASE_HOUZHUI : '/', //公司内部环境 + // publicPath: process.env.NODE_ENV === 'production' ? process.env.VUE_APP_BASE_HOUZHUI : '/', //公司内部环境 assetsDir: 'static', chainWebpack: config => { const svgRule = config.module.rule('svg') @@ -57,11 +57,11 @@ module.exports = { } }, // 反向代理 - '/quguang': { + '/hz_quguang': { target: process.env.VUE_APP_LOGIN_URL, // 想请求的目标地址 changOrigin: true, // 允许跨域 pathRewrite: { // 路径重写 - '^/quguang': '/quguang' + '^/hz_quguang': '/hz_quguang' } } }