diff --git a/package.json b/package.json
index 9f07569..72a810b 100644
--- a/package.json
+++ b/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",
diff --git a/src/components/360View/business.vue b/src/components/360View/business.vue
index e07a070..92973ed 100644
--- a/src/components/360View/business.vue
+++ b/src/components/360View/business.vue
@@ -2,55 +2,25 @@
状态:已发送
备注:
-
-
-
+
状态:已发送
备注:
-
-
-
+
@@ -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)
}
diff --git a/src/components/360View/commonForm/threeVision.vue b/src/components/360View/commonForm/threeVision.vue
index 29da8e8..55658ab 100644
--- a/src/components/360View/commonForm/threeVision.vue
+++ b/src/components/360View/commonForm/threeVision.vue
@@ -1,5 +1,6 @@
+
打印
保存
@@ -40,6 +41,7 @@
@@ -259,10 +261,10 @@
-
-
-
-
+
+
+
+
R
L
L
@@ -511,6 +513,7 @@