Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
7cd2fa2a
Commit
7cd2fa2a
authored
Sep 06, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b9d89687
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1324 additions
and
122 deletions
+1324
-122
CustomerCertification.vue
src/components/SalesModule/CustomerCertification.vue
+106
-63
clientConfirm.vue
src/components/clientConfirm.vue
+1212
-59
config.js
src/router/config.js
+6
-0
No files found.
src/components/SalesModule/CustomerCertification.vue
View file @
7cd2fa2a
<
template
>
<div
class=
"CertificationDetail"
>
<div>
<viewer
:options=
"imageOptions"
@
inited=
"inited"
class=
"viewer"
:images=
"images"
>
<img
v-for=
"item in images"
:src=
"item"
/>
</viewer>
<div>
<div
:class=
"
{salesApprovalLayercontentDiv:showlayer,rightZero:isTransition}"
class="ownScrollbarStyle"
...
...
@@ -12,9 +15,13 @@
<div
class=
"item"
v-for=
"item in answerDetailList"
style=
"margin:0"
>
<div
class=
"topMsg"
>
<!--
<img
v-if=
"!item.photo"
src=
"../../assets/img/litheader.png"
>
<img
v-if=
"item.photo"
:onerror=
"defaultImg"
:src=
"item.photo"
>
-->
<p>
{{
item
.
CustomerName
}}
<span
v-if=
"item.ApplyState === 0"
class=
"_status_str _status_str_y"
>
审核中
</span>
<img
v-if=
"item.photo"
:onerror=
"defaultImg"
:src=
"item.photo"
>
-->
<p>
{{
item
.
CustomerName
}}
<span
v-if=
"item.ApplyState === 0"
class=
"_status_str _status_str_y"
>
审核中
</span>
<span
v-if=
"item.ApplyState === 1"
class=
"_status_str _status_str_g"
>
已通过
</span>
<span
v-if=
"item.ApplyState === 2"
class=
"_status_str _status_str_r"
>
已拒绝
</span>
</p>
...
...
@@ -27,19 +34,19 @@
>
{{
item
.
ContactPhone
}}
</span>
</p>
<p
class=
"fz12 color999 mt5"
>
{{
item
.
Addres
}}
</p>
</div>
<p
class=
"fz16 color666"
>
<i
class=
"iconfont icon-ico-renwuyaoqiu fz14 color999"
></i>
认证信息
</p>
<div
class=
"salesApprovalLayercontentBtn"
>
<p
class=
"fz12 color999 mt5"
>
认证方式:
{{
item
.
ApplyType
==
1
?
"三证合一"
:
"身份证+名片"
}}
</p>
<p
class=
"fz12 color999 mt5"
>
申请时间:
{{
item
.
CreateDateStr
}}
</p>
<div
v-if=
"item.CertificationPics&&item.CertificationPics.length>0"
class=
"mt10"
>
<div
v-for=
"picItem in item.CertificationPics"
class=
"img_box"
>
<img
v-if=
"!picItem"
src=
"../../assets/img/litheader.png"
>
<img
v-if=
"picItem"
:src=
"picItem"
></div>
</div>
<p
class=
"fz12 color999 mt5"
>
认证方式:
{{
item
.
ApplyType
==
1
?
"三证合一"
:
"身份证+名片"
}}
</p>
<p
class=
"fz12 color999 mt5"
>
申请时间:
{{
item
.
CreateDateStr
}}
</p>
<div
v-if=
"item.CertificationPics&&item.CertificationPics.length>0"
class=
"mt10"
>
<div
v-for=
"picItem in item.CertificationPics"
class=
"img_box"
>
<img
v-if=
"!picItem"
src=
"../../assets/img/litheader.png"
/>
<img
@
click=
"imgPrev(picItem)"
v-if=
"picItem"
:src=
"picItem"
/>
</div>
</div>
<div>
<span
class=
"fz14 color333"
>
审批意见
</span>
</div>
...
...
@@ -47,9 +54,21 @@
<el-input
v-if=
"item.ApplyState === 0"
type=
"textarea"
v-model=
"Reason"
></el-input>
<span
v-else
>
Reason
</span>
</p>
<input
type=
"button"
class=
"hollowFixedBtn mt20 fr"
value=
"取消"
@
click=
"closeLayer"
>
<input
type=
"button"
class=
"normalBtn mt20 fr"
v-if=
"item.ApplyState === 0"
value=
"通过"
@
click=
"saveIdea(item,1)"
>
<input
type=
"button"
class=
"normalBtn mt20 fr"
v-if=
"item.ApplyState === 0"
value=
"拒绝"
@
click=
"saveIdea(item,2)"
>
<input
type=
"button"
class=
"hollowFixedBtn mt20 fr"
value=
"取消"
@
click=
"closeLayer"
/>
<input
type=
"button"
class=
"normalBtn mt20 fr"
v-if=
"item.ApplyState === 0"
value=
"通过"
@
click=
"saveIdea(item,1)"
/>
<input
type=
"button"
class=
"normalBtn mt20 fr"
v-if=
"item.ApplyState === 0"
value=
"拒绝"
@
click=
"saveIdea(item,2)"
/>
</div>
</div>
</div>
...
...
@@ -83,17 +102,18 @@
</li>
<li>
<span>
<em>
{{
$t
(
'system.query_company'
)
}}
</em>
<el-select
filterable
v-model=
'msg.RB_Branch_Id'
>
<el-option
:value=
"-2"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in CompanyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-select>
<em>
{{
$t
(
'system.query_company'
)
}}
</em>
<el-select
filterable
v-model=
"msg.RB_Branch_Id"
>
<el-option
:value=
"-2"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
"item in CompanyList"
:label=
"item.BName"
:value=
"item.Id"
:key=
"item.Id"
></el-option>
</el-select>
</span>
</li>
</li>
<li>
<span>
<em>
状态
</em>
...
...
@@ -111,7 +131,7 @@
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"resetPageIndex(),getList()"
>
/
>
</li>
</ul>
</div>
...
...
@@ -156,7 +176,7 @@
class=
"normalBtn"
style=
"margin-left: 0;"
@
click=
"getDetail(item)"
>
/
>
</td>
</tr>
</table>
...
...
@@ -175,6 +195,11 @@
export
default
{
data
()
{
return
{
imageOptions
:
{
navbar
:
false
,
title
:
false
},
images
:
[
''
],
layerShow
:
false
,
msg
:
{
pageIndex
:
1
,
...
...
@@ -182,9 +207,10 @@ export default {
SDate
:
""
,
EDate
:
""
,
ApplyState
:
"-1"
,
RB_Branch_Id
:
-
2
,
},
Reason
:
""
,
RB_Branch_Id
:
-
2
},
viewerObj
:
null
,
Reason
:
""
,
showlayer
:
false
,
loading
:
false
,
isTransition
:
false
,
...
...
@@ -193,20 +219,37 @@ export default {
answerDetailList
:
[],
list
:
[],
CompanyList
:
[],
getCompanyMsg
:{
// 公司
RB_Group_Id
:
'0'
,
Status
:
'0'
,
},
getCompanyMsg
:
{
// 公司
RB_Group_Id
:
"0"
,
Status
:
"0"
}
};
},
methods
:
{
getCompanyList
(){
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
CompanyList
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{})
inited
(
viewer
)
{
this
.
viewerObj
=
viewer
;
},
imgPrev
(
url
)
{
this
.
$set
(
this
.
images
,
0
,
url
);
setTimeout
(()
=>
{
this
.
viewerObj
.
show
();
},
1000
);
},
getCompanyList
()
{
//获取公司列表
this
.
apipost
(
"admin_get_BranchGetList"
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CompanyList
=
res
.
data
.
data
;
}
else
{
}
},
err
=>
{}
);
},
// 结束日期不能大于开始日期
dataDui
()
{
if
(
this
.
msg
.
SDate
>
this
.
msg
.
EDate
&&
this
.
msg
.
EDate
!==
""
)
{
...
...
@@ -220,12 +263,12 @@ export default {
_this
.
showlayer
=
false
;
},
300
);
this
.
isTransition
=
false
;
this
.
Reason
=
""
;
this
.
Reason
=
""
;
},
saveIdea
(
obj
,
applyState
)
{
console
.
log
(
obj
,
"sdsdsd"
);
obj
.
applyState
=
applyState
;
obj
.
Reason
=
this
.
Reason
;
saveIdea
(
obj
,
applyState
)
{
console
.
log
(
obj
,
"sdsdsd"
);
obj
.
applyState
=
applyState
;
obj
.
Reason
=
this
.
Reason
;
this
.
apipost
(
"app_customer_UpdateCertification"
,
obj
,
...
...
@@ -265,7 +308,7 @@ export default {
_this
.
showlayer
=
false
;
},
300
);
this
.
isTransition
=
false
;
this
.
Reason
=
''
this
.
Reason
=
""
;
},
getDetail
(
obj
)
{
this
.
showlayer
=
true
;
...
...
@@ -275,8 +318,8 @@ export default {
{
ID
:
obj
.
ID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
answerDetailList
=
res
.
data
.
data
;
this
.
Reason
=
this
.
answerDetailList
[
0
].
Reason
;
this
.
answerDetailList
=
res
.
data
.
data
;
this
.
Reason
=
this
.
answerDetailList
[
0
].
Reason
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
...
...
@@ -294,10 +337,10 @@ export default {
}
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团ID
let
userInfo
=
this
.
getLocalStorage
();
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
getList
();
this
.
getCompanyList
()
this
.
getCompanyList
()
;
}
};
</
script
>
...
...
@@ -409,28 +452,28 @@ export default {
right
:
0
;
background-color
:
white
;
transition
:
all
linear
0.5s
;
height
:
100%
;
overflow
:
hidden
;
height
:
100%
;
overflow
:
hidden
;
}
.salesApprovalLayercontentDiv
{
width
:
450px
!important
;
}
.salesApprovalLayercontentBtn
.img_box
img
{
.salesApprovalLayercontentBtn
.img_box
img
{
height
:
120px
;
}
._status_str
{
._status_str
{
float
:
right
;
}
._status_str_y
{
color
:
#
E6A23C
;
._status_str_y
{
color
:
#
e6a23c
;
}
._status_str_g
{
color
:
#67
C23A
;
._status_str_g
{
color
:
#67
c23a
;
}
._status_str_r
{
color
:
#
F56C6C
;
._status_str_r
{
color
:
#
f56c6c
;
}
td
._status_str
{
float
:
initial
td
._status_str
{
float
:
initial
;
}
</
style
>
\ No newline at end of file
src/components/clientConfirm.vue
View file @
7cd2fa2a
This diff is collapsed.
Click to expand it.
src/router/config.js
View file @
7cd2fa2a
import
login
from
'../components/Login'
import
index
from
'../components/index'
import
clientConfirm
from
'../components/clientConfirm'
import
SignName
from
'../components/SignName'
import
supplierLogin
from
'../components/SupplierLogin'
import
supplierIndex
from
'../components/SupplierIndex'
export
default
{
...
...
@@ -3822,6 +3823,11 @@ export default {
name
:
'clientConfirm'
,
component
:
clientConfirm
},
{
path
:
'/SignName'
,
name
:
'SignName'
,
component
:
SignName
},
{
path
:
'/leaderPay2'
,
//领队报账
name
:
'leaderPay2'
,
...
...
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