Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zj-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-zhengjiang
zj-manage
Commits
b3ca14a7
Commit
b3ca14a7
authored
Apr 11, 2024
by
swl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: gx
parent
ac47a89c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
71 additions
and
12 deletions
+71
-12
.DS_Store
.DS_Store
+0
-0
index.js
src/config/index.js
+2
-2
request.js
src/utils/request.js
+2
-2
index.vue
src/views/Talents/index.vue
+65
-6
vue.config.js
vue.config.js
+2
-2
No files found.
.DS_Store
View file @
b3ca14a7
No preview for this file type
src/config/index.js
View file @
b3ca14a7
const
domain
=
{
const
domain
=
{
// dev: "http://192.168.3.87:8881", // 姚镇接口
// dev: "http://192.168.3.87:8881", // 姚镇接口
// dev: "http://81.69.231.72:8881", // 姚镇接口
// dev: "http://81.69.231.72:8881", // 姚镇接口
dev
:
"http://81.69.231.72:8881"
,
// 测试接口
//
dev: "http://81.69.231.72:8881", // 测试接口
//
dev: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口
dev
:
"https://exam.smart-zj.cn:9100/smartExam/"
,
// 新正式接口
};
};
// 腾讯地图 key
// 腾讯地图 key
const
map
=
{
const
map
=
{
...
...
src/utils/request.js
View file @
b3ca14a7
...
@@ -5,9 +5,9 @@ import { TokenKey } from "@/utils/auth";
...
@@ -5,9 +5,9 @@ import { TokenKey } from "@/utils/auth";
const
config
=
{
const
config
=
{
// proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址
// proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址
proxy
:
"http://81.69.231.72:8881"
,
// 测试地址
//
proxy: "http://81.69.231.72:8881", // 测试地址
// proxy: "http://192.168.3.87:8881", //本地
// proxy: "http://192.168.3.87:8881", //本地
//
proxy: "https://exam.smart-zj.cn:9100/smartExam", // 新正式接口zs
proxy
:
"https://exam.smart-zj.cn:9100/smartExam"
,
// 新正式接口zs
// proxy: "http://81.69.231.72:9089/", // 测试地址
// proxy: "http://81.69.231.72:9089/", // 测试地址
// proxy1: "http://81.69.231.72:8881/admin-api", // 测试地址
// proxy1: "http://81.69.231.72:8881/admin-api", // 测试地址
// proxy1: "https://exam.smart-zj.cn:9100/smartExam/admin-api", // 新正式接口
// proxy1: "https://exam.smart-zj.cn:9100/smartExam/admin-api", // 新正式接口
...
...
src/views/Talents/index.vue
View file @
b3ca14a7
...
@@ -88,6 +88,24 @@
...
@@ -88,6 +88,24 @@
<el-button
type=
"primary"
@
click=
"onSubmit"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
查询
</el-button>
</el-form-item>
</el-form-item>
<br
/>
<br
/>
<el-form-item
label=
"排序类型"
style=
"margin-top: 10px"
>
<el-radio-group
v-model=
"searchForm.sortType"
@
change=
"onSubmit"
>
<el-radio
label=
"desc"
>
倒序
</el-radio>
<el-radio
label=
"asc"
>
顺序
</el-radio>
</el-radio-group>
<!--
<el-select
v-model=
"searchForm.sortType"
placeholder=
"请选择排序类型"
style=
"width: 100%"
@
change=
"onSubmit"
>
<el-option
label=
"顺序"
value=
"asc"
>
</el-option>
<el-option
label=
"倒叙"
value=
"desc"
>
</el-option>
</el-select>
-->
</el-form-item>
<br
/>
<el-form-item
label=
"状态"
style=
"margin-top: 10px"
>
<el-form-item
label=
"状态"
style=
"margin-top: 10px"
>
<el-radio-group
v-model=
"searchForm.state"
@
change=
"onSubmit"
>
<el-radio-group
v-model=
"searchForm.state"
@
change=
"onSubmit"
>
<el-radio
<el-radio
...
@@ -111,6 +129,18 @@
...
@@ -111,6 +129,18 @@
>
>
<el-table-column
<el-table-column
width=
"120"
width=
"120"
key=
"updateTime"
prop=
"updateTime"
label=
"更新时间"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
updateTime
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"120"
prop=
"talentClassification"
prop=
"talentClassification"
label=
"人才类型"
label=
"人才类型"
align=
"center"
align=
"center"
...
@@ -156,7 +186,11 @@
...
@@ -156,7 +186,11 @@
align=
"center"
align=
"center"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tag
:type=
"scope.row.type"
>
{{
scope
.
row
.
stateName
}}
</el-tag>
<el-tag
:type=
"stateFilter(scope.row.state)"
:effect=
"plainFilter(scope.row.state)"
>
{{
scope
.
row
.
stateName
}}
</el-tag
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"380"
align=
"left"
>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"380"
align=
"left"
>
...
@@ -610,7 +644,6 @@ let stateArr = [
...
@@ -610,7 +644,6 @@ let stateArr = [
{
{
state
:
""
,
state
:
""
,
stateName
:
"全部"
,
stateName
:
"全部"
,
color
:
""
,
},
},
{
{
state
:
1
,
state
:
1
,
...
@@ -620,7 +653,7 @@ let stateArr = [
...
@@ -620,7 +653,7 @@ let stateArr = [
{
{
state
:
2
,
state
:
2
,
stateName
:
"公示中"
,
stateName
:
"公示中"
,
type
:
"
warning
"
,
type
:
""
,
},
},
{
{
state
:
3
,
state
:
3
,
...
@@ -635,22 +668,25 @@ let stateArr = [
...
@@ -635,22 +668,25 @@ let stateArr = [
{
{
state
:
5
,
state
:
5
,
stateName
:
"审核拒绝"
,
stateName
:
"审核拒绝"
,
type
:
"
warning
"
,
type
:
"
danger
"
,
},
},
{
{
state
:
6
,
state
:
6
,
stateName
:
"管理撤销"
,
stateName
:
"管理撤销"
,
type
:
"danger"
,
type
:
"danger"
,
effect
:
"plain"
,
},
},
{
{
state
:
7
,
state
:
7
,
stateName
:
"强制更新"
,
stateName
:
"强制更新"
,
type
:
"danger"
,
type
:
"success"
,
effect
:
"plain"
,
},
},
{
{
state
:
8
,
state
:
8
,
stateName
:
"已逾期"
,
stateName
:
"已逾期"
,
type
:
"danger"
,
type
:
"warning"
,
effect
:
"plain"
,
},
},
];
];
...
@@ -705,6 +741,7 @@ export default {
...
@@ -705,6 +741,7 @@ export default {
branchCode
:
""
,
// 责任部门
branchCode
:
""
,
// 责任部门
talentClassification
:
""
,
// 人才分类
talentClassification
:
""
,
// 人才分类
socialPremiumLocation
:
""
,
// 社保缴纳地
socialPremiumLocation
:
""
,
// 社保缴纳地
sortType
:
"desc"
,
// 排序类型
},
},
loading
:
false
,
loading
:
false
,
// 状态
// 状态
...
@@ -812,6 +849,7 @@ export default {
...
@@ -812,6 +849,7 @@ export default {
key
:
"updateTime"
,
key
:
"updateTime"
,
label
:
"更新时间"
,
label
:
"更新时间"
,
width
:
180
,
width
:
180
,
type
:
"slot"
,
},
},
{
{
key
:
"recordVOS[0].name"
,
key
:
"recordVOS[0].name"
,
...
@@ -848,6 +886,7 @@ export default {
...
@@ -848,6 +886,7 @@ export default {
this
.
searchForm
.
state
=
""
;
this
.
searchForm
.
state
=
""
;
this
.
searchForm
.
recordName
=
""
;
this
.
searchForm
.
recordName
=
""
;
this
.
searchForm
.
unitName
=
""
;
this
.
searchForm
.
unitName
=
""
;
this
.
searchForm
.
sortType
=
"desc"
;
this
.
init
();
this
.
init
();
this
.
initType
();
this
.
initType
();
if
(
!
this
.
branchCode
)
{
if
(
!
this
.
branchCode
)
{
...
@@ -857,6 +896,25 @@ export default {
...
@@ -857,6 +896,25 @@ export default {
},
},
},
},
methods
:
{
methods
:
{
stateFilter
(
val
)
{
let
type
=
""
;
stateArr
.
forEach
((
item
)
=>
{
if
(
item
.
state
===
val
)
{
type
=
item
.
type
;
}
});
return
type
;
},
plainFilter
(
val
)
{
let
effect
=
""
;
stateArr
.
forEach
((
item
)
=>
{
if
(
item
.
state
===
val
)
{
effect
=
item
.
effect
;
}
});
return
effect
;
},
switechBranch
(
branchCode
)
{
switechBranch
(
branchCode
)
{
switch
(
branchCode
)
{
switch
(
branchCode
)
{
case
"5"
:
case
"5"
:
...
@@ -875,6 +933,7 @@ export default {
...
@@ -875,6 +933,7 @@ export default {
// console.log(1);
// console.log(1);
// console.log("this.branchCode---", this.branchCode);
// console.log("this.branchCode---", this.branchCode);
let
params
=
{
let
params
=
{
sortType
:
this
.
searchForm
.
sortType
,
name
:
this
.
searchForm
.
name
,
name
:
this
.
searchForm
.
name
,
phone
:
this
.
searchForm
.
phone
,
phone
:
this
.
searchForm
.
phone
,
typeCode
:
this
.
searchForm
.
typeCode
,
typeCode
:
this
.
searchForm
.
typeCode
,
...
...
vue.config.js
View file @
b3ca14a7
const
env
=
process
.
env
.
NODE_ENV
===
"production"
;
const
env
=
process
.
env
.
NODE_ENV
===
"production"
;
//
const publicPath = env ? "/manage-h5/" : "/"; //正式
const
publicPath
=
env
?
"/manage-h5/"
:
"/"
;
//正式
const
publicPath
=
env
?
"/smartExam-h5/"
:
"/"
;
//测试
//
const publicPath = env ? "/smartExam-h5/" : "/"; //测试
module
.
exports
=
{
module
.
exports
=
{
publicPath
,
publicPath
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment