Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zj-app(废弃)
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-app(废弃)
Commits
e23387c0
Commit
e23387c0
authored
Apr 10, 2023
by
songwenlu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'gx'
parent
1937e4e5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
54 additions
and
26 deletions
+54
-26
App.vue
src/App.vue
+1
-1
answer.jpg
src/assets/answer/answer.jpg
+0
-0
index.js
src/router/index.js
+0
-0
axios.js
src/utils/axios.js
+3
-2
utils.js
src/utils/utils.js
+1
-1
index.vue
src/views/answer/index.vue
+23
-0
index.vue
src/views/talents/index.vue
+4
-3
report.vue
src/views/talents/report.vue
+1
-1
reportfilter.vue
src/views/talents/reportfilter.vue
+20
-17
reportform.vue
src/views/talents/reportform.vue
+1
-1
No files found.
src/App.vue
View file @
e23387c0
...
@@ -63,7 +63,7 @@ export default {
...
@@ -63,7 +63,7 @@ export default {
},
},
created
()
{
created
()
{
// 测试模拟人员信息
// 测试模拟人员信息
//
this.init();
this
.
init
();
},
},
};
};
</
script
>
</
script
>
...
...
src/assets/answer/answer.jpg
0 → 100644
View file @
e23387c0
842 KB
src/router/index.js
View file @
e23387c0
This diff is collapsed.
Click to expand it.
src/utils/axios.js
View file @
e23387c0
...
@@ -39,12 +39,13 @@ const request2 = axios.create({
...
@@ -39,12 +39,13 @@ const request2 = axios.create({
timeout
:
30000
,
timeout
:
30000
,
withCredentials
:
false
,
withCredentials
:
false
,
});
});
// sessionStorage.setItem('token',"cAu7hNfHsBhC0slp3t2fpTFhYb1P9I5X339Hq7Y7BRSqIn18qGEVJSGZ7xy5Woex")
request2
.
interceptors
.
request
.
use
(
request2
.
interceptors
.
request
.
use
(
(
config
)
=>
{
(
config
)
=>
{
config
.
headers
=
{
config
.
headers
=
{
"Content-Type"
:
"application/json;multipart/form-data;"
,
"Content-Type"
:
"application/json;multipart/form-data;"
,
"Authorization"
:
"Bearer "
+
sessionStorage
.
getItem
(
"token"
)
// "Authorization": "Bearer " + sessionStorage.getItem("token")
"Authorization"
:
"Bearer "
+
'00JcqsZfWIT3nfMR9fL2pfgsbraInluMinxgSWxmnm916AG92mTkUzs5ML6dQIl4'
};
};
// alert(JSON.stringify(config.headers))
// alert(JSON.stringify(config.headers))
// if (config.method === 'post') {
// if (config.method === 'post') {
...
...
src/utils/utils.js
View file @
e23387c0
...
@@ -19,7 +19,7 @@ export function getDays(leng) {
...
@@ -19,7 +19,7 @@ export function getDays(leng) {
date
=
date
>
9
?
date
:
`0
${
date
}
`
;
date
=
date
>
9
?
date
:
`0
${
date
}
`
;
timeStr
=
year
+
"-"
+
month
+
"-"
+
date
;
timeStr
=
year
+
"-"
+
month
+
"-"
+
date
;
timeArr
.
push
(
timeStr
);
timeArr
.
push
(
timeStr
);
}
}
CryptoJS
return
timeArr
;
return
timeArr
;
}
}
...
...
src/views/answer/index.vue
0 → 100644
View file @
e23387c0
<
template
>
<div
class=
"answer"
>
<img
class=
"answer"
src=
"@/assets/answer/answer.jpg"
alt=
""
>
</div>
</
template
>
<
script
>
export
default
{};
</
script
>
<
style
scoped
>
.answer
{
width
:
100%
;
height
:
100%
;
}
</
style
>
\ No newline at end of file
src/views/talents/index.vue
View file @
e23387c0
...
@@ -249,7 +249,9 @@ export default {
...
@@ -249,7 +249,9 @@ export default {
get
({
get
({
appId
:
1234
,
appId
:
1234
,
// userId: encryptByDES(this.userInfo.userId.toString(), "MnuYbhGv"),
// userId: encryptByDES(this.userInfo.userId.toString(), "MnuYbhGv"),
idCard
:
this
.
userInfo
.
idCardNo
?
decryptByDES
(
this
.
userInfo
.
idCardNo
,
"MnuYbhGv"
)
:
null
idCard
:
this
.
userInfo
.
idCardNo
?
decryptByDES
(
this
.
userInfo
.
idCardNo
,
"MnuYbhGv"
)
:
null
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
console
.
log
(
"res------"
,
res
);
console
.
log
(
"res------"
,
res
);
// alert(JSON.stringify(res))
// alert(JSON.stringify(res))
...
@@ -495,8 +497,7 @@ export default {
...
@@ -495,8 +497,7 @@ export default {
}
}
sessionStorage
.
setItem
(
"ZJCD-UserInfo"
,
res
);
sessionStorage
.
setItem
(
"ZJCD-UserInfo"
,
res
);
this
.
userInfo
=
userInfo
;
this
.
userInfo
=
userInfo
;
sessionStorage
.
setItem
(
'token'
,
this
.
userInfo
.
token
),
sessionStorage
.
setItem
(
"token"
,
this
.
userInfo
.
token
),
this
.
init
();
this
.
init
();
},
},
callPhone
(
branchPhone
)
{
callPhone
(
branchPhone
)
{
if
(
window
.
android
!==
undefined
)
{
if
(
window
.
android
!==
undefined
)
{
...
...
src/views/talents/report.vue
View file @
e23387c0
...
@@ -181,7 +181,7 @@ export default {
...
@@ -181,7 +181,7 @@ export default {
});
});
},
},
setContent
(
item
)
{
setContent
(
item
)
{
alert
(
JSON
.
stringify
(
item
))
//
alert(JSON.stringify(item))
// console.log(item);
// console.log(item);
this
.
result
=
item
;
this
.
result
=
item
;
this
.
contentCode
=
item
.
contentCode
;
this
.
contentCode
=
item
.
contentCode
;
...
...
src/views/talents/reportfilter.vue
View file @
e23387c0
...
@@ -100,11 +100,12 @@ export default {
...
@@ -100,11 +100,12 @@ export default {
this
.
list
=
[];
this
.
list
=
[];
},
},
filterData
(
item
)
{
filterData
(
item
)
{
this
.
genera
=
item
.
name
;
this
.
genera
=
item
.
name
;
let
area
=
this
.
$store
.
state
.
talents
.
area
;
let
area
=
this
.
$store
.
state
.
talents
.
area
;
if
(
item
.
status
==
"0"
)
{
if
(
item
.
status
==
"0"
)
{
// 需要检查社保缴纳情况
// 需要检查社保缴纳情况
if
(
area
===
0
)
{
//
if (area === 0) {
// alert(JSON.stringify(item))
// alert(JSON.stringify(item))
if
(
item
.
name
!=
"企业全职人员"
)
{
if
(
item
.
name
!=
"企业全职人员"
)
{
// 取消校验
// 取消校验
...
@@ -140,14 +141,14 @@ export default {
...
@@ -140,14 +141,14 @@ export default {
this
.
socialCheck
(
idCardNo2
,
item
.
index
);
this
.
socialCheck
(
idCardNo2
,
item
.
index
);
}
}
}
}
}
else
{
//
} else {
// 外籍或港澳台
//
// 外籍或港澳台
this
.
show
=
true
;
//
this.show = true;
}
//
}
}
else
{
}
else
{
if
(
item
.
check
)
{
if
(
item
.
check
)
{
// 需要检测是否在名单中
// 需要检测是否在名单中
if
(
area
==
=
0
)
{
if
(
area
==
0
)
{
// 国内人员
// 国内人员
let
res
=
sessionStorage
.
getItem
(
"ZJCD-UserInfo"
);
let
res
=
sessionStorage
.
getItem
(
"ZJCD-UserInfo"
);
let
name
=
JSON
.
parse
(
res
).
realName
let
name
=
JSON
.
parse
(
res
).
realName
...
@@ -196,6 +197,7 @@ export default {
...
@@ -196,6 +197,7 @@ export default {
let
params
=
{
let
params
=
{
busCode
:
"WS-B0004"
,
busCode
:
"WS-B0004"
,
aae135
:
aae135
,
aae135
:
aae135
,
encryptIdCard
:
encryptByDES
(
aae135
,
'MnuYbhGv'
),
cpage
:
1
,
cpage
:
1
,
rows
:
1000
rows
:
1000
};
};
...
@@ -207,15 +209,16 @@ export default {
...
@@ -207,15 +209,16 @@ export default {
social
(
params
).
then
((
res
)
=>
{
social
(
params
).
then
((
res
)
=>
{
this
.
$toast
.
clear
();
this
.
$toast
.
clear
();
// 无社保企业全职人员、退出
// 无社保企业全职人员、退出
if
(
index
==
1
&&
res
.
data
.
data
.
busiId
!=
"0000"
)
{
console
.
log
(
res
.
data
,
"1111"
);
if
(
index
==
1
&&
res
.
data
.
tradeMsg
.
data
.
busiId
!=
"0000"
)
{
this
.
dialogWarning
(
1
);
this
.
dialogWarning
(
1
);
}
else
if
(
}
else
if
(
res
.
data
.
data
.
dataSet
&&
res
.
data
.
tradeMsg
.
data
.
dataSet
&&
res
.
data
.
data
.
dataSet
.
rowSet
&&
res
.
data
.
tradeMsg
.
data
.
dataSet
.
rowSet
&&
res
.
data
.
data
.
dataSet
.
rowSet
.
row
&&
res
.
data
.
tradeMsg
.
data
.
dataSet
.
rowSet
.
row
&&
res
.
data
.
data
.
dataSet
.
rowSet
.
row
.
length
>
0
res
.
data
.
tradeMsg
.
data
.
dataSet
.
rowSet
.
row
.
length
>
0
)
{
)
{
let
targetList
=
res
.
data
.
data
.
dataSet
.
rowSet
.
row
;
let
targetList
=
res
.
data
.
tradeMsg
.
data
.
dataSet
.
rowSet
.
row
;
let
company
=
this
.
checkSecure
(
targetList
,
"企业职工基本养老保险"
,
"企业基本养老保险"
);
let
company
=
this
.
checkSecure
(
targetList
,
"企业职工基本养老保险"
,
"企业基本养老保险"
);
if
(
company
)
{
if
(
company
)
{
sessionStorage
.
setItem
(
"ZJCD-Company"
,
company
);
sessionStorage
.
setItem
(
"ZJCD-Company"
,
company
);
...
@@ -263,10 +266,10 @@ export default {
...
@@ -263,10 +266,10 @@ export default {
if
(
res
.
data
.
data
.
busiId
!==
"0000"
)
{
if
(
res
.
data
.
data
.
busiId
!==
"0000"
)
{
this
.
dialogWarning
(
1
);
this
.
dialogWarning
(
1
);
}
else
if
(
}
else
if
(
res
.
data
.
data
.
dataSet
&&
res
.
data
.
tradeMsg
.
data
.
dataSet
&&
res
.
data
.
data
.
dataSet
.
rowSet
&&
res
.
data
.
tradeMsg
.
data
.
dataSet
.
rowSet
&&
res
.
data
.
data
.
dataSet
.
rowSet
.
row
&&
res
.
data
.
tradeMsg
.
data
.
dataSet
.
rowSet
.
row
&&
res
.
data
.
data
.
dataSet
.
rowSet
.
row
.
length
>
0
res
.
data
.
tradeMsg
.
data
.
dataSet
.
rowSet
.
row
.
length
>
0
)
{
)
{
let
targetList
=
res
.
data
.
data
.
dataSet
.
rowSet
.
row
;
let
targetList
=
res
.
data
.
data
.
dataSet
.
rowSet
.
row
;
let
company
=
this
.
checkSecure
(
targetList
,
"职工基本医疗保险"
);
let
company
=
this
.
checkSecure
(
targetList
,
"职工基本医疗保险"
);
...
@@ -288,7 +291,7 @@ export default {
...
@@ -288,7 +291,7 @@ export default {
checkSecure
(
data
,
name
,
name1
)
{
checkSecure
(
data
,
name
,
name1
)
{
let
company
=
""
;
let
company
=
""
;
data
.
map
((
res
)
=>
{
data
.
map
((
res
)
=>
{
let
a
=
res
.
bab002
.
substring
(
0
,
4
)
let
a
=
String
(
res
.
bab002
)
.
substring
(
0
,
4
)
if
((
res
.
aae140
==
name
||
res
.
aae140
==
name1
)
&&
res
.
aac031code
==
"1"
&&
this
.
genera
==
'企业全职人员'
&&
a
==
'3211'
)
{
if
((
res
.
aae140
==
name
||
res
.
aae140
==
name1
)
&&
res
.
aac031code
==
"1"
&&
this
.
genera
==
'企业全职人员'
&&
a
==
'3211'
)
{
company
=
res
.
aae044
;
company
=
res
.
aae044
;
}
else
if
(
res
.
aae140
==
name
&&
res
.
aac031code
==
"1"
&&
this
.
genera
!=
'企业全职人员'
)
{
}
else
if
(
res
.
aae140
==
name
&&
res
.
aac031code
==
"1"
&&
this
.
genera
!=
'企业全职人员'
)
{
...
...
src/views/talents/reportform.vue
View file @
e23387c0
...
@@ -912,7 +912,7 @@ export default {
...
@@ -912,7 +912,7 @@ export default {
},
},
methods
:
{
methods
:
{
init
()
{
init
()
{
console
.
log
(
this
.
userInfo
);
console
.
log
(
this
.
userInfo
,
"user------"
);
this
.
$toast
.
loading
({
this
.
$toast
.
loading
({
duration
:
0
,
// 持续展示 toast
duration
:
0
,
// 持续展示 toast
forbidClick
:
true
,
forbidClick
:
true
,
...
...
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