flat: 暂存
This commit is contained in:
@@ -23,26 +23,27 @@
|
||||
<i slot="prefix" class="icon-mima"/>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="this.website.captchaMode" prop="code">
|
||||
<el-input size="small" style="margin-top: 20px; margin-bottom:10px;"
|
||||
@keyup.enter.native="handleLogin"
|
||||
v-model="loginForm.code"
|
||||
auto-complete="off"
|
||||
placeholder="请输入图形验证码"
|
||||
class="code-input">
|
||||
<i slot="prefix" class="icon-yanzhengma"/>
|
||||
</el-input>
|
||||
<div class="login-code" >
|
||||
<img :src="loginForm.image" class="login-code-img" @click="refreshCode" />
|
||||
</div>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item v-if="this.website.captchaMode" prop="code">-->
|
||||
<!-- <el-input size="small" style="margin-top: 20px; margin-bottom:10px;"-->
|
||||
<!-- @keyup.enter.native="handleLogin"-->
|
||||
<!-- v-model="loginForm.code"-->
|
||||
<!-- auto-complete="off"-->
|
||||
<!-- placeholder="请输入图形验证码"-->
|
||||
<!-- class="code-input">-->
|
||||
<!-- <i slot="prefix" class="icon-yanzhengma"/>-->
|
||||
<!-- </el-input>-->
|
||||
<!-- <div class="login-code" >-->
|
||||
<!-- <img :src="loginForm.image" class="login-code-img" @click="refreshCode" />-->
|
||||
<!-- </div>-->
|
||||
<!-- </el-form-item>-->
|
||||
<div>
|
||||
<el-button
|
||||
size="small"
|
||||
type="primary"
|
||||
@click.native.prevent="handleLogin"
|
||||
class="login-submit"
|
||||
>{{$t('login.submit')}}</el-button>
|
||||
>{{ $t('login.submit') }}
|
||||
</el-button>
|
||||
</div>
|
||||
</el-form>
|
||||
</div>
|
||||
@@ -54,10 +55,14 @@ import { mapGetters } from "vuex";
|
||||
import topLang from "@/page/index/top/top-lang";
|
||||
// import { info } from "@/api/system/tenant";
|
||||
import {getCaptcha} from "@/api/user";
|
||||
|
||||
if (/(\/login\?)(.*)/ig.test(location.href)) {
|
||||
const obj = {}
|
||||
const query = location.href.split('?')[1].replace(/\?/, '').split('&')
|
||||
query.forEach((item) => { const a = item.split('='); obj[a[0]] = a[1]})
|
||||
query.forEach((item) => {
|
||||
const a = item.split('=');
|
||||
obj[a[0]] = a[1]
|
||||
})
|
||||
window.sessionStorage.setItem('query_session', JSON.stringify(obj))
|
||||
} else {
|
||||
window.sessionStorage.removeItem('query_session')
|
||||
@@ -103,9 +108,7 @@ export default {
|
||||
ticket: ''
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
|
||||
},
|
||||
watch: {},
|
||||
created() {
|
||||
// this.getTenant();
|
||||
const {ticket} = JSON.parse(window.sessionStorage.getItem('query_session') || "{}")
|
||||
@@ -201,6 +204,7 @@ export default {
|
||||
|
||||
<style lang="scss">
|
||||
@import "@/styles/login.scss";
|
||||
|
||||
.proLoading-box {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
|
||||
38
src/views/manage/mission/supplyDemand/index.vue
Normal file
38
src/views/manage/mission/supplyDemand/index.vue
Normal file
@@ -0,0 +1,38 @@
|
||||
<template>
|
||||
<div>
|
||||
<basic-container>
|
||||
12312
|
||||
</basic-container>
|
||||
<basic-container>
|
||||
<avue-crud
|
||||
:option="option"
|
||||
:table-loading="loading"
|
||||
:data="data"
|
||||
ref="crud"
|
||||
v-model="form"
|
||||
></avue-crud>
|
||||
</basic-container>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'supplyDemand',
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
data: [],
|
||||
form: {},
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
option() {
|
||||
return {}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
@@ -2,13 +2,16 @@
|
||||
<div>
|
||||
<avue-crud :option="option" :table-loading="loading" :data="data" ref="crud" v-model="obj" @row-del="rowDel"
|
||||
@row-update="rowUpdate" @row-save="rowSave" :before-open="beforeOpen" :page.sync="page"
|
||||
@current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad">
|
||||
@current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange"
|
||||
@on-load="onLoad">
|
||||
<!--自定义按钮-->
|
||||
<template slot="menuLeft">
|
||||
<save-button type="warning" plain icon="el-icon-plus" size="small" @click="rowCopy('', 'add')"
|
||||
v-show="vaildData(permission.tenant_mission_add, false)">发布任务</save-button>
|
||||
v-show="vaildData(permission.tenant_mission_add, false)">发布任务
|
||||
</save-button>
|
||||
<el-button type="success" size="small" plain icon="el-icon-plus" @click="handleImport"
|
||||
v-show="vaildData(permission.tenant_mission_add, false)">批量导入</el-button>
|
||||
v-show="vaildData(permission.tenant_mission_add, false)">批量导入
|
||||
</el-button>
|
||||
</template>
|
||||
<template slot="wage" slot-scope="{ row }">
|
||||
<div>{{ row.wage }}{{ wageUnitCategoryStateEnum[row.wageUnitCategory] }}</div>
|
||||
@@ -55,12 +58,16 @@
|
||||
<!-- <el-button type="text" size="mini" @click="recommend(row)">重点人群推送</el-button> -->
|
||||
<el-button type="text" size="mini" @click="employ(row, 1)">录用登记</el-button>
|
||||
<el-button icon="el-icon-view" :size="size" :type="type" @click.stop="rowView(row)"
|
||||
v-show="vaildData(permission.tenant_mission_view, false)">查看</el-button>
|
||||
v-show="vaildData(permission.tenant_mission_view, false)">查看
|
||||
</el-button>
|
||||
<!-- <save-button icon="el-icon-check" :size="size" :type="type" @click="rowCopy(row, 'copy')">复制</save-button> -->
|
||||
<el-button icon="el-icon-edit" :size="size" :type="type" @click="rowCopy(row, 'edit')"
|
||||
:disabled="row.signUpCount !== 0" v-show="vaildData(permission.tenant_mission_edit, false)">编辑</el-button>
|
||||
<el-button v-if="row.reviewState !== 8" icon="el-icon-delete" :size="size" :type="type" @click="$refs.crud.rowDel(row)"
|
||||
:disabled="row.signUpCount !== 0" v-show="vaildData(permission.tenant_mission_cancel, false)">取消</el-button>
|
||||
:disabled="row.signUpCount !== 0" v-show="vaildData(permission.tenant_mission_edit, false)">编辑
|
||||
</el-button>
|
||||
<el-button v-if="row.reviewState !== 8" icon="el-icon-delete" :size="size" :type="type"
|
||||
@click="$refs.crud.rowDel(row)"
|
||||
:disabled="row.signUpCount !== 0" v-show="vaildData(permission.tenant_mission_cancel, false)">取消
|
||||
</el-button>
|
||||
</div>
|
||||
</avue-crud>
|
||||
<!--发布 复制 编辑dialog-->
|
||||
@@ -81,7 +88,8 @@
|
||||
<!--/查看dialog-->
|
||||
<!--批量导入-->
|
||||
<el-dialog title="导入" append-to-body :visible.sync="excelBox" :close-on-click-modal="false" width="555px">
|
||||
<avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter" :upload-before="beforeAvatarUpload"
|
||||
<avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter"
|
||||
:upload-before="beforeAvatarUpload"
|
||||
:upload-error="uploadError">
|
||||
<template slot="excelTemplate">
|
||||
<el-button type="primary" @click="handleTemplate()" :loading="templateLoading">
|
||||
@@ -113,6 +121,7 @@ import { dateFormat } from "@/util/date";
|
||||
import {getTemplate} from "@/api/resource/template";
|
||||
import saveButton from "./saveButton";
|
||||
import {dataSourcesEnum, educationState, missionState, recruitStatus, wageUnitCategoryState} from "@/common/dic";
|
||||
|
||||
const wageUnitCategoryStateEnum = {}
|
||||
wageUnitCategoryState.map((item) => {
|
||||
wageUnitCategoryStateEnum[item.value] = item.label
|
||||
@@ -190,7 +199,8 @@ export default {
|
||||
missionNo: '',
|
||||
};
|
||||
},
|
||||
created() { },
|
||||
created() {
|
||||
},
|
||||
watch: {},
|
||||
computed: {
|
||||
...mapGetters(["permission"]),
|
||||
@@ -228,7 +238,7 @@ export default {
|
||||
width: 120,
|
||||
},
|
||||
{
|
||||
label: "任务名称",
|
||||
label: "岗位名称",
|
||||
prop: "missionTitle",
|
||||
display: false,
|
||||
fixed: true,
|
||||
|
||||
@@ -3,10 +3,64 @@
|
||||
<!--搜索栏-->
|
||||
<el-form size="small" label-position="right" :inline="true" style="padding-left: 10px;padding-right: 10px;">
|
||||
<el-row :span="24">
|
||||
<el-form-item label="任务名称:">
|
||||
<el-input v-model="search.missionTitle" placeholder="任务名称" clearable></el-input>
|
||||
<!-- <el-form-item label="任务名称:">-->
|
||||
<!-- <el-input v-model="search.missionTitle" placeholder="任务名称" clearable></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label="机构名称:">
|
||||
<el-input
|
||||
v-model="search.companyName"
|
||||
placeholder="机构名称"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="任务编码:">
|
||||
<el-input
|
||||
v-model="search.missionNo"
|
||||
placeholder="任务编码"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="地址:">
|
||||
<el-input
|
||||
v-model="search.address"
|
||||
placeholder="北京-北京市-崇文区"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="零工岗位名称:">
|
||||
<el-input
|
||||
v-model="search.missionTitle"
|
||||
placeholder="零工岗位名称"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="零工工种:">
|
||||
<el-input
|
||||
v-model="search.worktypeNames"
|
||||
placeholder="零工工种"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="审核状态:">
|
||||
<el-select v-model="search.reviewState">
|
||||
<el-option
|
||||
v-for="(item, index) in recruitStatus"
|
||||
:key="index"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="学历:">
|
||||
<el-select v-model="search.education">
|
||||
<el-option
|
||||
v-for="(item, index) in educationState"
|
||||
:key="index"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<!-- <el-form-item label="任务状态:">
|
||||
<el-select v-model="search.status" placeholder="任务状态" style="width:100%">
|
||||
<el-option
|
||||
@@ -61,15 +115,15 @@
|
||||
import OngoingMission from './Table/OngoingMission'
|
||||
import FinishedMission from './Table/FinishedMission'
|
||||
import ExpiredMission from './Table/ExpiredMission'
|
||||
import { companyMissionState } from '@/common/dic'
|
||||
import {companyMissionState, educationState, recruitStatus} from '@/common/dic'
|
||||
|
||||
export default {
|
||||
comments: {
|
||||
|
||||
},
|
||||
comments: {},
|
||||
name: "tenant_mission",
|
||||
data() {
|
||||
return {
|
||||
recruitStatus,
|
||||
educationState,
|
||||
missionTypes: companyMissionState,
|
||||
timeValue: "",
|
||||
endDateRange: "",//报名截止日期筛选
|
||||
@@ -102,10 +156,8 @@
|
||||
FinishedMission,
|
||||
ExpiredMission
|
||||
},
|
||||
computed: {
|
||||
},
|
||||
watch: {
|
||||
},
|
||||
computed: {},
|
||||
watch: {},
|
||||
methods: {
|
||||
handleSearch() {
|
||||
if (this.search.status === 1) {
|
||||
|
||||
@@ -23,11 +23,11 @@ module.exports = {
|
||||
port: 1888,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: 'http://192.168.1.101:8200',
|
||||
target: 'http://192.168.1.105:8000',
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
"^/api/jobslink-api": "/"
|
||||
'^/api': '/'
|
||||
}
|
||||
},
|
||||
"/qq/map": {
|
||||
|
||||
Reference in New Issue
Block a user