Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 81161896
authored
Dec 09, 2020
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式
1 parent
ff718e14
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
214 additions
and
195 deletions
src/assets/icon-warn.png
src/assets/style/public.scss
src/components/d2-table-header/index.vue
src/views/customer/customerList.vue
src/views/customer/editCustomer.vue
src/views/customer/recordList.vue
src/views/goods/commodity.vue
src/views/goods/product.vue
src/views/systemConfig/personalInfo.vue
src/views/systemConfig/serviceStore.vue
src/assets/icon-warn.png
0 → 100644
View file @
8116189
1.22 KB
src/assets/style/public.scss
View file @
8116189
...
...
@@ -26,6 +26,7 @@ $prefix: d2;
align-items
:
center
;
flex-direction
:
row
;
}
%flex-center-col
{
display
:
flex
;
justify-content
:
center
;
...
...
@@ -47,6 +48,7 @@ $prefix: d2;
.el-table--medium
td
{
padding
:
4px
0
!
important
;
}
.el-table
.cell
{
padding
:
0
0
;
}
...
...
@@ -59,13 +61,13 @@ $prefix: d2;
.extend-up-btns
{
position
:
absolute
;
bottom
:
3
2%
;
bottom
:
2
2%
;
right
:
20px
;
}
.extend-down-btns
{
position
:
absolute
;
bottom
:
9
%
;
bottom
:
5
%
;
right
:
20px
;
}
...
...
@@ -74,8 +76,14 @@ $prefix: d2;
font-weight
:
bold
;
height
:
48px
;
line-height
:
48px
;
color
:
#0947C6
;
color
:
#0947C6
;
border-bottom
:
1px
solid
#E7EAEC
;
padding-left
:
20px
;
margin
:
0
0
;
}
\ No newline at end of file
}
.table-header-left-txt
{
font-size
:
12px
;
color
:
#6C6F71
;
margin-left
:
20px
;
}
src/components/d2-table-header/index.vue
View file @
8116189
...
...
@@ -32,6 +32,6 @@ export default {
font-size
:
14px
;
}
.table-header
.grid
{
margin-right
:
5
px
;
margin-right
:
20
px
;
}
</
style
>
src/views/customer/customerList.vue
View file @
8116189
...
...
@@ -51,40 +51,40 @@
>
重置
</el-button>
</div>
</div>
<d
2-table-header
>
<
span
slot=
"left"
>
客户列表记录xx条,其中已升级客户记录xx条。
</span
>
<auth-button
category=
"Button"
></auth-button
>
</d2-table-header
>
<el-table
:data=
"tableData"
>
<el-table-column
label=
"序号
"
width=
"60px"
type=
'index'
></el-table-column
>
<el-table-column
label=
"客户信息"
>
<el-table-column
label=
"客户姓名
"
></el-table-column>
<el-table-column
label=
"性别
"
></el-table-column>
<el-table-column
label=
"品牌车型
"
></el-table-column>
<el-table-column
label=
"车架号
"
></el-table-column>
<
el-table-column
label=
"客户状态"
><
/el-table-column>
</el-table-column
>
<el-table-column
label=
"商户信息"
>
<el-table-column
label=
"基础
商品"
></el-table-column>
<el-table-column
label=
"升级商品
"
></el-table-column>
<el-table-column
label=
"升级状态
"
></el-table-column>
<
el-table-column
label=
"服务时间"
><
/el-table-column>
</el-table-column
>
<el-table-column
label=
"关联信息"
>
<el-table-column
label=
"流量来源
"
></el-table-column>
<el-table-column
label=
"推荐人
"
></el-table-column>
<el-table-column
label=
"服务门店
"
></el-table-column>
<
el-table-column
label=
"转化专员"
><
/el-table-column>
</el-table-column>
<el-table-column
label=
"创建时间
"
></el-table-column>
<
el-table-column
label=
"创建方式"
></el-table-column
>
</
el-table
>
<d
iv
class=
"d2-container-content"
>
<
d2-table-header
>
<span
slot=
"left"
>
客户列表记录xx条,其中已升级客户记录xx条。
</span>
<auth-button
category=
"Button"
></auth-button>
</d2-table-header
>
<el-table
:data=
"tableData"
>
<el-table-column
label=
"序号"
width=
"60px
"
type=
'index'
></el-table-column>
<el-table-column
label=
"客户信息"
>
<el-table-column
label=
"客户姓名"
></el-table-column
>
<el-table-column
label=
"性别
"
></el-table-column>
<el-table-column
label=
"品牌车型
"
></el-table-column>
<el-table-column
label=
"车架号
"
></el-table-column>
<el-table-column
label=
"客户状态
"
></el-table-column>
</el-table-column>
<el-table-column
label=
"商户信息"
>
<el-table-column
label=
"基础商品"
></el-table-column
>
<el-table-column
label=
"升级
商品"
></el-table-column>
<el-table-column
label=
"升级状态
"
></el-table-column>
<el-table-column
label=
"服务时间
"
></el-table-column>
</el-table-column>
<el-table-column
label=
"关联信息"
>
<el-table-column
label=
"流量来源"
></el-table-column
>
<el-table-column
label=
"推荐人
"
></el-table-column>
<el-table-column
label=
"服务门店
"
></el-table-column>
<el-table-column
label=
"转化专员
"
></el-table-column>
</el-table-column>
<el-table-column
label=
"创建时间"
>
</el-table-column>
<el-table-column
label=
"创建方式
"
></el-table-column>
<
/el-table
>
</
div
>
</d2-container>
</
template
>
...
...
src/views/customer/editCustomer.vue
View file @
8116189
...
...
@@ -10,7 +10,7 @@
label-width=
"110px"
v-loading=
"$store.state.d2admin.loading.value"
>
<p
class=
"title"
>
关联
信息来源
</p>
<p
class=
"title"
>
关联
门店信息
</p>
<el-form-item
id=
"storeId"
label=
"流量来源:"
...
...
@@ -230,7 +230,7 @@
>
否
</el-radio>
</el-form-item>
<p
class=
"title"
>
装饰内容
</p>
<p
class=
"title"
>
商品预装信息
</p>
<el-form-item
id=
"goods"
label=
"基础商品:"
...
...
src/views/customer/recordList.vue
View file @
8116189
...
...
@@ -33,42 +33,43 @@
>
重置
</el-button>
</div>
</div>
<d2-table-header>
<span
slot=
"left"
>
<auth-button
category=
"Button"
style=
"
{display: inline-block}"
showBtnName="['预录客户']"
>
</auth-button>
<span>
已预录客户列表xx条记录。
</span>
</span>
<span>
<span
class=
"btn-tips"
><i
class=
"el-icon-warning"
></i>
所有号码已启用隐私号码保护功能!
</span>
<div
class=
"d2-container-content"
>
<d2-table-header>
<span
slot=
"left"
>
<auth-button
category=
"Button"
style=
"
{display: inline-block}"
showBtnName="['预录客户']"
>
</auth-button>
<span
class=
"table-header-left-txt"
>
已预录客户列表xx条记录。
</span>
</span>
<span>
<span
class=
"btn-tips"
><img
src=
"../../assets/icon-warn.png"
>
所有号码已启用隐私号码保护功能!
</span>
<auth-button
category=
"Button"
showBtnName=
"['一键导入']"
></auth-button>
</span>
</d2-table-header>
<d2-table
ref=
"recordTable"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<auth-button
category=
"Button"
showBtnName=
"['一键导入']"
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
></auth-button>
</span>
</d2-table-header>
<d2-table
ref=
"recordTable"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
></auth-button>
</d2-table>
</d2-table>
</div>
</d2-container>
</
template
>
<
script
>
import
{
getList
}
from
'@api/recordList'
import
util
from
'@/libs/util.js'
import
{
getServiceStore
,
getStaff
,
getCarInfo
,
getCarType
,
getGoods
,
addOrder
}
from
'@api/editCustomer'
export
default
{
name
:
'recordList'
,
...
...
@@ -235,17 +236,21 @@ export default {
display
:
inline-block
;
width
:
220px
;
}
.record-list
.btn-tips
.el-icon-warning
{
color
:
#eb7653
;
.record-list
.btn-tips
img
{
width
:
18px
;
height
:
15px
;
margin-right
:
9px
;
vertical-align
:
bottom
;
}
.record-list
.btn-tips
{
display
:
inline-block
;
height
:
28px
;
line-height
:
28px
;
background-color
:
#fad9cf
;
font-size
:
12px
;
height
:
14px
;
line-height
:
14px
;
background-color
:
#fff2e5
;
color
:
#999999
;
margin-right
:
5
px
;
padding
-left
:
5
px
;
margin-right
:
24
px
;
padding
:
6.5px
10
px
;
}
.record-list
p
{
margin
:
0
0
;
...
...
src/views/goods/commodity.vue
View file @
8116189
...
...
@@ -24,41 +24,42 @@
>
重置
</el-button>
</div>
</div>
<d2-table-header>
<span
slot=
"left"
>
<div
class=
"d2-container-content"
>
<d2-table-header>
<span
slot=
"left"
>
<auth-button
category=
"Button"
style=
"
{display: inline-block}"
showBtnName="['新增商品']"
>
</auth-button>
</span>
<auth-button
category=
"Button"
style=
"
{display: inline-block}"
showBtnName="['
新增商品
']"
showBtnName="['
导出
']"
>
</auth-button>
</span>
<auth-button
category=
"Button"
style=
"
{display: inline-block}"
showBtnName="['导出']"
>
</auth-button>
</d2-table-header>
<d2-table
ref=
"commodityTable"
:hasNum=
"false"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<img
slot=
"img"
slot-scope=
"scope"
class=
"pro-img"
:src=
"scope.scope.goodsInfo.thumbUrl"
/>
<auth-button
v-if=
"Object.keys(scope.scope).includes('upgradeGoodsList')"
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
></auth-button>
<!--
<auth-button
</d2-table-header>
<d2-table
ref=
"commodityTable"
:hasNum=
"false"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<img
slot=
"img"
slot-scope=
"scope"
class=
"pro-img"
:src=
"scope.scope.goodsInfo.thumbUrl"
/>
<auth-button
v-if=
"Object.keys(scope.scope).includes('upgradeGoodsList')"
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
></auth-button>
<!--
<auth-button
v-if=
"Object.keys(scope.scope).includes('upgradeGoodsList')"
slot=
"auth-button"
slot-scope=
"scope"
...
...
@@ -72,7 +73,8 @@
type=
"text"
@
click=
"handleUpOrDown"
>
{{
scope
.
scope
.
state
?
'上架'
:
'下架'
}}
</el-button>
-->
</d2-table>
</d2-table>
</div>
<d2-dialog
title=
"门店列表"
:className=
"storeDetail"
...
...
src/views/goods/product.vue
View file @
8116189
...
...
@@ -24,39 +24,41 @@
>
重置
</el-button>
</div>
</div>
<d2-table-header>
<span
slot=
"left"
>
<div
class=
"d2-container-content"
>
<d2-table-header>
<span
slot=
"left"
>
<auth-button
category=
"Button"
style=
"
{display: inline-block}"
showBtnName="['新增素材']"
>
</auth-button>
</span>
<auth-button
category=
"Button"
style=
"
{display: inline-block}"
showBtnName="['
新增素材
']"
showBtnName="['
导出
']"
>
</auth-button>
</span>
<auth-button
category=
"Button"
style=
"
{display: inline-block}"
showBtnName="['导出']"
>
</auth-button>
</d2-table-header>
<d2-table
ref=
"productTable"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<img
slot=
"img"
slot-scope=
"scope"
class=
"pro-img"
:src=
"scope.scope.thumbUrl"
/>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
></auth-button>
</d2-table>
</d2-table-header>
<d2-table
ref=
"productTable"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<img
slot=
"img"
slot-scope=
"scope"
class=
"pro-img"
:src=
"scope.scope.thumbUrl"
/>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
></auth-button>
</d2-table>
</div>
</d2-container>
</
template
>
...
...
src/views/systemConfig/personalInfo.vue
View file @
8116189
<!-- 个人信息 -->
<
template
>
<d2-container
class=
"personalInfo"
>
<p
class=
"title"
>
个人信息
</p>
<el-form>
<template
v-for=
"(item, index) in (formData.userType === 1 ? userformList : formList)"
>
<el-form-item
:key=
"index"
:label=
"item.label"
label-width=
"120px"
v-show=
"!item.hasOwnProperty('isDisabled') || formData[item.isDisabled]"
>
<template
v-if=
"item.type === 'photo'"
>
<img
class=
"info-img"
v-for=
"(subItem, subIndex) in formData[item.name]"
:key=
"subIndex"
:src=
"subItem.mediaUrl"
/>
</
template
>
<
template
v-else-if=
"Array.isArray(formData[item.name])"
>
<el-tag
class=
"tag"
type=
"warning"
v-for=
"(subItem, subIndex) in formData[item.name]"
:key=
"subIndex"
>
{{
item
.
attrName
?
subItem
.
brandName
:
subItem
}}
</el-tag>
</
template
>
<span
v-else-if=
"item.formatter"
>
{{item.formatter(formData)}}
</span>
<span
v-else-if=
"item.parentName"
>
{{formData[item.parentName][item.name]}}
</span>
<span
v-else
>
{{formData[item.name]}}
</span>
<div
class=
"d2-container-content"
>
<p
class=
"title"
>
个人信息
</p>
<el-form>
<template
v-for=
"(item, index) in (formData.userType === 1 ? userformList : formList)"
>
<el-form-item
:key=
"index"
:label=
"item.label"
label-width=
"120px"
v-show=
"!item.hasOwnProperty('isDisabled') || formData[item.isDisabled]"
>
<template
v-if=
"item.type === 'photo'"
>
<img
class=
"info-img"
v-for=
"(subItem, subIndex) in formData[item.name]"
:key=
"subIndex"
:src=
"subItem.mediaUrl"
/>
</
template
>
<
template
v-else-if=
"Array.isArray(formData[item.name])"
>
<el-tag
class=
"tag"
type=
"warning"
v-for=
"(subItem, subIndex) in formData[item.name]"
:key=
"subIndex"
>
{{
item
.
attrName
?
subItem
.
brandName
:
subItem
}}
</el-tag>
</
template
>
<span
v-else-if=
"item.formatter"
>
{{item.formatter(formData)}}
</span>
<span
v-else-if=
"item.parentName"
>
{{formData[item.parentName][item.name]}}
</span>
<span
v-else
>
{{formData[item.name]}}
</span>
</el-form-item>
</template>
<el-form-item
v-if=
"formData.userType !== 1"
>
<a
class=
"info-link"
href=
"http://dj.glsx.com.cn/web-dj-site/#/system/personallnfo"
target=
"_blank"
>
修改个人信息请到嘀加平台修改,点击快速修改
</a>
</el-form-item>
</template>
<el-form-item
v-if=
"formData.userType !== 1"
>
<a
class=
"info-link"
href=
"http://dj.glsx.com.cn/web-dj-site/#/system/personallnfo"
target=
"_blank"
>
修改个人信息请到嘀加平台修改,点击快速修改
</a>
</el-form-item>
</el-form>
</el-form>
</div>
</d2-container>
</template>
...
...
src/views/systemConfig/serviceStore.vue
View file @
8116189
...
...
@@ -24,22 +24,24 @@
>
重置
</el-button>
</div>
</div>
<d2-table-header>
<auth-button
category=
"Button"
></auth-button>
</d2-table-header>
<d2-table
ref=
"serviceStoreTable"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
></auth-button>
</d2-table>
<div
class=
"d2-container-content"
>
<d2-table-header>
<auth-button
category=
"Button"
></auth-button>
</d2-table-header>
<d2-table
ref=
"serviceStoreTable"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
></auth-button>
</d2-table>
</div>
<relate-store-dialog
v-if=
"relateStoreVisible"
ref=
"relateStore"
...
...
@@ -263,7 +265,7 @@ export default {
padding
:
6px
8px
!important
;
}
.service-store
.el-checkbox__input.is-disabled
.el-checkbox__inner
{
background-color
:
#
CECECE
;
border-color
:
#
CECECE
;
background-color
:
#
cecece
;
border-color
:
#
cecece
;
}
</
style
>
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