Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
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 2bf04e6b
authored
Sep 27, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'kuangyq_2.10.0_ui' into 'develop'
Kuangyq 2.10.0 ui See merge request
!83
2 parents
f2731c36
e111c18b
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
95 additions
and
58 deletions
package.json
src/assets/css/common.scss
src/components/province-city/index.vue
src/config/index.js
src/views/account/addAccount.vue
src/views/account/components/baseInfo.vue
src/views/account/editAccount.vue
src/views/baseInfo/editInfo.vue
src/views/baseInfo/relevance.vue
src/views/baseInfo/selectBrand.vue
src/views/employee/editEmployee.vue
src/views/employee/glsx-combi-form/index.vue
src/views/enterpriseWechat/components/wxSystem.vue
src/views/enterpriseWechat/components/wxUser.vue
src/views/role/components/selectProduct.vue
src/views/role/create.vue
package.json
View file @
2bf04e6
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
"el-tree-transfer"
:
"^2.2.6"
,
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.5.
1
"
,
"glsx-components"
:
"^1.5.
2
"
,
"lodash"
:
"^4.17.21"
,
"lodash"
:
"^4.17.21"
,
"qrcodejs2"
:
"^0.0.2"
,
"qrcodejs2"
:
"^0.0.2"
,
"vue"
:
"^2.6.10"
,
"vue"
:
"^2.6.10"
,
...
...
src/assets/css/common.scss
View file @
2bf04e6
...
@@ -103,7 +103,7 @@ img {
...
@@ -103,7 +103,7 @@ img {
.scrm-box-f
{
.scrm-box-f
{
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.1
);
//
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
}
}
.scrm-flex
{
.scrm-flex
{
...
...
src/components/province-city/index.vue
View file @
2bf04e6
...
@@ -13,9 +13,10 @@
...
@@ -13,9 +13,10 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"detailAddressLabel"
>
<el-form-item
:label=
"detailAddressLabel"
>
<el-input
size=
"small"
v-if=
"mapView"
readonly
placeholder=
"请选择详细地址"
v-model=
"provinceForm.fullAddress"
>
<el-input
size=
"small"
v-if=
"mapView"
readonly
placeholder=
"请选择详细地址"
v-model=
"provinceForm.fullAddress"
class=
"map-input"
>
<el-button
size=
"small"
slot=
"append"
@
click=
"hanleSelectMap"
>
<el-button
size=
"small"
slot=
"append"
@
click=
"hanleSelectMap"
icon=
"gl-icon-location"
>
<img
src=
"@/assets/map.png"
alt=
""
class=
"map-icon"
/>
<!--
<img
src=
"@/assets/map.png"
alt=
""
class=
"map-icon"
/>
-->
<!--
<i
class=
"gl-icon-location"
></i>
-->
</el-button>
</el-button>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -336,8 +337,10 @@ export default {
...
@@ -336,8 +337,10 @@ export default {
}
}
margin-left
:
10px
;
margin-left
:
10px
;
}
}
.map-icon
{
.map-input
{
vertical-align
:
middle
;
/deep/
.el-input__inner
{
border-right
:
none
;
}
}
}
/
deep
/
{
/
deep
/
{
.el-input-group__append
{
.el-input-group__append
{
...
...
src/config/index.js
View file @
2bf04e6
...
@@ -17,7 +17,7 @@ export const fetchConfig = function(isEnv = false) {
...
@@ -17,7 +17,7 @@ export const fetchConfig = function(isEnv = false) {
Object
.
assign
(
request
,
{
timeout
})
Object
.
assign
(
request
,
{
timeout
})
return
Promise
.
resolve
(
cfg
)
return
Promise
.
resolve
(
cfg
)
}
}
return
new
Http
().
get
(
'https://oss-config.
test
.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config'
)
return
new
Http
().
get
(
'https://oss-config.
dev
.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config'
)
// return new Http().get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=setting-kyq').then(res => res.data)
// return new Http().get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=setting-kyq').then(res => res.data)
}
}
export
const
config
=
{
export
const
config
=
{
...
...
src/views/account/addAccount.vue
View file @
2bf04e6
...
@@ -65,11 +65,11 @@
...
@@ -65,11 +65,11 @@
</div>
</div>
<select-product
v-show=
"step == 2"
ref=
"productForm"
title=
"功能权限"
></select-product>
<select-product
v-show=
"step == 2"
ref=
"productForm"
title=
"功能权限"
></select-product>
<GLFooter
style=
"z-index: 2"
>
<GLFooter
style=
"z-index: 2"
>
<el-button
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleNext"
v-show=
"step == 1"
>
下一步
</el-button>
<el-button
type=
"primary"
@
click=
"handleNext"
v-show=
"step == 1"
>
下一步
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave(1)"
v-show=
"step == 2"
>
存草稿
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave(1)"
v-show=
"step == 2"
>
存草稿
</el-button>
<el-button
type=
"primary"
@
click=
"handlePrev"
v-show=
"step == 2"
>
上一步
</el-button>
<el-button
type=
"primary"
@
click=
"handlePrev"
v-show=
"step == 2"
>
上一步
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave(2)"
v-show=
"step == 2"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave(2)"
v-show=
"step == 2"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleCancel"
>
取消
</el-button>
</GLFooter>
</GLFooter>
</div>
</div>
</
template
>
</
template
>
...
@@ -586,10 +586,12 @@ export default {
...
@@ -586,10 +586,12 @@ export default {
}
}
.el-form-item__label
{
.el-form-item__label
{
width
:
154px
!important
;
width
:
154px
!important
;
line-height
:
32px
;
}
}
.el-form-item__content
{
.el-form-item__content
{
width
:
404px
;
width
:
404px
;
margin-left
:
0
!important
;
margin-left
:
0
!important
;
line-height
:
32px
;
}
}
}
}
.account-type
{
.account-type
{
...
...
src/views/account/components/baseInfo.vue
View file @
2bf04e6
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<div
class=
"bottom-spe"
>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<ProvinceCity
ref=
"provinceForm"
:subdistrict=
"subdistrict"
@
selectProvince=
"selectProvince"
@
selectCity=
"selectCity"
:detailAddressLabel=
"detailAddressLabel"
@
selectAddressByMap=
"selectAddressByMap"
></ProvinceCity>
<ProvinceCity
ref=
"provinceForm"
:subdistrict=
"subdistrict"
@
selectProvince=
"selectProvince"
@
selectCity=
"selectCity"
:detailAddressLabel=
"detailAddressLabel"
@
selectAddressByMap=
"selectAddressByMap"
></ProvinceCity>
...
@@ -40,6 +41,7 @@
...
@@ -40,6 +41,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"营业时间:"
class=
"open-time"
>
<el-form-item
label=
"营业时间:"
class=
"open-time"
>
...
@@ -78,7 +80,7 @@
...
@@ -78,7 +80,7 @@
</el-upload>
</el-upload>
</div>
</div>
</el-form-item>
</el-form-item>
<div
class=
"tips"
>
图片格式仅支持JPG
,
PNG格式,大小1M
</div>
<div
class=
"tips"
>
图片格式仅支持JPG
、
PNG格式,大小1M
</div>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
...
@@ -496,4 +498,11 @@ export default {
...
@@ -496,4 +498,11 @@ export default {
min-width
:
1000px
;
min-width
:
1000px
;
}
}
}
}
.bottom-spe
{
.el-col
{
/deep/
.
el-form-item
:
first-child
{
margin-bottom
:
10px
;
}
}
}
</
style
>
</
style
>
src/views/account/editAccount.vue
View file @
2bf04e6
...
@@ -18,18 +18,12 @@
...
@@ -18,18 +18,12 @@
</div>
</div>
</div>
</div>
<div
v-show=
"step == 'second'"
>
<div
v-show=
"step == 'second'"
>
<div
class=
"account-body
scrm-box-f
"
>
<div
class=
"account-body
gl-form-page
"
>
<div
class=
"form-title"
>
修改账户信息
</div>
<div
class=
"form-title"
>
修改账户信息
</div>
<el-form
ref=
"accountInfoForm"
:model=
"accountInfoForm"
class=
"gl-form-page"
label-width=
"154px"
:rules=
"accountInfoRules"
>
<el-form
ref=
"accountInfoForm"
class=
"account-box"
:model=
"accountInfoForm"
:rules=
"accountInfoRules"
>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"登录账户名:"
label-width=
"154px"
prop=
"merchantLoginAccount"
>
<el-form-item
label=
"登录账户名:"
label-width=
"154px"
prop=
"merchantLoginAccount"
>
<el-input
readonly
size=
"small"
class=
"w432"
v-model=
"accountInfoForm.merchantLoginAccount"
placeholder=
"请输入登录账户名"
></el-input>
<el-input
readonly
size=
"small"
class=
"w432"
v-model=
"accountInfoForm.merchantLoginAccount"
placeholder=
"请输入登录账户名"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
size=
"small"
label=
"登录密码:"
label-width=
"154px"
prop=
"merchantLoginPassword"
class=
"form-password"
>
<el-form-item
size=
"small"
label=
"登录密码:"
label-width=
"154px"
prop=
"merchantLoginPassword"
class=
"form-password"
>
<el-input
type=
"password"
maxlength=
"20"
:readonly=
"pwdStatus ? 'readonly' : false"
v-model=
"accountInfoForm.merchantLoginPassword"
placeholder=
"请输入登录密码(必须包含6-20个字母+数字)"
show-password
></el-input>
<el-input
type=
"password"
maxlength=
"20"
:readonly=
"pwdStatus ? 'readonly' : false"
v-model=
"accountInfoForm.merchantLoginPassword"
placeholder=
"请输入登录密码(必须包含6-20个字母+数字)"
show-password
></el-input>
<el-button
<el-button
...
@@ -43,15 +37,9 @@
...
@@ -43,15 +37,9 @@
重置密码
重置密码
</el-button>
</el-button>
</el-form-item>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"16"
>
<el-form-item
label=
"账户类型:"
>
<el-form-item
label=
"账户类型:"
>
<auto-button
v-for=
"(item, index) in accountTypes"
:key=
"index"
:btnLabel=
"item.accounttypeName"
:btnValue=
"item.accounttypeId"
stopClick=
"true"
:typeStatus=
"accounttypeId.indexOf(item.accounttypeId) == -1 ? true : false"
></auto-button>
<auto-button
v-for=
"(item, index) in accountTypes"
:key=
"index"
:btnLabel=
"item.accounttypeName"
:btnValue=
"item.accounttypeId"
stopClick=
"true"
:typeStatus=
"accounttypeId.indexOf(item.accounttypeId) == -1 ? true : false"
></auto-button>
</el-form-item>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-form>
</div>
</div>
<div
class=
"account-body scrm-box-f"
>
<div
class=
"account-body scrm-box-f"
>
...
@@ -63,9 +51,9 @@
...
@@ -63,9 +51,9 @@
<select-product
title=
"功能权限"
ref=
"productForm"
></select-product>
<select-product
title=
"功能权限"
ref=
"productForm"
></select-product>
</div>
</div>
<GLFooter
style=
"z-index: 2"
>
<GLFooter
style=
"z-index: 2"
>
<el-button
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave()"
v-show=
"step == 'first'"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave()"
v-show=
"step == 'first'"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleNext()"
v-show=
"step == 'second'"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleNext()"
v-show=
"step == 'second'"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleCancel"
>
取消
</el-button>
</GLFooter>
</GLFooter>
</div>
</div>
</
template
>
</
template
>
...
@@ -357,6 +345,7 @@ export default {
...
@@ -357,6 +345,7 @@ export default {
id
:
this
.
accountAddForm
.
id
id
:
this
.
accountAddForm
.
id
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
!
res
)
return
let
para
let
para
if
(
res
.
parentMerchant
)
{
if
(
res
.
parentMerchant
)
{
para
=
{
para
=
{
...
@@ -377,6 +366,7 @@ export default {
...
@@ -377,6 +366,7 @@ export default {
})
})
},
},
renderView
(
res
)
{
renderView
(
res
)
{
if
(
!
res
)
return
let
{
isloginName
,
bussinessBegintime
,
bussinessEndtime
,
lat
,
merchantBrandMain
,
businessType
,
lng
,
merchantAddress
,
provinceName
,
cityName
,
provinceCode
,
cityCode
,
merchantName
,
merchantAbbreviation
,
merchantType
,
merchantOrgcode
,
merchantLegalPerson
,
merchantLegalPersonPhone
,
residentContact
,
residentPhone
,
merchantLoginAccount
,
merchantLoginPassword
,
merchantAccountLevel
,
businessScope
,
businessScopeCustomize
,
merchantBrand
,
merchantFileResponses
,
merchantModel
,
accountTypes
,
accountType
,
accounttypeId
,
channelId
,
status
,
parentId
,
merchantBrandName
}
=
res
let
{
isloginName
,
bussinessBegintime
,
bussinessEndtime
,
lat
,
merchantBrandMain
,
businessType
,
lng
,
merchantAddress
,
provinceName
,
cityName
,
provinceCode
,
cityCode
,
merchantName
,
merchantAbbreviation
,
merchantType
,
merchantOrgcode
,
merchantLegalPerson
,
merchantLegalPersonPhone
,
residentContact
,
residentPhone
,
merchantLoginAccount
,
merchantLoginPassword
,
merchantAccountLevel
,
businessScope
,
businessScopeCustomize
,
merchantBrand
,
merchantFileResponses
,
merchantModel
,
accountTypes
,
accountType
,
accounttypeId
,
channelId
,
status
,
parentId
,
merchantBrandName
}
=
res
this
.
accountInfoForm
.
merchantLoginAccount
=
merchantLoginAccount
this
.
accountInfoForm
.
merchantLoginAccount
=
merchantLoginAccount
this
.
accountInfoForm
.
merchantLoginPassword
=
merchantLoginPassword
this
.
accountInfoForm
.
merchantLoginPassword
=
merchantLoginPassword
...
@@ -508,6 +498,10 @@ export default {
...
@@ -508,6 +498,10 @@ export default {
}
}
}
}
.account-body
{
.account-body
{
background-color
:
#fff
;
.account-box
{
padding
:
32px
0
68px
0
;
}
&
:nth-of-type
(
2
)
{
&
:nth-of-type
(
2
)
{
margin-top
:
20px
;
margin-top
:
20px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
...
...
src/views/baseInfo/editInfo.vue
View file @
2bf04e6
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<el-input
class=
"input-width"
v-model=
"infoForm.merchantAddress"
placeholder=
"请选择商户地址"
readonly=
"readonly"
></el-input>
<el-input
class=
"input-width"
v-model=
"infoForm.merchantAddress"
placeholder=
"请选择商户地址"
readonly=
"readonly"
></el-input>
<el-button
@
click=
"hanleSelectMap"
type=
"primary"
>
选择地址
</el-button>
<el-button
@
click=
"hanleSelectMap"
type=
"primary"
>
选择地址
</el-button>
</el-form-item>
-->
</el-form-item>
-->
<el-form-item
size=
"small"
label=
"经营业务类型:"
>
<el-form-item
size=
"small"
label=
"经营业务类型:"
class=
"bussiness-type"
>
<el-checkbox-group
v-model=
"infoForm.businessType"
>
<el-checkbox-group
v-model=
"infoForm.businessType"
>
<el-checkbox
:label=
"item.dictValue"
v-for=
"item in businessType"
:key=
"item.dictValue"
:disabled=
"item.dictValue
<
= 6">
{{
item
.
dictLabel
}}
</el-checkbox>
<el-checkbox
:label=
"item.dictValue"
v-for=
"item in businessType"
:key=
"item.dictValue"
:disabled=
"item.dictValue
<
= 6">
{{
item
.
dictLabel
}}
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
...
@@ -339,7 +339,7 @@ export default {
...
@@ -339,7 +339,7 @@ export default {
border-bottom
:
1px
solid
#dcdfe6
;
border-bottom
:
1px
solid
#dcdfe6
;
}
}
.information-form-box
{
.information-form-box
{
width
:
50%
;
//
width
:
50%
;
padding-top
:
30px
;
padding-top
:
30px
;
.map-row
{
.map-row
{
/deep/
.el-form-item__content
{
/deep/
.el-form-item__content
{
...
@@ -370,6 +370,9 @@ export default {
...
@@ -370,6 +370,9 @@ export default {
flex
:
1
;
flex
:
1
;
}
}
/
deep
/
{
/
deep
/
{
.el-form-item
{
margin-bottom
:
20px
!important
;
}
.el-form-item__content
{
.el-form-item__content
{
width
:
432px
;
width
:
432px
;
}
}
...
@@ -380,4 +383,9 @@ export default {
...
@@ -380,4 +383,9 @@ export default {
margin-right
:
7px
;
margin-right
:
7px
;
}
}
}
}
.bussiness-type
{
/deep/
.el-form-item__content
{
min-width
:
1000px
;
}
}
</
style
>
</
style
>
src/views/baseInfo/relevance.vue
View file @
2bf04e6
...
@@ -32,8 +32,8 @@
...
@@ -32,8 +32,8 @@
<SearchSelect
@
getCurDepartment=
"getCurDepartment"
:name=
"componentsName1"
></SearchSelect>
<SearchSelect
@
getCurDepartment=
"getCurDepartment"
:name=
"componentsName1"
></SearchSelect>
</div>
</div>
</div>
</div>
<div
class=
"
icon_wrap
"
>
<div
class=
"
relevance_btn
"
>
<el-button
type=
"purple"
size=
"small"
icon=
"el-icon-link"
@
click=
"handlerGL"
>
关联
</el-button>
<el-button
type=
"purple"
size=
"small"
@
click=
"handlerGL"
>
关联
</el-button>
</div>
</div>
</div>
</div>
<div
class=
"tbale-wrapper"
>
<div
class=
"tbale-wrapper"
>
...
@@ -443,4 +443,11 @@ export default {
...
@@ -443,4 +443,11 @@ export default {
border-color
:
#5850ff
;
border-color
:
#5850ff
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.relevance_btn
{
display
:
flex
;
align-items
:
flex-end
;
justify-content
:
center
;
height
:
65.09px
;
padding-left
:
8px
;
}
</
style
>
</
style
>
src/views/baseInfo/selectBrand.vue
View file @
2bf04e6
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
<
template
>
<
template
>
<div
v-loading=
"loading"
>
<div
v-loading=
"loading"
>
<div
class=
"select-input-box"
@
click=
"switchBrand"
>
<div
class=
"select-input-box"
@
click=
"switchBrand"
>
<div>
<template
v-for=
"(item, idx) in getCheckedArr"
>
<template
v-for=
"(item, idx) in getCheckedArr"
>
<el-tag
effect=
"plain"
type=
"info"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"removeItem(item, idx)"
v-if=
"idx
< 3
"
>
<el-tag
effect=
"plain"
type=
"info"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"removeItem(item, idx)"
v-if=
"idx
< 3
"
>
{{
item
.
label
}}
{{
item
.
label
}}
...
@@ -23,6 +24,11 @@
...
@@ -23,6 +24,11 @@
<el-tag
effect=
"plain"
slot=
"reference"
type=
"info"
v-show=
"getCheckedArr.length > 3"
>
+ {{ getCheckedArr.length - 3 }}
</el-tag>
<el-tag
effect=
"plain"
slot=
"reference"
type=
"info"
v-show=
"getCheckedArr.length > 3"
>
+ {{ getCheckedArr.length - 3 }}
</el-tag>
</el-popover>
</el-popover>
</div>
</div>
<div>
<i
v-show=
"!brandTree"
class=
"el-icon-arrow-up"
style=
"color:#909399"
></i>
<i
v-show=
"brandTree"
class=
"el-icon-arrow-down"
style=
"color:#909399"
></i>
</div>
</div>
<div
class=
"tree-box"
v-show=
"brandTree"
>
<div
class=
"tree-box"
v-show=
"brandTree"
>
<el-input
class=
"tree-input"
prefix-icon=
"el-icon-search"
placeholder=
"输入关键字进行过滤"
v-model=
"filterText"
></el-input>
<el-input
class=
"tree-input"
prefix-icon=
"el-icon-search"
placeholder=
"输入关键字进行过滤"
v-model=
"filterText"
></el-input>
<el-tree
class=
"filter-tree"
@
check=
"handleCheck"
:data=
"brandListTree"
:props=
"defaultProps"
node-key=
"id"
show-checkbox
:filter-node-method=
"filterNode"
ref=
"tree"
></el-tree>
<el-tree
class=
"filter-tree"
@
check=
"handleCheck"
:data=
"brandListTree"
:props=
"defaultProps"
node-key=
"id"
show-checkbox
:filter-node-method=
"filterNode"
ref=
"tree"
></el-tree>
...
@@ -211,8 +217,9 @@ export default {
...
@@ -211,8 +217,9 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#e5e5e5
;
border
:
1px
solid
#e5e5e5
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
4
px
;
padding
:
8
px
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
/deep/
.el-tag
{
/deep/
.el-tag
{
margin-right
:
5px
;
margin-right
:
5px
;
...
...
src/views/employee/editEmployee.vue
View file @
2bf04e6
...
@@ -191,7 +191,8 @@ export default {
...
@@ -191,7 +191,8 @@ export default {
maxPhotoNum
:
1
,
maxPhotoNum
:
1
,
// wdithLt: 800,
// wdithLt: 800,
// heightLt: 640,
// heightLt: 640,
hasPixel
:
false
,
isDisabled
:
false
,
// hasPixel: false,
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
const
imgFile
=
e
.
target
.
result
const
imgFile
=
e
.
target
.
result
const
base64
=
file
.
name
.
split
(
'.'
)[
file
.
name
.
split
(
'.'
).
length
-
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
const
base64
=
file
.
name
.
split
(
'.'
)[
file
.
name
.
split
(
'.'
).
length
-
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
...
@@ -536,7 +537,7 @@ export default {
...
@@ -536,7 +537,7 @@ export default {
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
}
}
/
deep
/
.el-form-item
{
/
/
/
deep
/
.el-form-item
{
margin-bottom
:
20px
!important
;
//
margin-bottom
:
20px
!important
;
}
//
}
</
style
>
</
style
>
src/views/employee/glsx-combi-form/index.vue
View file @
2bf04e6
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"glsx-combi-form"
>
<div
class=
"glsx-combi-form"
>
<el-form
:ref=
"formRef"
:inline=
"true"
:model=
"formObj"
:label-width=
"labelWidth"
:rules=
"formRules"
size=
"small"
class=
"glsx-combi-form-block"
>
<el-form
:ref=
"formRef"
:inline=
"true"
:model=
"formObj"
:label-width=
"labelWidth"
:rules=
"formRules"
size=
"small"
class=
"glsx-combi-form-block"
>
<template
v-for=
"(item, index) in formData"
>
<template
v-for=
"(item, index) in formData"
>
<el-form-item
v-if=
"!item.isHide"
:key=
"index"
:labelWidth=
"isEdit ? '154px' : labelWidth"
:class=
"
{ 'no-label': !item.label, isBlock: isBlock }" :style="{ 'margin-bottom': isEdit ? '2
4
px' : '', 'margin-right': isEdit ? '0px' : '30px', ...item.style }" :label="item.label" :prop="item.name">
<el-form-item
v-if=
"!item.isHide"
:key=
"index"
:labelWidth=
"isEdit ? '154px' : labelWidth"
:class=
"
{ 'no-label': !item.label, isBlock: isBlock }" :style="{ 'margin-bottom': isEdit ? '2
0
px' : '', 'margin-right': isEdit ? '0px' : '30px', ...item.style }" :label="item.label" :prop="item.name">
<span
v-if=
"!item.isHide && item.tips"
class=
"tips-block"
slot=
"label"
>
<span
v-if=
"!item.isHide && item.tips"
class=
"tips-block"
slot=
"label"
>
<span
class=
"tips-label"
>
{{
item
.
label
}}
</span>
<span
class=
"tips-label"
>
{{
item
.
label
}}
</span>
<el-tooltip
popper-class=
"tooltip-class"
effect=
"dark"
:content=
"item.tips"
:placement=
"item.placement || 'top'"
>
<el-tooltip
popper-class=
"tooltip-class"
effect=
"dark"
:content=
"item.tips"
:placement=
"item.placement || 'top'"
>
...
@@ -58,8 +58,8 @@
...
@@ -58,8 +58,8 @@
<p
class=
"photo-top-tips"
>
{{
item
.
topTips
}}
</p>
<p
class=
"photo-top-tips"
>
{{
item
.
topTips
}}
</p>
<div
v-if=
"!item.isDisabled"
>
<div
v-if=
"!item.isDisabled"
>
<div
v-if=
"Array.isArray(formObj[item.name]) ? formObj[item.name].length
< item
.
maxPhotoNum
:
!
formObj
[
item
.
name
]"
class=
"activity-img img-w-h"
>
<div
v-if=
"Array.isArray(formObj[item.name]) ? formObj[item.name].length
< item
.
maxPhotoNum
:
!
formObj
[
item
.
name
]"
class=
"activity-img img-w-h"
>
<div
class=
"add"
:style=
"
{ top:
item.maxPhotoNum == 1 ? '50%' :
'40%' }">+
</div>
<div
class=
"add"
:style=
"
{ top: '40%' }">+
</div>
<span
v-show=
"item.maxPhotoNum > 1"
class=
"number"
>
{{
formObj
[
item
.
name
].
length
}}
/
{{
item
.
maxPhotoNum
}}
</span>
<span
class=
"number"
>
上传图片
</span>
<input
type=
"file"
style=
"opacity: 0"
:id=
"item.name + 'file'"
ref=
"file"
class=
"activity-img img-w-h"
accept=
"image/png, image/jpeg, image/gif, image/jpg"
@
change=
"e => handleImgChange(e, item)"
/>
<input
type=
"file"
style=
"opacity: 0"
:id=
"item.name + 'file'"
ref=
"file"
class=
"activity-img img-w-h"
accept=
"image/png, image/jpeg, image/gif, image/jpg"
@
change=
"e => handleImgChange(e, item)"
/>
</div>
</div>
</div>
</div>
...
@@ -313,8 +313,8 @@ export default {
...
@@ -313,8 +313,8 @@ export default {
color
:
#999999
;
color
:
#999999
;
}
}
.glsx-combi-form
.img-w-h
{
.glsx-combi-form
.img-w-h
{
width
:
80
px
;
width
:
104
px
;
height
:
80
px
;
height
:
104
px
;
}
}
.glsx-combi-form
.activity-img
{
.glsx-combi-form
.activity-img
{
position
:
relative
;
position
:
relative
;
...
@@ -322,6 +322,7 @@ export default {
...
@@ -322,6 +322,7 @@ export default {
background-color
:
#f7f7f7
;
background-color
:
#f7f7f7
;
border
:
1px
dashed
#d9d9d9
;
border
:
1px
dashed
#d9d9d9
;
cursor
:
pointer
;
cursor
:
pointer
;
border-radius
:
4px
;
}
}
.glsx-combi-form
.activity-Input
{
.glsx-combi-form
.activity-Input
{
...
@@ -344,10 +345,11 @@ export default {
...
@@ -344,10 +345,11 @@ export default {
}
}
.activity-img
.number
{
.activity-img
.number
{
width
:
100%
;
position
:
absolute
;
position
:
absolute
;
bottom
:
0
;
bottom
:
10%
;
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-
50
%
);
transform
:
translateX
(
-
25
%
);
}
}
.muti-imgs
.img-btns
{
.muti-imgs
.img-btns
{
...
...
src/views/enterpriseWechat/components/wxSystem.vue
View file @
2bf04e6
...
@@ -217,6 +217,7 @@
...
@@ -217,6 +217,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<GLFooter
class=
"footer-panel"
>
<GLFooter
class=
"footer-panel"
>
<el-button
type=
"primary"
v-show=
"active == 2"
@
click=
"handlePrev"
>
上一步
</el-button>
<el-button
type=
"primary"
v-show=
"active == 2"
@
click=
"handlePrev"
>
上一步
</el-button>
<el-button
type=
"primary"
v-show=
"active == 3"
@
click=
"handlePrev"
>
返回上一步
</el-button>
<el-button
type=
"primary"
v-show=
"active == 3"
@
click=
"handlePrev"
>
返回上一步
</el-button>
...
@@ -226,7 +227,6 @@
...
@@ -226,7 +227,6 @@
<el-button
type=
"primary"
v-show=
"active == 2 && statusQrcode != 'SUCCESS'"
@
click=
"handleNext"
>
确定
</el-button>
<el-button
type=
"primary"
v-show=
"active == 2 && statusQrcode != 'SUCCESS'"
@
click=
"handleNext"
>
确定
</el-button>
<el-button
type=
"primary"
v-show=
"active == 2 && statusQrcode == 'SUCCESS'"
@
click=
"handleNext"
>
下一步
</el-button>
<el-button
type=
"primary"
v-show=
"active == 2 && statusQrcode == 'SUCCESS'"
@
click=
"handleNext"
>
下一步
</el-button>
</GLFooter>
</GLFooter>
</div>
<div
class=
"enterprise-dialog"
v-show=
"dialogStatus"
>
<div
class=
"enterprise-dialog"
v-show=
"dialogStatus"
>
<div
class=
"enterprise-dialog-warpper"
>
<div
class=
"enterprise-dialog-warpper"
>
<div
class=
"dialog-close-btn"
@
click=
"dialogStatus = false"
>
{{
dialogTime
}}
s
</div>
<div
class=
"dialog-close-btn"
@
click=
"dialogStatus = false"
>
{{
dialogTime
}}
s
</div>
...
...
src/views/enterpriseWechat/components/wxUser.vue
View file @
2bf04e6
...
@@ -229,12 +229,12 @@
...
@@ -229,12 +229,12 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<GLFooter
class=
"footer-panel"
>
<GLFooter
class=
"footer-panel"
>
<el-button
type=
"primary"
@
click=
"handlePrev"
v-show=
"active == 4"
>
上一步
</el-button>
<el-button
type=
"primary"
@
click=
"handlePrev"
v-show=
"active == 4"
>
上一步
</el-button>
<el-button
type=
"info"
disabled
v-show=
"active == 2 && tryStatus == 2"
>
应用审核中
</el-button>
<el-button
type=
"info"
disabled
v-show=
"active == 2 && tryStatus == 2"
>
应用审核中
</el-button>
<el-button
type=
"primary"
v-show=
"(active != 4 && tryStatus != 2) || (active == 1 && tryStatus == 2)"
@
click=
"handleNext"
>
下一步
</el-button>
<el-button
type=
"primary"
v-show=
"(active != 4 && tryStatus != 2) || (active == 1 && tryStatus == 2)"
@
click=
"handleNext"
>
下一步
</el-button>
</GLFooter>
</GLFooter>
</div>
<div
class=
"enterprise-dialog"
v-show=
"dialogStatus"
>
<div
class=
"enterprise-dialog"
v-show=
"dialogStatus"
>
<div
class=
"enterprise-dialog-warpper"
>
<div
class=
"enterprise-dialog-warpper"
>
<div
class=
"dialog-close-btn"
@
click=
"dialogStatus = false"
>
{{
dialogTime
}}
s
</div>
<div
class=
"dialog-close-btn"
@
click=
"dialogStatus = false"
>
{{
dialogTime
}}
s
</div>
...
...
src/views/role/components/selectProduct.vue
View file @
2bf04e6
<
template
>
<
template
>
<div
class=
"account-body
scrm-box-f
role-border"
v-loading=
"loading"
v-if=
"tabMenuStatus"
>
<div
class=
"account-body role-border"
v-loading=
"loading"
v-if=
"tabMenuStatus"
>
<!--
<div
class=
"account-title"
>
{{
title
}}
</div>
-->
<!--
<div
class=
"account-title"
>
{{
title
}}
</div>
-->
<el-tabs
v-if=
"tabMenu.length != 0"
v-model=
"tabName"
@
tab-click=
"handleClik"
>
<el-tabs
v-if=
"tabMenu.length != 0"
v-model=
"tabName"
@
tab-click=
"handleClik"
>
<template
v-for=
"(item, index) in tabMenu"
>
<template
v-for=
"(item, index) in tabMenu"
>
...
@@ -508,10 +508,15 @@ export default {
...
@@ -508,10 +508,15 @@ export default {
margin-bottom
:
12px
;
margin-bottom
:
12px
;
}
}
}
}
/
deep
/
.el-tree
{
/
deep
/
{
.el-tree
{
height
:
640px
;
height
:
640px
;
overflow
:
auto
;
overflow
:
auto
;
padding
:
0
20px
;
padding
:
20px
20px
;
font-size
:
14px
;
font-size
:
14px
;
}
.el-checkbox__input.is-checked
+
.el-checkbox__label
{
color
:
#303133
;
}
}
}
</
style
>
</
style
>
src/views/role/create.vue
View file @
2bf04e6
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<span
class=
"title"
>
{{
pageName
}}
</span>
<span
class=
"title"
>
{{
pageName
}}
</span>
</div>
</div>
<div
class=
"main_widget gl-form-page"
>
<div
class=
"main_widget gl-form-page"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"154px"
class=
"demo-ruleForm"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
size=
"small"
ref=
"ruleForm"
label-width=
"154px"
class=
"demo-ruleForm"
>
<el-form-item
v-if=
"pageType == 'create' && accountLevel != 4"
label=
"所属商户:"
prop=
"merchantId"
>
<el-form-item
v-if=
"pageType == 'create' && accountLevel != 4"
label=
"所属商户:"
prop=
"merchantId"
>
<el-select
size=
"small"
v-model=
"ruleForm.merchantId"
clearable
filterable
placeholder=
"请选择"
@
change=
"merchantChange"
>
<el-select
size=
"small"
v-model=
"ruleForm.merchantId"
clearable
filterable
placeholder=
"请选择"
@
change=
"merchantChange"
>
<el-option
v-for=
"item in merchantList"
:key=
"item.id"
:label=
"item.merchantName"
:value=
"item.id"
></el-option>
<el-option
v-for=
"item in merchantList"
:key=
"item.id"
:label=
"item.merchantName"
:value=
"item.id"
></el-option>
...
@@ -39,11 +39,11 @@
...
@@ -39,11 +39,11 @@
<div
class=
"top_title_widget"
>
<div
class=
"top_title_widget"
>
<span
class=
"title"
>
角色权限
</span>
<span
class=
"title"
>
角色权限
</span>
</div>
</div>
<el-row>
<
!-- <
el-row>
<el-col
:span=
"16"
>
<el-col :span="16">
-->
<div
data-v-995a4ff0=
""
class=
"role-list"
>
<div
class=
"role-list"
>
<label
for=
"roleName"
class=
"el-form-item__label"
>
角色权限
</label>
<label
for=
"roleName"
class=
"el-form-item__label"
>
角色权限:
</label>
<div
class=
"el-form-item__content"
style=
"margin-left: 100px
"
>
<div
class=
"el-form-item__content
"
>
<!-- <div data-v-995a4ff0="" class="el-input el-input--small">
<!-- <div data-v-995a4ff0="" class="el-input el-input--small">
<auto-button v-for="(item, index) in accountDetail.accountTypes" :key="index" :btnLabel="item.accounttypeName" :btnValue="item.accounttypeId" :stopClick="nextStatus" @getBtnStatus="getBtnStatus"></auto-button>
<auto-button v-for="(item, index) in accountDetail.accountTypes" :key="index" :btnLabel="item.accounttypeName" :btnValue="item.accounttypeId" :stopClick="nextStatus" @getBtnStatus="getBtnStatus"></auto-button>
</div> -->
</div> -->
...
@@ -57,8 +57,8 @@
...
@@ -57,8 +57,8 @@
<div
class=
"el-form-item__error"
v-if=
"roleRootRules"
>
请选择角色权限
</div>
<div
class=
"el-form-item__error"
v-if=
"roleRootRules"
>
请选择角色权限
</div>
</div>
</div>
</div>
</div>
</el-col>
<!--
</el-col>
</el-row>
</el-row>
-->
<SelectProduct
class=
"role-detail"
ref=
"productFrom"
:roleType=
"true"
></SelectProduct>
<SelectProduct
class=
"role-detail"
ref=
"productFrom"
:roleType=
"true"
></SelectProduct>
</div>
</div>
<GLFooter
style=
"z-index: 1"
>
<GLFooter
style=
"z-index: 1"
>
...
@@ -366,7 +366,9 @@ export default {
...
@@ -366,7 +366,9 @@ export default {
background
:
#ffffff
;
background
:
#ffffff
;
}
}
.role-list
{
.role-list
{
padding
:
40px
0
20px
104px
;
height
:
32px
;
line-height
:
32px
;
padding
:
32px
0
32px
104px
;
}
}
.top_title_widget
{
.top_title_widget
{
width
:
100%
;
width
:
100%
;
...
@@ -414,7 +416,4 @@ export default {
...
@@ -414,7 +416,4 @@ export default {
margin-right
:
15px
;
margin-right
:
15px
;
}
}
}
}
/
deep
/
.el-form-item
{
margin-bottom
:
20px
;
}
</
style
>
</
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