diff --git a/manifest.json b/manifest.json index 6c7054f..8215b74 100644 --- a/manifest.json +++ b/manifest.json @@ -1,12 +1,15 @@ { "name" : "立讯手持", - "appid" : "__UNI__99F80EF", + "appid" : "__UNI__A3EEF18", "description" : "立讯手持系统", "versionName" : "1.0.0", "versionCode" : 100, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { + "compatible" : { + "ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持 + }, "usingComponents" : true, "nvueStyleCompiler" : "uni-app", "compilerVersion" : 3, diff --git a/pages/modules/taskmanage.vue b/pages/modules/taskmanage.vue index 2d1d4d1..76df826 100644 --- a/pages/modules/taskmanage.vue +++ b/pages/modules/taskmanage.vue @@ -60,11 +60,11 @@ }; }, created () { - this.queryTask(this.keyword, this.startPoint, this.endPoint) + this._queryTask(this.keyword, this.startPoint, this.endPoint) }, methods: { - async queryTask () { - let res = await queryInstraction(this.keyword, this.startPoint, this.endPoint) + async _queryTask () { + let res = await queryTask(this.keyword, this.startPoint, this.endPoint) if (res.code === '1') { this.dataList = [...res.result] } else { @@ -74,20 +74,23 @@ }) } }, - async taskOperation (type) { + async _taskOperation (type) { try { - let res = await instOperation(this.pkId, type) + let res = await taskOperation(this.pkId, type) if (res.code === '1') { this.disabled1 = false this.disabled2 = false this.pkId = '' - this.queryTask() + this._queryTask() uni.showToast({ title: res.desc, icon: 'none' }) } else { - this.Dialog(res.desc) + uni.showToast({ + title: res.desc, + icon: 'none' + }) this.disabled1 = false this.disabled2 = false } @@ -105,7 +108,7 @@ this.disabled1 = false return } - this.instOperation(type) + this._taskOperation(type) }, toSure2 (type) { this.disabled2 = true @@ -113,7 +116,7 @@ this.disabled2 = false return } - this.instOperation(type) + this._taskOperation(type) } } } diff --git a/pages/modules/zlmanage.vue b/pages/modules/zlmanage.vue index 13b252d..4b9047a 100644 --- a/pages/modules/zlmanage.vue +++ b/pages/modules/zlmanage.vue @@ -65,10 +65,10 @@ }; }, created () { - this.queryInstraction(this.keyword, this.startPoint, this.endPoint) + this._queryInstraction(this.keyword, this.startPoint, this.endPoint) }, methods: { - async queryInstraction () { + async _queryInstraction () { let res = await queryInstraction(this.keyword, this.startPoint, this.endPoint) if (res.code === '1') { this.dataList = [...res.result] @@ -79,7 +79,7 @@ }) } }, - async instOperation (type) { + async _instOperation (type) { try { let res = await instOperation(this.pkId, type) if (res.code === '1') { @@ -87,13 +87,16 @@ this.disabled2 = false this.disabled3 = false this.pkId = '' - this.queryInstraction() + this._queryInstraction() uni.showToast({ title: res.desc, icon: 'none' }) } else { - this.Dialog(res.desc) + uni.showToast({ + title: res.desc, + icon: 'none' + }) this.disabled1 = false this.disabled2 = false this.disabled3 = false @@ -113,7 +116,7 @@ this.disabled1 = false return } - this.instOperation(type) + this._instOperation(type) }, toSure2 (type) { this.disabled2 = true @@ -121,7 +124,7 @@ this.disabled2 = false return } - this.instOperation(type) + this._instOperation(type) }, toSure3 (type) { this.disabled3 = true @@ -129,7 +132,7 @@ this.disabled3 = false return } - this.instOperation(type) + this._instOperation(type) } } }