From 8533c355e106550cfeb9c7070c2e502224c5cd96 Mon Sep 17 00:00:00 2001 From: fz Date: Thu, 23 Nov 2023 14:35:50 +0800 Subject: [PATCH] =?UTF-8?q?1123=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 +- api/login.js | 20 + config.js | 3 +- pages.json | 169 +++---- pages/handlecase/component/uploadEvidence.vue | 77 ++- pages/im/index.vue | 2 +- pages/index.vue | 2 +- pages/login.vue | 10 +- pages/realName.vue | 76 +++ pages/register.vue | 440 +++++++++++------- pages/work/index.vue | 26 +- permission.js | 2 +- .../.sourcemap/mp-weixin/common/main.js.map | 2 +- .../mp-weixin/common/runtime.js.map | 2 +- .../.sourcemap/mp-weixin/common/vendor.js.map | 2 +- .../components/uni-icons/uni-icons.js.map | 2 +- .../uni-list-item/uni-list-item.js.map | 2 +- .../components/uni-list/uni-list.js.map | 2 +- unpackage/dist/dev/mp-weixin/app.json | 40 +- .../dist/dev/mp-weixin/project.config.json | 33 +- 20 files changed, 557 insertions(+), 359 deletions(-) create mode 100644 pages/realName.vue diff --git a/App.vue b/App.vue index 9086f9e..eb4230c 100644 --- a/App.vue +++ b/App.vue @@ -9,8 +9,8 @@ } from './mp_ecard_sdk/main'; export default { globalData: { - requestUrl: 'https://api.xayunmei.com/zhongcaiapi', - // requestUrl: 'http://121.40.189.20:9001', + // requestUrl: 'https://api.xayunmei.com/zhongcaiapi', + requestUrl: 'http://121.40.189.20:9001', }, onLaunch: function() { this.initApp(); diff --git a/api/login.js b/api/login.js index 9f6d1b3..c543fa6 100644 --- a/api/login.js +++ b/api/login.js @@ -73,4 +73,24 @@ export function sendEidtoken(data) { method: 'post', data: data }) +} + +// 获取手机验证码 +export function sendCode(data) { + return request({ + 'url': '/weChatUser/sendCode', + method: 'get', + params:data + }) +} +// 注册方法 +export function wxregister(data) { + return request({ + url: '/weChatUser/registerUser', + headers: { + isToken: false + }, + method: 'post', + data: data + }) } \ No newline at end of file diff --git a/config.js b/config.js index cbeecba..9506b8a 100644 --- a/config.js +++ b/config.js @@ -1,7 +1,8 @@ // 应用全局配置 module.exports = { - baseUrl: 'https://api.xayunmei.com/zhongcaiapi', + // baseUrl: 'https://api.xayunmei.com/zhongcaiapi', // baseUrl: 'http://121.40.189.20:9001', + baseUrl: 'http://121.40.189.20:8001', // baseUrl: 'http://192.168.3.77:8080', // baseUrl: 'http://localhost:8080', // baseUrl: 'http://192.168.3.18:9001', diff --git a/pages.json b/pages.json index db034cf..2e27be2 100644 --- a/pages.json +++ b/pages.json @@ -9,68 +9,72 @@ "style": { "navigationBarTitleText": "注册" } - }, { - "path": "pages/index", - "style": { - "navigationBarTitleText": "首页", - "navigationStyle": "custom" - } - }, { + }, + // { + // "path": "pages/index", + // "style": { + // "navigationBarTitleText": "首页", + // "navigationStyle": "custom" + // } + // }, + { "path": "pages/work/index", "style": { "navigationBarTitleText": "工作台" } - }, { - "path": "pages/mine/index", - "style": { - "navigationBarTitleText": "我的" - } - }, { - "path": "pages/mine/avatar/index", - "style": { - "navigationBarTitleText": "修改头像" - } - }, { - "path": "pages/mine/info/index", - "style": { - "navigationBarTitleText": "个人信息" - } - }, { - "path": "pages/mine/info/edit", - "style": { - "navigationBarTitleText": "编辑资料" - } - }, { - "path": "pages/mine/pwd/index", - "style": { - "navigationBarTitleText": "修改密码" - } - }, { - "path": "pages/mine/setting/index", - "style": { - "navigationBarTitleText": "应用设置" - } - }, { - "path": "pages/mine/help/index", - "style": { - "navigationBarTitleText": "常见问题" - } - }, { - "path": "pages/mine/about/index", - "style": { - "navigationBarTitleText": "关于我们" - } - }, { - "path": "pages/common/webview/index", - "style": { - "navigationBarTitleText": "浏览网页" - } - }, { - "path": "pages/common/textview/index", - "style": { - "navigationBarTitleText": "浏览文本" - } }, + // { + // "path": "pages/mine/index", + // "style": { + // "navigationBarTitleText": "我的" + // } + // }, + // { + // "path": "pages/mine/avatar/index", + // "style": { + // "navigationBarTitleText": "修改头像" + // } + // }, { + // "path": "pages/mine/info/index", + // "style": { + // "navigationBarTitleText": "个人信息" + // } + // }, { + // "path": "pages/mine/info/edit", + // "style": { + // "navigationBarTitleText": "编辑资料" + // } + // }, { + // "path": "pages/mine/pwd/index", + // "style": { + // "navigationBarTitleText": "修改密码" + // } + // }, { + // "path": "pages/mine/setting/index", + // "style": { + // "navigationBarTitleText": "应用设置" + // } + // }, { + // "path": "pages/mine/help/index", + // "style": { + // "navigationBarTitleText": "常见问题" + // } + // }, { + // "path": "pages/mine/about/index", + // "style": { + // "navigationBarTitleText": "关于我们" + // } + // }, { + // "path": "pages/common/webview/index", + // "style": { + // "navigationBarTitleText": "浏览网页" + // } + // }, { + // "path": "pages/common/textview/index", + // "style": { + // "navigationBarTitleText": "浏览文本" + // } + // }, { "path": "pages/handlecase/index", "style": { @@ -165,30 +169,37 @@ "navigationBarTitleText": "在线开庭", "enablePullDownRefresh": false } + }, + { + "path": "pages/realName", + "style": { + "navigationBarTitleText": "实名认证", + "enablePullDownRefresh": false + } } ], - "tabBar": { - "color": "#000000", - "selectedColor": "#000000", - "borderStyle": "white", - "backgroundColor": "#ffffff", - "list": [{ - "pagePath": "pages/index", - "iconPath": "static/images/tabbar/home.png", - "selectedIconPath": "static/images/tabbar/home_.png", - "text": "首页" - }, { - "pagePath": "pages/work/index", - "iconPath": "static/images/tabbar/work.png", - "selectedIconPath": "static/images/tabbar/work_.png", - "text": "工作台" - }, { - "pagePath": "pages/mine/index", - "iconPath": "static/images/tabbar/mine.png", - "selectedIconPath": "static/images/tabbar/mine_.png", - "text": "我的" - }] - }, + // "tabBar": { + // "color": "#000000", + // "selectedColor": "#000000", + // "borderStyle": "white", + // "backgroundColor": "#ffffff", + // "list": [{ + // "pagePath": "pages/index", + // "iconPath": "static/images/tabbar/home.png", + // "selectedIconPath": "static/images/tabbar/home_.png", + // "text": "首页" + // }, { + // "pagePath": "pages/work/index", + // "iconPath": "static/images/tabbar/work.png", + // "selectedIconPath": "static/images/tabbar/work_.png", + // "text": "工作台" + // }, { + // "pagePath": "pages/mine/index", + // "iconPath": "static/images/tabbar/mine.png", + // "selectedIconPath": "static/images/tabbar/mine_.png", + // "text": "我的" + // }] + // }, "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "RuoYi", diff --git a/pages/handlecase/component/uploadEvidence.vue b/pages/handlecase/component/uploadEvidence.vue index 4fe6233..1902d69 100644 --- a/pages/handlecase/component/uploadEvidence.vue +++ b/pages/handlecase/component/uploadEvidence.vue @@ -44,41 +44,43 @@ - + + + + + + + - + - + @@ -104,7 +106,12 @@ data() { return { formData: {}, - subnitForm: {}, + subnitForm: { + objectionAddEviden:0, + pendingAppointArbotrar:0, + objectiJuris:0, + adjudicaCounter:0 + }, selectFlag: false, caseFlag: false, tempFilePaths: null, @@ -152,6 +159,20 @@ text: '否', value: 0 }], + objectiJurisArr: [{ + text: '是', + value: 1 + }, { + text: '否', + value: 0 + }], + adjudicaCounterArr: [{ + text: '是', + value: 1 + }, { + text: '否', + value: 0 + }], items: [] } }, @@ -175,18 +196,28 @@ } }, checkboxChange(e) { - let idArr = e.detail.value; - let numberArray = idArr.map(str => parseInt(str)); - const result = this.items.filter(item => numberArray.includes(item.userId)); - let arbitrators = [] - result.forEach(item => { - arbitrators.push({ - id: item.userId, - arbitratorName: item.nickName - }) + let params = parseInt(e.detail.value); + console.log(params,"LLLLLLLLLL"); + let result = ""; + this.items.forEach(item=>{ + if(item.userId == params){ + result = item.nickName + } }) + let arbitrators = [{id: params,arbitratorName: result}]; + + console.log(result,"KKKKKKKKKKKKKKKK"); + // let idArr = e.detail.value; + // let numberArray = idArr.map(str => parseInt(str)); + // const result = this.items.filter(item => numberArray.includes(item.userId)); + // result.forEach(item => { + // arbitrators.push({ + // id: item.userId, + // arbitratorName: item.nickName + // }) + // }) this.subnitForm.arbitrators = arbitrators; - console.log(this.subnitForm.arbitrators,"PPPPPPPPPPPPPP"); + // console.log(this.subnitForm.arbitrators,"PPPPPPPPPPPPPP"); }, getData(parms) { respondentDetail(parms).then(res => { diff --git a/pages/im/index.vue b/pages/im/index.vue index c7bfa85..017400a 100644 --- a/pages/im/index.vue +++ b/pages/im/index.vue @@ -13,7 +13,7 @@ }, onLoad: function() { this.name = this.$store.state.user.name; - this.sendImg = `https://txroom.xayunmei.com/#/?name=${this.name}` + this.sendImg = `https://txroom.xayunmei.com` // this.sendImg = `http://localhost:8080/#/?name=${this.name}` }, diff --git a/pages/index.vue b/pages/index.vue index 0567a17..b49da13 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -2,7 +2,7 @@ - 法务系统 + 仲裁系统 diff --git a/pages/login.vue b/pages/login.vue index 0c8e4b8..1439cab 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -3,7 +3,7 @@ - 法务平台 + 仲裁平台