Browse Source

doctor seo

master
pengjun 2 years ago
parent
commit
1e2a70058a
  1. 32
      src/components/doctorCheck/CheckSumSug.vue
  2. 10
      src/views/doctorCheck/doctorCheck.vue
  3. 7
      src/views/doctorCheck/sumDoctorCheck.vue

32
src/components/doctorCheck/CheckSumSug.vue

@ -4,7 +4,13 @@
<div :style="`width:${sumWidth}px;`">
<el-table id="tableSummary" row-key="id" :data="doctorCheck.checkSummaryList" size="samll" :height="sumHeight"
width="100%" border>
<el-table-column type="index" width="25" align="center" />
<el-table-column width="30" align="center">
<template slot-scope="scope">
<el-tag class="moveSummary" style="height:25px;padding:0 2px;cursor: move;background-color: #EEEEEE;">
<div style="width: 16px;">{{ scope.$index + 1 }}</div>
</el-tag>
</template>
</el-table-column>
<el-table-column prop="summary" label="小结">
<template slot="header">
<div style="display: flex;justify-content:space-between;">
@ -56,7 +62,13 @@
<div :style="`margin-left:2px;width:${sumWidth}px;`">
<el-table id="tableSuggestion" row-key="id" :data="doctorCheck.checkSuggestionList" size="samll"
:height="sumHeight" width="100%" border>
<el-table-column type="index" width="25" align="center" />
<el-table-column width="30" align="center">
<template slot-scope="scope">
<el-tag class="moveSuggestion" style="height:25px;padding:0 2px;cursor: move;background-color: #EEEEEE;">
<div style="width: 16px;">{{ scope.$index + 1 }}</div>
</el-tag>
</template>
</el-table-column>
<el-table-column prop="suggestion" label="建议">
<template slot="header">
<div style="display: flex;justify-content:space-between;">
@ -172,7 +184,15 @@ export default {
console.log('el0', el)
const that = this;
Sortable.create(el, {
handle: ".moveSummary",
animation: 150, // ms, number ms
//
onStart: (evt) => {
if (this.doctorCheck.RegisterCheckEdit.completeFlag != '0') {
this.$alert("项目已检或弃检,不可执行此操作!", { showClose: false })
return false
}
},
//
onEnd({ newIndex, oldIndex }) {
that.isshow = false;
@ -191,7 +211,15 @@ export default {
//console.log('tbody',tbody)
const that = this;
Sortable.create(el, {
handle: ".moveSuggestion",
animation: 150, // ms, number ms
//
onStart: (evt) => {
if (this.doctorCheck.RegisterCheckEdit.completeFlag != '0') {
this.$alert("项目已检或弃检,不可执行此操作!", { showClose: false })
return false
}
},
//
onEnd({ newIndex, oldIndex }) {
that.isshow = false;

10
src/views/doctorCheck/doctorCheck.vue

@ -104,7 +104,7 @@ export default {
this.dataTransOpts.tableS.patient_register = this.$route.query.patient_register
} else {
this.dataTransOpts.tableS.patient_register = { id: '', patientRegisterNo: '' }
this.dataTransOpts.tableS.register_check = {id:''}
this.dataTransOpts.tableS.register_check = { id: '' }
this.peoplePhoto = ''
}
@ -132,6 +132,14 @@ export default {
//
mounted() {
this.dictInit();
document.addEventListener("contextmenu", (e) => {
if (this.$peisAPI) {
e.preventDefault();
this.$peisAPI.contextMenuForPeis()
}
})
},
computed: {

7
src/views/doctorCheck/sumDoctorCheck.vue

@ -106,6 +106,13 @@ export default {
//
mounted() {
this.dictInit();
document.addEventListener("contextmenu", (e) => {
if (this.$peisAPI) {
e.preventDefault();
this.$peisAPI.contextMenuForPeis()
}
})
},
computed: {

Loading…
Cancel
Save