diff --git a/src/mods/AppIntegralApply/add.vue b/src/mods/AppIntegralApply/add.vue index e354374..0ea06d9 100644 --- a/src/mods/AppIntegralApply/add.vue +++ b/src/mods/AppIntegralApply/add.vue @@ -37,7 +37,8 @@
- + +
@@ -65,6 +66,7 @@ export default { description: '', applyFiles: [], }, + showStstus: false, flag: false, toDay: '', @@ -122,7 +124,7 @@ export default { name: this.user.realName, residentPhone: this.forms.phone, applyIntegralType: this.forms.applyIntegralTypeValue, - description: this.forms.description, + description: this.forms.content, applyFiles: imgs || [], residentId: this.user.residentId, }) diff --git a/src/mods/AppServiceOnlineNew/serviceForm.vue b/src/mods/AppServiceOnlineNew/serviceForm.vue index a5caa68..8ac1d63 100644 --- a/src/mods/AppServiceOnlineNew/serviceForm.vue +++ b/src/mods/AppServiceOnlineNew/serviceForm.vue @@ -56,6 +56,14 @@

{{ item[0].groupName }}

+ + +
@@ -104,6 +112,22 @@
+ +
+
+ * + {{ field.fieldName }}{{ field.fieldNameSuffix || '' }} +
+
+ + + +
选择
+
+
+
+ +
* @@ -161,6 +185,7 @@ export default { info: {}, // isTouch: false, fileManage: null, + time: '', } }, @@ -202,46 +227,46 @@ export default { this.handwriting.uploadScaleEnd(event) }, - submitSignature() { - // if (!this.isTouch) { - // return this.$toast('签名不能为空') - // } + // submitSignature() { + // if (!this.isTouch) { + // return this.$toast('签名不能为空') + // } - this.handwriting - .saveCanvas() - .then((res) => { - uni.getFileSystemManager().readFile({ - filePath: res, - encoding: 'base64', - success: (res) => { - // this.$loading() - this.$instance - .post(`/app/syssignaccount/xcx-draw-sign?openId=${this.user.openId}`, res.data, { - headers: { - 'Content-Type': 'application/json', - }, - }) - .then((res) => { - if (res.code === 0) { - this.signatureId = res.data - // this.isShow = false - // this.$toast('签名成功') + // this.handwriting + // .saveCanvas() + // .then((res) => { + // uni.getFileSystemManager().readFile({ + // filePath: res, + // encoding: 'base64', + // success: (res) => { + // this.$loading() + // this.$instance + // .post(`/app/syssignaccount/xcx-draw-sign?openId=${this.user.openId}`, res.data, { + // headers: { + // 'Content-Type': 'application/json', + // }, + // }) + // .then((res) => { + // if (res.code === 0) { + // this.signatureId = res.data + // this.isShow = false + // this.$toast('签名成功') - this.$nextTick(() => { - this.submitForm() - }) - } - }) - }, - fail: () => { - this.$toast('签名生成失败') - }, - }) - }) - .catch(() => { - this.$toast('签名绘制失败') - }) - }, + // this.$nextTick(() => { + // this.submitForm() + // }) + // } + // }) + // }, + // fail: () => { + // this.$toast('签名生成失败') + // }, + // }) + // }) + // .catch(() => { + // this.$toast('签名绘制失败') + // }) + // }, IdCard(UUserCard, num) { if (num == 1) { @@ -354,6 +379,13 @@ export default { this.$set(this.tableForm[index][i], 'fieldDictName', key) }, + bindTimeChange(e) { + const index = e.target.dataset.index + const i = e.target.dataset.i + const value = e.detail.value + this.$set(this.tableForm[index][i], 'fieldValue', `${value}:00`) + }, + preview(list, url) { const imgs = list.map((v) => v.exampleFile.url) uni.previewImage({ @@ -397,7 +429,7 @@ export default { // this.$set(this.info.processAnnexDefs[index], 'annexFileId', data.data[0].split(';')[1]) this.$set(this.info.processAnnexDefs[index], 'src', data.data.url) - this.$set(this.info.processAnnexDefs[index], 'id', data.data.id) + this.$set(this.info.processAnnexDefs[index], 'annexFileId', data.data.id) } else { this.$toast(data.msg) } @@ -413,7 +445,7 @@ export default { next() { if (this.currIndex === 2) { for (let item of this.info.processAnnexDefs) { - if (item.mustFill === '1' && !item.id) { + if (item.mustFill === '1' && !item.annexFileId) { return this.$toast(`请上传${item.annexName}`) } }