flat: 馆陶县
This commit is contained in:
16
src/event.js
16
src/event.js
@@ -4,16 +4,16 @@ const eventTable = {
|
||||
trialCheck() {
|
||||
const c = this.$createElement
|
||||
const state = this.$store.state
|
||||
return new Promise(function(resolve, reject) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
if (state.config.trial === 1) {
|
||||
reject && reject()
|
||||
const vNode = c(
|
||||
'div', {style: 'line-height: 36px;padding: 0 39px;font-size:24px'},
|
||||
[
|
||||
c('p', {style: 'font-weight: 600;'}, '尊敬的客户:'), c('br'),
|
||||
c('div', {style: 'text-indent:48px'},
|
||||
'您好!欢迎您使用德阳市智慧就业服务平台!系统将根据贵公司的合同约定收到保证金后开通使用,我们郑重承诺:您的保证金将用于更好的保障您在德阳市智慧就业服务平台中的任务管理、商保管理的权益,非常感谢您对我们的信赖!')
|
||||
])
|
||||
'div', {style: 'line-height: 36px;padding: 0 39px;font-size:24px'},
|
||||
[
|
||||
c('p', {style: 'font-weight: 600;'}, '尊敬的客户:'), c('br'),
|
||||
c('div', {style: 'text-indent:48px'},
|
||||
'您好!欢迎您使用馆陶县智慧就业服务平台!系统将根据贵公司的合同约定收到保证金后开通使用,我们郑重承诺:您的保证金将用于更好的保障您在馆陶县智慧就业服务平台中的任务管理、商保管理的权益,非常感谢您对我们的信赖!')
|
||||
])
|
||||
MessageBox.alert(vNode, {
|
||||
customClass: 'trialCheckBox',
|
||||
dangerouslyUseHTMLString: true,
|
||||
@@ -28,7 +28,7 @@ const eventTable = {
|
||||
|
||||
export default {
|
||||
install(Vue) {
|
||||
Vue.prototype.$jlEvent = function(eventName) {
|
||||
Vue.prototype.$jlEvent = function (eventName) {
|
||||
return eventTable[eventName].call(this)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export default {
|
||||
tip: '提示',
|
||||
title: '德阳市智慧就业服务平台',
|
||||
title: '馆陶县智慧就业服务平台',
|
||||
logoutTip: '退出系统, 是否继续?',
|
||||
submitText: '确定',
|
||||
cancelText: '取消',
|
||||
@@ -84,12 +84,12 @@ export default {
|
||||
thirdLogin: '第三方登录',
|
||||
msgText: '获取验证码',
|
||||
msgSuccess: '秒后重发',
|
||||
userRegister:'企业注册',
|
||||
registerSubmit:'注册',
|
||||
directLogin:'返回登录'
|
||||
userRegister: '企业注册',
|
||||
registerSubmit: '注册',
|
||||
directLogin: '返回登录'
|
||||
},
|
||||
navbar: {
|
||||
experienceEntrance: '德阳市智慧就业服务平台账号入口',
|
||||
experienceEntrance: '馆陶县智慧就业服务平台账号入口',
|
||||
logOut: '退出登录',
|
||||
userinfo: '个人信息',
|
||||
dashboard: '首页',
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
},
|
||||
tagsView: {
|
||||
search: '搜索',
|
||||
empty:"清空",
|
||||
empty: "清空",
|
||||
menu: '更多',
|
||||
clearCache: '清除缓存',
|
||||
closeOthers: '关闭其它',
|
||||
|
||||
@@ -3,17 +3,17 @@
|
||||
<el-menu :default-active="activeIndex" mode="horizontal" text-color="#333">
|
||||
<el-menu-item index="0" @click.native="openHome(itemHome)" key="0">
|
||||
<template slot="title" v-if="loginType !== 'Type-S'">
|
||||
<span>{{generateTitle(itemHome)}}</span>
|
||||
<span>{{ generateTitle(itemHome) }}</span>
|
||||
</template>
|
||||
<template slot="title" v-if="loginType === 'Type-S'">
|
||||
<span class="workTitle">{{nickName}}</span>
|
||||
<span class="workTitle">{{ nickName }}</span>
|
||||
</template>
|
||||
</el-menu-item>
|
||||
<template v-for="(item,index) in items">
|
||||
<el-menu-item :index="item.id+''" @click.native="openMenu(item)" :key="index">
|
||||
<template slot="title">
|
||||
<i :class="item.source" style="padding-right: 5px;"></i>
|
||||
<span>{{generateTitle(item)}}</span>
|
||||
<span>{{ generateTitle(item) }}</span>
|
||||
</template>
|
||||
</el-menu-item>
|
||||
</template>
|
||||
@@ -22,15 +22,15 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters, mapState } from "vuex";
|
||||
import {mapGetters, mapState} from "vuex";
|
||||
|
||||
export default {
|
||||
name: "top-menu",
|
||||
data () {
|
||||
data() {
|
||||
return {
|
||||
itemHome: {
|
||||
code: "wel",
|
||||
name: '欢迎进入德阳市智慧就业服务平台',
|
||||
name: '欢迎进入馆陶县智慧就业服务平台',
|
||||
source: 'iconfont iconhome',
|
||||
},
|
||||
activeIndex: "0",
|
||||
@@ -38,7 +38,7 @@ export default {
|
||||
};
|
||||
},
|
||||
inject: ["index"],
|
||||
created () {
|
||||
created() {
|
||||
this.getMenu();
|
||||
},
|
||||
computed: {
|
||||
@@ -49,21 +49,21 @@ export default {
|
||||
...mapGetters(["tagCurrent", "menu"])
|
||||
},
|
||||
methods: {
|
||||
openHome (itemHome) {
|
||||
openHome(itemHome) {
|
||||
this.index.openMenu(itemHome);
|
||||
this.$router.push({
|
||||
path: this.$router.$avueRouter.getPath({ name: itemHome.name, src: '' }, {})
|
||||
path: this.$router.$avueRouter.getPath({name: itemHome.name, src: ''}, {})
|
||||
});
|
||||
},
|
||||
openMenu (item) {
|
||||
openMenu(item) {
|
||||
this.index.openMenu(item)
|
||||
},
|
||||
getMenu () {
|
||||
getMenu() {
|
||||
this.$store.dispatch("GetTopMenu").then(res => {
|
||||
this.items = res;
|
||||
});
|
||||
},
|
||||
generateTitle (item) {
|
||||
generateTitle(item) {
|
||||
return this.$router.$avueRouter.generateTitle(
|
||||
item.name,
|
||||
(item.meta || {}).i18n
|
||||
@@ -82,12 +82,13 @@ export default {
|
||||
vertical-align: middle;
|
||||
color: rgb(51, 51, 51);
|
||||
}
|
||||
.workTitle{
|
||||
width: 217px;
|
||||
height: 30px;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #333333;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.workTitle {
|
||||
width: 217px;
|
||||
height: 30px;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #333333;
|
||||
line-height: 30px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="layoutBottomBox">
|
||||
<div class="footerPrepare">
|
||||
<p>
|
||||
Copyright © 2021 德阳市智慧就业服务平台
|
||||
Copyright © 2021 馆陶县智慧就业服务平台
|
||||
<a href="//beian.miit.gov.cn" target="blank">京ICP备16004663号-10</a>
|
||||
经营许可证编号:京B2-20130104
|
||||
<a href="/home/img/license/YYZZ.jpg" target="blank"
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="layoutTopBoxRight">
|
||||
<div class="topBtn hand" @click="changeManageWork('workstation')" :class="{ isSelect: workStationStatus === 'workstation' }">
|
||||
<div class="topBtn hand" @click="changeManageWork('workstation')"
|
||||
:class="{ isSelect: workStationStatus === 'workstation' }">
|
||||
<span>代理商</span>
|
||||
</div>
|
||||
<div class="topBtn hand qrCodeBox">
|
||||
@@ -27,7 +28,7 @@
|
||||
height="14"
|
||||
width="14"
|
||||
/>
|
||||
<span>{{config.wxTitle}}</span>
|
||||
<span>{{ config.wxTitle }}</span>
|
||||
<div class="qrCode">
|
||||
<img
|
||||
:src="config.wxImg"
|
||||
@@ -42,17 +43,17 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters } from "vuex";
|
||||
import {mapGetters} from "vuex";
|
||||
import {setStore, getStore} from '@/util/store'
|
||||
|
||||
let config;
|
||||
if (process.env.VUE_APP_SITE === "default") {
|
||||
config = {
|
||||
logo: "/manage/img/cmanage/logo/default.pn",
|
||||
wxTitle: "德阳市智慧就业服务平台小程序",
|
||||
wxTitle: "馆陶县智慧就业服务平台小程序",
|
||||
wxImg: "/manage/img/cmanage/wx/xcx/default.jpeg",
|
||||
zixun: "德阳市智慧就业服务平台资讯",
|
||||
guanyu: "关于德阳市智慧就业服务平台",
|
||||
zixun: "馆陶县智慧就业服务平台资讯",
|
||||
guanyu: "关于馆陶县智慧就业服务平台",
|
||||
};
|
||||
}
|
||||
|
||||
@@ -60,7 +61,7 @@ export default {
|
||||
name: "layoutTop",
|
||||
data() {
|
||||
return {
|
||||
layoutInput: getStore({ name: "searchInput" }) || "",
|
||||
layoutInput: getStore({name: "searchInput"}) || "",
|
||||
workStationStatus: 'manageInfo',
|
||||
titleList: [
|
||||
{
|
||||
@@ -89,13 +90,13 @@ export default {
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
changeManageWork (str) {
|
||||
changeManageWork(str) {
|
||||
setStore({name: 'workStationStatus', content: str, type: 'session'})
|
||||
this.workStationStatus = str
|
||||
if (str === 'manageInfo') {
|
||||
this.$emit('change','login')
|
||||
this.$emit('change', 'login')
|
||||
} else if (str === 'workstation') {
|
||||
this.$emit('change','workstation')
|
||||
this.$emit('change', 'workstation')
|
||||
}
|
||||
},
|
||||
enterKey(e) {
|
||||
@@ -133,9 +134,11 @@ export default {
|
||||
.hand {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.logo {
|
||||
margin-right: 46px;
|
||||
}
|
||||
|
||||
ul {
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -190,12 +193,15 @@ a {
|
||||
padding-bottom: 6px;
|
||||
border-bottom: 1px solid #5aa0fa;
|
||||
}
|
||||
|
||||
.layoutInputBox .searchIcon {
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.layoutInputBox img {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.layoutInputBox input {
|
||||
width: 400px;
|
||||
height: 20px;
|
||||
@@ -215,18 +221,23 @@ a {
|
||||
font-size: 16px;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.topBtn:hover {
|
||||
color: #5aa0fa;
|
||||
}
|
||||
|
||||
.topBtn:hover .search {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topBtn:hover .searchBlue {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.topBtn .searchBlue {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topBtn img {
|
||||
margin: 2px 5px 0 0;
|
||||
}
|
||||
@@ -238,18 +249,23 @@ a {
|
||||
.qrCodeBox {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.qrCodeBox:hover {
|
||||
color: #5aa0fa;
|
||||
}
|
||||
|
||||
.qrCodeBox:hover .qrCode {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.qrCodeBox:hover .Code {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.qrCodeBox:hover .CodeBlue {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.qrCodeBox .CodeBlue {
|
||||
display: none;
|
||||
}
|
||||
@@ -264,7 +280,7 @@ a {
|
||||
padding: 10px;
|
||||
z-index: 999;
|
||||
display: none;
|
||||
box-shadow: 0 2px 12px 0 rgba(0,0,0,.06);
|
||||
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .06);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,23 +4,24 @@
|
||||
<div class="login-weaper animated bounceInDown">
|
||||
<div class="login-page-title">
|
||||
<img src="/img/icon/logo_sczj.png" alt="">
|
||||
四川省人力资源和社会保障</div>
|
||||
馆陶县智慧就业服务系统
|
||||
</div>
|
||||
<div class="login-wrapper-small">
|
||||
<div class="login-content">
|
||||
<div class="login-left">
|
||||
<img class="img" src="/img/bg/back_zj.png" alt />
|
||||
<img class="img" src="/img/bg/back_zj.png" alt/>
|
||||
</div>
|
||||
<div class="login-border">
|
||||
<user-login v-if="activeName === 'login'" @change="changeActive" />
|
||||
<forget-pwd v-else-if="activeName === 'pwd'" @change="changeActive" />
|
||||
<user-register v-else-if="activeName === 'register'" @change="changeActive" />
|
||||
<user-login v-if="activeName === 'login'" @change="changeActive"/>
|
||||
<forget-pwd v-else-if="activeName === 'pwd'" @change="changeActive"/>
|
||||
<user-register v-else-if="activeName === 'register'" @change="changeActive"/>
|
||||
<work-station-login v-else-if="activeName === 'workstation'" @change="changeActive"></work-station-login>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div data-v-3c692830="" style="text-align: center; margin-top: 20px; padding-bottom: 30px;">
|
||||
<div data-v-3c692830="" style="font-size: 12px; color: #40a9ff;">Copyright @ 德阳市人力资源和社会保障局</div>
|
||||
<div data-v-3c692830="" style="font-size: 12px; color: #40a9ff;">Copyright @ 馆陶县人力资源和社会保障局</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -68,7 +69,7 @@ export default {
|
||||
props: [],
|
||||
methods: {
|
||||
introduce(item) {
|
||||
const arr = { "企业招聘": 0, "一键录用": 1, "电子合同": 2, "职业伤害": 3, "工资结算": 4, "信用评价": 5 }
|
||||
const arr = {"企业招聘": 0, "一键录用": 1, "电子合同": 2, "职业伤害": 3, "工资结算": 4, "信用评价": 5}
|
||||
this.$refs.intro[arr[item]].scrollIntoView()
|
||||
},
|
||||
changeActive(name) {
|
||||
@@ -76,7 +77,7 @@ export default {
|
||||
},
|
||||
handleSelect(index) {
|
||||
if (index == 1) {
|
||||
this.$router.push({ path: "/login" });
|
||||
this.$router.push({path: "/login"});
|
||||
} else if (index == 2) {
|
||||
window.location.href = "http://crm.jobslink.cn/crm";
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
class="code-input"
|
||||
></el-input>
|
||||
<div class="login-code">
|
||||
<el-button :disabled="msgKey" type="text" @click="handleSend" class="msg-text">{{msgText}}</el-button>
|
||||
<el-button :disabled="msgKey" type="text" @click="handleSend" class="msg-text">{{ msgText }}</el-button>
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item prop="password">
|
||||
@@ -61,14 +61,15 @@
|
||||
type="primary"
|
||||
@click="handleRegister"
|
||||
class="register-submit"
|
||||
>{{$t('login.registerSubmit')}}</el-button>
|
||||
>{{ $t('login.registerSubmit') }}
|
||||
</el-button>
|
||||
</div>
|
||||
</el-form>
|
||||
<div class="reg-bottom">
|
||||
<div>
|
||||
<el-checkbox v-model="checked"></el-checkbox>
|
||||
<span @click="checked = !checked" class="reg-agreement">
|
||||
同意德阳市智慧就业服务平台用工
|
||||
同意馆陶县智慧就业服务平台用工
|
||||
<a
|
||||
@click.stop
|
||||
href="/blackboard/account/companyagreement.html"
|
||||
@@ -77,17 +78,17 @@
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<a @click="$emit('change','login')">{{$t('login.directLogin')}}</a>
|
||||
<a @click="$emit('change','login')">{{ $t('login.directLogin') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters } from "vuex";
|
||||
<script>
|
||||
import {mapGetters} from "vuex";
|
||||
import topLang from "@/page/index/top/top-lang";
|
||||
import { isvalidatemobile } from "@/util/validate";
|
||||
import { reg, sendValidate,regCheckIdentity } from "@/api/tenant/reg";
|
||||
import {isvalidatemobile} from "@/util/validate";
|
||||
import {reg, sendValidate, regCheckIdentity} from "@/api/tenant/reg";
|
||||
import md5 from "js-md5";
|
||||
|
||||
export default {
|
||||
@@ -95,7 +96,7 @@ export default {
|
||||
components: {
|
||||
topLang,
|
||||
},
|
||||
data () {
|
||||
data() {
|
||||
const validatePhone = (rule, value, callback) => {
|
||||
if (isvalidatemobile(value)[0]) {
|
||||
callback(new Error(isvalidatemobile(value)[1]));
|
||||
@@ -113,15 +114,14 @@ export default {
|
||||
}
|
||||
};
|
||||
const validateTcode = (rule, value, callback) => {
|
||||
if(value){
|
||||
regCheckIdentity(value).then(()=>{
|
||||
if (value) {
|
||||
regCheckIdentity(value).then(() => {
|
||||
callback();
|
||||
})
|
||||
.catch((err)=>{
|
||||
callback(err);
|
||||
})
|
||||
}
|
||||
else{
|
||||
.catch((err) => {
|
||||
callback(err);
|
||||
})
|
||||
} else {
|
||||
callback(new Error('请输入社会统一信用代码'))
|
||||
}
|
||||
|
||||
@@ -129,8 +129,7 @@ export default {
|
||||
const validateChecked = (rule, value, callback) => {
|
||||
if (!value) {
|
||||
callback(new Error('请阅读并同意《服务及隐私协议》'));
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
callback();
|
||||
}
|
||||
}
|
||||
@@ -148,7 +147,7 @@ export default {
|
||||
},
|
||||
rules: {
|
||||
companyName: [
|
||||
{ required: true, trigger: "blur", message: "请输入用工单位" },
|
||||
{required: true, trigger: "blur", message: "请输入用工单位"},
|
||||
],
|
||||
companyTid: [
|
||||
{
|
||||
@@ -157,21 +156,21 @@ export default {
|
||||
message: "请输入统一社会信用代码",
|
||||
trigger: "blur",
|
||||
},
|
||||
{ validator: validateTcode, trigger: "blur" },
|
||||
{validator: validateTcode, trigger: "blur"},
|
||||
],
|
||||
account: [
|
||||
{ required: true, trigger: "blur", validator: validatePhone },
|
||||
{required: true, trigger: "blur", validator: validatePhone},
|
||||
],
|
||||
inviteCode: [
|
||||
{ required: true, message: "请输入邀请码", trigger: "blur" },
|
||||
{ min: 10, message: "长度不少于10个字符", trigger: "blur" },
|
||||
{required: true, message: "请输入邀请码", trigger: "blur"},
|
||||
{min: 10, message: "长度不少于10个字符", trigger: "blur"},
|
||||
],
|
||||
code: [
|
||||
{ required: true, message: "请输入短信验证码", trigger: "blur" },
|
||||
{required: true, message: "请输入短信验证码", trigger: "blur"},
|
||||
],
|
||||
password: [
|
||||
{ required: true, message: "请输入密码" },
|
||||
{ trigger: "blur", validator: validatePwd },
|
||||
{required: true, message: "请输入密码"},
|
||||
{trigger: "blur", validator: validatePwd},
|
||||
],
|
||||
checked: [
|
||||
{
|
||||
@@ -183,19 +182,20 @@ export default {
|
||||
};
|
||||
},
|
||||
watch: {},
|
||||
mounted () { },
|
||||
mounted() {
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(["website", "tagWel"]),
|
||||
},
|
||||
props: [],
|
||||
methods: {
|
||||
showPassword () {
|
||||
showPassword() {
|
||||
this.passwordType === ""
|
||||
? (this.passwordType = "password")
|
||||
: (this.passwordType = "");
|
||||
},
|
||||
/*发送短信验证码 */
|
||||
handleSend () {
|
||||
handleSend() {
|
||||
const inviteCode = new Promise((resolve) => {
|
||||
this.$refs.registerForm.validateField("inviteCode", resolve);
|
||||
});
|
||||
@@ -229,7 +229,7 @@ export default {
|
||||
});
|
||||
});
|
||||
},
|
||||
handleRegister () {
|
||||
handleRegister() {
|
||||
this.$refs.registerForm.validate((valid) => {
|
||||
if (valid) {
|
||||
if (this.checked) {
|
||||
@@ -261,7 +261,7 @@ export default {
|
||||
}
|
||||
);
|
||||
} else {
|
||||
this.$message.error("请阅读并同意德阳市智慧就业服务平台用工用户协议及隐私政策");
|
||||
this.$message.error("请阅读并同意馆陶县智慧就业服务平台用工用户协议及隐私政策");
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -272,6 +272,7 @@ export default {
|
||||
|
||||
<style lang="scss">
|
||||
@import "@/styles/login.scss";
|
||||
|
||||
.reg-bottom {
|
||||
margin: 0 30px 0 30px;
|
||||
display: flex;
|
||||
@@ -285,6 +286,7 @@ export default {
|
||||
flex-wrap: wrap;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.reg-bottom > div {
|
||||
padding-top: 9px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user