Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 78a6b119
authored
May 25, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
第二轮测试
1 parent
b708327a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
59 additions
and
52 deletions
src/views/expert/detail.vue
src/views/expert/index.vue
src/views/ghPreSale/editEquity.vue
src/views/ghPreSale/equityList.vue
src/views/expert/detail.vue
View file @
78a6b11
...
@@ -270,6 +270,7 @@ export default {
...
@@ -270,6 +270,7 @@ export default {
}
}
.detail-wrap
{
.detail-wrap
{
padding
:
32px
20px
;
padding
:
32px
20px
;
min-height
:
520px
;
.client
{
.client
{
color
:
#333
;
color
:
#333
;
}
}
...
...
src/views/expert/index.vue
View file @
78a6b11
...
@@ -36,10 +36,10 @@
...
@@ -36,10 +36,10 @@
<GLButton
class=
"switch"
mode=
"el-switch"
fn=
"禁用"
:value=
"scope.scope.status == 0"
active-color=
"#5850ff"
inactive-color=
"#eee"
:active-text=
"scope.scope.status == 0 ? '启用' : '停用'"
@
change=
"changStatus(scope.scope.status, scope.scope.id)"
>
{{ scope.scope.status == 0 ? '启用' : '停用' }}
</GLButton>
<GLButton
class=
"switch"
mode=
"el-switch"
fn=
"禁用"
:value=
"scope.scope.status == 0"
active-color=
"#5850ff"
inactive-color=
"#eee"
:active-text=
"scope.scope.status == 0 ? '启用' : '停用'"
@
change=
"changStatus(scope.scope.status, scope.scope.id)"
>
{{ scope.scope.status == 0 ? '启用' : '停用' }}
</GLButton>
</span>
</span>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<
!-- <GLButton fn="编辑" type="text" @click="selectClientType(scope.scope.businessTyp
e, scope.scope.id)">编辑</GLButton>
<
GLButton
v-if=
"userType != 2"
fn=
"编辑"
type=
"text"
@
click=
"selectClientType(scope.scope.businessTypeNam
e, scope.scope.id)"
>
编辑
</GLButton>
<GLButton fn="删除" type="text" @click="handleDel(scope.scope)">删除</GLButton> --
>
<GLButton
v-if=
"userType != 2"
fn=
"删除"
type=
"text"
@
click=
"handleDel(scope.scope)"
>
删除
</GLButton
>
<el-button
v-if=
"userType != 2"
fn=
"编辑"
type=
"text"
@
click=
"selectClientType(scope.scope.businessTypeName, scope.scope.id)"
>
编辑
</el-button>
<
!-- <
el-button v-if="userType != 2" fn="编辑" type="text" @click="selectClientType(scope.scope.businessTypeName, scope.scope.id)">编辑</el-button>
<el-button
v-if=
"userType != 2"
fn=
"删除"
type=
"text"
@
click=
"handleDel(scope.scope)"
>
删除
</el-button>
<el-button v-if="userType != 2" fn="删除" type="text" @click="handleDel(scope.scope)">删除</el-button>
-->
</div>
</div>
</GLTable>
</GLTable>
<div
v-if=
"!hasData"
class=
"default-box"
>
<div
v-if=
"!hasData"
class=
"default-box"
>
...
@@ -383,7 +383,7 @@ export default {
...
@@ -383,7 +383,7 @@ export default {
}
}
.expert-wrap
{
.expert-wrap
{
margin-top
:
16px
;
margin-top
:
16px
;
padding
:
20px
;
padding
:
20px
20px
0
;
background-color
:
#fff
;
background-color
:
#fff
;
min-height
:
calc
(
100vh
-
148px
);
min-height
:
calc
(
100vh
-
148px
);
/deep/.switch
{
/deep/.switch
{
...
...
src/views/ghPreSale/editEquity.vue
View file @
78a6b11
...
@@ -273,16 +273,12 @@ export default {
...
@@ -273,16 +273,12 @@ export default {
cardType
:
[{
required
:
true
,
message
:
'请选择证件类型'
,
trigger
:
'change'
}],
cardType
:
[{
required
:
true
,
message
:
'请选择证件类型'
,
trigger
:
'change'
}],
cardNo
:
[
cardNo
:
[
{
{
required
:
true
,
required
:
true
,
validator
:
(
rule
,
value
,
callback
)
=>
{
validator
:
(
rule
,
value
,
callback
)
=>
{
return
value
?
callback
()
:
callback
(
new
Error
(
'请输入'
+
(
this
.
editForm
.
cardType
==
'1'
?
'身份证'
:
'统一社会信息代码'
)))
return
value
?
callback
()
:
callback
(
new
Error
(
'请输入证件号码'
))
},
trigger
:
'change'
},
},
trigger
:
'change'
{
}
validator
:
(
rule
,
value
,
callback
)
=>
{
return
(
/
[
a-zA-Z0-9
]{18}
/
).
test
(
value
)
?
callback
()
:
callback
(
new
Error
(
'请输入18位数字或字母'
))
},
trigger
:
'change'
}
],
],
customerPhone
:
[
customerPhone
:
[
{
required
:
true
,
message
:
'请输入联系号码'
,
trigger
:
'change'
},
{
required
:
true
,
message
:
'请输入联系号码'
,
trigger
:
'change'
},
...
@@ -333,7 +329,7 @@ export default {
...
@@ -333,7 +329,7 @@ export default {
label
:
'身份证'
,
label
:
'身份证'
,
name
:
'cardNo'
,
name
:
'cardNo'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
18
maxlength
:
30
},
},
{
{
label
:
'联系号码'
,
label
:
'联系号码'
,
...
@@ -499,23 +495,23 @@ export default {
...
@@ -499,23 +495,23 @@ export default {
{
{
confId
:
2
,
confId
:
2
,
confName
:
'企业'
confName
:
'企业'
},
{
confId
:
3
,
confName
:
'个人(港澳)'
},
{
confId
:
4
,
confName
:
'个人(台)'
},
{
confId
:
5
,
confName
:
'个人(军官)'
},
{
confId
:
6
,
confName
:
'其他'
}
}
// {
// confId: 3,
// confName: '个人(港澳)'
// },
// {
// confId: 4,
// confName: '个人(台)'
// },
// {
// confId: 5,
// confName: '个人(军官)'
// },
// {
// confId: 6,
// confName: '其他'
// }
],
],
cardTypeList
:
[
cardTypeList
:
[
{
{
...
@@ -525,23 +521,23 @@ export default {
...
@@ -525,23 +521,23 @@ export default {
{
{
confId
:
2
,
confId
:
2
,
confName
:
'统一社会信息代码'
confName
:
'统一社会信息代码'
},
{
confId
:
3
,
confName
:
'港澳返乡证'
},
{
confId
:
4
,
confName
:
'台胞证'
},
{
confId
:
5
,
confName
:
'军官证'
},
{
confId
:
6
,
confName
:
'其他证件'
}
}
// {
// confId: 3,
// confName: '港澳返乡证'
// },
// {
// confId: 4,
// confName: '台胞证'
// },
// {
// confId: 5,
// confName: '军官证'
// },
// {
// confId: 6,
// confName: '其他证件'
// }
],
],
servicePeriodList
:
[
servicePeriodList
:
[
{
{
...
@@ -1041,6 +1037,10 @@ export default {
...
@@ -1041,6 +1037,10 @@ export default {
type
:
'error'
type
:
'error'
})
})
}
else
{
}
else
{
this
.
$message
({
message
:
res
.
code
==
'0'
?
'提交成功待ERP审核'
:
res
.
message
,
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/ghPreSale/equityList'
,
path
:
'/ghPreSale/equityList'
,
// name: 'beforeSale',
// name: 'beforeSale',
...
...
src/views/ghPreSale/equityList.vue
View file @
78a6b11
...
@@ -24,10 +24,10 @@
...
@@ -24,10 +24,10 @@
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"equityRef"
:pageSizes=
"sizeList"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"equityRef"
:pageSizes=
"sizeList"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<GLButton
v-if=
"[2, 4, 5,7,8,9,10,11].includes(scope.scope.orderStatus)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</GLButton>
<GLButton
v-if=
"[2, 4, 5,7,8,9,10,11
,12
].includes(scope.scope.orderStatus)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</GLButton>
<!--
<el-button
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</el-button>
-->
<!--
<el-button
v-if=
"[2, 4, 5].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</el-button>
-->
<el-button
v-if=
"[2,8,10,11].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handlePdf(scope.scope)"
>
打印
</el-button>
<el-button
v-if=
"[2,8,10,11
,12
].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handlePdf(scope.scope)"
>
打印
</el-button>
<el-button
v-if=
"[2,
8,10,11
].includes(scope.scope.orderStatus)"
style=
"position: relative;"
type=
"text"
@
click=
"handleUpload(scope.scope)"
>
上传资料
<span
v-show=
"scope.scope.dataPerfection == 0"
class=
"circule-tips"
></span></el-button>
<el-button
v-if=
"[2,
7,8,9,10,11,12
].includes(scope.scope.orderStatus)"
style=
"position: relative;"
type=
"text"
@
click=
"handleUpload(scope.scope)"
>
上传资料
<span
v-show=
"scope.scope.dataPerfection == 0"
class=
"circule-tips"
></span></el-button>
<!--
<el-button
v-if=
"[0].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</el-button>
-->
<!--
<el-button
v-if=
"[0].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</el-button>
-->
<!--
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</el-button>
-->
<!--
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</el-button>
-->
<GLButton
v-if=
"[0].includes(scope.scope.orderStatus)"
fn=
"编辑"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</GLButton>
<GLButton
v-if=
"[0].includes(scope.scope.orderStatus)"
fn=
"编辑"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</GLButton>
...
@@ -363,6 +363,10 @@ export default {
...
@@ -363,6 +363,10 @@ export default {
confId
:
11
,
confId
:
11
,
confName
:
'ERP修改失败'
confName
:
'ERP修改失败'
},
},
{
confId
:
12
,
confName
:
'ERP出单审核中'
}
],
],
dataPerfectionList
:
[
dataPerfectionList
:
[
{
{
...
@@ -580,10 +584,12 @@ export default {
...
@@ -580,10 +584,12 @@ export default {
this
.
$apis
.
ghBeforeSale
[
this
.
secondObj
.
apiName
](
this
.
secondObj
.
apiParams
).
then
(
res
=>
{
this
.
$apis
.
ghBeforeSale
[
this
.
secondObj
.
apiName
](
this
.
secondObj
.
apiParams
).
then
(
res
=>
{
// this.handleSecondCancel()
// this.handleSecondCancel()
// this.isTipVisible = true
// this.isTipVisible = true
this
.
$message
({
if
(
res
.
code
!=
'0'
){
this
.
$message
({
message
:
res
.
code
==
'0'
?
'操作成功'
:
res
.
message
,
message
:
res
.
code
==
'0'
?
'操作成功'
:
res
.
message
,
type
:
res
.
code
==
'0'
?
'success'
:
'error'
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
})
}
this
.
editNotify
=
res
this
.
editNotify
=
res
// clearTimeout(this.timer)
// clearTimeout(this.timer)
// this.timer = setTimeout(() => {
// this.timer = setTimeout(() => {
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment