| | |
| | | </el-form> |
| | | </div> |
| | | <el-radio-group v-model="data.tabName" style="margin-bottom: 30px" @change="changBtn"> |
| | | <el-radio-button label="all" v-if="data.userType == 0 || data.userType == 6">全部</el-radio-button> |
| | | <el-radio-button label="apply" >我申请的</el-radio-button> |
| | | <el-radio-button label="approval">待审批的</el-radio-button> |
| | | </el-radio-group> |
| | |
| | | nextCheck:null, |
| | | applyUserId: null |
| | | }, |
| | | tabName:'apply', |
| | | tabName:'', |
| | | companyList: [], |
| | | isAdmin: false, |
| | | userId: null, |
| | | showDialog: false, |
| | | userType: null, |
| | | applyForm: { |
| | | useSealId: null, |
| | | approveUserId: null, |
| | |
| | | const userInfo = JSON.parse(Cookies.get('userInfo')) |
| | | console.log("userInfo",userInfo) |
| | | data.isAdmin = userInfo.userType === 0; |
| | | data.userType = userInfo.userType |
| | | data.tabName = userInfo.userType == 0 || userInfo.userType == 6 ?'all':'apply' |
| | | data.userId = userInfo.id |
| | | data.queryParams.applyUserId = userInfo.id |
| | | if(data.isAdmin){ |