1123提交

This commit is contained in:
fz
2023-11-23 14:35:50 +08:00
parent 49b1676825
commit 8533c355e1
20 changed files with 557 additions and 359 deletions
+2 -2
View File
@@ -9,8 +9,8 @@
} from './mp_ecard_sdk/main'; } from './mp_ecard_sdk/main';
export default { export default {
globalData: { globalData: {
requestUrl: 'https://api.xayunmei.com/zhongcaiapi', // requestUrl: 'https://api.xayunmei.com/zhongcaiapi',
// requestUrl: 'http://121.40.189.20:9001', requestUrl: 'http://121.40.189.20:9001',
}, },
onLaunch: function() { onLaunch: function() {
this.initApp(); this.initApp();
+20
View File
@@ -74,3 +74,23 @@ export function sendEidtoken(data) {
data: data 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
})
}
+2 -1
View File
@@ -1,7 +1,8 @@
// 应用全局配置 // 应用全局配置
module.exports = { 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:9001',
baseUrl: 'http://121.40.189.20:8001',
// baseUrl: 'http://192.168.3.77:8080', // baseUrl: 'http://192.168.3.77:8080',
// baseUrl: 'http://localhost:8080', // baseUrl: 'http://localhost:8080',
// baseUrl: 'http://192.168.3.18:9001', // baseUrl: 'http://192.168.3.18:9001',
+90 -79
View File
@@ -9,68 +9,72 @@
"style": { "style": {
"navigationBarTitleText": "注册" "navigationBarTitleText": "注册"
} }
}, { },
"path": "pages/index", // {
"style": { // "path": "pages/index",
"navigationBarTitleText": "首页", // "style": {
"navigationStyle": "custom" // "navigationBarTitleText": "首页",
} // "navigationStyle": "custom"
}, { // }
// },
{
"path": "pages/work/index", "path": "pages/work/index",
"style": { "style": {
"navigationBarTitleText": "工作台" "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", "path": "pages/handlecase/index",
"style": { "style": {
@@ -165,30 +169,37 @@
"navigationBarTitleText": "在线开庭", "navigationBarTitleText": "在线开庭",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
{
"path": "pages/realName",
"style": {
"navigationBarTitleText": "实名认证",
"enablePullDownRefresh": false
}
} }
], ],
"tabBar": { // "tabBar": {
"color": "#000000", // "color": "#000000",
"selectedColor": "#000000", // "selectedColor": "#000000",
"borderStyle": "white", // "borderStyle": "white",
"backgroundColor": "#ffffff", // "backgroundColor": "#ffffff",
"list": [{ // "list": [{
"pagePath": "pages/index", // "pagePath": "pages/index",
"iconPath": "static/images/tabbar/home.png", // "iconPath": "static/images/tabbar/home.png",
"selectedIconPath": "static/images/tabbar/home_.png", // "selectedIconPath": "static/images/tabbar/home_.png",
"text": "首页" // "text": "首页"
}, { // }, {
"pagePath": "pages/work/index", // "pagePath": "pages/work/index",
"iconPath": "static/images/tabbar/work.png", // "iconPath": "static/images/tabbar/work.png",
"selectedIconPath": "static/images/tabbar/work_.png", // "selectedIconPath": "static/images/tabbar/work_.png",
"text": "工作台" // "text": "工作台"
}, { // }, {
"pagePath": "pages/mine/index", // "pagePath": "pages/mine/index",
"iconPath": "static/images/tabbar/mine.png", // "iconPath": "static/images/tabbar/mine.png",
"selectedIconPath": "static/images/tabbar/mine_.png", // "selectedIconPath": "static/images/tabbar/mine_.png",
"text": "我的" // "text": "我的"
}] // }]
}, // },
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "RuoYi", "navigationBarTitleText": "RuoYi",
+54 -23
View File
@@ -44,41 +44,43 @@
<uni-data-checkbox class='checkbox' v-model="subnitForm.objectionAddEviden" <uni-data-checkbox class='checkbox' v-model="subnitForm.objectionAddEviden"
:localdata="maintenancetypeArr" @change='uploadEvidenceChange'></uni-data-checkbox> :localdata="maintenancetypeArr" @change='uploadEvidenceChange'></uni-data-checkbox>
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="是否需要开庭审理" label-width="120px" name="openCourtHear" required> <!-- <uni-forms-item label="是否需要开庭审理" label-width="120px" name="openCourtHear" required>
<uni-data-checkbox class='checkbox' v-model="subnitForm.openCourtHear" <uni-data-checkbox class='checkbox' v-model="subnitForm.openCourtHear"
:localdata="arbitrationmethodArr" @change='arbitrationmethod'></uni-data-checkbox> :localdata="arbitrationmethodArr" @change='arbitrationmethod'></uni-data-checkbox>
</uni-forms-item> </uni-forms-item> -->
<uni-forms-item label="是否指派仲裁员" label-width="120px" name="pendingAppointArbotrar" required> <uni-forms-item label="是否指派仲裁员" label-width="120px" name="pendingAppointArbotrar" required>
<uni-data-checkbox class='checkbox' v-model="subnitForm.pendingAppointArbotrar" <uni-data-checkbox class='checkbox' v-model="subnitForm.pendingAppointArbotrar"
:localdata="uploadEvidence" @change='maintenancetypeChange'></uni-data-checkbox> :localdata="uploadEvidence" @change='maintenancetypeChange'></uni-data-checkbox>
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="是否仲裁反请求" label-width="120px" name="objectiJuris" required>
<uni-data-checkbox class='checkbox' v-model="subnitForm.objectiJuris"
:localdata="objectiJurisArr"></uni-data-checkbox>
</uni-forms-item>
<uni-forms-item label="是否管辖异议申请" label-width="120px" name="adjudicaCounter" required>
<uni-data-checkbox class='checkbox' v-model="subnitForm.adjudicaCounter"
:localdata="adjudicaCounterArr"></uni-data-checkbox>
</uni-forms-item>
<uni-forms-item label="上传证据" name="headImage" label-width="120px" v-if="caseFlag"> <uni-forms-item label="上传证据" name="headImage" label-width="120px" v-if="caseFlag">
<uni-file-picker ref="files" :auto-upload="false" @select="select" :limit='1' /> <uni-file-picker ref="files" :auto-upload="false" @select="select" :limit='1' />
</uni-forms-item> </uni-forms-item>
</view> </view>
</uni-forms> </uni-forms>
<view class="uni-list" v-if="selectFlag"> <view class="uni-list" v-if="selectFlag">
<checkbox-group @change="checkboxChange"> <radio-group @change="checkboxChange" style="width: 100%;">
<label class="uni-list-cell uni-list-cell-pd" v-for="item in items" :key="item.userId"> <label class="uni-list-cell uni-list-cell-pd" v-for="item in items" :key="item.userId">
<view> <view>
<checkbox :value="item.userId + ''" /> <radio :value="item.userId + ''" />
</view> </view>
<view class="main"> <view class="main">
<view class=""> <view class="">
仲裁员姓名:{{item.nickName}} 仲裁员姓名:{{item.nickName}}
</view> </view>
<!-- <view class="">
当前案件数量:{{item.currentCaseNum}}
</view>
<view class=""> <view class="">
已结案数量:{{item.closedCaseNum}} 介绍:{{item.remark || ''}}
</view> -->
<view class="">
介绍:{{item.remark}}
</view> </view>
</view> </view>
</label> </label>
</checkbox-group> </radio-group>
</view> </view>
<button type="primary" @click="submitImg">确认提交</button> <button type="primary" @click="submitImg">确认提交</button>
</view> </view>
@@ -104,7 +106,12 @@
data() { data() {
return { return {
formData: {}, formData: {},
subnitForm: {}, subnitForm: {
objectionAddEviden:0,
pendingAppointArbotrar:0,
objectiJuris:0,
adjudicaCounter:0
},
selectFlag: false, selectFlag: false,
caseFlag: false, caseFlag: false,
tempFilePaths: null, tempFilePaths: null,
@@ -152,6 +159,20 @@
text: '否', text: '否',
value: 0 value: 0
}], }],
objectiJurisArr: [{
text: '是',
value: 1
}, {
text: '否',
value: 0
}],
adjudicaCounterArr: [{
text: '是',
value: 1
}, {
text: '否',
value: 0
}],
items: [] items: []
} }
}, },
@@ -175,18 +196,28 @@
} }
}, },
checkboxChange(e) { checkboxChange(e) {
let idArr = e.detail.value; let params = parseInt(e.detail.value);
let numberArray = idArr.map(str => parseInt(str)); console.log(params,"LLLLLLLLLL");
const result = this.items.filter(item => numberArray.includes(item.userId)); let result = "";
let arbitrators = [] this.items.forEach(item=>{
result.forEach(item => { if(item.userId == params){
arbitrators.push({ result = item.nickName
id: item.userId, }
arbitratorName: 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; this.subnitForm.arbitrators = arbitrators;
console.log(this.subnitForm.arbitrators,"PPPPPPPPPPPPPP"); // console.log(this.subnitForm.arbitrators,"PPPPPPPPPPPPPP");
}, },
getData(parms) { getData(parms) {
respondentDetail(parms).then(res => { respondentDetail(parms).then(res => {
+1 -1
View File
@@ -13,7 +13,7 @@
}, },
onLoad: function() { onLoad: function() {
this.name = this.$store.state.user.name; 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}` // this.sendImg = `http://localhost:8080/#/?name=${this.name}`
}, },
+1 -1
View File
@@ -2,7 +2,7 @@
<view class="content"> <view class="content">
<image class="logo" src="@/static/chuizi.png"></image> <image class="logo" src="@/static/chuizi.png"></image>
<view class="text-area"> <view class="text-area">
<text class="title">法务系统</text> <text class="title">仲裁系统</text>
</view> </view>
</view> </view>
</template> </template>
+5 -5
View File
@@ -3,7 +3,7 @@
<view class="logo-content align-center justify-center flex"> <view class="logo-content align-center justify-center flex">
<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix"> <image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
</image> </image>
<text class="title">法务平台</text> <text class="title">仲裁平台</text>
</view> </view>
<view class="login-form-content"> <view class="login-form-content">
<view class="input-item flex align-center"> <view class="input-item flex align-center">
@@ -56,8 +56,8 @@
register: true, register: true,
globalConfig: getApp().globalData.config, globalConfig: getApp().globalData.config,
loginForm: { loginForm: {
username: "admin", username: "",
password: "admin123", password: "",
code: "", code: "",
uuid: '' uuid: ''
} }
@@ -69,7 +69,7 @@
methods: { methods: {
// 用户注册 // 用户注册
handleUserRegister() { handleUserRegister() {
this.$tab.redirectTo(`/pages/register`) this.$tab.redirectTo(`/pages/realName`)
}, },
// 隐私协议 // 隐私协议
handlePrivacy() { handlePrivacy() {
@@ -119,7 +119,7 @@
loginSuccess(result) { loginSuccess(result) {
// 设置用户信息 // 设置用户信息
this.$store.dispatch('GetInfo').then(res => { this.$store.dispatch('GetInfo').then(res => {
this.$tab.reLaunch('/pages/index') this.$tab.reLaunch('/pages/work/index')
}) })
} }
} }
+76
View File
@@ -0,0 +1,76 @@
<template>
<view class="page-body">
<view class="action-btn">
<button @click="handleRegister()" class="register-btn cu-btn block bg-blue lg round">点击进行实名认证</button>
</view>
</view>
</template>
<script>
import {
startEid
} from '@/mp_ecard_sdk/main.js'
import {
getEidtoken,
sendEidtoken
} from "@/api/login.js"
export default{
data(){
return{
eidToken: ""
}
},
methods:{
// 获取eidtoken
getEidtokenFn() {
getEidtoken({}).then(res => {
this.eidToken = res.data.EidToken
})
},
// 点击实名认证
handleRegister() {
let that = this
startEid({
data: {
token: this.eidToken,
},
verifyDoneCallback(res) {
const {
token,
verifyDone
} = res;
console.log('收到核身完成的res:', res);
console.log('核身的token是:', token);
console.log('是否完成核身:', verifyDone);
sendEidtoken({
"eidToken": token
}).then(res => {
// that.certificationStatus = '1
let params = {}
params.nickName = res.data.name;
params.idCard = res.data.identityNo;
params.id = res.data.id;
console.log(params,"PPPPPPPPPPPPP");
uni.navigateTo({
url: '/pages/register?params=' + JSON.stringify(
params)
});
})
},
});
}
},
onLoad() {
this.getEidtokenFn()
},
}
</script>
<style lang="scss">
.page-body{
background-color: #ffffff;
.register-btn{
margin-top: 30rpx;
}
}
</style>
+110 -22
View File
@@ -3,23 +3,51 @@
<view class="logo-content align-center justify-center flex"> <view class="logo-content align-center justify-center flex">
<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix"> <image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
</image> </image>
<text class="title">法务系统注册</text> <text class="title">仲裁系统注册</text>
</view> </view>
<view class="login-form-content"> <view class="login-form-content">
<view class="input-item flex align-center"> <view class="input-item flex align-center" style="width: 60%;margin: 0px;">
<view class="iconfont icon-user icon"></view> <!-- <view class="iconfont icon-user icon"></view> -->
<input v-model="registerForm.username" class="input" type="text" placeholder="请输入账号" maxlength="30" /> <input v-model="registerForm.phone" class="input" type="number" placeholder="请输入手机号"
maxlength="30" />
<view class="login-code">
<button class="login-code-img" type="primary" :disabled="codeDisabled"
@tap="getCodeNumber(registerForm.phone)">{{codeText}}</button>
</view>
</view> </view>
<view class="input-item flex align-center"> <view class="input-item flex align-center">
<view class="iconfont icon-password icon"></view> <!-- <view class="iconfont icon-user icon"></view> -->
<input v-model="registerForm.password" type="password" class="input" placeholder="请输入密码" maxlength="20" /> <input v-model="registerForm.verifyCode" class="input" type="number" placeholder="请输入手机验证码"
maxlength="30" />
</view> </view>
<view class="input-item flex align-center"> <view class="input-item flex align-center">
<view class="iconfont icon-password icon"></view> <!-- <view class="iconfont icon-user icon"></view> -->
<input v-model="registerForm.confirmPassword" type="password" class="input" placeholder="请输入重复密码" maxlength="20" /> <input v-model="registerForm.identityNo" class="input" type="text" placeholder="请输入身份证号" maxlength="30" />
</view>
<view class="input-item flex align-center">
<!-- <view class="iconfont icon-user icon"></view> -->
<input v-model="registerForm.email" class="input" type="text" placeholder="请输入邮箱" maxlength="30" />
</view>
<view class="input-item flex align-center">
<!-- <view class="iconfont icon-user icon"></view> -->
<input v-model="registerForm.name" class="input" type="text" placeholder="请输入用户名" maxlength="30" />
</view>
<view class="input-item flex align-center">
<!-- <view class="iconfont icon-user icon"></view> -->
<input v-model="registerForm.userName" class="input" type="text" placeholder="请输入账号" maxlength="30" />
</view>
<view class="input-item flex align-center">
<!-- <view class="iconfont icon-password icon"></view> -->
<input v-model="registerForm.passWord" type="password" class="input" placeholder="请输入密码"
maxlength="20" />
</view>
<view class="input-item flex align-center">
<!-- <view class="iconfont icon-password icon"></view> -->
<input v-model="registerForm.confirmPassword" type="password" class="input" placeholder="请输入重复密码"
maxlength="20" />
</view> </view>
<view class="input-item flex align-center" style="width: 60%;margin: 0px;" v-if="captchaEnabled"> <view class="input-item flex align-center" style="width: 60%;margin: 0px;" v-if="captchaEnabled">
<view class="iconfont icon-code icon"></view> <!-- <view class="iconfont icon-code icon"></view> -->
<input v-model="registerForm.code" type="number" class="input" placeholder="请输入验证码" maxlength="4" /> <input v-model="registerForm.code" type="number" class="input" placeholder="请输入验证码" maxlength="4" />
<view class="login-code"> <view class="login-code">
<image :src="codeUrl" @click="getCode" class="login-code-img"></image> <image :src="codeUrl" @click="getCode" class="login-code-img"></image>
@@ -36,7 +64,12 @@
</template> </template>
<script> <script>
import { getCodeImg, register } from '@/api/login' import {
getCodeImg,
register,
sendCode,
wxregister
} from '@/api/login'
export default { export default {
data() { data() {
@@ -44,19 +77,61 @@
codeUrl: "", codeUrl: "",
captchaEnabled: true, captchaEnabled: true,
globalConfig: getApp().globalData.config, globalConfig: getApp().globalData.config,
codeText: "发送验证码",
codeDisabled: false,
registerForm: { registerForm: {
username: "", userName: "",
password: "", passWord: "",
confirmPassword: "", confirmPassword: "",
code: "", code: "",
uuid: '' uuid: '',
name: '',
identityNo: "",
id: ""
} }
} }
}, },
created() { created() {
this.getCode() this.getCode()
}, },
onLoad(option) {
let {
params
} = option
// this.improvedetail = JSON.parse(improvedetail)
let paramsObj = JSON.parse(params);
this.registerForm.name = paramsObj.nickName;
this.registerForm.identityNo = paramsObj.idCard
this.registerForm.id = paramsObj.id
},
methods: { methods: {
// 获取手机验证码
getCodeNumber(data) {
sendCode({
phone: data
}).then(res => {
uni.showModal({
title: "系统提示",
content: res.msg,
})
if (res.code != 200) {
return
} else {
let time = 60;
let timer = setInterval(() => {
time--;
this.codeDisabled = true;
this.codeText = time + 's重试'
if (time == 0) {
clearInterval(timer)
this.codeText = '发送验证码'
this.codeDisabled = false;
}
}, 1000)
}
})
},
// 用户登录 // 用户登录
handleUserLogin() { handleUserLogin() {
this.$tab.navigateTo(`/pages/login`) this.$tab.navigateTo(`/pages/login`)
@@ -73,16 +148,22 @@
}, },
// 注册方法 // 注册方法
async handleRegister() { async handleRegister() {
if (this.registerForm.username === "") { if (this.registerForm.userName === "") {
this.$modal.msgError("请输入您的账号") this.$modal.msgError("请输入您的账号")
} else if (this.registerForm.password === "") { } else if (this.registerForm.passWord === "") {
this.$modal.msgError("请输入您的密码") this.$modal.msgError("请输入您的密码")
} else if (this.registerForm.confirmPassword === "") { } else if (this.registerForm.confirmPassword === "") {
this.$modal.msgError("请再次输入您的密码") this.$modal.msgError("请再次输入您的密码")
} else if (this.registerForm.password !== this.registerForm.confirmPassword) { } else if (this.registerForm.passWord !== this.registerForm.confirmPassword) {
this.$modal.msgError("两次输入的密码不一致") this.$modal.msgError("两次输入的密码不一致")
} else if (this.registerForm.code === "" && this.captchaEnabled) { } else if (this.registerForm.code === "" && this.captchaEnabled) {
this.$modal.msgError("请输入验证码") this.$modal.msgError("请输入验证码")
} else if (this.registerForm.idCard === "") {
this.$modal.msgError("请输入身份证号码")
} else if (this.registerForm.phone === "") {
this.$modal.msgError("请输入手机号")
} else if (this.registerForm.email === "") {
this.$modal.msgError("请输入邮箱")
} else { } else {
this.$modal.loading("注册中,请耐心等待...") this.$modal.loading("注册中,请耐心等待...")
this.register() this.register()
@@ -90,14 +171,16 @@
}, },
// 用户注册 // 用户注册
async register() { async register() {
register(this.registerForm).then(res => { wxregister(this.registerForm).then(res => {
this.$modal.closeLoading() this.$modal.closeLoading()
uni.showModal({ uni.showModal({
title: "系统提示", title: "系统提示",
content: "恭喜你,您的账号 " + this.registerForm.username + " 注册成功!", content: "恭喜你,您的账号 " + this.registerForm.userName + " 注册成功!",
success: function (res) { success: function(res) {
if (res.confirm) { if (res.confirm) {
uni.redirectTo({ url: `/pages/login` }); uni.redirectTo({
url: `/pages/login`
});
} }
} }
}) })
@@ -125,6 +208,7 @@
.normal-login-container { .normal-login-container {
width: 100%; width: 100%;
background-color: #ffffff;
.logo-content { .logo-content {
width: 100%; width: 100%;
@@ -188,9 +272,13 @@
position: absolute; position: absolute;
margin-left: 10px; margin-left: 10px;
width: 200rpx; width: 200rpx;
} font-size: 28rpx;
}
} }
} }
.mini-btn {
height: 38px;
}
}
}
</style> </style>
+13 -13
View File
@@ -12,7 +12,7 @@
</uni-swiper-dot> </uni-swiper-dot>
<!-- 宫格组件 --> <!-- 宫格组件 -->
<uni-section v-if="certificationStatus == '1'" class="uni-section" title="系统管理" type="line"> <!-- <uni-section v-if="certificationStatus == '1'" class="uni-section" title="系统管理" type="line">
<template v-slot:right> <template v-slot:right>
已认证 已认证
</template> </template>
@@ -21,14 +21,14 @@
<template v-slot:right> <template v-slot:right>
未认证 未认证
</template> </template>
</uni-section> </uni-section> -->
<!-- <uni-section class="uni-section" title="系统管理" type="line"></uni-section> --> <!-- <uni-section class="uni-section" title="系统管理" type="line"></uni-section> -->
<view class="grid-body"> <view class="grid-body">
<uni-grid :column="4" :showBorder="false"> <uni-grid :column="4" :showBorder="false">
<uni-grid-item> <uni-grid-item>
<view class="grid-item-box" @tap="changeGrid(0)"> <view class="grid-item-box" @tap="changeGrid(0)">
<uni-icons type="calendar-filled" size="30" color="#327DD7"></uni-icons> <uni-icons type="calendar-filled" size="30" color="#327DD7"></uni-icons>
<text class="text">代办案件</text> <text class="text">待办案件</text>
</view> </view>
</uni-grid-item> </uni-grid-item>
<!-- <uni-grid-item> <!-- <uni-grid-item>
@@ -58,7 +58,7 @@
<uni-grid-item> <uni-grid-item>
<view class="grid-item-box" @tap="changeGrid(5)"> <view class="grid-item-box" @tap="changeGrid(5)">
<uni-icons type="bars" size="30" color="#327DD7"></uni-icons> <uni-icons type="bars" size="30" color="#327DD7"></uni-icons>
<text class="text">互联网庭</text> <text class="text">视频审理</text>
</view> </view>
</uni-grid-item> </uni-grid-item>
<uni-grid-item> <uni-grid-item>
@@ -126,14 +126,14 @@
}, },
changeGrid(e) { changeGrid(e) {
// this.$modal.showToast('模块建设中~') // this.$modal.showToast('模块建设中~')
if (this.certificationStatus == "0") { // if (this.certificationStatus == "0") {
uni.showToast({ // uni.showToast({
title: '请先完成实名认证', // title: '请先完成实名认证',
icon: 'none', // icon: 'none',
duration: 1000 // duration: 1000
}) // })
return // return
} // }
switch (e) { switch (e) {
case 0: case 0:
uni.navigateTo({ uni.navigateTo({
@@ -200,7 +200,7 @@
// // that.certificationStatus = '已认证' // // that.certificationStatus = '已认证'
// }) // })
this.getEidtokenFn() this.getEidtokenFn()
this.certificationStatus = uni.getStorageSync('certificationStatus') // this.certificationStatus = uni.getStorageSync('certificationStatus')
}, },
} }
</script> </script>
+1 -1
View File
@@ -5,7 +5,7 @@ const loginPage = "/pages/login"
// 页面白名单 // 页面白名单
const whiteList = [ const whiteList = [
'/pages/login', '/pages/register', '/pages/common/webview/index' '/pages/login', '/pages/register', '/pages/common/webview/index','/pages/realName','/mp_ecard_sdk/index/index'
] ]
// 检查地址白名单 // 检查地址白名单
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -38
View File
@@ -2,18 +2,7 @@
"pages": [ "pages": [
"pages/login", "pages/login",
"pages/register", "pages/register",
"pages/index",
"pages/work/index", "pages/work/index",
"pages/mine/index",
"pages/mine/avatar/index",
"pages/mine/info/index",
"pages/mine/info/edit",
"pages/mine/pwd/index",
"pages/mine/setting/index",
"pages/mine/help/index",
"pages/mine/about/index",
"pages/common/webview/index",
"pages/common/textview/index",
"pages/handlecase/index", "pages/handlecase/index",
"pages/handlecase/component/uploadEvidence", "pages/handlecase/component/uploadEvidence",
"pages/expressDelivery/index", "pages/expressDelivery/index",
@@ -25,7 +14,8 @@
"mp_ecard_sdk/protocol/privacy/privacy", "mp_ecard_sdk/protocol/privacy/privacy",
"mp_ecard_sdk/protocol/service/service", "mp_ecard_sdk/protocol/service/service",
"mp_ecard_sdk/protocol/userAccredit/userAccredit", "mp_ecard_sdk/protocol/userAccredit/userAccredit",
"pages/im/index" "pages/im/index",
"pages/realName"
], ],
"subPackages": [], "subPackages": [],
"window": { "window": {
@@ -33,32 +23,6 @@
"navigationBarTitleText": "RuoYi", "navigationBarTitleText": "RuoYi",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
}, },
"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": "我的"
}
]
},
"permission": {}, "permission": {},
"usingComponents": {} "usingComponents": {}
} }
+20 -13
View File
@@ -1,8 +1,7 @@
{ {
"description": "项目配置文件。", "description": "项目配置文件。",
"packOptions": { "packOptions": {
"ignore": [], "ignore": []
"include": []
}, },
"setting": { "setting": {
"urlCheck": false, "urlCheck": false,
@@ -10,20 +9,28 @@
"postcss": true, "postcss": true,
"minified": true, "minified": true,
"newFeature": true, "newFeature": true,
"bigPackageSizeSupport": true, "bigPackageSizeSupport": true
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "3.0.1", "libVersion": "",
"appid": "wx91cb8459dca561b4", "appid": "wx91cb8459dca561b4",
"projectname": "智慧仲裁", "projectname": "智慧仲裁",
"condition": {}, "condition": {
"editorSetting": { "search": {
"tabIndent": "insertSpaces", "current": -1,
"tabSize": 2 "list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
} }
} }