单点,删除错题本,首页跳转修改
This commit is contained in:
@@ -50,7 +50,8 @@ const prePage = () => {
|
|||||||
return prePage.$vm;
|
return prePage.$vm;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const urls ='http://10.110.145.145/images/train/'
|
// export const urls ='http://10.110.145.145/images/train/'
|
||||||
|
export const urls ='http://222.80.110.161:11111/images/train/'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 页面跳转封装,支持 query 参数传递和返回回调
|
* 页面跳转封装,支持 query 参数传递和返回回调
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="job-info">
|
<view class="job-info">
|
||||||
<view class="job-name">{{ item.jobTitle }}</view>
|
<view class="job-name">{{ item.jobTitle }}</view>
|
||||||
<view class="salary">{{ item.salaryRange }}元/月</view>
|
<view class="salary">{{ item.minSalary }} - {{ item.maxSalary }}元/月</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
12
config.js
12
config.js
@@ -3,10 +3,14 @@ export default {
|
|||||||
// baseUrl: 'http://222.80.110.161:11111/api/ks', // 测试
|
// baseUrl: 'http://222.80.110.161:11111/api/ks', // 测试
|
||||||
baseUrl: 'http://ks.zhaopinzao8dian.com/api/ks', // 测试
|
baseUrl: 'http://ks.zhaopinzao8dian.com/api/ks', // 测试
|
||||||
|
|
||||||
LCBaseUrl:'http://10.110.145.145:9100',//招聘、培训、帮扶
|
// LCBaseUrl:'http://10.110.145.145:9100',//内网端口
|
||||||
LCBaseUrlInner:'http://10.110.145.145:10100',//内网端口
|
// LCBaseUrlInner:'http://10.110.145.145:10100',//招聘、培训、帮扶
|
||||||
imgBaseUrl:'http://10.110.145.145/images', //图片基础url
|
// imgBaseUrl:'http://10.110.145.145/images', //图片基础url
|
||||||
trainVideoImgUrl:'http://10.110.145.145:9100/file/file/minio',
|
// trainVideoImgUrl:'http://10.110.145.145:9100/file/file/minio',
|
||||||
|
LCBaseUrl:'http://222.80.110.161:11111/prod-api',//内网端口
|
||||||
|
LCBaseUrlInner:'http://222.80.110.161:11111/prod-psout-api',//招聘、培训、帮扶
|
||||||
|
imgBaseUrl:'http://222.80.110.161:11111/images', //图片基础url
|
||||||
|
trainVideoImgUrl:'http://222.80.110.161:11111/prod-api/file/file/minio',
|
||||||
// sseAI+
|
// sseAI+
|
||||||
// StreamBaseURl: 'http://39.98.44.136:8000',
|
// StreamBaseURl: 'http://39.98.44.136:8000',
|
||||||
StreamBaseURl: 'https://qd.zhaopinzao8dian.com/ai',
|
StreamBaseURl: 'https://qd.zhaopinzao8dian.com/ai',
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<AppLayout title="" :use-scroll-view="false">
|
<AppLayout title="" :use-scroll-view="false">
|
||||||
<view class="wrap">
|
<view class="wrap">
|
||||||
<view class="login_index">
|
<!-- <view class="login_index">
|
||||||
<input class="input" placeholder="请输入账号" placeholder-class="inputplace" v-model="form.username" />
|
<input class="input" placeholder="请输入账号" placeholder-class="inputplace" v-model="form.username" />
|
||||||
<view class="login_yzm">
|
<view class="login_yzm">
|
||||||
<input class="input" type="password" placeholder="请输入密码" placeholder-class="inputplace"
|
<input class="input" type="password" placeholder="请输入密码" placeholder-class="inputplace"
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<button class="com-btn" @click="register">登 录</button>
|
<button class="com-btn" @click="register">登 录</button>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</AppLayout>
|
</AppLayout>
|
||||||
</template>
|
</template>
|
||||||
@@ -43,8 +43,8 @@
|
|||||||
const flag=ref('hlw')
|
const flag=ref('hlw')
|
||||||
|
|
||||||
const form = reactive({
|
const form = reactive({
|
||||||
username: 'langchaojituan',
|
username: '913700004941904564',
|
||||||
password: 'Aa123456?',
|
password: '913700004941904564',
|
||||||
rememberMe: false,
|
rememberMe: false,
|
||||||
code: '',
|
code: '',
|
||||||
uuid: ''
|
uuid: ''
|
||||||
@@ -57,7 +57,43 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getCodeImg()
|
// getCodeImg()
|
||||||
|
let form={}
|
||||||
|
if (uni.getStorageSync('userInfo').isCompanyUser=='1') {
|
||||||
|
form={
|
||||||
|
usertype: '1',
|
||||||
|
idno: uni.getStorageSync('userInfo').idCard,
|
||||||
|
name: uni.getStorageSync('userInfo').name,
|
||||||
|
enterprisecode:"",
|
||||||
|
enterprisename: "",
|
||||||
|
contactperson: "",
|
||||||
|
contactphone: "",
|
||||||
|
}
|
||||||
|
}else if (uni.getStorageSync('userInfo').isCompanyUser=='0') {
|
||||||
|
form={
|
||||||
|
usertype: "2",
|
||||||
|
enterprisecode: uni.getStorageSync('userInfo').idCard,
|
||||||
|
enterprisename: uni.getStorageSync('userInfo').name,
|
||||||
|
contactperson: "",
|
||||||
|
contactphone: "",
|
||||||
|
idno: "",
|
||||||
|
name: ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$api.myRequest('/auth/login2/ks',form,'post',10100).then((res) => {
|
||||||
|
if (res.code=='200') {
|
||||||
|
uni.setStorageSync('Padmin-Token', res.data.access_token)
|
||||||
|
uni.navigateBack({
|
||||||
|
delta:2
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}).catch(() => {
|
||||||
|
uni.hideLoading()
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'none',
|
||||||
|
title: '登录失败,请重试'
|
||||||
|
})
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
function register() {
|
function register() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<view class="tab-container">
|
<view class="tab-container">
|
||||||
<image src="/packageB/static/images/train/bj.jpg" mode=""></image>
|
<image src="/packageB/static/images/train/bj.jpg" mode=""></image>
|
||||||
<view>
|
<view>
|
||||||
<view class="btns" @click="jumps('/packageB/train/video/videoList')">
|
<!-- <view class="btns" @click="jumps('/packageB/train/video/videoList')">
|
||||||
<image src="/packageB/static/images/train/spxx-k.png" mode=""></image>
|
<image src="/packageB/static/images/train/spxx-k.png" mode=""></image>
|
||||||
<view>
|
<view>
|
||||||
<text>培训视频</text>
|
<text>培训视频</text>
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<image src="/packageB/static/images/train/arrow.png" mode=""></image>
|
<image src="/packageB/static/images/train/arrow.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
<view class="btns" @click="jumps('/packageB/train/practice/startPracticing')">
|
<view class="btns" @click="jumps('/packageB/train/practice/startPracticing')">
|
||||||
<image src="/packageB/static/images/train/zxxl-k.png" mode=""></image>
|
<image src="/packageB/static/images/train/zxxl-k.png" mode=""></image>
|
||||||
<view>
|
<view>
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="btns" @click="jumps('/packageB/train/wrongAnswer/mistakeNotebook')">
|
<!-- <view class="btns" @click="jumps('/packageB/train/wrongAnswer/mistakeNotebook')">
|
||||||
<image src="/packageB/static/images/train/ctb-k.png" mode=""></image>
|
<image src="/packageB/static/images/train/ctb-k.png" mode=""></image>
|
||||||
<view>
|
<view>
|
||||||
<text>错题本 </text>
|
<text>错题本 </text>
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- </AppLayout> -->
|
<!-- </AppLayout> -->
|
||||||
|
|||||||
@@ -13,9 +13,9 @@
|
|||||||
<view class="header-btnLf button-click" @click="seemsg(3)" :class="{ active: state.current === 3 }">
|
<view class="header-btnLf button-click" @click="seemsg(3)" :class="{ active: state.current === 3 }">
|
||||||
我参与的
|
我参与的
|
||||||
</view>
|
</view>
|
||||||
<view class="header-btnLf button-click" @click="navTo('/packageB/login')">
|
<!-- <view class="header-btnLf button-click" @click="navTo('/packageB/login')">
|
||||||
登录
|
登录
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="header-input btn-feel">
|
<view class="header-input btn-feel">
|
||||||
<uni-icons class="iconsearch" color="#666666" type="search" size="18"
|
<uni-icons class="iconsearch" color="#666666" type="search" size="18"
|
||||||
|
|||||||
@@ -117,20 +117,20 @@
|
|||||||
<view class="service-icon service-icon-5">
|
<view class="service-icon service-icon-5">
|
||||||
<IconfontIcon name="jinengpeixun" :size="48" color="#FFFFFF" />
|
<IconfontIcon name="jinengpeixun" :size="48" color="#FFFFFF" />
|
||||||
</view>
|
</view>
|
||||||
<view class="service-title">技能培训信息</view>
|
<view class="service-title">技能培训</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="service-item press-button" @click="handleServiceClick('skill-evaluation')">
|
<view class="service-item press-button" @click="handleServiceClick('skill-evaluation')">
|
||||||
<view class="service-icon service-icon-6">
|
<view class="service-icon service-icon-6">
|
||||||
<IconfontIcon name="jinengpingjia" :size="48" color="#FFFFFF" />
|
<IconfontIcon name="jinengpingjia" :size="48" color="#FFFFFF" />
|
||||||
</view>
|
</view>
|
||||||
<view class="service-title">技能评价指引</view>
|
<view class="service-title">技能评价</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="service-item press-button" @click="handleServiceClick('question-bank')">
|
<!-- <view class="service-item press-button" @click="handleServiceClick('question-bank')">
|
||||||
<view class="service-icon service-icon-7">
|
<view class="service-icon service-icon-7">
|
||||||
<IconfontIcon name="suzhicepingtiku" :size="48" color="#FFFFFF" />
|
<IconfontIcon name="suzhicepingtiku" :size="48" color="#FFFFFF" />
|
||||||
</view>
|
</view>
|
||||||
<view class="service-title">题库和考试</view>
|
<view class="service-title">题库和考试</view>
|
||||||
</view>
|
</view> -->
|
||||||
<view class="service-item press-button" @click="goCa()">
|
<view class="service-item press-button" @click="goCa()">
|
||||||
<view class="service-icon service-icon-8">
|
<view class="service-icon service-icon-8">
|
||||||
<IconfontIcon name="suzhicepingtiku" :size="48" color="#FFFFFF" />
|
<IconfontIcon name="suzhicepingtiku" :size="48" color="#FFFFFF" />
|
||||||
@@ -862,7 +862,8 @@ function navToService(serviceType) {
|
|||||||
'public-recruitment': '/pages/service/public-recruitment',
|
'public-recruitment': '/pages/service/public-recruitment',
|
||||||
'resume-creation': '/pages/resume-guide/resume-guide',
|
'resume-creation': '/pages/resume-guide/resume-guide',
|
||||||
'labor-policy': '/pages/service/labor-policy',
|
'labor-policy': '/pages/service/labor-policy',
|
||||||
'skill-training': '/pages/service/skill-training',
|
'skill-training': '/packageB/train/video/videoList',
|
||||||
|
'skill-evaluation': '/packageB/train/index',
|
||||||
// 'skill-evaluation': '/pages/service/skill-evaluation',
|
// 'skill-evaluation': '/pages/service/skill-evaluation',
|
||||||
'question-bank': '/pages/service/question-bank',
|
'question-bank': '/pages/service/question-bank',
|
||||||
// 'quality-assessment': '/packageCa/search/search',
|
// 'quality-assessment': '/packageCa/search/search',
|
||||||
@@ -874,9 +875,11 @@ function navToService(serviceType) {
|
|||||||
'interview-tips': '/pages/service/interview-tips',
|
'interview-tips': '/pages/service/interview-tips',
|
||||||
'employment-news': '/pages/service/employment-news',
|
'employment-news': '/pages/service/employment-news',
|
||||||
'more-services': '/pages/service/more-services',
|
'more-services': '/pages/service/more-services',
|
||||||
'skill-evaluation': '/packageB/train/index'
|
|
||||||
};
|
};
|
||||||
|
if((serviceType=='skill-training'||serviceType=='skill-evaluation')&&!uni.getStorageSync('userInfo').idCard){
|
||||||
|
$api.msg('请先完善信息');
|
||||||
|
return
|
||||||
|
}
|
||||||
const route = serviceRoutes[serviceType];
|
const route = serviceRoutes[serviceType];
|
||||||
if (route) {
|
if (route) {
|
||||||
navTo(route);
|
navTo(route);
|
||||||
|
|||||||
11
unpackage/dist/dev/mp-weixin/project.config.json
vendored
11
unpackage/dist/dev/mp-weixin/project.config.json
vendored
@@ -21,7 +21,8 @@
|
|||||||
"disableUseStrict": false,
|
"disableUseStrict": false,
|
||||||
"condition": false,
|
"condition": false,
|
||||||
"swc": false,
|
"swc": false,
|
||||||
"disableSWC": true
|
"disableSWC": true,
|
||||||
|
"ignoreUploadUnusedFiles": false
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"simulatorPluginLibVersion": {},
|
"simulatorPluginLibVersion": {},
|
||||||
@@ -30,6 +31,10 @@
|
|||||||
"include": []
|
"include": []
|
||||||
},
|
},
|
||||||
"appid": "wx4aa34488b965a331",
|
"appid": "wx4aa34488b965a331",
|
||||||
"editorSetting": {},
|
"editorSetting": {
|
||||||
"libVersion": "3.11.1"
|
"tabIndent": "insertSpaces",
|
||||||
|
"tabSize": 4
|
||||||
|
},
|
||||||
|
"libVersion": "3.11.1",
|
||||||
|
"condition": {}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user