wjt
2024-06-22 27da067243b78340dac4f75c5131059617594037
页面调整注册页面添加
1个文件已删除
7个文件已修改
59 ■■■■■ 已修改文件
api/auth.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/registerCompany/registerCompany.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
policy/components/popup.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
policy/policyApply/perPage.vue 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
policy/policyApply/policyApply.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
policy/scodePage/scodePage.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
policy/translate/translate.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/policy/loginHeaer1.png 补丁 | 查看 | 原始文档 | blame | 历史
api/auth.js
@@ -28,4 +28,8 @@
// 查询惠企政策
export function docList(data) {
    return http.get(`/system/doc/list`, {params: data});
}
// 新注册获取验证码 /verify/getNew
export function getNewVerify(data) {
    return http.get(`/verify/getNew`, {params: data});
}
pages/registerCompany/registerCompany.vue
@@ -83,7 +83,7 @@
</template>
<script>
    import { registerCompany, checkCode, getCode } from '@/api/auth.js'
    import { registerCompany, checkCode, getNewVerify } from '@/api/auth.js'
    import { upload } from '@/common/upload'
    import { config } from '@/common/config.js'
    export default {
@@ -137,11 +137,13 @@
                    uni.showLoading({
                        title: '正在获取验证码'
                    })
                    getCode({phone: this.form.companyPhone }).then(val => {
                    getNewVerify({phone: this.form.companyPhone }).then(val => {
                        if(val.data.code == 200) {
                            this.startCountdown()
                            uni.hideLoading();
                            this.tips = `${this.countdownTime}s后重新获取`
                            uni.$u.toast('验证码已发送');
                        }
                    })
                } else {
                    uni.$u.toast('倒计时结束后再发送');
policy/components/popup.vue
@@ -1,5 +1,5 @@
<template>
    <u-popup  :show="show" @close="close" @open="open" mode="bottom" round="10" closeable>
    <u-popup  :show="show" @close="close" @open="open" :safeAreaInsetBottom="false" mode="bottom" round="10" closeable>
        <view class="page-box">
            <view class="title">
                执法申请审批
policy/policyApply/perPage.vue
@@ -2,12 +2,14 @@
    <u-popup mode="button" :safeAreaInsetBottom="false" :show="show" @close="close" @open="open" z-index="8000" bgColor="#fff">
        <view class="bg-box">
            <view class="title">选择随行人员</view>
            <u-checkbox-group     iconPlacement="right"  v-model="checkboxValue1" placement="column" @change="checkboxChange">
                <u-checkbox :customStyle="{marginBottom: '40rpx', }" v-for="(item, index) in checkboxList1" :key="index"
                     :name="item.userId" :label="`${item.dept.deptName}--${item.nickName}`">
                </u-checkbox>
            </u-checkbox-group>
            <view class="set-flex set-flex-content-between">
            <scroll-view scroll-y="true" style="height: 600rpx;">
                <u-checkbox-group     iconPlacement="right"  v-model="checkboxValue1" placement="column" @change="checkboxChange">
                    <u-checkbox :customStyle="{marginBottom: '40rpx', }" v-for="(item, index) in checkboxList1" :key="index"
                         :name="item.userId" :label="`${item.dept.deptName}--${item.nickName}`">
                    </u-checkbox>
                </u-checkbox-group>
            </scroll-view>
            <view class="set-flex set-flex-content-between down-options">
                <view class="button-per">
                    <u-button @click="close">取消</u-button>
                </view>
@@ -71,10 +73,12 @@
        bottom: 0;
        background-color: white;
        border-radius: 20rpx 20rpx 0 0;
        padding: 20rpx 32rpx;
        padding: 20rpx 32rpx 240rpx;
        z-index: 1000000;
        width: 100%;
        box-sizing: border-box;
        min-height: 400rpx;
        max-height: 800rpx;
    }
    .title{
        font-size: 36rpx;
@@ -84,4 +88,12 @@
    .button-per{
        width: 48%;
    }
    .down-options{
        position: fixed;
        bottom: 40rpx;
        width: 100%;
        box-sizing: border-box;
        padding: 0 32rpx;
        left: 0;
    }
</style>
policy/policyApply/policyApply.vue
@@ -166,10 +166,11 @@
                    applyDeptName: '',
                    enforceType: 1,
                    isNoticeCompany: 0,
                    regionReason: 0,
                    // regionReason: 0,
                    planTimeStr: '',
                    peers: [],
                    orderStatus: 1
                    orderStatus: 1,
                    enforceContent: ""
                },
                show: false,
                columns: [],
@@ -244,7 +245,7 @@
                if(!this.form.enforceTypeName){
                    return '请选择执法类型'
                }
                if(!this.form.regionReason) {
                if(!this.form.enforceContent) {
                    return '请填写执法内容'
                }
                if(!this.form.peers.length){
policy/scodePage/scodePage.vue
@@ -103,9 +103,6 @@
            
            this.getInfo()
        },
        onShow() {
        },
        methods: {
            getScanList(companyCode){
                getScanList({companyCode}).then(val => {
policy/translate/translate.vue
@@ -29,7 +29,7 @@
                                <text>申请时间:</text>{{item.applyTime}}
                            </view>
                        </view>
                        <view class="button" v-if="!isJudege" @click="goStartJudeg(item.orderId)">
                        <view class="button" v-if="!isJudege" @click="goStartJudeg([item.orderId])">
                            审批
                        </view>
                    </view>
@@ -119,12 +119,15 @@
                this.list[index].isSelect = !this.list[index].isSelect
            },
            allSelect() {
                this.list.map(item => item.isSelect = !this.isAllSelect)
                const value = this.isAllSelect
                this.list.map(item => item.isSelect = !value)
            },
            moreStart() {
                const value = this.list.some(item => item.isSelect)
                if(value) {
                    this.goStartJudeg()
                    const valueData = this.list.filter(item => item.isSelect).map(item => item.orderId)
                    // console.log(valueData)
                    this.goStartJudeg(valueData)
                } else {
                    uni.showToast({
                        title: '请选择审批',
@@ -134,7 +137,7 @@
            },
            entery(form) {
                // 1企业审批,2执法单审批
                checkUpd({...form, id: this.recordList, checkType: 2}).then(val => {
                checkUpd({...form, ids: this.recordList, checkType: 2}).then(val => {
                    if(val.data.code == 200) {
                        uni.showToast({
                            title: '审批成功',
static/policy/loginHeaer1.png
Binary files differ