Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
recruiting-management
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
recruiting-management
Commits
ddf2d0c1
Commit
ddf2d0c1
authored
Aug 20, 2019
by
zhangderong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第一次线上测试
parent
3497dc09
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
146 additions
and
75 deletions
+146
-75
App.vue
src/App.vue
+1
-1
resume.server.js
src/api/resume.server.js
+7
-0
interview.vue
src/page/interview/interview.vue
+9
-4
allResume.vue
src/page/resume/allResume.vue
+37
-28
channel.vue
src/page/resume/channel.vue
+22
-14
account.vue
src/page/system/account.vue
+36
-12
emailMange.vue
src/page/system/emailMange.vue
+18
-10
upload.vue
src/page/upload/upload.vue
+16
-6
No files found.
src/App.vue
View file @
ddf2d0c1
...
...
@@ -26,7 +26,7 @@ export default {
top
:
0
;
bottom
:
0
;
width
:
100%
;
cursor
:
pointer
;
cursor
:
auto
;
text-align
:
left
;
font-family
:
'PingFangSC-Regular'
,
'Avenir'
,
Helvetica
,
Arial
,
sans-serif
;
-webkit-font-smoothing
:
antialiased
;
...
...
src/api/resume.server.js
View file @
ddf2d0c1
...
...
@@ -94,4 +94,11 @@ export function addinterview(parmars) {
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
}
// 修改流程状态
export
function
updatastatus
(
parmars
)
{
return
axios
.
post
(
`/text/api/resumeFlow/uploadStatus/
${
parmars
.
id
}
/
${
parmars
.
status
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
}
\ No newline at end of file
src/page/interview/interview.vue
View file @
ddf2d0c1
...
...
@@ -8,7 +8,7 @@
<div
style=
"height:90%;float:left;width:30%;background:rgb(0,176,160);margin-left:3%;margin-top:10px"
></div>
</div>
<div
style=
"margin-bottom:40px;float:left;margin-left:10px;width:100%"
>
<div
style=
"margin:50px auto;width:300px;height:200px;line-height:200px;text-align:center;font-size:20px;color:
red"
v-show=
"Essentialinformation.length==0"
>
未能找到你搜索的内容
</div>
<div
style=
"margin:50px auto;width:300px;height:200px;line-height:200px;text-align:center;font-size:20px;color:
LightGray"
v-show=
"Essentialinformation.length==0"
>
暂无数据
</div>
<div
class=
"leftcontentContent"
v-for=
"(item,index) in Essentialinformation "
:key=
'index'
>
<div
class=
"contentMassage"
>
<p
style=
"margin-top:7px"
>
...
...
@@ -372,7 +372,10 @@ export default {
interviewerName
:
this
.
UpdateVIEW
}
if
(
this
.
UpdateOWER
==
''
||
this
.
UpdateTIME
==
""
||
this
.
UpdateVIEW
==
''
){
this
.
$Message
.
error
(
'
请填写完整的约面信息
'
)
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
请您填写完整的约面信息
'
});
return
}
changeinterviewMassage
(
parmars
).
then
(
res
=>
{
...
...
@@ -496,9 +499,11 @@ export default {
console
.
log
(
this
.
oppenInterviewStatus
)
oppenInterview
(
this
.
oppenInterviewID
,
this
.
oppenInterviewStatus
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
$Message
.
success
(
'
重启流程成功
'
)
this
.
$Notice
.
success
({
title
:
'
提示
'
,
desc
:
'
已成功重启流程
'
});
this
.
serchListInterview
()
this
.
modal4
=
false
}
})
},
...
...
src/page/resume/allResume.vue
View file @
ddf2d0c1
This diff is collapsed.
Click to expand it.
src/page/resume/channel.vue
View file @
ddf2d0c1
...
...
@@ -10,13 +10,13 @@
<Input
placeholder=
"请输入历任公司"
style=
"width:85%"
v-model=
"lrgs"
@
keyup.enter.native=
"SouSuo(item.Num1,item.Num2,item.Num3)"
/>
</FormItem>
<FormItem
label=
"性别:"
class=
"sex"
>
<span
v-for=
"(item,index) in sexs"
:class=
"
{'active3':index==clickIndex1}" @click="selectElement1(item.status1,index)" :key="index" >
{{
item
.
status1
}}
</span>
<span
v-for=
"(item,index) in sexs"
:class=
"
{'active3':index==clickIndex1}" @click="selectElement1(item.status1,index)" :key="index"
style="cursor:pointer"
>
{{
item
.
status1
}}
</span>
</FormItem>
<FormItem
label=
"学历:"
class=
"Education"
>
<span
v-for=
"(item,index) in Education"
:class=
"
{'active3':index==clickIndex2}" @click="selectElement2(item.Num2,index)" :key="index">
{{
item
.
status2
}}
</span>
<span
v-for=
"(item,index) in Education"
:class=
"
{'active3':index==clickIndex2}" @click="selectElement2(item.Num2,index)" :key="index"
style="cursor:pointer"
>
{{
item
.
status2
}}
</span>
</FormItem>
<FormItem
label=
"状态:"
class=
"state"
>
<span
v-for=
"(item,index) in state"
:class=
"
{'active3':item.sta==true}" @click="selectElement3(item.Num3,index,item.status3,item.sta)" :key="index">
{{
item
.
status3
}}
</span>
<span
v-for=
"(item,index) in state"
:class=
"
{'active3':item.sta==true}" @click="selectElement3(item.Num3,index,item.status3,item.sta)" :key="index"
style="cursor:pointer"
>
{{
item
.
status3
}}
</span>
</FormItem>
<FormItem
label=
"工作年限:"
style=
"margin-left:20px"
>
<span
style=
"width:100px;margin-left:10px"
>
...
...
@@ -43,17 +43,18 @@
<div
style=
"width:40%;height:100%;float:left;background:rgb(253,85,83);margin-left:30px;line-height:80px;text-align:center;color:white;font-size:20px"
>
提示语
</div>
</div>
<div
style=
"background:background:rgba(241,241,241,1);width:100%;margin-top:20px;height:40px;line-height:40px;border-bottom:1px solid black"
>
<input
type=
'checkbox'
class=
'input-checkbox'
v-model=
'checked'
@
click=
'checkedAll'
style=
"margin-left:1%"
><span
style=
"margin-left:8px"
>
全选
</span>
<input
type=
'checkbox'
class=
'input-checkbox'
v-model=
'checked'
@
click=
'checkedAll'
style=
"margin-left:1%
;cursor:pointer
"
><span
style=
"margin-left:8px"
>
全选
</span>
<Button
type=
"primary"
size=
"small"
style=
"margin-left:2%;width:50px"
@
click=
"downloadAll"
>
下载
</Button>
<Button
type=
"primary"
size=
"small"
style=
"margin-left:2%;width:50px"
@
click=
"delateAll"
>
删除
</Button>
<Button
type=
"primary"
size=
"small"
style=
"float:right;margin-right:10px;"
@
click=
"allexport"
>
导出列表
</Button>
</div>
<div
style=
"margin-bottom:40px;float:left;width:100%"
class=
"a"
>
<div
style=
"margin:50px auto;width:300px;height:200px;line-height:200px;text-align:center;font-size:20px;color:
red"
v-show=
"ajaxData.length==0"
>
未能找到你搜索的内容
</div>
<div
style=
"margin:50px auto;width:300px;height:200px;line-height:200px;text-align:center;font-size:20px;color:
LightGray"
v-show=
"ajaxData.length==0"
>
暂无数据
</div>
<div
class=
"Resumecontent"
v-for=
'(item,i) in ajaxData'
:key=
"i"
>
<div
class=
"detailResume"
id=
"a"
style=
"background:rgba(241,241,241,1);height:65px"
>
<p
class=
"massage"
style=
"margin-top:10px"
>
<span
style=
"display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;margin-top:5px"
><input
type=
'checkbox'
name=
'checkboxinput'
style=
"margin-left:10px;"
class=
'input-checkbox'
v-model=
'checkboxList'
:value=
"item.id"
@
click=
"selectInputElement(i,item.id,item.flowStatus,item.STATES)"
></span>
<span
style=
"display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;margin-top:5px"
>
<input
type=
'checkbox'
name=
'checkboxinput'
style=
"margin-left:10px;cursor:pointer"
class=
'input-checkbox'
v-model=
'checkboxList'
:value=
"item.id"
@
click=
"selectInputElement(i,item.id,item.flowStatus,item.STATES)"
></span>
<span
style=
"display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;"
@
click=
"Seedetail(item.id)"
>
{{
item
.
ownerName
}}
|
</span>
<span
style=
"display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;"
@
click=
"Seedetail(item.id)"
>
{{
item
.
ownerMobile
}}
|
</span>
<span
style=
"display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;"
@
click=
"Seedetail(item.id)"
>
{{
item
.
ownerAge
}}
岁 |
</span>
...
...
@@ -126,9 +127,10 @@
</span>
</p>
<p
style=
"margin-top:10px"
>
<span
style=
"display:inline-block;height:100%;font-size: 12px;margin-left:14px;margin-top:5px"
>
{{
item
.
deliveryTime
}}
</span>
<span
style=
"display:inline-block;height:100%;font-size: 12px;margin-left:14px"
>
{{
item
.
optSource
}}
|
</span>
<span
style=
"display:inline-block;height:100%;font-size: 12px;margin-left:14px"
>
{{
item
.
srcSite
}}
|
</span>
<span
style=
"display:inline-block;font-size: 12px;margin-left:25px;margin-top:10px"
v-if=
"item.srcSite!==''"
>
{{
item
.
deliveryTime
}}
投递|
</span>
<span
style=
"display:inline-block;font-size: 12px;margin-left:25px"
v-if=
"item.srcSite==''"
>
{{
item
.
deliveryTime
}}
上传|
</span>
<span
style=
"display:inline-block;height:100%;font-size: 12px;margin-left:2px"
>
{{
item
.
optSource
}}
|
</span>
<span
style=
"display:inline-block;height:100%;font-size: 12px;margin-left:2px"
>
{{
item
.
srcSite
}}
</span>
<span
style=
"display:inline-block;height:100%;font-size: 12px;width:30%;float:right;text-align:right;margin-right:10px;margin-top:5px"
>
<span
style=
"margin-left:15px;margin-top:5px"
>
{{
item
.
modifyTime
}}
</span>
<span>
最后操作人:
{{
item
.
d
}}
</span>
...
...
@@ -372,7 +374,7 @@ export default {
adoptOneSeeResumeList
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
checkboxList
=
[]
thi
d
.
spinShow
=
false
thi
s
.
spinShow
=
false
this
.
totalSize
=
res
.
data
.
body
.
totalNumber
this
.
quanxuan
.
push
(
res
.
data
.
body
.
items
.
id
)
this
.
ajaxData
=
res
.
data
.
body
.
items
.
map
((
item
,
index
)
=>
{
...
...
@@ -669,7 +671,6 @@ export default {
delateONE
(){
deleteREsume
(
this
.
delateARRALL2
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
modal3
=
false
this
.
quxiaoxi
(
this
.
pageT
)
}
})
...
...
@@ -779,10 +780,17 @@ export default {
}
}
if
(
tempArray2
.
length
!==
0
){
this
.
modal5
=
true
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
您选中的简历中包含不可删除简历
'
});
return
}
if
(
this
.
delateARRALL
.
length
==
0
){
this
.
$Message
.
error
(
'
未选择删除元素
'
)
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
选项不能为空
'
});
return
}
if
(
tempArray2
.
length
==
0
){
...
...
@@ -821,7 +829,6 @@ export default {
this
.
DELATEARR
=
this
.
delateARRALL
deleteREsume
(
this
.
DELATEARR
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
modal7
=
false
this
.
delateARRALL
=
[]
this
.
flowStatusarr
=
[]
this
.
quxiaoxi
(
this
.
pageT
)
...
...
@@ -1026,6 +1033,7 @@ export default {
.Resumecontent
{
width
:
100%
;
margin-top
:
10px
;
cursor
:
pointer
}
.massage
{
height
:
25px
;
...
...
src/page/system/account.vue
View file @
ddf2d0c1
...
...
@@ -26,20 +26,20 @@
</p>
<p
style=
"border-bottom:1px solid black;line-height:30px;margin-bottom:10px"
>
<input
type=
'checkbox'
class=
'input-checkbox'
v-model=
'checked'
v-on:click=
'checkedAll(checkboxList)'
style=
"margin-left:25px;margin-top:15px"
><span
style=
"margin-left:10px"
>
全选
</span>
<span
style=
"margin-left:40px;color:#2d8cf0"
@
click=
"delateall"
>
删除
</span>
<input
type=
'checkbox'
class=
'input-checkbox'
v-model=
'checked'
v-on:click=
'checkedAll(checkboxList)'
style=
"margin-left:25px;margin-top:15px
;cursor:pointer
"
><span
style=
"margin-left:10px"
>
全选
</span>
<span
style=
"margin-left:40px;color:#2d8cf0
;cursor:pointer
"
@
click=
"delateall"
>
删除
</span>
</p>
<!--
<Table
ref=
"selection"
:columns=
"columns4"
:data=
"data1"
></Table>
-->
<div
style=
"overflow-y: auto;height:480px;amrgin-bottom:40px"
>
<!--
<Spin
size=
"large"
fix
v-if=
"spinShow"
style=
"font-size:25px"
>
加载中...
</Spin>
-->
<div
v-for=
'item in ajaxData'
:key=
"item.id"
style=
""
>
<div
class=
"detailQQ"
>
<input
type=
'checkbox'
name=
'checkboxinput'
class=
'input-checkbox'
v-model=
'checkboxList'
:value=
"item.id"
style=
"margin-left:25px"
@
click=
"delateArr(item.id)"
>
<input
type=
'checkbox'
name=
'checkboxinput'
class=
'input-checkbox'
v-model=
'checkboxList'
:value=
"item.id"
style=
"margin-left:25px
;cursor:pointer
"
@
click=
"delateArr(item.id)"
>
<span
style=
"margin-left:5px"
>
{{
item
.
userName
}}
</span>
<span
style=
"margin-left:35px"
>
{{
item
.
userCode
}}
</span>
<span
style=
"margin-left:35px"
>
{{
item
.
createTime
}}
</span>
<span
style=
"margin-left:35px;color:#2d8cf0"
@
click=
"recoveryModal(item.id)"
>
恢复初始密码
</span>
<span
style=
"margin-left:35px;color:#2d8cf0"
@
click=
"delateMaodal(item.id)"
>
删除
</span>
<span
style=
"margin-left:35px;color:#2d8cf0
;cursor:pointer
"
@
click=
"recoveryModal(item.id)"
>
恢复初始密码
</span>
<span
style=
"margin-left:35px;color:#2d8cf0
;cursor:pointer
"
@
click=
"delateMaodal(item.id)"
>
删除
</span>
</div>
<div
style=
"height:10px;background:white;width:100%;"
></div>
</div>
...
...
@@ -181,17 +181,29 @@ export default {
userName
:
this
.
formInline
.
PerName
}
if
(
this
.
formInline
.
PhoneNumber
==
''
||
this
.
formInline
.
PerName
==
''
){
this
.
$Message
.
error
(
'
请填写正确的手机号和真实的姓名
'
)
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
请您填写正确的手机号或姓名
'
,
duration
:
'
2
'
});
return
}
if
(
!
(
/^
[
1
][
3,4,5,7,8,6,9
][
0-9
]{9}
$/
.
test
(
this
.
formInline
.
PhoneNumber
))){
this
.
$Message
.
error
(
'
输入正确的手机号
'
)
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
请您填写正确的手机号
'
,
duration
:
'
2
'
});
return
}
addAccount
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
$Message
.
success
(
'
添加成功
'
)
this
.
$Notice
.
success
({
title
:
'
提示
'
,
desc
:
'
添加成功
'
,
duration
:
'
2
'
});
this
.
SearchList
()
this
.
formInline
.
PhoneNumber
=
''
this
.
formInline
.
PerName
=
''
...
...
@@ -243,7 +255,11 @@ export default {
// 批量删除弹出框
delateall
(){
if
(
this
.
checkboxList
.
length
==
0
||
this
.
delateArr
.
length
==
0
){
this
.
modal4
=
true
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
未选择要删除的元素
'
,
duration
:
'
2
'
});
return
}
this
.
modal3
=
true
...
...
@@ -252,7 +268,11 @@ export default {
delateAll
(){
delateAllAccount
(
this
.
delateARR
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
$Message
.
success
(
'
删除成功
'
)
this
.
$Notice
.
success
({
title
:
'
提示
'
,
desc
:
'
删除成功
'
,
duration
:
'
2
'
});
this
.
modal3
=
false
this
.
SearchList
()
}
...
...
@@ -270,8 +290,12 @@ export default {
}
recoveryPassword
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
$Message
.
success
(
'
恢复密码成功
'
)
this
.
modal1
=
false
this
.
$Notice
.
success
({
title
:
'
提示
'
,
desc
:
'
恢复密码成功
'
,
duration
:
'
2
'
});
this
.
modal1
=
false
}
})
},
...
...
src/page/system/emailMange.vue
View file @
ddf2d0c1
...
...
@@ -20,7 +20,7 @@
<FormItem
label=
"所属人"
style=
"margin-top:20px; position: absolute;top:110px;left: 410px"
prop=
"UserName"
:label-width=
"180"
>
<Input
placeholder=
"请输入企业邮箱"
style=
"width:300px"
v-model=
"formInline.UserName"
:maxlength=
"5"
/>
</FormItem>
<span
type=
"primary"
style=
"line-height:30px;text-align:center; width:110px;height:30px;position: absolute;top:130px;left: 910px;border-radius: 5px;background:rgb(0, 146, 255);color:rgb(255,255,255)"
@
click=
"bindingSynchronizat"
>
绑定并开始同步
</span>
<span
type=
"primary"
style=
"line-height:30px;text-align:center; width:110px;height:30px;position: absolute;top:130px;left: 910px;border-radius: 5px;background:rgb(0, 146, 255);color:rgb(255,255,255)
;cursor:pointer
"
@
click=
"bindingSynchronizat"
>
绑定并开始同步
</span>
</Form>
</div>
<div
class=
"Emailmange"
>
...
...
@@ -31,18 +31,18 @@
<p
style=
"border-bottom:1px solid black;line-height:30px"
>
<input
type=
'checkbox'
class=
'input-checkbox'
v-model=
'checked'
v-on:click=
'checkedAll'
style=
"margin-left:25px"
v-show=
"idAdmin==true"
>
<span
style=
"margin-left:15px"
v-show=
"idAdmin==true"
>
全选
</span>
<span
style=
"margin-left:15px
;cursor:pointer
"
v-show=
"idAdmin==true"
>
全选
</span>
<span
style=
"margin-left:40px;color:#2d8cf0"
@
click=
"UntyingAll"
v-show=
"idAdmin==true"
>
解绑
</span>
</p>
<
Spin
size=
"large"
fix
v-if=
"spinShow"
style=
"font-size:25px"
v-show=
"idAdmin==true"
>
加载中...
</Spin
>
<
!--
<Spin
size=
"large"
fix
v-if=
"spinShow"
style=
"font-size:25px"
v-show=
"idAdmin==true"
>
加载中...
</Spin>
--
>
<div
v-for=
'item in ajaxData'
:key=
"item.id"
class=
"emailList"
>
<input
type=
'checkbox'
name=
'checkboxinput'
class=
'input-checkbox'
v-model=
'checkboxList'
:value=
"item.id"
style=
"margin-left:25px;margin-top:20px"
@
click=
"selectUntyingEle(item.id)"
/>
<input
type=
'checkbox'
name=
'checkboxinput'
class=
'input-checkbox'
v-model=
'checkboxList'
:value=
"item.id"
style=
"margin-left:25px;margin-top:20px
;cursor:pointer
"
@
click=
"selectUntyingEle(item.id)"
/>
<span
style=
"margin-left:5px"
>
{{
item
.
belongs
}}
</span>
<span
style=
"margin-left:35px;"
>
{{
item
.
emailName
}}
</span>
<span
style=
"margin-left:35px;"
>
同步时间 |
{{
item
.
syncStartDate
}}
<span
style=
"margin-left:10px"
>
开始
</span>
</span>
<span
style=
"margin-left:10px"
>
新建时间 |
{{
item
.
createTime
}}
</span>
<span
style=
"margin-left:35px;color:#2d8cf0"
@
click=
"UpdateEMAIL(item.emailName,item.belongs,item.id)"
>
修改
</span>
<span
style=
"margin-left:35px;color:#2d8cf0"
@
click=
"UnbindingModal(item.id)"
>
解绑
</span>
<span
style=
"margin-left:35px;color:#2d8cf0
;cursor:pointer
"
@
click=
"UpdateEMAIL(item.emailName,item.belongs,item.id)"
>
修改
</span>
<span
style=
"margin-left:35px;color:#2d8cf0
;cursor:pointer
"
@
click=
"UnbindingModal(item.id)"
>
解绑
</span>
<!--
<span
style=
"margin-left:150px"
v-if=
"item.c=='正常'"
>
{{
item
.
syncMailMsg
}}
</span>
<span
style=
"margin-left:150px;color:red"
v-if=
"item.c=='系统'"
>
{{
item
.
syncMailMsg
}}
</span>
-->
<!--
<span
style=
"margin-left:150px"
>
{{
item
.
syncMailMsg
}}
</span>
-->
...
...
@@ -197,16 +197,20 @@ export default {
});
}
},
ok
()
{
ok
()
{
this
.
$Message
.
info
(
'
Clicked ok
'
);
},
cancel
()
{
this
.
$Message
.
info
(
'
Clicked cancel
'
);
},
//绑定同步邮箱
bindingSynchronizat
(){
bindingSynchronizat
(){
if
(
this
.
formInline
.
emailNumber
==
''
||
this
.
formInline
.
emailPsd
==
''
||
this
.
formInline
.
UserName
==
''
||
this
.
DATA
==
''
){
this
.
$Message
.
error
(
'
请填写完整的正确信息
'
)
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
请您填写完整的信息
'
,
duration
:
'
2
'
});
return
}
this
.
modal3
=
true
...
...
@@ -285,7 +289,11 @@ export default {
// 修改后重新绑定邮箱并保存
UpdateemailTwo
(){
if
(
this
.
UpassWord
==
''
||
this
.
Uusername
==
''
||
this
.
Ublengs
==
''
){
this
.
$Message
.
error
(
'
请正确填写信息
'
)
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
请您填写完整的信息
'
,
duration
:
'
2
'
});
return
}
let
parmars
=
{
...
...
src/page/upload/upload.vue
View file @
ddf2d0c1
...
...
@@ -290,18 +290,30 @@ import ajax from '../../service/ajax'
},
uploadBtn
()
{
if
(
this
.
dataList
.
length
<
1
)
{
this
.
modal2
=
true
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
请您选择文件在上传
'
,
duration
:
'
2
'
});
return
}
if
(
this
.
dataList
.
length
>
20
){
this
.
modal3
=
true
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
批量上传文件不能大于20份
'
,
duration
:
'
2
'
});
this
.
$refs
.
input
.
value
=
''
this
.
fileName
=
''
this
.
dataList
=
[]
return
}
if
(
this
.
handleMaxSize
())
{
this
.
modal1
=
true
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
单份文件不能大于2MB
'
,
duration
:
'
2
'
});
this
.
$refs
.
input
.
value
=
''
this
.
fileName
=
''
this
.
dataList
=
[]
...
...
@@ -484,10 +496,8 @@ import ajax from '../../service/ajax'
}
.leftcontrentFotter{
min-height: 00px;
display: block;
cursor:pointer
}
.contentMASSAGE{
width:90%;
...
...
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