1123提交
This commit is contained in:
@@ -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
@@ -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
@@ -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
@@ -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')
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user