测试问题修改

master
jinna 11 months ago
parent f49a81a004
commit 733e4f8b9b
  1. 2
      src/views/businessManagement/inspection/repair.vue
  2. 7
      src/views/operation/hand.vue

@ -619,7 +619,7 @@ export default {
clearName() { clearName() {
this.$refs.sign.clear() this.$refs.sign.clear()
this.nameImg = '' this.nameImg = ''
this.isClear = true // this.isClear = true
}, },
confirmName() { confirmName() {
if (this.isClear) { if (this.isClear) {

@ -958,7 +958,7 @@ export default {
}, },
clickQualityNo() { clickQualityNo() {
if (this.viewType == 'evaluate') { if (this.viewType == 'evaluate') {
this.detailFormisOkQuality = 0 this.detailForm.isOkQuality = 0
} }
}, },
clickSafeYes() { clickSafeYes() {
@ -982,8 +982,7 @@ export default {
} }
}, },
confirmName() { confirmName() {
console.log('name===========>', this.nameImg) if (this.isClear && this.nameImg == '') {
if (this.isClear) {
this.nameImg = '' this.nameImg = ''
} else { } else {
this.nameImg = this.$refs.sign.submit(80, 50); this.nameImg = this.$refs.sign.submit(80, 50);
@ -999,7 +998,7 @@ export default {
clearName() { clearName() {
this.$refs.sign.clear() this.$refs.sign.clear()
this.nameImg = '' this.nameImg = ''
this.isClear = true this.assignVisible = false
}, },
base64toFile(dataurl, filename = 'file') { base64toFile(dataurl, filename = 'file') {
let arr = dataurl.split(',') let arr = dataurl.split(',')

Loading…
Cancel
Save