1123提交 #15

Merged
hanchaobo merged 2 commits from hcb into dev 2023-11-23 06:37:48 +00:00
20 changed files with 557 additions and 359 deletions
+2 -2
View File
@@ -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();
+20
View File
@@ -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
})
}
+2 -1
View File
@@ -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',
+90 -79
View File
@@ -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",
+54 -23
View File
@@ -44,41 +44,43 @@
<uni-data-checkbox class='checkbox' v-model="subnitForm.objectionAddEviden"
:localdata="maintenancetypeArr" @change='uploadEvidenceChange'></uni-data-checkbox>
</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"
:localdata="arbitrationmethodArr" @change='arbitrationmethod'></uni-data-checkbox>
</uni-forms-item>
</uni-forms-item> -->
<uni-forms-item label="是否指派仲裁员" label-width="120px" name="pendingAppointArbotrar" required>
<uni-data-checkbox class='checkbox' v-model="subnitForm.pendingAppointArbotrar"
:localdata="uploadEvidence" @change='maintenancetypeChange'></uni-data-checkbox>
</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-file-picker ref="files" :auto-upload="false" @select="select" :limit='1' />
</uni-forms-item>
</view>
</uni-forms>
<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">
<view>
<checkbox :value="item.userId + ''" />
<radio :value="item.userId + ''" />
</view>
<view class="main">
<view class="">
仲裁员姓名:{{item.nickName}}
</view>
<!-- <view class="">
当前案件数量:{{item.currentCaseNum}}
</view>
<view class="">
已结案数量:{{item.closedCaseNum}}
</view> -->
<view class="">
介绍:{{item.remark}}
介绍:{{item.remark || ''}}
</view>
</view>
</label>
</checkbox-group>
</radio-group>
</view>
<button type="primary" @click="submitImg">确认提交</button>
</view>
@@ -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 => {
+1 -1
View File
@@ -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}`
},
+1 -1
View File
@@ -2,7 +2,7 @@
<view class="content">
<image class="logo" src="@/static/chuizi.png"></image>
<view class="text-area">
<text class="title">法务系统</text>
<text class="title">仲裁系统</text>
</view>
</view>
</template>
+5 -5
View File
@@ -3,7 +3,7 @@
<view class="logo-content align-center justify-center flex">
<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
</image>
<text class="title">法务平台</text>
<text class="title">仲裁平台</text>
</view>
<view class="login-form-content">
<view class="input-item flex align-center">
@@ -56,8 +56,8 @@
register: true,
globalConfig: getApp().globalData.config,
loginForm: {
username: "admin",
password: "admin123",
username: "",
password: "",
code: "",
uuid: ''
}
@@ -69,7 +69,7 @@
methods: {
// 用户注册
handleUserRegister() {
this.$tab.redirectTo(`/pages/register`)
this.$tab.redirectTo(`/pages/realName`)
},
// 隐私协议
handlePrivacy() {
@@ -119,7 +119,7 @@
loginSuccess(result) {
// 设置用户信息
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>
+264 -176
View File
@@ -1,196 +1,284 @@
<template>
<view class="normal-login-container">
<view class="logo-content align-center justify-center flex">
<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
</image>
<text class="title">法务系统注册</text>
</view>
<view class="login-form-content">
<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 class="input-item flex align-center" style="width: 60%;margin: 0px;" v-if="captchaEnabled">
<view class="iconfont icon-code icon"></view>
<input v-model="registerForm.code" type="number" class="input" placeholder="请输入验证码" maxlength="4" />
<view class="login-code">
<image :src="codeUrl" @click="getCode" class="login-code-img"></image>
</view>
</view>
<view class="action-btn">
<button @click="handleRegister()" class="register-btn cu-btn block bg-blue lg round">注册</button>
</view>
</view>
<view class="xieyi text-center">
<text @click="handleUserLogin" class="text-blue">使用已有账号登录</text>
</view>
</view>
<view class="normal-login-container">
<view class="logo-content align-center justify-center flex">
<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
</image>
<text class="title">仲裁系统注册</text>
</view>
<view class="login-form-content">
<view class="input-item flex align-center" style="width: 60%;margin: 0px;">
<!-- <view class="iconfont icon-user icon"></view> -->
<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 class="input-item flex align-center">
<!-- <view class="iconfont icon-user icon"></view> -->
<input v-model="registerForm.verifyCode" class="input" type="number" placeholder="请输入手机验证码"
maxlength="30" />
</view>
<view class="input-item flex align-center">
<!-- <view class="iconfont icon-user icon"></view> -->
<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 class="input-item flex align-center" style="width: 60%;margin: 0px;" v-if="captchaEnabled">
<!-- <view class="iconfont icon-code icon"></view> -->
<input v-model="registerForm.code" type="number" class="input" placeholder="请输入验证码" maxlength="4" />
<view class="login-code">
<image :src="codeUrl" @click="getCode" class="login-code-img"></image>
</view>
</view>
<view class="action-btn">
<button @click="handleRegister()" class="register-btn cu-btn block bg-blue lg round">注册</button>
</view>
</view>
<view class="xieyi text-center">
<text @click="handleUserLogin" class="text-blue">使用已有账号登录</text>
</view>
</view>
</template>
<script>
import { getCodeImg, register } from '@/api/login'
import {
getCodeImg,
register,
sendCode,
wxregister
} from '@/api/login'
export default {
data() {
return {
codeUrl: "",
captchaEnabled: true,
globalConfig: getApp().globalData.config,
registerForm: {
username: "",
password: "",
confirmPassword: "",
code: "",
uuid: ''
}
}
},
created() {
this.getCode()
},
methods: {
// 用户登录
handleUserLogin() {
this.$tab.navigateTo(`/pages/login`)
},
// 获取图形验证码
getCode() {
getCodeImg().then(res => {
this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled
if (this.captchaEnabled) {
this.codeUrl = 'data:image/gif;base64,' + res.img
this.registerForm.uuid = res.uuid
}
})
},
// 注册方法
async handleRegister() {
if (this.registerForm.username === "") {
this.$modal.msgError("请输入您的账号")
} else if (this.registerForm.password === "") {
this.$modal.msgError("请输入您的密码")
} else if (this.registerForm.confirmPassword === "") {
this.$modal.msgError("请再次输入您的密码")
} else if (this.registerForm.password !== this.registerForm.confirmPassword) {
this.$modal.msgError("两次输入的密码不一致")
} else if (this.registerForm.code === "" && this.captchaEnabled) {
this.$modal.msgError("请输入验证码")
} else {
this.$modal.loading("注册中,请耐心等待...")
this.register()
}
},
// 用户注册
async register() {
register(this.registerForm).then(res => {
this.$modal.closeLoading()
uni.showModal({
title: "系统提示",
content: "恭喜你,您的账号 " + this.registerForm.username + " 注册成功!",
success: function (res) {
if (res.confirm) {
uni.redirectTo({ url: `/pages/login` });
}
}
})
}).catch(() => {
if (this.captchaEnabled) {
this.getCode()
}
})
},
// 注册成功后,处理函数
registerSuccess(result) {
// 设置用户信息
this.$store.dispatch('GetInfo').then(res => {
this.$tab.reLaunch('/pages/index')
})
}
}
}
export default {
data() {
return {
codeUrl: "",
captchaEnabled: true,
globalConfig: getApp().globalData.config,
codeText: "发送验证码",
codeDisabled: false,
registerForm: {
userName: "",
passWord: "",
confirmPassword: "",
code: "",
uuid: '',
name: '',
identityNo: "",
id: ""
}
}
},
created() {
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: {
// 获取手机验证码
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() {
this.$tab.navigateTo(`/pages/login`)
},
// 获取图形验证码
getCode() {
getCodeImg().then(res => {
this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled
if (this.captchaEnabled) {
this.codeUrl = 'data:image/gif;base64,' + res.img
this.registerForm.uuid = res.uuid
}
})
},
// 注册方法
async handleRegister() {
if (this.registerForm.userName === "") {
this.$modal.msgError("请输入您的账号")
} else if (this.registerForm.passWord === "") {
this.$modal.msgError("请输入您的密码")
} else if (this.registerForm.confirmPassword === "") {
this.$modal.msgError("请再次输入您的密码")
} else if (this.registerForm.passWord !== this.registerForm.confirmPassword) {
this.$modal.msgError("两次输入的密码不一致")
} else if (this.registerForm.code === "" && this.captchaEnabled) {
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 {
this.$modal.loading("注册中,请耐心等待...")
this.register()
}
},
// 用户注册
async register() {
wxregister(this.registerForm).then(res => {
this.$modal.closeLoading()
uni.showModal({
title: "系统提示",
content: "恭喜你,您的账号 " + this.registerForm.userName + " 注册成功!",
success: function(res) {
if (res.confirm) {
uni.redirectTo({
url: `/pages/login`
});
}
}
})
}).catch(() => {
if (this.captchaEnabled) {
this.getCode()
}
})
},
// 注册成功后,处理函数
registerSuccess(result) {
// 设置用户信息
this.$store.dispatch('GetInfo').then(res => {
this.$tab.reLaunch('/pages/index')
})
}
}
}
</script>
<style lang="scss">
page {
background-color: #ffffff;
}
page {
background-color: #ffffff;
}
.normal-login-container {
width: 100%;
.normal-login-container {
width: 100%;
background-color: #ffffff;
.logo-content {
width: 100%;
font-size: 21px;
text-align: center;
padding-top: 15%;
.logo-content {
width: 100%;
font-size: 21px;
text-align: center;
padding-top: 15%;
image {
border-radius: 4px;
}
image {
border-radius: 4px;
}
.title {
margin-left: 10px;
}
}
.title {
margin-left: 10px;
}
}
.login-form-content {
text-align: center;
margin: 20px auto;
margin-top: 15%;
width: 80%;
.login-form-content {
text-align: center;
margin: 20px auto;
margin-top: 15%;
width: 80%;
.input-item {
margin: 20px auto;
background-color: #f5f6f7;
height: 45px;
border-radius: 20px;
.input-item {
margin: 20px auto;
background-color: #f5f6f7;
height: 45px;
border-radius: 20px;
.icon {
font-size: 38rpx;
margin-left: 10px;
color: #999;
}
.icon {
font-size: 38rpx;
margin-left: 10px;
color: #999;
}
.input {
width: 100%;
font-size: 14px;
line-height: 20px;
text-align: left;
padding-left: 15px;
}
.input {
width: 100%;
font-size: 14px;
line-height: 20px;
text-align: left;
padding-left: 15px;
}
}
}
.register-btn {
margin-top: 40px;
height: 45px;
}
.register-btn {
margin-top: 40px;
height: 45px;
}
.xieyi {
color: #333;
margin-top: 20px;
}
.login-code {
height: 38px;
float: right;
.login-code-img {
height: 38px;
position: absolute;
margin-left: 10px;
width: 200rpx;
}
}
}
}
.xieyi {
color: #333;
margin-top: 20px;
}
</style>
.login-code {
height: 38px;
float: right;
.login-code-img {
height: 38px;
position: absolute;
margin-left: 10px;
width: 200rpx;
font-size: 28rpx;
}
}
.mini-btn {
height: 38px;
}
}
}
</style>
+13 -13
View File
@@ -12,7 +12,7 @@
</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>
@@ -21,14 +21,14 @@
<template v-slot:right>
未认证
</template>
</uni-section>
</uni-section> -->
<!-- <uni-section class="uni-section" title="系统管理" type="line"></uni-section> -->
<view class="grid-body">
<uni-grid :column="4" :showBorder="false">
<uni-grid-item>
<view class="grid-item-box" @tap="changeGrid(0)">
<uni-icons type="calendar-filled" size="30" color="#327DD7"></uni-icons>
<text class="text">代办案件</text>
<text class="text">待办案件</text>
</view>
</uni-grid-item>
<!-- <uni-grid-item>
@@ -58,7 +58,7 @@
<uni-grid-item>
<view class="grid-item-box" @tap="changeGrid(5)">
<uni-icons type="bars" size="30" color="#327DD7"></uni-icons>
<text class="text">互联网庭</text>
<text class="text">视频审理</text>
</view>
</uni-grid-item>
<uni-grid-item>
@@ -126,14 +126,14 @@
},
changeGrid(e) {
// this.$modal.showToast('模块建设中~')
if (this.certificationStatus == "0") {
uni.showToast({
title: '请先完成实名认证',
icon: 'none',
duration: 1000
})
return
}
// if (this.certificationStatus == "0") {
// uni.showToast({
// title: '请先完成实名认证',
// icon: 'none',
// duration: 1000
// })
// return
// }
switch (e) {
case 0:
uni.navigateTo({
@@ -200,7 +200,7 @@
// // that.certificationStatus = '已认证'
// })
this.getEidtokenFn()
this.certificationStatus = uni.getStorageSync('certificationStatus')
// this.certificationStatus = uni.getStorageSync('certificationStatus')
},
}
</script>
+1 -1
View File
@@ -5,7 +5,7 @@ const loginPage = "/pages/login"
// 页面白名单
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/login",
"pages/register",
"pages/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/component/uploadEvidence",
"pages/expressDelivery/index",
@@ -25,7 +14,8 @@
"mp_ecard_sdk/protocol/privacy/privacy",
"mp_ecard_sdk/protocol/service/service",
"mp_ecard_sdk/protocol/userAccredit/userAccredit",
"pages/im/index"
"pages/im/index",
"pages/realName"
],
"subPackages": [],
"window": {
@@ -33,32 +23,6 @@
"navigationBarTitleText": "RuoYi",
"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": {},
"usingComponents": {}
}
+20 -13
View File
@@ -1,8 +1,7 @@
{
"description": "项目配置文件。",
"packOptions": {
"ignore": [],
"include": []
"ignore": []
},
"setting": {
"urlCheck": false,
@@ -10,20 +9,28 @@
"postcss": true,
"minified": true,
"newFeature": true,
"bigPackageSizeSupport": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
"bigPackageSizeSupport": true
},
"compileType": "miniprogram",
"libVersion": "3.0.1",
"libVersion": "",
"appid": "wx91cb8459dca561b4",
"projectname": "智慧仲裁",
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}
}