@@ -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;
diff --git a/src/views/doctorCheck/doctorCheck.vue b/src/views/doctorCheck/doctorCheck.vue
index 90d5c86..86936c9 100644
--- a/src/views/doctorCheck/doctorCheck.vue
+++ b/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: {
@@ -280,7 +288,7 @@ export default {
if (this.doctorCheck.RegisterCheckEdit.isAudit == 'Y') return '组合项目已审核,请先取消审核,方可执行此操作!'
}
if (optType == 'del') {
- if (this.doctorCheck.RegisterCheckEdit.completeFlag == '0') return "该检查项目尚未保存,无需执行此操作"
+ if (this.doctorCheck.RegisterCheckEdit.completeFlag == '0') return "该检查项目尚未保存,无需执行此操作"
if (this.doctorCheck.RegisterCheckEdit.isAudit == 'Y') return '组合项目已审核,请先取消审核,方可执行此操作!'
}
if (optType == 'audit') {
@@ -519,7 +527,7 @@ export default {
// }
let checkDate = this.doctorCheck.RegisterCheckEdit.checkDate || new Date();
checkDate = moment(new Date(checkDate)).format('yyyy-MM-DD HH:mm:ss'); //yyyy-MM-DD HH:mm:ss
- let checkDoctorId = this.doctorCheck.RegisterCheckEdit.checkDoctorId || null;
+ let checkDoctorId = this.doctorCheck.RegisterCheckEdit.checkDoctorId || null;
let registerCheckId = this.doctorCheck.RegisterCheckEdit.id
// 明细
let registerCheckItems = []
diff --git a/src/views/doctorCheck/sumDoctorCheck.vue b/src/views/doctorCheck/sumDoctorCheck.vue
index a12d984..6ca468f 100644
--- a/src/views/doctorCheck/sumDoctorCheck.vue
+++ b/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: {