mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 05:16:44 +08:00
入司优化:去除内勤审批流程 --提交人:阳华祥
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<div class="sale-list-container pb50">
|
||||
<van-sticky>
|
||||
<!--<van-sticky>
|
||||
<van-tabs v-model="appntNode" v-if="branchType === '1'" @change="change">
|
||||
<van-tab title="营业区经理" name="1"> </van-tab>
|
||||
<van-tab title="三级机构负责人" name="3"> </van-tab>
|
||||
<van-tab title="人员管理岗" name="5"> </van-tab>
|
||||
</van-tabs>
|
||||
</van-sticky>
|
||||
</van-sticky>-->
|
||||
<van-list v-model="loading" :immediate-check="false" :finished="finished" :finished-text="finishedText" @load="loadMore">
|
||||
<div v-if="isSuccess">
|
||||
<div v-if="approveList.length > 0">
|
||||
@@ -86,12 +86,14 @@ export default {
|
||||
if (res.result == 0) {
|
||||
this.branchType = /^N{1}/.test(res.branchType) ? '1' : '0' //res.branchType 以N打头的是内勤 其他是外勤
|
||||
this.approveName = encodeURI(res.name)
|
||||
if(this.branchType == '0'){
|
||||
this.getOrderList({
|
||||
pageNum: this.currentPage
|
||||
})
|
||||
}
|
||||
} else {
|
||||
return this.$toast(res.resultMessage)
|
||||
}
|
||||
this.getOrderList({
|
||||
pageNum: this.currentPage
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
change(tab) {
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
<script>
|
||||
import { List, Tag, Sticky, Toast, Dialog } from 'vant'
|
||||
import { agentAddApproval } from '@/api/ebiz/agentEenter/agentEenter.js'
|
||||
import { getAgentInfo } from '@/api/ebiz/my/my.js'
|
||||
|
||||
export default {
|
||||
name: 'approveList',
|
||||
@@ -66,12 +67,21 @@ export default {
|
||||
currentPage: 1, //当前页数
|
||||
finishedText: '',
|
||||
// pageSize: 15, //每页数据条数
|
||||
isSuccess: false
|
||||
isSuccess: false,
|
||||
branchType: '1'
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
async mounted() {
|
||||
document.getElementsByTagName('body')[0].classList.add('bg-white')
|
||||
this.loadMore()
|
||||
const res = await getAgentInfo({})
|
||||
if (res.result == 0) {
|
||||
this.branchType = /^N{1}/.test(res.branchType) ? '1' : '0' //res.branchType 以N打头的是内勤 其他是外勤
|
||||
if(this.branchType == '0'){
|
||||
this.loadMore()
|
||||
}
|
||||
} else {
|
||||
return this.$toast(res.resultMessage)
|
||||
}
|
||||
},
|
||||
destroyed() {
|
||||
document.getElementsByTagName('body')[0].classList.remove('bg-white')
|
||||
|
||||
Reference in New Issue
Block a user