添加内网用户登录
This commit is contained in:
@@ -59,7 +59,7 @@
|
|||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// getCodeImg()
|
// getCodeImg()
|
||||||
let form={}
|
let form={}
|
||||||
if (uni.getStorageSync('userInfo').isCompanyUser=='1') {
|
if (uni.getStorageSync('userInfo').isCompanyUser=='1' || uni.getStorageSync('userInfo').isCompanyUser=='2') {
|
||||||
form={
|
form={
|
||||||
usertype: '1',
|
usertype: '1',
|
||||||
idno: uni.getStorageSync('userInfo').idCard,
|
idno: uni.getStorageSync('userInfo').idCard,
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ async function jumps(url){
|
|||||||
|
|
||||||
async function thirdLogin(){
|
async function thirdLogin(){
|
||||||
let form={}
|
let form={}
|
||||||
if (uni.getStorageSync('userInfo').isCompanyUser=='1') {
|
if (uni.getStorageSync('userInfo').isCompanyUser=='1' || uni.getStorageSync('userInfo').isCompanyUser=='2') {
|
||||||
form={
|
form={
|
||||||
usertype: '1',
|
usertype: '1',
|
||||||
idno: uni.getStorageSync('userInfo').idCard,
|
idno: uni.getStorageSync('userInfo').idCard,
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ async function playVideo(video) {
|
|||||||
|
|
||||||
async function thirdLogin(){
|
async function thirdLogin(){
|
||||||
let form={}
|
let form={}
|
||||||
if (uni.getStorageSync('userInfo').isCompanyUser=='1') {
|
if (uni.getStorageSync('userInfo').isCompanyUser=='1'|| uni.getStorageSync('userInfo').isCompanyUser=='2') {
|
||||||
form={
|
form={
|
||||||
usertype: '1',
|
usertype: '1',
|
||||||
idno: uni.getStorageSync('userInfo').idCard,
|
idno: uni.getStorageSync('userInfo').idCard,
|
||||||
|
|||||||
@@ -157,7 +157,7 @@
|
|||||||
|
|
||||||
async function thirdLogin(needToast){
|
async function thirdLogin(needToast){
|
||||||
let form={}
|
let form={}
|
||||||
if (uni.getStorageSync('userInfo') && uni.getStorageSync('userInfo').isCompanyUser=='1') {
|
if (uni.getStorageSync('userInfo') && (uni.getStorageSync('userInfo').isCompanyUser=='1' || uni.getStorageSync('userInfo').isCompanyUser=='2')) {
|
||||||
form={
|
form={
|
||||||
usertype: '1',
|
usertype: '1',
|
||||||
idno: uni.getStorageSync('userInfo').idCard,
|
idno: uni.getStorageSync('userInfo').idCard,
|
||||||
|
|||||||
Reference in New Issue
Block a user