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 b708327a
authored
May 24, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ui走查
1 parent
5e7ffa2d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
9 deletions
src/views/expert/components/selectMember.vue
src/views/expert/components/tag-textarea.vue
src/views/expert/components/welcomeWords.vue
src/views/expert/detail.vue
src/views/expert/index.vue
src/views/expert/components/selectMember.vue
View file @
b708327
...
...
@@ -19,7 +19,7 @@
<!--
<el-form-item>
<el-checkbox
v-model=
"searchForm.checked"
>
仅看跟进专员
</el-checkbox>
</el-form-item>
-->
<el-form-item
style=
"margin-bottom: 0;
margin
-top: 1px;"
>
<el-form-item
style=
"margin-bottom: 0;
padding
-top: 1px;"
>
<el-button
type=
"primary"
:size=
"size"
@
click=
"search"
>
查询
</el-button>
</el-form-item>
</el-form>
...
...
src/views/expert/components/tag-textarea.vue
View file @
b708327
...
...
@@ -124,9 +124,11 @@ export default {
},
addCardLink
()
{
let
span
=
document
.
createElement
(
'span'
)
console
.
log
(
this
.
value
,
'this.value'
)
// span.id = this.getGuid()
// span.setAttribute('style', '-webkit-user-modify: read-only !important;')
let
text
=
'<br>车主朋友,您好!<br>我是您的福利官,欢迎您领取电子质保卡,<br>请点击下方链接进行领取及查看:<br><span style="color:#409eff;">https://dj.glsx.com.cn/dj-car-boutique-work-wechat/#/</span><br>祝您用车愉快!<br>'
let
text
=
'车主朋友,您好!<br>我是您的福利官,欢迎您领取电子质保卡,<br>请点击下方链接进行领取及查看:<br><span style="color:#409eff;">https://dj.glsx.com.cn/dj-car-boutique-work-wechat/#/</span><br>祝您用车愉快!<br>'
if
(
this
.
value
)
text
=
'<br>'
+
text
span
.
innerHTML
=
text
this
.
insertNode
(
span
)
},
...
...
@@ -316,6 +318,11 @@ export default {
watch
:
{
value
(
val
)
{
// 非锁定状态下,实时更新innerHTML
console
.
log
(
val
,
'val'
)
if
(
val
==
'<span><br></span>'
)
{
this
.
$refs
.
wTextareaContent
.
innerHTML
=
''
this
.
value
=
''
}
if
(
!
this
.
isLocked
)
{
this
.
$refs
.
wTextareaContent
.
innerHTML
=
val
}
...
...
src/views/expert/components/welcomeWords.vue
View file @
b708327
...
...
@@ -193,6 +193,9 @@ export default {
let
text
=
'<br>车主朋友,您好!<br>我是您的福利官,欢迎您领取电子质保卡,<br>请点击下方链接进行领取及查看:<br><span style="color:#409eff;">https://dj.glsx.com.cn/dj-car-boutique-work-wechat/#/</span><br>祝您用车愉快!<br>'
val
=
val
.
replaceAll
(
welcomeStr
,
text
)
let
span
=
document
.
createElement
(
'span'
)
if
(
val
&&
val
.
indexOf
(
'<br>'
)
==
0
)
{
val
=
val
.
substring
(
4
)
}
span
.
innerHTML
=
val
this
.
$refs
.
textContent
.
insertNode
(
span
)
},
...
...
src/views/expert/detail.vue
View file @
b708327
...
...
@@ -221,8 +221,11 @@ export default {
background-color
:
#fff
;
min-height
:
calc
(
100vh
-
144px
);
margin-bottom
:
64px
;
.checkNumber
{
/deep/
.checkNumber
{
padding
:
8px
12px
;
&
>
span
{
margin-left
:
4px
;
}
}
.numberDialog
{
/deep/
.el-dialog__header
{
...
...
@@ -266,7 +269,7 @@ export default {
}
}
.detail-wrap
{
padding
:
40
px
20px
;
padding
:
32
px
20px
;
.client
{
color
:
#333
;
}
...
...
@@ -304,6 +307,7 @@ export default {
line-height
:
36px
;
margin-bottom
:
20px
;
&
>
.el-form-item__label
{
padding
:
0
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
...
...
src/views/expert/index.vue
View file @
b708327
...
...
@@ -23,12 +23,12 @@
</
template
>
</el-cascader>
</div>
<span
slot=
"footer"
class=
"footer-btns"
style=
"display: inline-flex;padding-top: 1px;"
>
<span
slot=
"footer"
class=
"footer-btns"
style=
"display: inline-flex;padding-top: 1px;
margin-bottom:20px;
"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
class=
"resetBtn"
@
click=
"handleReset"
>
重置
</el-button>
</span>
</glsx-combi-form>
<div
style=
"padding: 0 20px;"
>
<div>
<GLTable
:noDataImg=
"url"
:class=
"[{ hasDataTable: !hasData }]"
ref=
"expertTable"
:hasNum=
"false"
:pageConf=
"batchPageConf"
:searchForm=
"batchListSearch"
:tableParams=
"batchTableParams"
:getListApi=
"getListApi"
>
<span
slot=
"status"
slot-scope=
"scope"
>
<!-- <el-switch :value="scope.scope.status == 0" active-color="#5850ff" inactive-color="#eee" @change="changStatus(scope.scope.status, scope.scope.id)"></el-switch>
...
...
@@ -45,8 +45,8 @@
<div
v-if=
"!hasData"
class=
"default-box"
>
<img
class=
"default-img"
:src=
"imagBaseURL + 'serviceser.png'"
alt=
""
/>
<span
class=
"tip"
>
用于「精品升级」客户线上化,配置轻改专家成员,可通过精品升级的质保卡活码拉新。
</span>
<div
v-if=
"userType != 2"
class=
"btn-area"
>
<GLButton
id=
"clientBtn"
:size=
"size"
fn=
"新增配置"
type=
"primary"
@
click
.
stop=
"addConfig('center')"
>
<div
v-if=
"userType != 2"
class=
"btn-area
my-search-btn
"
>
<GLButton
id=
"clientBtn"
plain
:size=
"size"
fn=
"新增配置"
type=
"primary"
@
click
.
stop=
"addConfig('center')"
>
新增配置
<i
class=
"el-icon-arrow-down"
></i>
</GLButton>
...
...
@@ -383,7 +383,7 @@ export default {
}
.expert-wrap
{
margin-top
:
16px
;
padding
:
20px
0
0
;
padding
:
20px
;
background-color
:
#fff
;
min-height
:
calc
(
100vh
-
148px
);
/deep/.switch
{
...
...
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