zzc 3 months ago
parent
commit
8a8af24f84
  1. BIN
      acupuncture-前台/针灸-前台6.zip
  2. 4
      acupuncture-后台/.env.development
  3. 9
      acupuncture-后台/.env.production
  4. 18
      acupuncture-后台/.env.staging
  5. 2
      acupuncture-后台/src/views/medicalFile/details.vue
  6. 7
      acupuncture-后台/src/views/medicalFile/index.vue
  7. 2
      acupuncture-后台/src/views/member/account.vue
  8. 4
      acupuncture-后台/src/views/patientFile/index.vue
  9. 6
      acupuncture-后台/src/views/screening/qrCode.vue
  10. 6
      acupuncture-后台/vue.config.js

BIN
acupuncture-前台/针灸-前台5.zip → acupuncture-前台/针灸-前台6.zip

Binary file not shown.

4
acupuncture-后台/.env.development

@ -6,8 +6,8 @@ ENV = 'development'
# 大唐会议管理系统/开发环境 # 大唐会议管理系统/开发环境
VUE_APP_BASE_API = '/dev-api' VUE_APP_BASE_API = '/dev-api'
VUE_APP_IMG_URL = 'https://test.tall.wiki/acupuncture' VUE_APP_IMG_URL = 'https://test.tall.wiki/acupuncture/api/'
VUE_APP_API_QZURL = 'https://test.tall.wiki/' VUE_APP_API_QZURL = 'https://test.tall.wiki/acupuncture/api/'
# 路由懒加载 # 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_CLI_BABEL_TRANSPILE_MODULES = true
# 访问路径 # 访问路径

9
acupuncture-后台/.env.production

@ -4,8 +4,9 @@ VUE_APP_TITLE = 朱琏针灸联盟数据系统
# 生产环境配置 # 生产环境配置
NODE_ENV = 'production' NODE_ENV = 'production'
# 因孚生产 # 因孚生产
VUE_APP_BASE_API = 'https://test.tall.wiki/acupuncture' VUE_APP_BASE_API = 'http://113.45.159.249:40010/acupuncture/api/'
VUE_APP_API_QZURL = 'https://test.tall.wiki/' VUE_APP_API_QZURL = 'http://113.45.159.249:40010/acupuncture/api/'
# 筛查访问地址
VUE_APP_H5_URL = 'http://113.45.159.249:40010/acupuncture/admin/screening/h5'
# 访问路径 # 访问路径
VUE_APP_PUBLIC_PATH = '/acupunctureAdmin/' VUE_APP_PUBLIC_PATH = '/acupuncture/admin/'

18
acupuncture-后台/.env.staging

@ -1,12 +1,12 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 朱琏针灸联盟数据系统 VUE_APP_TITLE = 朱琏针灸联盟数据系统
BABEL_ENV = production # 生产环境配置
NODE_ENV = 'production'
NODE_ENV = production # 因孚生产
VUE_APP_BASE_API = 'https://test.tall.wiki/acupuncture/api/'
# 测试环境配置 VUE_APP_API_QZURL = 'https://test.tall.wiki/acupuncture/api/'
ENV = 'staging' # 筛查访问地址
VUE_APP_H5_URL = 'https://test.tall.wiki/acupuncture/admin/screening/h5'
# 朱琏针灸联盟数据系统/测试环境 # 访问路径
VUE_APP_BASE_API = '/stage-api' VUE_APP_PUBLIC_PATH = '/acupuncture/admin/'

2
acupuncture-后台/src/views/medicalFile/details.vue

@ -1226,7 +1226,7 @@ export default {
return; return;
} }
this.humanBodyOpen = true; this.humanBodyOpen = true;
this.selectReportUrl = `${this.qzUrl}acupuncture${res.data.fileName}`; this.selectReportUrl = `${this.qzUrl}${res.data.fileName}`;
}); });
}, },
// //

7
acupuncture-后台/src/views/medicalFile/index.vue

@ -744,8 +744,7 @@ export default {
deptId: localStorage.getItem("hospitalId"), deptId: localStorage.getItem("hospitalId"),
}, },
uploadFileUrl1: uploadFileUrl1:
process.env.VUE_APP_API_QZURL + process.env.VUE_APP_API_QZURL + "/treatment/importTreatment", //
"/acupuncture/treatment/importTreatment", //
fileList: [], fileList: [],
followupList: [], followupList: [],
queueOpen: false, queueOpen: false,
@ -1502,7 +1501,7 @@ export default {
// //
handleReport(row) { handleReport(row) {
exportTreatmentPg({ treatmentId: row.id }).then((res) => { exportTreatmentPg({ treatmentId: row.id }).then((res) => {
window.open(`${process.env.VUE_APP_API_QZURL}acupuncture${res.data}`); window.open(`${process.env.VUE_APP_API_QZURL}${res.data}`);
}); });
}, },
/** 提交审核 */ /** 提交审核 */
@ -1687,7 +1686,7 @@ export default {
/** 下载按钮操作 */ /** 下载按钮操作 */
handleDownload() { handleDownload() {
window.open( window.open(
`${process.env.VUE_APP_API_QZURL}/acupuncture/profile/TreamentTemplate.xlsx` `${process.env.VUE_APP_API_QZURL}/profile/TreamentTemplate.xlsx`
); );
// this.download1( // this.download1(
// "/patient/export", {}, // "/patient/export", {},

2
acupuncture-后台/src/views/member/account.vue

@ -421,7 +421,7 @@ export default {
/** 下载按钮操作 */ /** 下载按钮操作 */
handleDownload() { handleDownload() {
window.open( window.open(
`${process.env.VUE_APP_API_QZURL}/acupuncture/profile/TreamentTemplate.xlsx` `${process.env.VUE_APP_API_QZURL}/profile/TreamentTemplate.xlsx`
); );
// this.download1( // this.download1(
// "/patient/export", {}, // "/patient/export", {},

4
acupuncture-后台/src/views/patientFile/index.vue

@ -413,7 +413,7 @@ export default {
deptId: localStorage.getItem("hospitalId"), deptId: localStorage.getItem("hospitalId"),
}, },
uploadFileUrl1: uploadFileUrl1:
process.env.VUE_APP_API_QZURL + "/acupuncture/patient/import", // process.env.VUE_APP_API_QZURL + "/patient/import", //
fileList: [], fileList: [],
// //
educationYearsValue: { educationYearsValue: {
@ -758,7 +758,7 @@ export default {
/** 下载按钮操作 */ /** 下载按钮操作 */
handleDownload() { handleDownload() {
window.open( window.open(
`${process.env.VUE_APP_API_QZURL}/acupuncture/profile/PatientTemplate.xlsx` `${process.env.VUE_APP_API_QZURL}/profile/PatientTemplate.xlsx`
); );
// this.download1( // this.download1(
// "/patient/export", {}, // "/patient/export", {},

6
acupuncture-后台/src/views/screening/qrCode.vue

@ -90,7 +90,7 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<img <img
:src="qzUrl + '/acupuncture' + scope.row.url" :src="qzUrl + scope.row.url"
alt="" alt=""
width="100" width="100"
height="100" height="100"
@ -241,7 +241,7 @@ export default {
Original(_url) { Original(_url) {
this.imgUrl = []; this.imgUrl = [];
if (_url) { if (_url) {
this.imgUrl.push(this.qzUrl + "/acupuncture" + _url); this.imgUrl.push(this.qzUrl + _url);
} }
this.$refs.preview.clickHandler(); this.$refs.preview.clickHandler();
}, },
@ -349,7 +349,7 @@ export default {
url: row.url, url: row.url,
}; };
exportQr(data).then((res) => { exportQr(data).then((res) => {
window.open(`${process.env.VUE_APP_API_QZURL}/acupuncture/${res.data}`); window.open(`${process.env.VUE_APP_API_QZURL}${res.data}`);
}); });
}, },
}, },

6
acupuncture-后台/vue.config.js

@ -19,7 +19,9 @@ module.exports = {
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上 // 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
// 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。 // 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
publicPath: publicPath:
process.env.NODE_ENV === "production" ? "/acupunctureAdmin/" : "/", process.env.NODE_ENV === "production"
? process.env.VUE_APP_PUBLIC_PATH
: "/",
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist) // 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
outputDir: "dist", outputDir: "dist",
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下) // 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
@ -37,7 +39,7 @@ module.exports = {
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `https://test.tall.wiki/acupuncture`, target: `https://test.tall.wiki/acupuncture/api/`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "", ["^" + process.env.VUE_APP_BASE_API]: "",

Loading…
Cancel
Save