diff --git a/package.json b/package.json index fea1f5f6..348ca233 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,6 @@ "miniprogram-api-typings": "^3.3.2", "node-sass": "npm:dart-sass@^1.25.0", "postcss-comment": "^2.0.0", - "sass-loader": "^7.1.0", "uview-ui": "^1.8.4", "vue-template-compiler": "^2.6.11" }, diff --git a/src/apps/AppAskForm/AppAskForm.vue b/src/apps/AppAskForm/AppAskForm.vue index e16aaca9..089176ef 100644 --- a/src/apps/AppAskForm/AppAskForm.vue +++ b/src/apps/AppAskForm/AppAskForm.vue @@ -31,13 +31,6 @@ }, onLoad () { - uni.$on('reload', () => { - if (this.currIndex === 0) { - this.$refs.list.reload() - } else { - this.$refs.addList.getList() - } - }) }, methods: { @@ -45,12 +38,6 @@ this.params = e.params this.component = e.type }, - }, - - onReachBottom() { - if (this.currIndex === 0) { - this.$refs.list.getList() - } } } diff --git a/src/apps/AppAskForm/AppForm.vue b/src/apps/AppAskForm/AppForm.vue index 36c488bf..1dee8ce4 100644 --- a/src/apps/AppAskForm/AppForm.vue +++ b/src/apps/AppAskForm/AppForm.vue @@ -3,7 +3,7 @@ - + @@ -29,7 +29,11 @@ export default { return !!this.$route.query?.id && this.access }, errMsg() { - return this.err || (this.access ? "表单不存在" : "无法获取用户信息") + this.access && (this.err = "表单不存在") + return this.err || "数据读取中..." + }, + errStatus() { + return !!this.err ? "error" : "loading" }, isPreview() { return !!this.$route.query?.preview @@ -64,7 +68,7 @@ export default { }, created() { this.checkAccess() - document.title = "调查问卷" + document.title = "问卷调查" } } diff --git a/src/apps/AppAskForm/components/AddForm.vue b/src/apps/AppAskForm/components/AddForm.vue index 9c3d342d..deae26b3 100644 --- a/src/apps/AppAskForm/components/AddForm.vue +++ b/src/apps/AppAskForm/components/AddForm.vue @@ -213,7 +213,6 @@ export default { }) uni.$on('filedConfig', res => { - console.log(33) if (res.index === '-1') { this.targetList.push(res.config) } else { @@ -343,7 +342,7 @@ export default { type: 'Result', params: { linkUrl: res.data.linkUrl, - tableExplain: this.form.title, + title: this.form.title, tableExplain: this.form.tableExplain, headPicture: this.form.headPicture } diff --git a/src/apps/AppAskForm/components/AddList.vue b/src/apps/AppAskForm/components/AddList.vue index a2f43815..30f20e92 100644 --- a/src/apps/AppAskForm/components/AddList.vue +++ b/src/apps/AppAskForm/components/AddList.vue @@ -1,5 +1,5 @@