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
4c47a54d
Commit
4c47a54d
authored
Jul 06, 2023
by
swl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gx
parent
381ae7d8
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
476 additions
and
174 deletions
+476
-174
.DS_Store
.DS_Store
+0
-0
family.js
src/api/family.js
+128
-0
talents.js
src/api/talents.js
+17
-55
index.js
src/config/index.js
+2
-2
axios.js
src/utils/axios.js
+11
-21
request.js
src/utils/request.js
+7
-2
index.vue
src/views/FamilyManage/index.vue
+1
-1
index.vue
src/views/Talents/index.vue
+308
-91
vue.config.js
vue.config.js
+2
-2
No files found.
.DS_Store
View file @
4c47a54d
No preview for this file type
src/api/family.js
0 → 100644
View file @
4c47a54d
import
{
api
,
formatParams
}
from
"@/utils/axios"
;
import
{
api1
,
formatParams1
,
config
}
from
"@/utils/request"
;
// import { baseUrl } from '@/config/index'
/**
* 查询列表
*/
export
function
getList
(
params
)
{
return
api
(
Object
.
assign
(
formatParams
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
/admin-api/familyCode/queryList`
,
})
);
}
/**
* 查询详情
*/
export
function
get
(
params
)
{
return
api
(
Object
.
assign
(
formatParams
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
admin-api/talent/get`
,
})
);
}
/**
* 查询详情
*/
export
function
getFamily
(
params
)
{
return
api
(
Object
.
assign
(
formatParams
(
"GET"
,
params
),
{
url
:
`
${
config
.
proxy
}
/admin-api/familyCode/detail`
,
})
);
}
/**
* 查询类型
*/
export
function
getType
()
{
return
api
(
Object
.
assign
(
formatParams
(
"POST"
),
{
url
:
`
${
config
.
proxy
}
/admin-api/familyCode/queryZjCity`
,
})
);
}
/**
* 查询状态
*/
export
function
getReviewState
(
params
)
{
return
api
(
Object
.
assign
(
formatParams
(
"GET"
),
{
url
:
`
${
config
.
proxy
}
/admin-api/familyCode/reviewState?type=
${
params
}
`
,
})
);
}
// 审核
export
function
familyAudit
(
params
)
{
return
api
(
Object
.
assign
(
formatParams
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
/admin-api/familyCode/review`
,
})
);
}
/**
* 修改状态
*/
export
function
updateState
(
params
)
{
return
api1
(
Object
.
assign
(
formatParams1
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
talent/updateState`
,
})
);
}
/**
* 审核改派
*/
export
function
auditUpdate
(
params
)
{
return
api
(
Object
.
assign
(
formatParams1
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
/admin-api/familyCode/reassignment`
,
})
);
}
/**
* 操作记录
*/
export
function
getRecord
(
params
)
{
return
api
(
Object
.
assign
(
formatParams
(
"GET"
,
params
),
{
url
:
`
${
config
.
proxy
}
/admin-api/familyCode/queryRecordList`
,
})
);
}
/**
* 查询责任部门
*/
export
function
getBranch
(
params
)
{
return
api1
(
Object
.
assign
(
formatParams1
(
"GET"
,
params
),
{
url
:
`
${
config
.
proxy
}
talent/getBranch?appId=1234`
,
})
);
}
/**
* 修改学历状态
*/
export
function
educationState
(
params
)
{
return
api1
(
Object
.
assign
(
formatParams1
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
talent/educationState`
,
})
);
}
/**
* 查看学历
*/
export
function
educationQuery
(
params
)
{
return
api1
(
Object
.
assign
(
formatParams1
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
talent/getEducation`
,
})
);
}
src/api/talents.js
View file @
4c47a54d
import
{
api
,
formatParams
}
from
"@/utils/axios"
;
import
{
api
,
formatParams
}
from
"@/utils/axios"
;
import
{
api1
,
formatParams1
,
config
}
from
"@/utils/request"
;
import
{
formatParams1
,
config
}
from
"@/utils/request"
;
// import { baseUrl } from '@/config/index'
/**
/**
* 查询列表
* 查询列表
...
@@ -8,7 +7,7 @@ import { api1, formatParams1, config } from "@/utils/request";
...
@@ -8,7 +7,7 @@ import { api1, formatParams1, config } from "@/utils/request";
export
function
getList
(
params
)
{
export
function
getList
(
params
)
{
return
api
(
return
api
(
Object
.
assign
(
formatParams
(
"POST"
,
params
),
{
Object
.
assign
(
formatParams
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
/admin-api/
familyCode/query
List`
,
url
:
`
${
config
.
proxy
}
/admin-api/
talent/get
List`
,
})
})
);
);
}
}
...
@@ -19,46 +18,18 @@ export function getList(params) {
...
@@ -19,46 +18,18 @@ export function getList(params) {
export
function
get
(
params
)
{
export
function
get
(
params
)
{
return
api
(
return
api
(
Object
.
assign
(
formatParams
(
"POST"
,
params
),
{
Object
.
assign
(
formatParams
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
admin-api/talent/get`
,
url
:
`
${
config
.
proxy
}
/admin-api/talent/get`
,
})
);
}
/**
* 查询详情
*/
export
function
getFamily
(
params
)
{
return
api
(
Object
.
assign
(
formatParams
(
"GET"
,
params
),
{
url
:
`
${
config
.
proxy
}
/admin-api/familyCode/detail`
,
})
);
}
/**
* 查询类型
*/
export
function
getType
()
{
return
api
(
Object
.
assign
(
formatParams
(
"POST"
),
{
url
:
`
${
config
.
proxy
}
/admin-api/familyCode/queryZjCity`
,
})
})
);
);
}
}
/**
/**
* 查询
状态
* 查询
类型
*/
*/
export
function
getReviewState
(
params
)
{
export
function
getType
(
params
)
{
return
api
(
Object
.
assign
(
formatParams
(
"GET"
),
{
url
:
`
${
config
.
proxy
}
/admin-api/familyCode/reviewState?type=
${
params
}
`
,
})
);
}
// 审核
export
function
familyAudit
(
params
)
{
return
api
(
return
api
(
Object
.
assign
(
formatParams
(
"
POS
T"
,
params
),
{
Object
.
assign
(
formatParams
(
"
GE
T"
,
params
),
{
url
:
`
${
config
.
proxy
}
/admin-api/
familyCode/review
`
,
url
:
`
${
config
.
proxy
}
/admin-api/
talent/getType?appId=1234
`
,
})
})
);
);
}
}
...
@@ -67,29 +38,20 @@ export function familyAudit(params) {
...
@@ -67,29 +38,20 @@ export function familyAudit(params) {
* 修改状态
* 修改状态
*/
*/
export
function
updateState
(
params
)
{
export
function
updateState
(
params
)
{
return
api1
(
Object
.
assign
(
formatParams1
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
talent/updateState`
,
})
);
}
/**
* 审核改派
*/
export
function
auditUpdate
(
params
)
{
return
api
(
return
api
(
Object
.
assign
(
formatParams1
(
"POST"
,
params
),
{
Object
.
assign
(
formatParams1
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
/admin-api/
familyCode/reassignment
`
,
url
:
`
${
config
.
proxy
}
/admin-api/
talent/updateState
`
,
})
})
);
);
}
}
/**
/**
* 操作记录
* 操作记录
*/
*/
export
function
getRecord
(
params
)
{
export
function
getRecord
(
params
)
{
return
api
(
return
api
(
Object
.
assign
(
formatParams
(
"GE
T"
,
params
),
{
Object
.
assign
(
formatParams
1
(
"POS
T"
,
params
),
{
url
:
`
${
config
.
proxy
}
/admin-api/
familyCode/queryRecordList
`
,
url
:
`
${
config
.
proxy
}
/admin-api/
talent/getRecord
`
,
})
})
);
);
}
}
...
@@ -98,9 +60,9 @@ export function getRecord(params) {
...
@@ -98,9 +60,9 @@ export function getRecord(params) {
* 查询责任部门
* 查询责任部门
*/
*/
export
function
getBranch
(
params
)
{
export
function
getBranch
(
params
)
{
return
api
1
(
return
api
(
Object
.
assign
(
formatParams1
(
"GET"
,
params
),
{
Object
.
assign
(
formatParams1
(
"GET"
,
params
),
{
url
:
`
${
config
.
proxy
}
talent/getBranch?appId=1234`
,
url
:
`
${
config
.
proxy
}
/admin-api/
talent/getBranch?appId=1234`
,
})
})
);
);
}
}
...
@@ -109,9 +71,9 @@ export function getBranch(params) {
...
@@ -109,9 +71,9 @@ export function getBranch(params) {
* 修改学历状态
* 修改学历状态
*/
*/
export
function
educationState
(
params
)
{
export
function
educationState
(
params
)
{
return
api
1
(
return
api
(
Object
.
assign
(
formatParams1
(
"POST"
,
params
),
{
Object
.
assign
(
formatParams1
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
talent/educationState`
,
url
:
`
${
config
.
proxy
}
/admin-api/
talent/educationState`
,
})
})
);
);
}
}
...
@@ -120,9 +82,9 @@ export function educationState(params) {
...
@@ -120,9 +82,9 @@ export function educationState(params) {
* 查看学历
* 查看学历
*/
*/
export
function
educationQuery
(
params
)
{
export
function
educationQuery
(
params
)
{
return
api
1
(
return
api
(
Object
.
assign
(
formatParams1
(
"POST"
,
params
),
{
Object
.
assign
(
formatParams1
(
"POST"
,
params
),
{
url
:
`
${
config
.
proxy
}
talent/getEducation`
,
url
:
`
${
config
.
proxy
}
/admin-api/
talent/getEducation`
,
})
})
);
);
}
}
src/config/index.js
View file @
4c47a54d
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/axios.js
View file @
4c47a54d
import
axios
from
"axios"
;
import
axios
from
"axios"
;
import
{
import
{
Message
}
from
"element-ui"
;
Message
import
{
baseUrl
}
from
"@/config"
;
}
from
"element-ui"
;
import
{
getToken
}
from
"@/utils/auth"
;
import
{
import
{
TokenKey
}
from
"@/utils/auth"
;
baseUrl
}
from
"@/config"
;
import
{
getToken
}
from
"@/utils/auth"
;
import
{
TokenKey
}
from
'@/utils/auth'
import
router
from
"@/router"
;
import
router
from
"@/router"
;
const
api
=
axios
.
create
({
const
api
=
axios
.
create
({
baseURL
:
`
${
baseUrl
}
`
,
baseURL
:
`
${
baseUrl
}
`
,
...
@@ -17,14 +11,15 @@ const api = axios.create({
...
@@ -17,14 +11,15 @@ const api = axios.create({
// 请求拦截
// 请求拦截
api
.
interceptors
.
request
.
use
(
api
.
interceptors
.
request
.
use
(
(
config
)
=>
{
(
config
)
=>
{
config
.
headers
[
'Authorization'
]
=
'Bearer '
+
localStorage
.
getItem
(
TokenKey
)
config
.
headers
[
"Authorization"
]
=
"Bearer "
+
localStorage
.
getItem
(
TokenKey
);
let
appId
=
/*getToken()*/
"1234"
;
let
appId
=
/*getToken()*/
"1234"
;
if
(
config
.
data
)
config
.
data
.
appId
=
appId
;
if
(
config
.
data
)
config
.
data
.
appId
=
appId
;
return
config
;
return
config
;
},
},
(
error
)
=>
({
(
error
)
=>
({
status
:
0
,
status
:
0
,
msg
:
error
.
message
msg
:
error
.
message
,
})
})
);
);
// 请求返回
// 请求返回
...
@@ -70,9 +65,9 @@ const checkCode = (res) => {
...
@@ -70,9 +65,9 @@ const checkCode = (res) => {
};
};
return
returnData
;
return
returnData
;
}
else
if
(
res
.
data
.
code
==
401
)
{
}
else
if
(
res
.
data
.
code
==
401
)
{
Message
.
error
(
'登录已失效,请重新登录'
)
Message
.
error
(
"登录已失效,请重新登录"
);
window
.
localStorage
.
clear
();
window
.
localStorage
.
clear
();
router
.
replace
(
'/login'
)
router
.
replace
(
"/login"
);
}
else
{
}
else
{
//统一处理错误
//统一处理错误
const
returnData
=
{
const
returnData
=
{
...
@@ -106,7 +101,7 @@ const formatParams = (method = "GET", params, type) => {
...
@@ -106,7 +101,7 @@ const formatParams = (method = "GET", params, type) => {
}
}
let
headers
=
{
let
headers
=
{
"Content-Type"
:
contentType
,
"Content-Type"
:
contentType
,
"Authorization"
:
getToken
()
?
(
'Bearer '
+
getToken
()
)
:
""
,
Authorization
:
getToken
()
?
"Bearer "
+
getToken
(
)
:
""
,
};
};
// appId设置
// appId设置
// 如果接口需要序列化 type == 'qs'
// 如果接口需要序列化 type == 'qs'
...
@@ -160,8 +155,4 @@ const formatParams = (method = "GET", params, type) => {
...
@@ -160,8 +155,4 @@ const formatParams = (method = "GET", params, type) => {
}
}
};
};
export
{
export
{
api
,
formatParams
,
baseUrl
};
api
,
formatParams
,
baseUrl
};
\ No newline at end of file
src/utils/request.js
View file @
4c47a54d
import
axios
from
"axios"
;
import
axios
from
"axios"
;
import
{
Message
}
from
"element-ui"
;
import
{
Message
}
from
"element-ui"
;
import
{
getToken
}
from
"@/utils/auth"
;
import
{
getToken
}
from
"@/utils/auth"
;
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/"
,
// 新正式接口
// proxy: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口
// proxy: "http://81.69.231.72:9089/", // 测试地址
};
};
//axios基本配置
//axios基本配置
...
@@ -55,6 +57,9 @@ const api1 = axios.create({
...
@@ -55,6 +57,9 @@ const api1 = axios.create({
api1
.
interceptors
.
request
.
use
(
api1
.
interceptors
.
request
.
use
(
(
conf
)
=>
{
(
conf
)
=>
{
//请求带token
//请求带token
config
.
headers
[
"Authorization"
]
=
"Bearer "
+
localStorage
.
getItem
(
TokenKey
);
// conf.headers['Authorization'] = store2('accesstoken')
// conf.headers['Authorization'] = store2('accesstoken')
let
appId
=
/*getToken()*/
"1234"
;
let
appId
=
/*getToken()*/
"1234"
;
if
(
conf
.
data
)
conf
.
data
.
appId
=
appId
;
if
(
conf
.
data
)
conf
.
data
.
appId
=
appId
;
...
...
src/views/FamilyManage/index.vue
View file @
4c47a54d
...
@@ -611,7 +611,7 @@ import {
...
@@ -611,7 +611,7 @@ import {
getReviewState
,
getReviewState
,
familyAudit
,
familyAudit
,
auditUpdate
,
auditUpdate
,
}
from
"@/api/
talents
"
;
}
from
"@/api/
family
"
;
// import { Message } from "element-ui";
// import { Message } from "element-ui";
export
default
{
export
default
{
...
...
src/views/Talents/index.vue
View file @
4c47a54d
<
template
>
<
template
>
<div
class=
"coldfood"
>
<div
class=
"coldfood"
>
<div
class=
"search-wrapper"
>
<div
class=
"search-wrapper"
>
<el-form
:inline=
"true"
:model=
"searchForm"
class=
"search_form"
style=
"text-align:left"
>
<el-form
:inline=
"true"
:model=
"searchForm"
class=
"search_form"
style=
"text-align: left"
>
<el-form-item
label=
"姓名"
label-width=
"200"
>
<el-form-item
label=
"姓名"
label-width=
"200"
>
<el-input
v-model=
"searchForm.name"
placeholder=
"请输入姓名"
@
keyup
.
enter
.
native=
"onSubmit"
></el-input>
<el-input
v-model=
"searchForm.name"
placeholder=
"请输入姓名"
@
keyup
.
enter
.
native=
"onSubmit"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"手机号码"
>
<el-form-item
label=
"手机号码"
>
<el-input
v-model=
"searchForm.phone"
placeholder=
"请输入手机号码"
@
keyup
.
enter
.
native=
"onSubmit"
>
<el-input
v-model=
"searchForm.phone"
placeholder=
"请输入手机号码"
@
keyup
.
enter
.
native=
"onSubmit"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"单位名称"
>
<el-form-item
label=
"单位名称"
>
<el-input
v-model=
"searchForm.unitName"
placeholder=
"请输入单位名称"
@
keyup
.
enter
.
native=
"onSubmit"
>
<el-input
v-model=
"searchForm.unitName"
placeholder=
"请输入单位名称"
@
keyup
.
enter
.
native=
"onSubmit"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"操作人"
>
<el-form-item
label=
"操作人"
>
<el-input
v-model=
"searchForm.recordName"
placeholder=
"请输入操作人"
@
keyup
.
enter
.
native=
"onSubmit"
>
<el-input
v-model=
"searchForm.recordName"
placeholder=
"请输入操作人"
@
keyup
.
enter
.
native=
"onSubmit"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"人才类型"
v-if=
"this.branchCode == '5'"
>
<el-form-item
label=
"人才类型"
v-if=
"this.branchCode == '5'"
>
<el-select
v-model=
"searchForm.talentClassification"
placeholder=
"请选择人才类型"
style=
"width: 100%"
<el-select
@
change=
"onSubmit"
>
v-model=
"searchForm.talentClassification"
<el-option
v-for=
"item in talentsList"
:key=
"item.id"
:label=
"item.label"
:value=
"item.id"
>
placeholder=
"请选择人才类型"
style=
"width: 100%"
@
change=
"onSubmit"
>
<el-option
v-for=
"item in talentsList"
:key=
"item.id"
:label=
"item.label"
:value=
"item.id"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"认定类型"
>
<el-form-item
label=
"认定类型"
>
<el-select
v-model=
"searchForm.typeCode"
placeholder=
"请选择认定类型"
style=
"width: 100%"
<el-select
@
change=
"onSubmit"
>
v-model=
"searchForm.typeCode"
<el-option
v-for=
"item in typeList"
:key=
"item.typeCode"
:label=
"item.typeName"
placeholder=
"请选择认定类型"
:value=
"item.typeCode"
></el-option>
style=
"width: 100%"
@
change=
"onSubmit"
>
<el-option
v-for=
"item in typeList"
:key=
"item.typeCode"
:label=
"item.typeName"
:value=
"item.typeCode"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"!branchCode"
label=
"责任部门"
>
<el-form-item
v-if=
"!branchCode"
label=
"责任部门"
>
<el-select
v-model=
"searchForm.branchCode"
placeholder=
"请选择责任部门"
style=
"width: 100%"
<el-select
@
change=
"onSubmit"
>
v-model=
"searchForm.branchCode"
<el-option
v-for=
"item in branchList"
:key=
"item.branchCode"
:label=
"item.branchName"
placeholder=
"请选择责任部门"
:value=
"item.branchCode"
></el-option>
style=
"width: 100%"
@
change=
"onSubmit"
>
<el-option
v-for=
"item in branchList"
:key=
"item.branchCode"
:label=
"item.branchName"
:value=
"item.branchCode"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<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-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
:label=
"item.state"
v-for=
"item in stateList"
:key=
"item.state"
>
{{
item
.
stateName
}}
<el-radio
:label=
"item.state"
v-for=
"item in stateList"
:key=
"item.state"
>
{{
item
.
stateName
}}
</el-radio>
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
...
@@ -52,9 +102,19 @@
...
@@ -52,9 +102,19 @@
</div>
</div>
<!-- 表格 -->
<!-- 表格 -->
<div
class=
"table-wrapper1"
>
<div
class=
"table-wrapper1"
>
<table-template
:tableData=
"tableData"
:tableColumns=
"tableColumns"
:loading=
"loading"
<table-template
:pagination=
"pagination"
@
Jump=
"jumpPage"
>
:tableData=
"tableData"
<el-table-column
width=
"120"
prop=
"talentClassification"
label=
"人才类型"
align=
"center"
>
:tableColumns=
"tableColumns"
:loading=
"loading"
:pagination=
"pagination"
@
Jump=
"jumpPage"
>
<el-table-column
width=
"120"
prop=
"talentClassification"
label=
"人才类型"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.talentClassification == '1'"
>
<div
v-if=
"scope.row.talentClassification == '1'"
>
乡土或创新人才
乡土或创新人才
...
@@ -71,39 +131,85 @@
...
@@ -71,39 +131,85 @@
<div
v-else
>
-
</div>
<div
v-else
>
-
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"120"
prop=
"overdue"
label=
"逾期状态"
align=
"center"
>
<el-table-column
width=
"120"
prop=
"overdue"
label=
"逾期状态"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.state == 1"
>
<div
v-if=
"scope.row.state == 1"
>
<div
v-if=
"scope.row.overdue
<
3
"
></div>
<div
v-if=
"scope.row.overdue
<
3
"
></div>
<div
class=
"early"
v-if=
"scope.row.overdue
<
5
&&
scope
.
row
.
overdue
>
= 3">
</div>
<div
class=
"early"
v-if=
"scope.row.overdue
<
5
&&
scope
.
row
.
overdue
>
= 3"
>
</div>
<div
class=
"warning"
v-if=
"scope.row.overdue >= 5"
></div>
<div
class=
"warning"
v-if=
"scope.row.overdue >= 5"
></div>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"120"
key=
"stateName"
prop=
"onlineName"
label=
"状态"
align=
"center"
>
<el-table-column
width=
"120"
key=
"stateName"
prop=
"onlineName"
label=
"状态"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tag
:type=
"scope.row.type"
>
{{
scope
.
row
.
stateName
}}
</el-tag>
<el-tag
:type=
"scope.row.type"
>
{{
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"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
round
@
click=
"view(scope.row)"
>
查看
</el-button>
<el-button
type=
"primary"
size=
"mini"
round
@
click=
"view(scope.row)"
<el-button
type=
"primary"
size=
"mini"
round
@
click=
"getRecord(scope.row)"
>
记录
</el-button>
>
查看
</el-button
>
<el-button
type=
"primary"
size=
"mini"
round
@
click=
"getRecord(scope.row)"
>
记录
</el-button
>
<!-- 公示期的单子可以暂停公示 -->
<!-- 公示期的单子可以暂停公示 -->
<el-button
v-if=
"scope.row.state === 2"
type=
"warning"
size=
"mini"
round
<el-button
@
click=
"pause(scope.row.talentCode)"
>
暂停公示
</el-button>
v-if=
"scope.row.state === 2"
type=
"warning"
size=
"mini"
round
@
click=
"pause(scope.row.talentCode)"
>
暂停公示
</el-button
>
<!-- 暂停公示的单子可以恢复公示 -->
<!-- 暂停公示的单子可以恢复公示 -->
<el-button
v-if=
"scope.row.state === 4"
type=
"success"
size=
"mini"
round
<el-button
@
click=
"recover(scope.row.talentCode)"
>
恢复公示
</el-button>
v-if=
"scope.row.state === 4"
type=
"success"
size=
"mini"
round
@
click=
"recover(scope.row.talentCode)"
>
恢复公示
</el-button
>
<!-- 审核通过后的单子都可以拉入黑名单撤销 -->
<!-- 审核通过后的单子都可以拉入黑名单撤销 -->
<el-button
v-if=
"
<el-button
v-if=
"
scope.row.state === 2 ||
scope.row.state === 2 ||
scope.row.state === 3 ||
scope.row.state === 3 ||
scope.row.state === 4
scope.row.state === 4
"
type=
"danger"
size=
"mini"
round
@
click=
"blacklist(scope.row.talentCode)"
>
撤销
</el-button>
"
type=
"danger"
size=
"mini"
round
@
click=
"blacklist(scope.row.talentCode)"
>
撤销
</el-button
>
<!-- 审核通过后的单子都可以打印-->
<!-- 审核通过后的单子都可以打印-->
<el-button
size=
"mini"
round
@
click=
"print(scope.row.talentCode, scope.row)"
>
打印
</el-button>
<el-button
size=
"mini"
round
@
click=
"print(scope.row.talentCode, scope.row)"
>
打印
</el-button
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</table-template>
</table-template>
...
@@ -111,16 +217,40 @@
...
@@ -111,16 +217,40 @@
<!-- 表格end -->
<!-- 表格end -->
<!-- 拒绝对话框 -->
<!-- 拒绝对话框 -->
<el-dialog
title=
"提示"
:visible
.
sync=
"refuseDialog"
width=
"30%"
class=
"refuseDialog"
:before-close=
"cancelBtn"
>
<el-dialog
<span>
确定拒绝该人才的申请吗?确定的话请
<span
style=
"color:red"
>
选择或输入
</span>
拒绝原因
</span>
title=
"提示"
:visible
.
sync=
"refuseDialog"
width=
"30%"
class=
"refuseDialog"
:before-close=
"cancelBtn"
>
<span
>
确定拒绝该人才的申请吗?确定的话请
<span
style=
"color: red"
>
选择或输入
</span
>
拒绝原因
</span
>
<div>
<div>
<el-select
v-model=
"refuseValue"
placeholder=
"请选择拒绝原因"
@
change=
"refuseSelect"
>
<el-select
<el-option
v-for=
"item in refuseOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
v-model=
"refuseValue"
placeholder=
"请选择拒绝原因"
@
change=
"refuseSelect"
>
<el-option
v-for=
"item in refuseOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-option>
</el-select>
</el-select>
</div>
</div>
<div
class=
"refuseTex"
>
<div
class=
"refuseTex"
>
<el-input
type=
"textarea"
autosize
placeholder=
"请输入拒绝原因"
v-model=
"refuseTextarea"
>
<el-input
type=
"textarea"
autosize
placeholder=
"请输入拒绝原因"
v-model=
"refuseTextarea"
>
</el-input>
</el-input>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
...
@@ -129,11 +259,16 @@
...
@@ -129,11 +259,16 @@
</span>
</span>
</el-dialog>
</el-dialog>
<!-- 人才详情的对话框 -->
<!-- 人才详情的对话框 -->
<el-dialog
title=
"人才详情"
:visible
.
sync=
"viewShow"
width=
"800px"
:close-on-press-escape=
"false"
<el-dialog
@
close=
"showEdu = false"
>
title=
"人才详情"
:visible
.
sync=
"viewShow"
width=
"800px"
:close-on-press-escape=
"false"
@
close=
"showEdu = false"
>
<div
class=
"content"
>
<div
class=
"content"
>
<!-- 开始 -->
<!-- 开始 -->
<div
style=
"background:#F3F4F
6"
>
<div
style=
"background: #f3f4f
6"
>
<div
class=
"cell"
>
<div
class=
"cell"
>
<p
class=
"label"
>
申请类型
</p>
<p
class=
"label"
>
申请类型
</p>
<p
class=
"value"
>
{{ viewDetail.category }}
</p>
<p
class=
"value"
>
{{ viewDetail.category }}
</p>
...
@@ -170,14 +305,26 @@
...
@@ -170,14 +305,26 @@
</div>
</div>
<div
class=
"cell"
>
<div
class=
"cell"
>
<p
class=
"label"
>
个人承诺函
</p>
<p
class=
"label"
>
个人承诺函
</p>
<el-image
style=
"height: 100px; max-width: 150px"
:src=
"viewDetail.promise"
<el-image
:preview-src-list=
"[viewDetail.promise]"
:z-index=
"1000000"
/>
style=
"height: 100px; max-width: 150px"
:src=
"viewDetail.promise"
:preview-src-list=
"[viewDetail.promise]"
:z-index=
"1000000"
/>
</div>
</div>
<div
class=
"cell"
v-for=
"(item, index) in viewDetail.pictureList"
:key=
"index"
>
<div
class=
"cell"
v-for=
"(item, index) in viewDetail.pictureList"
:key=
"index"
>
<
template
v-if=
"item.pictureType === 1"
>
<
template
v-if=
"item.pictureType === 1"
>
<p
class=
"label"
>
佐证材料(图片)
</p>
<p
class=
"label"
>
佐证材料(图片)
</p>
<el-image
style=
"height: 100px; max-width: 150px"
:src=
"item.picture"
<el-image
:preview-src-list=
"[item.picture]"
:z-index=
"1000000"
/>
style=
"height: 100px; max-width: 150px"
:src=
"item.picture"
:preview-src-list=
"[item.picture]"
:z-index=
"1000000"
/>
</
template
>
</
template
>
<
template
v-if=
"item.pictureType === 2"
>
<
template
v-if=
"item.pictureType === 2"
>
<p
class=
"label"
>
佐证材料(文件)
</p>
<p
class=
"label"
>
佐证材料(文件)
</p>
...
@@ -192,7 +339,9 @@
...
@@ -192,7 +339,9 @@
发文机构:
{{
item
.
issuingOrganization
}}
发文机构:
{{
item
.
issuingOrganization
}}
</p>
</p>
<p
class=
"item"
>
<p
class=
"item"
>
<a
class=
"download"
target=
"_blank"
:href=
"item.picture"
>
下载文件
</a>
<a
class=
"download"
target=
"_blank"
:href=
"item.picture"
>
下载文件
</a
>
</p>
</p>
</div>
</div>
</
template
>
</
template
>
...
@@ -239,14 +388,27 @@
...
@@ -239,14 +388,27 @@
<p
class=
"label"
>
<p
class=
"label"
>
学历所在(
<span
style=
"color: red"
>
{{
学历所在(
<span
style=
"color: red"
>
{{
viewDetail.educationState === 0 ? "校验未通过" : "校验已通过"
viewDetail.educationState === 0 ? "校验未通过" : "校验已通过"
}}
</span>
)
}}
</span
>
)
</p>
</p>
<p
class=
"value"
>
<p
class=
"value"
>
{{ viewDetail.educationPassport === 0 ? "国内" : "国外" }}
{{ viewDetail.educationPassport === 0 ? "国内" : "国外" }}
</p>
</p>
<el-button
style=
"margin-left: 20px"
size=
"mini"
type=
"success"
@
click=
"viewEdu"
>
查看
</el-button>
<el-button
<el-button
style=
"margin-left: 20px"
v-if=
"viewDetail.educationState === 0"
type=
"primary"
style=
"margin-left: 20px"
size=
"mini"
@
click=
"passEducation"
>
审核通过
</el-button>
size=
"mini"
type=
"success"
@
click=
"viewEdu"
>
查看
</el-button
>
<el-button
style=
"margin-left: 20px"
v-if=
"viewDetail.educationState === 0"
type=
"primary"
size=
"mini"
@
click=
"passEducation"
>
审核通过
</el-button
>
</div>
</div>
<div
class=
"cell"
v-show=
"showEdu"
>
<div
class=
"cell"
v-show=
"showEdu"
>
<p
class=
"label"
>
学历查验
</p>
<p
class=
"label"
>
学历查验
</p>
...
@@ -323,17 +485,33 @@
...
@@ -323,17 +485,33 @@
<div
class=
"cell"
>
<div
class=
"cell"
>
<p
class=
"label"
>
个人照片
</p>
<p
class=
"label"
>
个人照片
</p>
<el-image
style=
"height: 100px; max-width: 150px"
:src=
"viewDetail.headPortrait"
<el-image
:preview-src-list=
"[viewDetail.headPortrait]"
:z-index=
"1000000"
/>
style=
"height: 100px; max-width: 150px"
:src=
"viewDetail.headPortrait"
:preview-src-list=
"[viewDetail.headPortrait]"
:z-index=
"1000000"
/>
</div>
</div>
<div
class=
"cell"
v-if=
"viewDetail.payroll && viewDetail.unitType == '2'"
>
<div
class=
"cell"
v-if=
"viewDetail.payroll && viewDetail.unitType == '2'"
>
<p
class=
"label"
>
工资变动审批表
</p>
<p
class=
"label"
>
工资变动审批表
</p>
<a
class=
"download"
target=
"_blank"
:href=
"viewDetail.payroll"
>
下载文件
</a>
<a
class=
"download"
target=
"_blank"
:href=
"viewDetail.payroll"
>
下载文件
</a
>
</div>
</div>
<div
class=
"cell"
v-if=
"viewDetail.payroll && viewDetail.unitType == '3'"
>
<div
class=
"cell"
v-if=
"viewDetail.payroll && viewDetail.unitType == '3'"
>
<p
class=
"label"
>
劳务派遣合同个人签字和盖章
</p>
<p
class=
"label"
>
劳务派遣合同个人签字和盖章
</p>
<el-image
style=
"height: 100px; max-width: 150px"
:src=
"viewDetail.payroll"
<el-image
:preview-src-list=
"[viewDetail.payroll]"
:z-index=
"7777777"
/>
style=
"height: 100px; max-width: 150px"
:src=
"viewDetail.payroll"
:preview-src-list=
"[viewDetail.payroll]"
:z-index=
"7777777"
/>
</div>
</div>
<!-- <div class="cell" v-if="viewDetail.titleCertificate">-->
<!-- <div class="cell" v-if="viewDetail.titleCertificate">-->
<!-- <p class="label">职称证明</p>-->
<!-- <p class="label">职称证明</p>-->
...
@@ -345,25 +523,50 @@
...
@@ -345,25 +523,50 @@
<!-- </div>-->
<!-- </div>-->
<div
class=
"cell"
v-if=
"viewDetail.education"
>
<div
class=
"cell"
v-if=
"viewDetail.education"
>
<p
class=
"label"
>
学信网学历证明
</p>
<p
class=
"label"
>
学信网学历证明
</p>
<el-image
style=
"height: 100px; max-width: 150px"
:src=
"viewDetail.education"
<el-image
:preview-src-list=
"[viewDetail.education]"
:z-index=
"7777777"
/>
style=
"height: 100px; max-width: 150px"
:src=
"viewDetail.education"
:preview-src-list=
"[viewDetail.education]"
:z-index=
"7777777"
/>
</div>
</div>
<div
class=
"cell"
v-if=
"viewDetail.studentStatus"
>
<div
class=
"cell"
v-if=
"viewDetail.studentStatus"
>
<p
class=
"label"
>
学信网学籍证明
</p>
<p
class=
"label"
>
学信网学籍证明
</p>
<el-image
style=
"height: 100px; max-width: 150px"
:src=
"viewDetail.studentStatus"
:z-index=
"7777777"
<el-image
:preview-src-list=
"[viewDetail.studentStatus]"
/>
style=
"height: 100px; max-width: 150px"
:src=
"viewDetail.studentStatus"
:z-index=
"7777777"
:preview-src-list=
"[viewDetail.studentStatus]"
/>
</div>
</div>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<!-- 申请的单子有通过拒绝-->
<!-- 申请的单子有通过拒绝-->
<el-button
v-if=
"viewRow.state === 1"
type=
"danger"
size=
"mini"
round
@
click=
"deny(viewRow)"
>
拒绝
<el-button
v-if=
"viewRow.state === 1"
type=
"danger"
size=
"mini"
round
@
click=
"deny(viewRow)"
>
拒绝
</el-button>
</el-button>
<!-- 通过 -->
<!-- 通过 -->
<el-button
v-if=
"viewRow.state === 1"
type=
"success"
size=
"mini"
round
@
click=
"pass(viewRow)"
>
通过
<el-button
v-if=
"viewRow.state === 1"
type=
"success"
size=
"mini"
round
@
click=
"pass(viewRow)"
>
通过
</el-button>
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
<el-dialog
title=
"操作记录"
:visible
.
sync=
"recordShow"
width=
"800px"
:close-on-press-escape=
"false"
>
<el-dialog
title=
"操作记录"
:visible
.
sync=
"recordShow"
width=
"800px"
:close-on-press-escape=
"false"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"cell"
v-for=
"item in record"
:key=
"item.createTime"
>
<div
class=
"cell"
v-for=
"item in record"
:key=
"item.createTime"
>
<p
class=
"label"
style=
"margin-right: 20px"
>
<p
class=
"label"
style=
"margin-right: 20px"
>
...
@@ -626,22 +829,24 @@ export default {
...
@@ -626,22 +829,24 @@ export default {
watch
:
{
watch
:
{
$route
()
{
$route
()
{
if
(
this
.
$route
)
{
if
(
this
.
$route
)
{
this
.
userName
=
localStorage
.
getItem
(
'userName'
);
this
.
userName
=
localStorage
.
getItem
(
"userName"
);
this
.
branchCode
=
this
.
$route
.
query
.
branchCode
?
this
.
$route
.
query
.
branchCode
:
''
this
.
branchCode
=
this
.
$route
.
query
.
branchCode
this
.
code
=
this
.
$route
.
query
.
code
?
this
.
$route
.
query
.
code
:
''
?
this
.
$route
.
query
.
branchCode
this
.
searchForm
.
name
=
''
:
""
;
this
.
searchForm
.
phone
=
''
this
.
code
=
this
.
$route
.
query
.
code
?
this
.
$route
.
query
.
code
:
""
;
this
.
searchForm
.
typeCode
=
''
this
.
searchForm
.
name
=
""
;
this
.
searchForm
.
state
=
''
this
.
searchForm
.
phone
=
""
;
this
.
searchForm
.
recordName
=
''
this
.
searchForm
.
typeCode
=
""
;
this
.
searchForm
.
unitName
=
''
this
.
searchForm
.
state
=
""
;
this
.
searchForm
.
recordName
=
""
;
this
.
searchForm
.
unitName
=
""
;
this
.
init
();
this
.
init
();
this
.
initType
();
this
.
initType
();
if
(
!
this
.
branchCode
)
{
if
(
!
this
.
branchCode
)
{
this
.
initBranch
();
this
.
initBranch
();
}
}
}
}
}
},
},
},
methods
:
{
methods
:
{
switechBranch
(
branchCode
)
{
switechBranch
(
branchCode
)
{
...
@@ -657,7 +862,7 @@ export default {
...
@@ -657,7 +862,7 @@ export default {
}
}
},
},
init
()
{
init
()
{
this
.
tableData
=
[]
this
.
tableData
=
[];
this
.
loading
=
true
;
this
.
loading
=
true
;
// console.log(1);
// console.log(1);
// console.log("this.branchCode---", this.branchCode);
// console.log("this.branchCode---", this.branchCode);
...
@@ -668,21 +873,25 @@ export default {
...
@@ -668,21 +873,25 @@ export default {
state
:
this
.
searchForm
.
state
,
state
:
this
.
searchForm
.
state
,
recordName
:
this
.
searchForm
.
recordName
,
recordName
:
this
.
searchForm
.
recordName
,
unitName
:
this
.
searchForm
.
unitName
,
unitName
:
this
.
searchForm
.
unitName
,
branchCode
:
this
.
branchCode
?
this
.
branchCode
:
this
.
searchForm
.
branchCode
,
branchCode
:
this
.
branchCode
?
this
.
branchCode
:
this
.
searchForm
.
branchCode
,
pageNum
:
this
.
pagination
.
currentPage
,
pageNum
:
this
.
pagination
.
currentPage
,
pageSize
:
this
.
pagination
.
pageSize
,
pageSize
:
this
.
pagination
.
pageSize
,
talentClassification
:
this
.
searchForm
.
talentClassification
,
// 人才分类
talentClassification
:
this
.
searchForm
.
talentClassification
,
// 人才分类
socialPremiumLocation
:
this
.
switechBranch
(
this
.
code
),
// 社保缴纳地
socialPremiumLocation
:
this
.
switechBranch
(
this
.
code
),
// 社保缴纳地
};
};
// console.log("params-----", params);
// console.log("params-----", params);
getList
(
params
).
then
((
res
)
=>
{
getList
(
params
).
then
((
res
)
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
pagination
.
total
=
res
.
data
.
total
;
this
.
pagination
.
total
=
res
.
data
.
total
;
if
(
res
.
data
.
total
)
{
if
(
res
.
data
.
total
)
{
this
.
tableData
=
res
.
data
.
list
.
map
((
item
)
=>
{
this
.
tableData
=
res
.
data
.
list
.
map
((
item
)
=>
{
// console.log("人才码列表----", item);
// console.log("人才码列表----", item);
item
.
updateTime
=
item
.
updateTime
.
substring
(
0
,
10
);
item
.
updateTime
=
item
.
updateTime
?
.
substring
(
0
,
10
);
item
.
stateName
=
this
.
getSatusArr
(
item
.
state
).
stateName
;
item
.
stateName
=
this
.
getSatusArr
(
item
.
state
).
stateName
;
item
.
type
=
this
.
getSatusArr
(
item
.
state
).
type
;
item
.
type
=
this
.
getSatusArr
(
item
.
state
).
type
;
return
item
;
return
item
;
...
@@ -696,29 +905,37 @@ export default {
...
@@ -696,29 +905,37 @@ export default {
);
);
return
item
;
return
item
;
});
});
if
(
localStorage
.
getItem
(
'userName'
)
==
'admin'
)
{
if
(
localStorage
.
getItem
(
"userName"
)
==
"admin"
)
{
this
.
tableData
=
changeList
(
this
.
tableData
)
this
.
tableData
=
changeList
(
this
.
tableData
);
}
}
}
else
{
}
else
{
this
.
tableData
=
[]
this
.
tableData
=
[];
}
}
}
}
});
});
},
},
initType
()
{
initType
()
{
this
.
typeList
=
[{
this
.
typeList
=
[
{
typeCode
:
""
,
typeCode
:
""
,
typeName
:
"全部"
,
typeName
:
"全部"
,
},]
},
getType
({}).
then
((
res
)
=>
{
];
getType
().
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
code
==
200
)
{
console
.
log
(
"initType--->"
,
res
);
this
.
typeList
=
this
.
typeList
.
concat
(
res
.
data
);
this
.
typeList
=
this
.
typeList
.
concat
(
res
.
data
);
}
});
});
},
},
initBranch
()
{
initBranch
()
{
this
.
branchList
=
[{
this
.
branchList
=
[
{
branchCode
:
""
,
branchCode
:
""
,
branchName
:
"全部"
,
branchName
:
"全部"
,
},]
},
];
getBranch
({}).
then
((
res
)
=>
{
getBranch
({}).
then
((
res
)
=>
{
this
.
branchList
=
this
.
branchList
.
concat
(
res
.
data
);
this
.
branchList
=
this
.
branchList
.
concat
(
res
.
data
);
console
.
log
(
"this.branchList----"
,
this
.
branchList
);
console
.
log
(
"this.branchList----"
,
this
.
branchList
);
...
@@ -1031,9 +1248,11 @@ export default {
...
@@ -1031,9 +1248,11 @@ export default {
},
},
},
},
created
()
{
created
()
{
this
.
userName
=
localStorage
.
getItem
(
'userName'
);
this
.
userName
=
localStorage
.
getItem
(
"userName"
);
this
.
branchCode
=
this
.
$route
.
query
.
branchCode
?
this
.
$route
.
query
.
branchCode
:
''
this
.
branchCode
=
this
.
$route
.
query
.
branchCode
this
.
code
=
this
.
$route
.
query
.
code
?
this
.
$route
.
query
.
code
:
''
?
this
.
$route
.
query
.
branchCode
:
""
;
this
.
code
=
this
.
$route
.
query
.
code
?
this
.
$route
.
query
.
code
:
""
;
this
.
init
();
this
.
init
();
this
.
initType
();
this
.
initType
();
if
(
!
this
.
branchCode
)
{
if
(
!
this
.
branchCode
)
{
...
@@ -1135,4 +1354,3 @@ export default {
...
@@ -1135,4 +1354,3 @@ export default {
border-radius
:
2px
;
border-radius
:
2px
;
}
}
</
style
>
</
style
>
\ No newline at end of file
vue.config.js
View file @
4c47a54d
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