Browse Source

peter

master
pengqiang 2 years ago
parent
commit
30bf6b05e5
  1. 24
      src/components/360View/afterPart/index-copy.vue
  2. 7
      src/components/360View/afterPart/index.vue
  3. 8
      src/components/360View/followUpRecord/formList/invalid.vue
  4. 6
      src/components/360View/followUpRecord/formList/outFollow.vue
  5. 6
      src/components/360View/followUpRecord/formList/phoneFollow.vue
  6. 26
      src/components/360View/forePart/index-copy.vue
  7. 4
      src/components/360View/index.vue
  8. 4
      src/components/360View/special/index.vue
  9. 7
      src/page-subspecialty/views/main-navbar.vue
  10. 6
      src/page-subspecialty/views/main.vue
  11. 4
      src/page-subspecialty/views/pages/login.vue

24
src/components/360View/afterPart/index-copy.vue

@ -237,6 +237,7 @@ export default {
dialogFormVisible: false,
dataForm: {
id: '',
idList: [],
caseId: '',
patientId: '',
bltOd: '', // vitreous
@ -639,6 +640,22 @@ export default {
if (res.code === 0) {
if (res.data) {
this.dataForm = this.handleData(res.data)
const idList = this.dataForm.idList || []
if (idList.length) {
idList.forEach(item => {
this.tableData.forEach(row => {
if (item == row.id) {
row.flag = true
this.$refs.multipleTable.toggleRowSelection(row, true)
}
})
})
} else {
this.tableData.forEach(row => {
row.flag = false
this.$refs.multipleTable.toggleRowSelection(row, false)
})
}
}
} else {
this.$message.error(res.msg)
@ -646,6 +663,13 @@ export default {
},
//
handleTemplate() {
this.dataForm.idList = []
this.tableData.forEach(item => {
if (item.flag && item.id) {
this.dataForm.idList.push(item.id)
}
})
if (!this.dataForm.idList.length) return this.$message.warning('请选择检查项!')
this.form.name = ''
this.queryTemplate()
this.templateFlag = true

7
src/components/360View/afterPart/index.vue

@ -644,6 +644,13 @@ export default {
},
//
handleTemplate() {
this.dataForm.idList = []
this.tableData.forEach(item => {
if (item.flag && item.id) {
this.dataForm.idList.push(item.id)
}
})
if (!this.dataForm.idList.length) return this.$message.warning('请选择检查项!')
this.form.name = ''
this.queryTemplate()
this.templateFlag = true

8
src/components/360View/followUpRecord/formList/invalid.vue

@ -3,9 +3,9 @@
<tbody>
<tr>
<td rowspan="2" style="width: 30%">
<img width="300" src="@/assets/img/xianganlogo.png">
<img v-if="!isDev" width="300" src="@/assets/img/xianganlogo.png">
</td>
<td class="table_title">翔安医院</td>
<td class="table_title"><span v-if="!isDev">翔安</span>医院</td>
</tr>
<tr>
<td>个案管理信息表</td>
@ -37,7 +37,8 @@ export default {
},
data() {
return {
radio: '0'
radio: '0',
isDev: false
}
},
watch: {
@ -51,6 +52,7 @@ export default {
}
},
created() {
this.isDev = window.SITE_CONFIG['apiURL'].includes('47')
if (this.jsonText) {
this.radio = this.jsonText && JSON.parse(this.jsonText).radio
} else {

6
src/components/360View/followUpRecord/formList/outFollow.vue

@ -4,9 +4,9 @@
<tbody>
<tr>
<td rowspan="2" style="width: 30%">
<img width="300" src="@/assets/img/xianganlogo.png">
<img v-if="!isDev" width="300" src="@/assets/img/xianganlogo.png">
</td>
<td class="table_title" colspan="2">翔安医院</td>
<td class="table_title" colspan="2"><span v-if="!isDev">翔安</span>医院</td>
</tr>
<tr>
<td colspan="2">个案管理信息表</td>
@ -127,6 +127,7 @@ export default {
data() {
return {
initData: {},
isDev: false,
patientData: {
followDate: '',
mainSuit: '',
@ -277,6 +278,7 @@ export default {
}
},
created() {
this.isDev = window.SITE_CONFIG['apiURL'].includes('47')
//
const data = {
patientData: this.patientData,

6
src/components/360View/followUpRecord/formList/phoneFollow.vue

@ -3,9 +3,9 @@
<tbody>
<tr>
<td rowspan="2" style="width: 30%">
<img width="300" src="@/assets/img/xianganlogo.png">
<img v-if="!isDev" width="300" src="@/assets/img/xianganlogo.png">
</td>
<td class="table_title" colspan="2">翔安医院</td>
<td class="table_title" colspan="2"><span v-if="!isDev">翔安</span>医院</td>
</tr>
<tr>
<td colspan="2">个案管理信息表</td>
@ -116,6 +116,7 @@ export default {
data() {
return {
initData: {},
isDev: false,
followData: {
followDate: '',
followDesc: '',
@ -150,6 +151,7 @@ export default {
}
},
created() {
this.isDev = window.SITE_CONFIG['apiURL'].includes('47')
this.initData = _.cloneDeep(this.followData)
if (this.jsonText) {
this.followData = JSON.parse(this.jsonText)

26
src/components/360View/forePart/index-copy.vue

@ -574,6 +574,7 @@ export default {
dialogFormVisible: false,
dataForm: {
id: '',
idList: [],
patientId: '',
hongmOd: '', //
hongmOs: '', //
@ -772,6 +773,7 @@ export default {
},
//
selection(selection, val) {
console.log(arguments)
if (!val.id) {
const data = this.tableData.filter(item => item.name === val.name)
if (val.flag) {
@ -903,6 +905,7 @@ export default {
this.dataForm[resKey] = this.dataForm[resKey].join(',')
}
}
if (!this.dataForm.caseId) this.dataForm.caseId = this.caseId
const { data: res } = await this.$http.post('/mjz/saveMjzQdjc', this.dataForm)
if (res.code === 0) {
await this.getforeList()
@ -1019,6 +1022,22 @@ export default {
if (res.code === 0) {
if (res.data) {
this.dataForm = this.handleData(res.data)
const idList = this.dataForm.idList || []
if (idList.length) {
idList.forEach(item => {
this.tableData.forEach(row => {
if (item == row.id) {
row.flag = true
this.$refs.multipleTable.toggleRowSelection(row, true)
}
})
})
} else {
this.tableData.forEach(row => {
row.flag = false
this.$refs.multipleTable.toggleRowSelection(row, false)
})
}
}
} else {
this.$message.error(res.msg)
@ -1026,6 +1045,13 @@ export default {
},
//
handleTemplate() {
this.dataForm.idList = []
this.tableData.forEach(item => {
if (item.flag && item.id) {
this.dataForm.idList.push(item.id)
}
})
if (!this.dataForm.idList.length) return this.$message.warning('请选择检查项!')
this.form.name = ''
this.treeId = ''
this.queryTemplate()

4
src/components/360View/index.vue

@ -425,8 +425,8 @@ export default {
// 360
handlePacs() {
// const baseUrl = 'http://z1.huimucloud.com:8085'
const baseUrl = 'http://10.80.5.32:8026'
// const baseUrl = 'http://192.168.0.85:8001'
// const baseUrl = 'http://10.80.5.32:8026'
const baseUrl = 'http://192.168.0.85:8001'
const href = `${baseUrl}/EXAMINE_Report/InterFace?PatID=${this.patientId}&DoctorID=${this.employeeId}&PatIdKey=&ExamNo=`
window.open(href, '_blank')
// const { href } = this.$router.resolve({

4
src/components/360View/special/index.vue

@ -217,8 +217,8 @@ export default {
// }
// })
// const baseUrl = 'http://z1.huimucloud.com:8085'
const baseUrl = 'http://10.80.5.32:8026'
// const baseUrl = 'http://192.168.0.85:8001'
// const baseUrl = 'http://10.80.5.32:8026'
const baseUrl = 'http://192.168.0.85:8001'
const href = `${baseUrl}/EXAMINE_Report/InterFace?PatID=${this.patientId}&DoctorID=${this.employeeId}&PatIdKey=&ExamNo=`
window.open(href, '_blank')
},

7
src/page-subspecialty/views/main-navbar.vue

@ -4,7 +4,7 @@
<!-- logo -->
<h1 class="aui-navbar__brand" @click="logoClick">
<a class="aui-navbar__brand-lg" style="text-align:center;">
<img width="140" src="@/assets/img/xianganLogo3.png">
<img v-if="!isDev" width="140" src="@/assets/img/xianganLogo3.png">
<div style="margin-top:5px;">眼科工作平台</div>
</a>
</h1>
@ -58,6 +58,11 @@ import { clearLoginInfo } from '@/page-subspecialty/utils/request.js'
import breadCrumb from '@/components/bread-crumb'
import { resetRouter } from '@/page-subspecialty/router/index.js'
export default {
props: {
isDev: {
type: Boolean
}
},
inject: ['refresh'],
components: {
UpdatePassword,

6
src/page-subspecialty/views/main.vue

@ -1,7 +1,7 @@
<template>
<div v-loading.fullscreen.lock="loading" :element-loading-text="$t('loading')" :class="['aui-wrapper', { 'aui-sidebar--fold': $store.state.sidebarFold }]">
<template v-if="!loading">
<main-navbar />
<main-navbar :is-dev="isDev" />
<main-sidebar />
<div class="aui-content__wrapper">
<main-content v-if="!$store.state.contentIsNeedRefresh" />
@ -36,13 +36,15 @@ export default {
},
data() {
return {
loading: true
loading: true,
isDev: false
}
},
watch: {
$route: 'routeHandle'
},
created() {
this.isDev = window.SITE_CONFIG['apiURL'].includes('47')
this.windowResizeHandle()
this.routeHandle(this.$route)
Promise.all([

4
src/page-subspecialty/views/pages/login.vue

@ -10,7 +10,7 @@
<div class="login-content">
<div class="login-content-title">
<div class="hospital_logo">
<img width="500" src="@/assets/img/xianganlogo.png">
<img v-if="!isDev" width="500" src="@/assets/img/xianganlogo.png">
</div>
<p class="main-title">眼科工作平台</p>
<el-tabs v-model="activeName" @tab-click="handleClick">
@ -74,6 +74,7 @@ export default {
i18nMessages: messages,
activeName: 'first',
captchaPath: '',
isDev: false,
visible: false,
// caUrl: 'http://10.80.5.32:8034/ca3/index.jsp',
caUrl: 'http://10.80.5.32:8034/ca3/index.jsp',
@ -101,6 +102,7 @@ export default {
}
},
created() {
this.isDev = window.SITE_CONFIG['apiURL'].includes('47')
this.getCaptcha()
},
methods: {

Loading…
Cancel
Save