Browse Source

peter

360view
newPeter7 2 years ago
parent
commit
9f19c80038
  1. 5
      package.json
  2. 133
      src/components/360View/business.vue
  3. 18
      src/components/360View/commonForm/threeVision.vue
  4. 6
      src/components/360View/index1.vue
  5. 4
      src/components/360View/special/index.vue

5
package.json

@ -60,6 +60,7 @@
"vue-cron": "^1.0.9",
"vue-cropper": "^0.5.8",
"vue-i18n": "^8.18.2",
"vue-keyboard": "^3.1.0",
"vue-pdf": "^4.3.0",
"vue-print-nb": "^1.7.4",
"vue-router": "^3.0.7",
@ -70,7 +71,6 @@
"xe-utils": "^2.7.10"
},
"devDependencies": {
"babel-plugin-transform-remove-console": "^6.9.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@vue/cli-plugin-babel": "4.4.6",
@ -81,8 +81,9 @@
"autoprefixer": "9.5.1",
"babel-eslint": "10.1.0",
"babel-plugin-dynamic-import-node": "2.3.3",
"babel-plugin-transform-remove-console": "^6.9.4",
"copy-webpack-plugin": "^6.4.1",
"eslint": "6.7.2",
"eslint": "^8.39.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",

133
src/components/360View/business.vue

@ -2,55 +2,25 @@
<div class="business">
<div class="fileBox">
<p class="title">建立屈光档案</p>
<el-button type="primary" size="small">发送</el-button>
<el-button type="primary" size="small" @click="sendFile">发送</el-button>
</div>
<div style="margin: 12px 0">
状态<span class="circle">已发送</span>
</div>
<div style="margin-bottom: 60px;">
备注
<el-select
v-model="value10"
style="width: 360px"
clearable
filterable
allow-create
placeholder="主诉"
@blur="selectZs"
>
<el-option
v-for="item in options5"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
<el-input v-model="remark" auto-complete="off" style="width: 420px" />
</div>
<div class="fileBox">
<p class="title">预约激光治疗</p>
<el-button type="primary" size="small">发送</el-button>
<el-button type="primary" size="small" @click="sendTreat">发送</el-button>
</div>
<div style="margin: 12px 0">
状态<span class="circle">已发送</span>
</div>
<div>
备注
<el-select
v-model="value10"
style="width: 360px"
clearable
filterable
allow-create
placeholder="主诉"
@blur="selectZs"
>
<el-option
v-for="item in options5"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
<el-input v-model="treatRemark" auto-complete="off" style="width: 420px" />
</div>
</div>
</template>
@ -63,7 +33,15 @@ export default {
},
mixins: [dialogjs],
props: {
patientIdNumber: {
platform: {
type: String,
default: ''
},
patientId: {
type: String,
default: ''
},
patientName: {
type: String,
default: ''
}
@ -71,47 +49,8 @@ export default {
data() {
return {
remark: '',
currentNumber: '',
options5: [{
value: 'HTML',
label: 'HTML'
}, {
value: 'CSS',
label: 'CSS'
}, {
value: 'JavaScript',
label: 'JavaScript'
}],
value10: [],
collectProps: {
children: 'childs',
label: 'name'
},
collectData: [],
tableData: [{
date: '2016-05-02',
name: '王小虎1',
address: '上海市普陀区金沙江路 1518 弄'
}, {
date: '2016-05-04',
id: 1,
name: '王小虎2',
address: '上海市普陀区金沙江路 1517 弄'
}, {
date: '2016-05-01',
name: '王小虎3',
id: 2,
address: '上海市普陀区金沙江路 1519 弄'
}, {
date: '2016-05-03',
name: '王小虎4',
id: 3,
address: '上海市普陀区金沙江路 1516 弄'
}],
setPlanList: [],
addFollowList: [],
patientInfoHeadHeight: '',
crfSelectVisible: false
treatRemark: '',
jzNumber: ''
}
},
watch: {
@ -121,29 +60,37 @@ export default {
},
mounted() {
this.jzNumber = window.localStorage.getItem('jzNumber')
},
methods: {
searchRemark(data) {
// this.treeId = data.id
// this.remark = data.hisManagePatientEntity ? data.hisManagePatientEntity.remark : ''
// this.remarkId = data.hisManagePatientEntity ? data.hisManagePatientEntity.id : ''
},
selectZs(e) {
console.log(e)
this.value10 = e.target.value
//
async sendFile() {
// const params = {
// remark: this.treatRemark,
// jzNumber: this.jzNumber,
// platform: this.platform,
// patientName: this.patientName,
// patientId: this.patientId
// }
// const { data: res } = await this.$http.post('/appoint/sendInfo4Appoint', params)
// if (res.code === 0) {
// this.$message.success('')
// } else {
// this.$message.error(res.msg)
// }
},
async handleAddPatient() {
//
async sendTreat() {
const params = {
remark: this.remark,
treeId: this.treeId,
id: this.remarkId,
patientId: this.patientIdNumber
remark: this.treatRemark,
jzNumber: this.jzNumber,
platform: this.platform,
patientName: this.patientName,
patientId: this.patientId
}
const { data: res } = await this.$http.post('/base/patient/tag/addPatientTree', params)
const { data: res } = await this.$http.post('/appoint/sendInfo4Appoint', params)
if (res.code === 0) {
this.$message.success('保存成功')
this.searchTree()
this.$message.success('发送成功')
} else {
this.$message.error(res.msg)
}

18
src/components/360View/commonForm/threeVision.vue

@ -1,5 +1,6 @@
<template>
<div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always">
<!-- <Keyboard :layouts="myLayout" @input="handleInput" />-->
<div v-if="!onlyRead && isPlatform" class="btnBox">
<el-button v-print="'#threeFunc'" size="small" @click="handleSaveTable">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
@ -40,6 +41,7 @@
<template slot-scope="scope">
<div v-if="scope.row.name == '1'">
<div class="width-120 center">
<!-- <el-input v-model="dataForm.jfwjcOd1" placeholder="" @change="handleFocus"></el-input>-->
<el-input v-model="dataForm.jfwjcOd1" placeholder=""></el-input>
</div>
</div>
@ -511,6 +513,7 @@
</div>
</template>
<script>
import Keyboard from 'vue-keyboard';
export default {
props: {
patientId: {
@ -530,8 +533,16 @@ export default {
default: ''
}
},
components: {
Keyboard
},
data() {
return {
myLayout: [
'1234567890{delete:backspace}|qwertyuiop|asdfghjkl|{shift:goto:1}zxcvbnm|{space:space}{custom:custom}',
'!@#$%^&*(){delete:backspace}|QWERTYUIOP|ASDFGHJKL|{shift:goto:0}ZXCVBNM|{space:space}{custom:custom}'
],
focusItem: '',
ctList: [
{
name: '正位',
@ -917,6 +928,13 @@ export default {
}
}
},
handleFocus() {
this.focusItem = 'jfwjcOd1'
},
handleInput(input) {
console.log('Input:', input);
this.dataForm[this.focusItem] += input
},
// id
async queryProject() {
const project = window.localStorage.getItem('projectItem') ? JSON.parse(window.localStorage.getItem('projectItem')) : []

6
src/components/360View/index1.vue

@ -228,7 +228,7 @@
<!-- 病历收藏-->
<collection v-if="dataType === 3" :patient-id="patientBaseData.patientId" :platform="isSearch" />
<!-- 常用业务-->
<business v-if="dataType === 4" />
<business v-if="dataType === 4" :patient-id="patientBaseData.patientId" :platform="isSearch" :patient-name="patientBaseData.patientName"/>
</drawer>
</div>
</template>
@ -390,8 +390,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

@ -205,8 +205,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')
},

Loading…
Cancel
Save