Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
7889cefe
提交
7889cefe
编写于
12月 02, 2021
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
save
上级
3a11ca09
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
23 行增加
和
7 行删除
+23
-7
create-shop.vue
src/views/shop/create-shop.vue
+18
-2
shop-list.vue
src/views/shop/shop-list.vue
+5
-5
未找到文件。
src/views/shop/create-shop.vue
浏览文件 @
7889cefe
...
...
@@ -11,7 +11,7 @@
<span>
{{
curmbSecond
}}
</span>
<span
v-if=
"certifyStatus > 1"
class=
"verify-status"
style=
"margin-left: 20px"
>
{{
certifyStatus
|
storeStatusFormat
}}
</span>
<span
v-if=
"certifyStatus > 1"
class=
"verify-status"
:class=
"certifyStatusColor"
style=
"margin-left: 20px"
>
{{
certifyStatus
|
storeStatusFormat
}}
</span>
</p>
</el-col>
<el-col
:span=
"4"
style=
"text-align: right"
>
...
...
@@ -1658,6 +1658,9 @@ export default {
};
},
computed: {
certifyStatusColor () {
return `certifyStatusColor${this.certifyStatus}`;
}
},
watch: {
"
formData
.
certifyReq
.
bizScope
": {
...
...
@@ -1741,7 +1744,8 @@ export default {
const {certifyLicenseImgList, certifyReportImgList} = this.formData.certifyReq;
this.formData.imgUrlC1Date = [licenseValidDateBegin, licenseValidDateEnd];
this.formData.imgUrlC5Date = [assignorValidDateBegin, assignorValidDateEnd];
this.formData.imgUrlC5Date = [legalValidDateBegin, legalValidDateEnd];
this.formData.imgUrlC3Date = [legalValidDateBegin, legalValidDateEnd];
// imgUrlC3Date
(certifyReportImgList || []).concat(certifyLicenseImgList).map(i => {
const n = `imgUrlP${i.imageType}Date`;
const m = `imgUrlP${i.imageType}`;
...
...
@@ -2452,6 +2456,7 @@ export default {
},
//新增管理员
addItem(index) {
if(this.disabledFORM){return false;}
if (
this.formData.adminList != null &&
this.formData.adminList.length >= 5
...
...
@@ -2468,6 +2473,7 @@ export default {
},
//删除管理员
deleteItem(index) {
if(this.disabledFORM){return false;}
if (this.formData.adminList.length == 1 && index == 0) {
this.$message.warning("
最少需要
1
位管理员哦!
");
return;
...
...
@@ -3108,5 +3114,15 @@ export default {
color
:
#606266
;
}
}
.certifyStatusColor4
{
color
:
#FF4B33
;
}
.certifyStatusColor2
{
color
:
#FF720C
;
}
.certifyStatusColor3
{
color
:
#f6ffed
;
}
}
</
style
>
src/views/shop/shop-list.vue
浏览文件 @
7889cefe
...
...
@@ -111,16 +111,15 @@
</el-table-column>
<el-table-column
prop=
"storeType"
label=
"审核状态"
min-width=
"100"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
:class=
"scope.row.tradeStore.certifyStatus ==
3
? 'red' : 'green'"
>
<span
:class=
"scope.row.tradeStore.certifyStatus ==
4
? 'red' : 'green'"
>
{{
scope
.
row
.
tradeStore
.
certifyStatus
|
storeStatusFormat
}}
</span>
<el-popover
placement=
"top-start"
title=
"标题"
width=
"200"
trigger=
"hover"
:content=
"certificateInfoRespContent(scope.row.certificateInfoResp)"
>
<i
v-if=
"scope.row.tradeStore.certifyStatus ==
3
"
slot=
"reference"
class=
"el-icon-warning-outline red"
></i>
<i
v-if=
"scope.row.tradeStore.certifyStatus ==
4
"
slot=
"reference"
class=
"el-icon-warning-outline red"
></i>
</el-popover>
</
template
>
...
...
@@ -658,8 +657,9 @@
},
certificateInfoRespContent
(
c
)
{
let
v
=
''
;
if
(
c
&&
c
.
length
>
0
)
{
c
.
map
(
(
i
,
j
)
=>
{
const
b
=
c
?
c
.
certifyValidDtoList
:
[];
if
(
b
.
length
>
0
)
{
b
.
map
(
(
i
,
j
)
=>
{
if
(
j
<=
3
){
v
=
v
+
i
.
refuseContent
;
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录