Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
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
office
haoban-3
Commits
919ea67d
Commit
919ea67d
authored
Apr 22, 2021
by
陈羽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 话务任务下线通知
parent
97d25094
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
123 additions
and
27 deletions
+123
-27
distribution-enterprise.vue
src/components/set/distribution-enterprise.vue
+9
-1
file-table.vue
src/components/set/file-table.vue
+5
-3
image-table.vue
src/components/set/image-table.vue
+5
-3
text-edit.vue
src/components/set/text-edit.vue
+11
-6
text-table.vue
src/components/set/text-table.vue
+5
-3
video-table.vue
src/components/set/video-table.vue
+5
-3
web-table.vue
src/components/set/web-table.vue
+5
-3
salutatorySet.vue
src/views/enterprise/salutatorySet.vue
+6
-1
index.vue
src/views/index/index.vue
+72
-4
No files found.
src/components/set/distribution-enterprise.vue
View file @
919ea67d
...
@@ -114,7 +114,15 @@ export default {
...
@@ -114,7 +114,15 @@ export default {
const
that
=
this
;
const
that
=
this
;
that
.
$refs
[
formName
].
validate
(
valid
=>
{
that
.
$refs
[
formName
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
that
.
postSave
();
this
.
$confirm
(
'是否确认提交?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
})
.
then
(()
=>
{
that
.
postSave
();
})
.
catch
(()
=>
{});
}
}
});
});
},
300
),
},
300
),
...
...
src/components/set/file-table.vue
View file @
919ea67d
...
@@ -45,9 +45,11 @@
...
@@ -45,9 +45,11 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<template
v-if=
"scope.row.fromMaterialId == '-1'"
>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"scope.row.fromMaterialId == '-1'"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
>
分配企业
</el-button>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/components/set/image-table.vue
View file @
919ea67d
...
@@ -45,9 +45,11 @@
...
@@ -45,9 +45,11 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<template
v-if=
"scope.row.fromMaterialId == '-1'"
>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"scope.row.fromMaterialId == '-1'"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
>
分配企业
</el-button>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/components/set/text-edit.vue
View file @
919ea67d
...
@@ -19,8 +19,7 @@
...
@@ -19,8 +19,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"内容"
prop=
"materialContent"
>
<el-form-item
label=
"内容"
prop=
"materialContent"
>
<div
class=
"material-content"
>
<div
class=
"material-content"
>
<!--
<textarea
class=
"material-body"
placeholder=
"请输入内容"
id=
"textpanel"
v-model=
"ruleForm.materialContent"
></textarea>
-->
<el-input
show-word-limit
placeholder=
"请输入内容"
type=
"textarea"
v-model=
"ruleForm.materialContent"
maxlength=
"1000"
class=
"w-440 welcomeContent"
></el-input>
<limit-textarea
class=
"material-body"
:inputWidth=
"440"
:inputValue
.
sync=
"ruleForm.materialContent"
:holder=
"'请输入内容'"
:getByType=
"'char'"
:maxLength=
"1000"
>
</limit-textarea>
<el-popover
placement=
"top"
width=
"388"
trigger=
"click"
>
<el-popover
placement=
"top"
width=
"388"
trigger=
"click"
>
<ul
class=
"flex flex-wrap"
>
<ul
class=
"flex flex-wrap"
>
<li
v-for=
"(item, index) in emojiList"
:key=
"index + 'emoji'"
>
<li
v-for=
"(item, index) in emojiList"
:key=
"index + 'emoji'"
>
...
@@ -41,7 +40,6 @@
...
@@ -41,7 +40,6 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
limitInput
from
'@/components/limit-input.vue'
;
import
limitInput
from
'@/components/limit-input.vue'
;
import
limitTextarea
from
'@/components/limit-textarea.vue'
;
import
{
_debounce
}
from
'@/common/js/public'
;
import
{
_debounce
}
from
'@/common/js/public'
;
import
{
postRequest
}
from
'@/api/api'
;
import
{
postRequest
}
from
'@/api/api'
;
import
showMsg
from
'@/common/js/showmsg'
;
import
showMsg
from
'@/common/js/showmsg'
;
...
@@ -63,8 +61,7 @@ export default {
...
@@ -63,8 +61,7 @@ export default {
}
}
},
},
components
:
{
components
:
{
limitInput
,
limitInput
limitTextarea
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -95,7 +92,12 @@ export default {
...
@@ -95,7 +92,12 @@ export default {
**/
**/
selectEmoji
(
item
)
{
selectEmoji
(
item
)
{
const
that
=
this
;
const
that
=
this
;
that
.
ruleForm
.
materialContent
=
that
.
ruleForm
.
materialContent
+
item
.
key
;
const
str
=
that
.
ruleForm
.
materialContent
+
item
.
key
;
if
(
str
.
length
>
1000
)
{
this
.
$message
(
'添加该表情后文本内容将超过字数限制,无法添加!'
);
}
else
{
that
.
ruleForm
.
materialContent
=
str
;
}
},
},
toCancel
()
{
toCancel
()
{
const
that
=
this
;
const
that
=
this
;
...
@@ -166,6 +168,9 @@ export default {
...
@@ -166,6 +168,9 @@ export default {
.p-l-18
{
.p-l-18
{
padding-left
:
18px
;
padding-left
:
18px
;
}
}
.w-440
{
width
:
440px
;
}
.material-content
{
.material-content
{
position
:
relative
;
position
:
relative
;
.material-body
{
.material-body
{
...
...
src/components/set/text-table.vue
View file @
919ea67d
...
@@ -43,9 +43,11 @@
...
@@ -43,9 +43,11 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<template
v-if=
"scope.row.fromMaterialId == '-1'"
>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"scope.row.fromMaterialId == '-1'"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
>
分配企业
</el-button>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/components/set/video-table.vue
View file @
919ea67d
...
@@ -47,9 +47,11 @@
...
@@ -47,9 +47,11 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<template
v-if=
"scope.row.fromMaterialId == '-1'"
>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"scope.row.fromMaterialId == '-1'"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
>
分配企业
</el-button>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/components/set/web-table.vue
View file @
919ea67d
...
@@ -48,9 +48,11 @@
...
@@ -48,9 +48,11 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<template
v-if=
"scope.row.fromMaterialId == '-1'"
>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"scope.row.fromMaterialId == '-1'"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
>
分配企业
</el-button>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/enterprise/salutatorySet.vue
View file @
919ea67d
...
@@ -53,7 +53,12 @@ export default {
...
@@ -53,7 +53,12 @@ export default {
},
},
selectEmoji
(
item
)
{
selectEmoji
(
item
)
{
const
that
=
this
;
const
that
=
this
;
that
.
form
.
welcomeContent
=
that
.
form
.
welcomeContent
+
item
.
key
;
const
str
=
that
.
form
.
welcomeContent
+
item
.
key
;
if
(
str
.
length
>
1000
)
{
this
.
$message
(
'添加该表情后文本内容将超过字数限制,无法添加!'
);
}
else
{
that
.
form
.
welcomeContent
=
str
;
}
},
},
putName
()
{
putName
()
{
const
that
=
this
;
const
that
=
this
;
...
...
src/views/index/index.vue
View file @
919ea67d
...
@@ -118,7 +118,18 @@
...
@@ -118,7 +118,18 @@
</div>
</div>
</div>
</div>
</div>
</div>
<template
v-if=
"taskTipShow"
>
<div
class=
"task-tip-wrap"
>
<i
class=
"el-icon-warning"
></i>
<div
class=
"task-tip-content"
>
<p>
话务任务应用下线通知:
</p>
<p>
1. 话务任务预计将于5月下旬下线,功能将由销售线索替代;
</p>
<p>
2. 后续如需下发任务,请通过GIC智能引擎中企微任务下发;
</p>
<p>
3. 话务任务下线后,智能引擎话务及好办企微任务也会下线,不良评价任务将转移至其他应用,请知悉。
</p>
</div>
<i
class=
"el-icon-close"
@
click=
"taskTipClose"
></i>
</div>
</
template
>
<!-- <vue-gic-footer></vue-gic-footer> -->
<!-- <vue-gic-footer></vue-gic-footer> -->
</div>
</div>
</div>
</div>
...
@@ -135,6 +146,7 @@ export default {
...
@@ -135,6 +146,7 @@ export default {
name
:
'index'
,
name
:
'index'
,
data
()
{
data
()
{
return
{
return
{
taskTipShow
:
false
,
checkShow
:
true
,
checkShow
:
true
,
tipText
:
'请先完成商户初始化设置后,再进行其他操作'
,
tipText
:
'请先完成商户初始化设置后,再进行其他操作'
,
projectName
:
'haoban-manage-web'
,
// 当前项目名
projectName
:
'haoban-manage-web'
,
// 当前项目名
...
@@ -447,6 +459,17 @@ export default {
...
@@ -447,6 +459,17 @@ export default {
window
.
open
(
''
);
window
.
open
(
''
);
});
});
},
},
toTipTask
()
{
console
.
log
(
localStorage
.
getItem
(
'taskTip'
));
if
(
!
localStorage
.
getItem
(
'taskTip'
))
{
this
.
taskTipShow
=
true
;
}
},
taskTipClose
()
{
this
.
taskTipShow
=
false
;
localStorage
.
setItem
(
'taskTip'
,
true
);
},
/**
/**
* 获取帮助中心
* 获取帮助中心
*/
*/
...
@@ -629,7 +652,7 @@ export default {
...
@@ -629,7 +652,7 @@ export default {
message
:
error
.
message
message
:
error
.
message
});
});
});
});
}
,
}
},
},
async
mounted
()
{
async
mounted
()
{
const
that
=
this
;
const
that
=
this
;
...
@@ -637,6 +660,7 @@ export default {
...
@@ -637,6 +660,7 @@ export default {
that
.
wxEnterpriseId
=
await
that
.
toLogin
();
that
.
wxEnterpriseId
=
await
that
.
toLogin
();
that
.
getAppData
(
1
);
that
.
getAppData
(
1
);
that
.
getHelpData
();
that
.
getHelpData
();
that
.
toTipTask
();
/* that.getAppData(2); */
/* that.getAppData(2); */
// that.getTipData();
// that.getTipData();
that
.
getCompanyData
();
that
.
getCompanyData
();
...
@@ -929,9 +953,9 @@ export default {
...
@@ -929,9 +953,9 @@ export default {
font-size
:
14px
;
font-size
:
14px
;
color
:
#909399
;
color
:
#909399
;
&:hover
{
&:hover
{
color
:
#2f54ed
;
color
:
#2f54ed
;
-webkit-transform
:
translateX
(
0px
);
-webkit-transform
:
translateX
(
0px
);
-moz-transform
:
translateX
(
0px
);
-moz-transform
:
translateX
(
0px
);
transform
:
translateX
(
0px
);
transform
:
translateX
(
0px
);
}
}
}
}
...
@@ -1021,4 +1045,48 @@ export default {
...
@@ -1021,4 +1045,48 @@ export default {
-webkit-box-shadow
:
none
;
-webkit-box-shadow
:
none
;
box-shadow
:
none
;
box-shadow
:
none
;
}
}
@keyframes
show
{
0
%
{
top
:
0
;
opacity
:
0
;
}
100
%
{
top
:
56px
;
opacity
:
1
;
}
}
.task-tip-wrap
{
position
:
fixed
;
top
:
56px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
animation
:
0.3s
show
;
display
:
flex
;
padding
:
10px
17px
;
background
:
#f0f5ff
;
border-radius
:
2px
;
border
:
1px
solid
#85a5ff
;
.el-icon-warning
{
margin-top
:
5px
;
margin-right
:
9px
;
font-size
:
12px
;
color
:
#2f54eb
;
}
.el-icon-close
{
font-size
:
12px
;
color
:
#909399
;
cursor
:
pointer
;
}
.task-tip-content
{
font-size
:
13px
;
font-weight
:
400
;
color
:
#303133
;
line-height
:
22px
;
p
{
cursor
:
default
;
user-select
:
none
;
}
}
}
</
style
>
</
style
>
<
style
></
style
>
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