Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
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
bp
op-web-service
Commits
fe392a20
Commit
fe392a20
authored
Jun 01, 2021
by
mengwenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature:修改弹框完成
parent
8dcf481f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
226 additions
and
178 deletions
+226
-178
index.vue
src/pages/Enterprise/Audit/index.vue
+23
-3
index.vue
src/pages/Enterprise/Certification/index.vue
+200
-172
index.vue
src/pages/Enterprise/Establish/index.vue
+2
-2
common.js
src/utils/common.js
+0
-0
oss.js
src/utils/oss.js
+1
-1
No files found.
src/pages/Enterprise/Audit/index.vue
View file @
fe392a20
...
@@ -80,6 +80,21 @@
...
@@ -80,6 +80,21 @@
ref=
"establish_form"
ref=
"establish_form"
:model=
"messageList[0]"
:model=
"messageList[0]"
>
>
<el-form-item
label=
"商户类型"
prop=
"merchantsType"
>
<el-select
v-model=
"messageList[0].merchantsType"
>
<el-option
label=
"个体工商户"
:value=
"1"
></el-option>
<el-option
label=
"普通企业"
:value=
"2"
></el-option>
</el-select>
</el-form-item>
<el-form-item
<el-form-item
label=
"营业执照:"
label=
"营业执照:"
ref=
"licenseChange"
ref=
"licenseChange"
...
@@ -393,10 +408,10 @@ export default {
...
@@ -393,10 +408,10 @@ export default {
return
{
return
{
pageStatus
:
null
,
// 哪个按钮进入
pageStatus
:
null
,
// 哪个按钮进入
auditId
:
null
,
// 传入的企业id
auditId
:
null
,
// 传入的企业id
// 审核/修改详情/查看详情-企业信息
// 审核/修改详情/查看详情-企业信息
messageList
:
[
messageList
:
[
{
{
merchantsType
:
null
,
status
:
1
,
status
:
1
,
id
:
1221
,
id
:
1221
,
code
:
112211
,
code
:
112211
,
...
@@ -429,7 +444,6 @@ export default {
...
@@ -429,7 +444,6 @@ export default {
],
],
// 审核-审核意见
// 审核-审核意见
opinionArea
:
""
,
opinionArea
:
""
,
// 创建生活号表单是否弹出
// 创建生活号表单是否弹出
isDialogShow
:
false
,
isDialogShow
:
false
,
// 生活号-生活号信息
// 生活号-生活号信息
...
@@ -487,7 +501,13 @@ export default {
...
@@ -487,7 +501,13 @@ export default {
validator
:
idcardNumberRules
,
validator
:
idcardNumberRules
,
trigger
:
"blur"
trigger
:
"blur"
}
}
]
],
// 商户类型
merchantsType
:
[{
required
:
true
,
message
:
"请选择商户类型"
,
trigger
:
"change"
}]
},
},
// 生活号状态
// 生活号状态
...
...
src/pages/Enterprise/Certification/index.vue
View file @
fe392a20
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
class=
"setUp"
class=
"setUp"
@
click=
"goEstablish"
@
click=
"goEstablish"
>
企业信息提交
</el-button>
>
企业信息提交
</el-button>
<
div
>
<
!-- 企业认证管理列表 --
>
<el-card
class=
"enterprise_card"
>
<el-card
class=
"enterprise_card"
>
<!-- 企业认证筛选 -->
<!-- 企业认证筛选 -->
<el-form
<el-form
...
@@ -150,6 +150,7 @@
...
@@ -150,6 +150,7 @@
@
click=
"goAuditPage('AUDIT', scope.row.id)"
@
click=
"goAuditPage('AUDIT', scope.row.id)"
>
审核
</el-button>
>
审核
</el-button>
<el-button
<el-button
:disabled=
"scope.row.status === 4 ? true : false"
size=
"mini"
size=
"mini"
type=
"success"
type=
"success"
@
click=
"goAuditPage('EDIT', scope.row.id)"
@
click=
"goAuditPage('EDIT', scope.row.id)"
...
@@ -163,21 +164,39 @@
...
@@ -163,21 +164,39 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</el-card>
</el-card>
</div>
<!-- 修改提交验证码弹框 -->
<el-dialog
title=
"获取验证码"
v-model=
"detailDialogVisible"
>
<el-input
style=
"width:50%"
placeholder=
"请输入您收到的验证码"
></el-input>
<el-button
type=
"primary"
style=
"margin-left:10px"
@
click=
"getAuthCode"
>
获取校验码
</el-button>
<el-button
@
click=
"checkAuthCode"
type=
"warning"
>
已有验证码,点击验证
</el-button>
</el-dialog>
</layout>
</layout>
</template>
</template>
<
style
lang=
"less"
src=
"./index.less"
scope
></
style
>
<
style
lang=
"less"
src=
"./index.less"
scope
></
style
>
<
script
>
<
script
>
import
Layout
from
'@/layouts'
import
Layout
from
"@/layouts"
;
import
{
entCheck
}
from
'../../../service/enterprise'
import
{
entCheck
}
from
"@/service/enterprise"
;
export
default
{
export
default
{
name
:
"Certification"
,
name
:
"Certification"
,
components
:
{
Layout
},
components
:
{
Layout
},
data
()
{
data
()
{
return
{
return
{
//
表单数据
//
企业认证管理筛选
enterpriseForm
:
{
enterpriseForm
:
{
name
:
""
,
name
:
""
,
code
:
""
,
code
:
""
,
...
@@ -198,7 +217,7 @@ export default {
...
@@ -198,7 +217,7 @@ export default {
]
]
},
},
//
表格信息
//
企业认证管理列表
enterpriseList
:
[
enterpriseList
:
[
{
{
id
:
1
,
id
:
1
,
...
@@ -210,12 +229,16 @@ export default {
...
@@ -210,12 +229,16 @@ export default {
type
:
1
,
type
:
1
,
number
:
18147683288
number
:
18147683288
}
}
]
],
// 跳转详情页弹窗
detailDialogVisible
:
false
};
};
},
},
created
()
{
created
()
{
this
.
onEntCheck
();
this
.
onEntCheck
();
console
.
log
(
"userInfo:"
,
this
.
$store
.
state
.
userInfo
);
},
},
methods
:
{
methods
:
{
...
@@ -223,10 +246,9 @@ export default {
...
@@ -223,10 +246,9 @@ export default {
async
onEntCheck
()
{
async
onEntCheck
()
{
try
{
try
{
const
res
=
await
entCheck
(
510232747179
);
const
res
=
await
entCheck
(
510232747179
);
console
.
log
(
'res:----'
,
res
);
console
.
log
(
"res:----"
,
res
);
}
}
catch
(
error
)
{
catch
(
error
)
{
console
.
log
(
"error:"
,
error
);
console
.
log
(
'error:'
,
error
);
}
}
},
},
...
@@ -235,20 +257,26 @@ export default {
...
@@ -235,20 +257,26 @@ export default {
this
.
$refs
[
formName
].
resetFields
();
this
.
$refs
[
formName
].
resetFields
();
},
},
// 跳转到企业信息提交
goEstablish
()
{
this
.
$router
.
push
({
name
:
"Establish"
});
},
// 跳转到审核页面
// 跳转到审核页面
goAuditPage
(
pageStatus
,
auditId
)
{
goAuditPage
(
pageStatus
,
auditId
)
{
this
.
$router
.
push
({
if
(
pageStatus
===
"EDIT"
)
{
name
:
"Audit"
,
return
(
this
.
detailDialogVisible
=
true
);
params
:
{
}
else
{
pageStatus
,
this
.
$router
.
push
({
name
:
"Audit"
,
params
:
{
pageStatus
,
auditId
}
});
auditId
}
}
});
},
},
// 跳转到企业信息提交
// 获取验证码
goEstablish
()
{
getAuthCode
()
{
this
.
$router
.
push
({
name
:
"Establish"
});
},
// 校验验证码
checkAuthCode
()
{
this
.
$router
.
push
({
name
:
"Audit"
,
params
:
{
pageStatus
:
"EDIT"
,
auditId
:
1
}
})
}
}
}
}
};
};
...
...
src/pages/Enterprise/Establish/index.vue
View file @
fe392a20
...
@@ -21,11 +21,11 @@
...
@@ -21,11 +21,11 @@
<el-select
v-model=
"establishForm.merchantsType"
>
<el-select
v-model=
"establishForm.merchantsType"
>
<el-option
<el-option
label=
"个体工商户"
label=
"个体工商户"
value=
"1"
:
value=
"1"
></el-option>
></el-option>
<el-option
<el-option
label=
"普通企业"
label=
"普通企业"
value=
"2"
:
value=
"2"
></el-option>
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
...
src/
api
/common.js
→
src/
utils
/common.js
View file @
fe392a20
File moved
src/utils/oss.js
View file @
fe392a20
import
moment
from
"moment"
;
import
moment
from
"moment"
;
import
CommonServer
from
"
@/api
/common"
;
import
CommonServer
from
"
.
/common"
;
import
axios
from
"axios"
;
import
axios
from
"axios"
;
import
{
ElMessage
}
from
"element-plus"
;
import
{
ElMessage
}
from
"element-plus"
;
...
...
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