From e862fa6344d7927b5cdef1337bba951a4ffd332f Mon Sep 17 00:00:00 2001 From: qzc Date: Mon, 1 Jul 2024 10:45:45 +0800 Subject: [PATCH] =?UTF-8?q?qzc=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/gqzq/gqxx/qkForm.vue | 33 ++++++++++++++++++--------------- pages/gqzq/gqxx/xqForm.vue | 21 +++++++++++++++++---- pages/gqzq/zqxx/form.vue | 11 +++++++---- pages/login/login.vue | 4 ++-- pages/mypage/mypage.vue | 1 + 5 files changed, 45 insertions(+), 25 deletions(-) diff --git a/pages/gqzq/gqxx/qkForm.vue b/pages/gqzq/gqxx/qkForm.vue index 24ad300..e9af426 100644 --- a/pages/gqzq/gqxx/qkForm.vue +++ b/pages/gqzq/gqxx/qkForm.vue @@ -33,6 +33,16 @@
+
+ 上报时间: +
+ +
+
工程类型:
@@ -133,20 +143,11 @@ >
-
- 上报时间: -
- -
-
附件:
- {{getRecord.fileIds || '暂无数据'}} + {{getRecord.fileIds || '暂无数据'}} +
@@ -163,7 +164,8 @@ record:{}, list:[], index:0, - cs:'' + cs:'', + imgList:[] } }, created() { @@ -180,7 +182,8 @@ const id = this.getRecord.id console.log('id',id) const res = await uni.$http.get('/gunshiApp/xfflood/xfProjectRun/detail?id='+id) - console.log('res',res) + this.imgList = res.data.data + console.log('res2',res.data.data) }catch(e){ this.$refs.uToast.show({ type: 'error', @@ -232,14 +235,14 @@ margin-top: 5px; } .lf{ - width: 25%; + width: 30%; min-height: 40px; text-align: right; line-height: 38px; padding-right: 10px; } .rf{ - width: 75%; + width: 70%; min-height: 40px; line-height: 36px; padding-right: 20px; diff --git a/pages/gqzq/gqxx/xqForm.vue b/pages/gqzq/gqxx/xqForm.vue index 9db7f89..2879158 100644 --- a/pages/gqzq/gqxx/xqForm.vue +++ b/pages/gqzq/gqxx/xqForm.vue @@ -33,6 +33,16 @@
+
+ 上报时间: +
+ +
+
工程类型:
@@ -146,7 +156,8 @@
附件:
- {{getRecord.fileIds || '暂无数据'}} + {{getRecord.fileIds || '暂无数据'}} +
@@ -163,7 +174,8 @@ record:{}, list:[], index:0, - cs:'' + cs:'', + imgList:[] } }, created() { @@ -180,6 +192,7 @@ const id = this.getRecord.id console.log('id',id) const res = await uni.$http.get('/gunshiApp/xfflood/xfProjectIncident/detail?id='+id) + this.imgList = res.data.data console.log('res',res) }catch(e){ this.$refs.uToast.show({ @@ -232,14 +245,14 @@ margin-top: 5px; } .lf{ - width: 25%; + width: 30%; min-height: 40px; text-align: right; line-height: 38px; padding-right: 10px; } .rf{ - width: 75%; + width: 70%; min-height: 40px; line-height: 36px; padding-right: 20px; diff --git a/pages/gqzq/zqxx/form.vue b/pages/gqzq/zqxx/form.vue index 3de32b2..af113d4 100644 --- a/pages/gqzq/zqxx/form.vue +++ b/pages/gqzq/zqxx/form.vue @@ -197,7 +197,8 @@
附件:
- {{getRecord.fileIds || '暂无数据'}} + {{getRecord.fileIds || '暂无数据'}} +
@@ -214,7 +215,8 @@ record:{}, list:[], index:0, - cs:'' + cs:'', + imgList:[] } }, created() { @@ -231,6 +233,7 @@ const mtcd = this.getRecord.mtcd console.log('mtcd',mtcd) const res = await uni.$http.get('/gunshiApp/xfflood/iaCHsfwater/detail?mtcd='+mtcd) + this.imgList = res.data.data console.log('res',res) }catch(e){ this.$refs.uToast.show({ @@ -283,14 +286,14 @@ margin-top: 5px; } .lf{ - width: 25%; + width: 30%; min-height: 40px; text-align: right; line-height: 38px; padding-right: 10px; } .rf{ - width: 75%; + width: 70%; min-height: 40px; line-height: 36px; padding-right: 20px; diff --git a/pages/login/login.vue b/pages/login/login.vue index 5337468..20f91ea 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -65,8 +65,8 @@ export default { }, xiang () { this.formData = { - username: 'mdx', - password: '1234567a', + username: 'glszfz', + password: '12345678a', checked: false } }, diff --git a/pages/mypage/mypage.vue b/pages/mypage/mypage.vue index 99e6ea8..2e727df 100644 --- a/pages/mypage/mypage.vue +++ b/pages/mypage/mypage.vue @@ -205,6 +205,7 @@ .button{ border-radius: 10px; display: flex; + justify-content: center; flex-direction: column-reverse; width: 92%; height: 6vh;