Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
199e7b1d
Commit
199e7b1d
authored
Nov 17, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
先提一版测bug
parent
35df4076
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
112 additions
and
39 deletions
+112
-39
src/assets/i18n/language-zh.js
src/assets/i18n/language-zh.js
+1
-0
src/pages/service_shop/gzfwDetail.vue
src/pages/service_shop/gzfwDetail.vue
+1
-1
src/pages/service_shop/sjfwDetail.vue
src/pages/service_shop/sjfwDetail.vue
+1
-1
src/pages/service_shop/skfwDetail.vue
src/pages/service_shop/skfwDetail.vue
+1
-1
src/pages/service_shop/spfwDetail.vue
src/pages/service_shop/spfwDetail.vue
+1
-1
src/pages/service_shop/zhfwDetail.vue
src/pages/service_shop/zhfwDetail.vue
+1
-1
src/pages/technical-support/answer-center/detail.vue
src/pages/technical-support/answer-center/detail.vue
+68
-14
src/pages/technical-support/answer-center/list.vue
src/pages/technical-support/answer-center/list.vue
+4
-4
src/pages/user/my-coin.vue
src/pages/user/my-coin.vue
+6
-2
src/pages/user/questions-answers/my-qa.vue
src/pages/user/questions-answers/my-qa.vue
+26
-12
src/pages/workbench/fwgl/apply_service_detail.vue
src/pages/workbench/fwgl/apply_service_detail.vue
+1
-1
src/pages/workbench/fwgl/serviceDetail.vue
src/pages/workbench/fwgl/serviceDetail.vue
+1
-1
No files found.
src/assets/i18n/language-zh.js
View file @
199e7b1d
...
...
@@ -8,6 +8,7 @@ export const lang = {
profile
:
"
个人档案
"
,
message_center
:
"
消息中心
"
,
my_questions_and_answers
:
"
我的问答
"
,
my_coin
:
"
我的金币
"
,
// unit of purchase duration
by_year
:
"
按年
"
,
...
...
src/pages/service_shop/gzfwDetail.vue
View file @
199e7b1d
...
...
@@ -75,7 +75,7 @@ export default {
descript
:
datas
.
descript
,
serviceRequestSpcs
:
datas
.
serviceRequestSpcs
,
scoreDetail
:
datas
.
scoreDetail
,
month_sale
:
data
.
month_sale
,
month_sale
:
data
s
.
month_sale
,
};
this
.
detailData
=
[
...
...
src/pages/service_shop/sjfwDetail.vue
View file @
199e7b1d
...
...
@@ -76,7 +76,7 @@ export default {
descript
:
datas
.
descript
,
serviceRequestSpcs
:
datas
.
serviceRequestSpcs
,
scoreDetail
:
datas
.
scoreDetail
,
month_sale
:
data
.
month_sale
,
month_sale
:
data
s
.
month_sale
,
};
this
.
detailData
=
[
...
...
src/pages/service_shop/skfwDetail.vue
View file @
199e7b1d
...
...
@@ -81,7 +81,7 @@ export default {
],
descript
:
datas
.
descript
,
scoreDetail
:
datas
.
scoreDetail
,
month_sale
:
data
.
month_sale
,
month_sale
:
data
s
.
month_sale
,
serviceRequestSpcs
:
datas
.
serviceRequestSpcs
,
};
...
...
src/pages/service_shop/spfwDetail.vue
View file @
199e7b1d
...
...
@@ -75,7 +75,7 @@ export default {
descript
:
datas
.
descript
,
serviceRequestSpcs
:
datas
.
serviceRequestSpcs
,
scoreDetail
:
datas
.
scoreDetail
,
month_sale
:
data
.
month_sale
,
month_sale
:
data
s
.
month_sale
,
};
this
.
detailData
=
[
...
...
src/pages/service_shop/zhfwDetail.vue
View file @
199e7b1d
...
...
@@ -76,7 +76,7 @@ export default {
descript
:
datas
.
descript
,
serviceRequestSpcs
:
datas
.
serviceRequestSpcs
,
scoreDetail
:
datas
.
scoreDetail
,
month_sale
:
data
.
month_sale
,
month_sale
:
data
s
.
month_sale
,
};
this
.
detailData
=
[
{
...
...
src/pages/technical-support/answer-center/detail.vue
View file @
199e7b1d
...
...
@@ -36,9 +36,9 @@
<div
class=
"answer_list"
>
<div
class=
"answer_box"
v-for=
"(item,index) in answer"
:key=
"'answer'+index+200"
>
<div
class=
"picture"
>
<img
:src=
"item.user_picture_path"
alt=
""
style=
"width:100%"
>
<img
:src=
"item.user_picture_path
|| head_pic
"
alt=
""
style=
"width:100%"
>
</div>
<div
class=
"text"
:style=
"index == answer.length-1
||item.children
?
{border:'0'}:''">
<div
class=
"text"
:style=
"index == answer.length-1?
{border:'0'}:''">
<p>
<span
class=
"left"
>
{{
item
.
username
}}
</span>
<span
class=
"right"
>
...
...
@@ -55,25 +55,25 @@
:ref=
"'input'+index"
v-model=
"back_info"
>
<div
slot=
"prefix"
style=
"height:48px;line-height:48px;"
>
<img
:src=
"user_info.picture_path"
alt=
""
style=
"width:24px;margin:0 10px 0 10px;vertical-align:-6px;border-radius:50%;"
></div>
<img
:src=
"user_info.picture_path
|| head_pic
"
alt=
""
style=
"width:24px;margin:0 10px 0 10px;vertical-align:-6px;border-radius:50%;"
></div>
<div
slot=
"suffix"
class=
"back_solt"
@
click=
"answer_question(item.id,item.user_id)"
>
回复
</div>
</el-input>
</div>
<template
v-for=
"(it,idx) in item.children"
>
<div
class=
"back_fllow answer_box"
:key=
"'ans_child'+idx+5000"
v-if=
"idx
<
=
4
||
answer_child_index=
==index"
>
<div
:style=
"idx == item.children.length-1&&item.children.length
<
=
5
?
{border:'0',overflow:'hidden',}:{borderBottom:'2px solid #f4f7fc',overflow:'hidden',}" >
<div
class=
"picture"
>
<img
:src=
"it.user_picture_path"
alt=
""
style=
"width:100%"
>
<div
class=
"picture
_fllow
"
>
<img
:src=
"it.user_picture_path
|| head_pic
"
alt=
""
style=
"width:100%"
>
</div>
<div
class=
"text"
style=
"border:0;"
>
<div
class=
"text
_fllow
"
style=
"border:0;"
>
<p>
<span
class=
"left"
>
{{
it
.
username
}}
<span><span
style=
"color:#bcc1d0;margin:0 9px;"
>
回复
</span>
{{
it
.
answered_user
}}
</span>
</span>
<span
class=
"right"
>
<span></span><span>
{{
deal_time
(
it
.
created
)
}}
</span>
</span>
</p>
<div
v-html=
"it.content"
class=
"hf_content"
></div>
<div
@
click=
"showinput(index,idx)"
class=
"back
"
><img
src=
"../../../assets/imgs/jszc_btn_huifu.png"
alt=
""
>
回复
</div>
<div
v-html=
"it.content"
class=
"hf_content
_fllow
"
></div>
<div
@
click=
"showinput(index,idx)"
class=
"back
_fllow_in"
>
回复
</div>
</div>
<div
class=
"back_input"
style=
"padding:0;height:auto;margin-bottom:0;"
v-if=
"answer_count[0]==index&&answer_count[1]==idx"
>
<el-input
...
...
@@ -82,7 +82,7 @@
:ref=
"'input'+index+idx"
v-model=
"back_info"
>
<div
slot=
"prefix"
style=
"height:48px;line-height:48px;"
>
<img
:src=
"user_info.picture_path"
alt=
""
style=
"width:24px;margin:0 10px 0 10px;vertical-align:-6px;border-radius:50%;"
></div>
<img
:src=
"user_info.picture_path
|| head_pic
"
alt=
""
style=
"width:24px;margin:0 10px 0 10px;vertical-align:-6px;border-radius:50%;"
></div>
<div
slot=
"suffix"
class=
"back_solt"
@
click=
"answer_question(item.id,it.user_id)"
>
回复
</div>
</el-input>
</div>
...
...
@@ -101,7 +101,7 @@
</div>
<div
class=
"ans_self"
>
<p><img
:src=
"user_info.picture_path"
alt=
""
>
<span>
{{user_info.user_name}}
</span>
</p>
<p><img
:src=
"user_info.picture_path
|| head_pic
"
alt=
""
>
<span>
{{user_info.user_name}}
</span>
</p>
<wang-e-bd
class=
"editbox"
v-model=
"editstr"
:menu=
"menu"
:full=
"false"
></wang-e-bd>
<div
class=
"pubilc"
@
click=
"answer_question1"
><img
src=
"../../../assets/imgs/jszc_ic_fabu.png"
alt=
""
>
发表
</div>
</div>
...
...
@@ -137,6 +137,7 @@ export default {
],
editstr
:
''
,
answer
:
[],
head_pic
:
require
(
"
@/assets/imgs/img_head.png
"
),
};
},
watch
:
{},
...
...
@@ -380,15 +381,37 @@ export default {
margin-left
:
17px
;
}
.hf_content
{
padding
:
16px
0
;
color
:
#242c43
;
width
:
750px
;
overflow
:
auto
;
padding
:
16px
0
0
;
color
:
#242c43
;
margin-bottom
:
16px
;
}
.hf_content
::-webkit-scrollbar
{
width
:
16px
;
height
:
16px
;
}
.hf_content
::-webkit-scrollbar-thumb
{
border-radius
:
8px
;
box-shadow
:
0
8px
0
#a5adb7
inset
;
border
:
4px
solid
rgba
(
0
,
0
,
0
,
0
);
/* background-color: #a5adb7; */
}
.hf_content
::-webkit-scrollbar-track
{
border-radius
:
8px
;
box-shadow
:
0
8px
0
#f4f4f4
inset
;
border
:
4px
solid
rgba
(
0
,
0
,
0
,
0
);
/* background-color: #f4f4f4; */
}
.text
.back
{
float
:
right
;
color
:
#
58617a
;
color
:
#
0f2683
;
font-size
:
14px
;
cursor
:
pointer
;
margin-bottom
:
16px
;
margin-right
:
10px
;
}
.text
.back
img
{
vertical-align
:
-3px
;
...
...
@@ -397,7 +420,10 @@ export default {
.back_fllow
{
background-color
:
#fbfbfc
;
width
:
100%
;
padding
:
16px
;
padding
:
16px
16px
0
;
}
.back_fllow
:nth-last-child
(
1
)
{
margin-bottom
:
16px
;
}
.ans_self
{
width
:
856px
;
...
...
@@ -473,6 +499,34 @@ export default {
color
:
#515fe7
;
cursor
:
pointer
;
}
.picture_fllow
{
float
:
left
;
width
:
24px
;
height
:
24px
;
border-radius
:
50%
;
overflow
:
hidden
;
}
.text_fllow
{
float
:
right
;
width
:
calc
(
100%
-
30px
);
border-bottom
:
2px
solid
#f4f7fc
;
overflow
:
hidden
;
}
.hf_content_fllow
{
width
:
690px
;
overflow
:
auto
;
padding
:
10px
0
0
;
color
:
#242c43
;
margin-bottom
:
14px
;
}
.back_fllow_in
{
float
:
right
;
color
:
#0f2683
;
font-size
:
14px
;
cursor
:
pointer
;
margin-bottom
:
14px
;
margin-right
:
10px
;
}
</
style
>
<
style
>
.back_input
.el-input__inner
{
...
...
src/pages/technical-support/answer-center/list.vue
View file @
199e7b1d
...
...
@@ -162,10 +162,10 @@ export default {
return
helper
.
dateStringTransform
(
time
||
""
);
},
getContentText
(
content
)
{
let
text
=
content
.
replace
(
/<img
[^
>
]
+>/g
,
"
【图片】
"
);
text
=
text
.
replace
(
/<
iframe
(([\s\S])
*
?)
<
\/
iframe>/g
,
"
【视频】
"
);
text
=
text
.
replace
(
/<pre
(([\s\S])
*
?)
<
\/
pre>/g
,
"
【代码】
"
);
let
text
=
content
.
replace
(
/<img
[^
>
]
+>/g
,
"
[图片]
"
);
text
=
text
.
replace
(
/<iframe
(([\s\S])
*
?)
<
\/
iframe>/g
,
"
[视频]
"
);
text
=
text
.
replace
(
/<
video
(([\s\S])
*
?)
<
\/
video>/g
,
"
[视频]
"
);
text
=
text
.
replace
(
/<pre
(([\s\S])
*
?)
<
\/
pre>/g
,
"
[代码]
"
);
text
=
text
.
replace
(
/<
\/?
.+
?
>/g
,
""
);
return
text
;
...
...
src/pages/user/my-coin.vue
View file @
199e7b1d
...
...
@@ -5,13 +5,13 @@
$t
(
"
lang.personal_center
"
)
}}
</el-breadcrumb-item>
<el-breadcrumb-item>
{{
$t
(
"
lang.my_
questions_and_answers
"
)
$t
(
"
lang.my_
coin
"
)
}}
</el-breadcrumb-item>
</el-breadcrumb>
<BlockRadius
class=
"info_block user_qa"
>
<div
class=
"left_user"
>
<div
class=
"img_head"
>
<img
:src=
"user_info.picture_path"
class=
"img_head_in"
/>
<img
:src=
"user_info.picture_path
|| head_pic
"
class=
"img_head_in"
/>
</div>
<div
class=
"left_word"
>
<p
class=
"left_name"
>
{{
user_info
.
user_name
}}
</p>
...
...
@@ -112,6 +112,7 @@ export default {
currentPage
:
1
,
currentlimit
:
10
,
date
:
[],
head_pic
:
require
(
"
@/assets/imgs/img_head.png
"
),
}),
watch
:
{},
methods
:
{
...
...
@@ -129,6 +130,9 @@ export default {
this
.
$api
.
user
.
getUserCoins
().
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
this
.
user_info
=
response
.
data
.
data
;
if
(
!
this
.
user_info
.
recharge_count
)
{
this
.
user_info
.
recharge_count
=
0
;
}
}
});
},
...
...
src/pages/user/questions-answers/my-qa.vue
View file @
199e7b1d
...
...
@@ -11,7 +11,7 @@
<BlockRadius
class=
"info_block user_qa"
>
<div
class=
"left_user"
>
<div
class=
"img_head"
>
<img
:src=
"user_info.picture_path"
class=
"img_head_in"
/>
<img
:src=
"user_info.picture_path
|| head_pic
"
class=
"img_head_in"
/>
</div>
<div
class=
"left_word"
>
<p
class=
"left_name"
>
{{
user_info
.
user_name
}}
</p>
...
...
@@ -70,7 +70,7 @@
<p
v-if=
"item.answer != ''"
class=
"cell_answer"
v-
html=
"item.answer
"
v-
text=
"getContentText(item.answer)
"
></p>
<p
@
click=
"gotodeta(item.question_id)"
...
...
@@ -78,21 +78,25 @@
>
{{
item
.
title
}}
</p>
<p
class=
"cell_cont"
>
{{
item
.
question_content
&&
item
.
question_content
!=
""
?
item
.
question_content
.
replace
(
/<
[^
<>
]
+>/g
,
""
)
:
item
.
content
&&
item
.
content
!=
""
?
item
.
content
.
replace
(
/<
[^
<>
]
+>/g
,
""
)
:
""
}}
</p>
<p
class=
"cell_cont"
v-if=
"item.question_content && item.question_content != ''"
v-text=
"getContentText(item.question_content)"
></p>
<p
class=
"cell_cont"
v-else-if=
"item.content && item.content != ''"
v-text=
"getContentText(item.content)"
></p>
<p
class=
"cell_cont"
v-else
></p>
<p
v-if=
"activeName == 2"
class=
"cell_other"
>
<span>
删除时间:
{{
helper
.
dateStringTransform
(
item
.
deleted_time
)
}}
</span>
<span>
删除人:
{{
item
.
delete_user
}}
</span>
<span>
删除理由:
{{
item
.
delete_reason
}}
</span>
<span
v-if=
"item.delete_reason"
>
删除理由:
{{
item
.
delete_reason
}}
</span
>
</p>
<p
v-else
class=
"cell_other"
>
<span>
{{
helper
.
dateStringTransform
(
item
.
created
)
}}
</span>
...
...
@@ -211,6 +215,7 @@ export default {
},
diaDelItem
:
false
,
delItem
:
{},
head_pic
:
require
(
"
@/assets/imgs/img_head.png
"
),
}),
watch
:
{
activeName
:
{
...
...
@@ -352,6 +357,15 @@ export default {
}
});
},
getContentText
(
content
)
{
let
text
=
content
.
replace
(
/<img
[^
>
]
+>/g
,
"
[图片]
"
);
text
=
text
.
replace
(
/<iframe
(([\s\S])
*
?)
<
\/
iframe>/g
,
"
[视频]
"
);
text
=
text
.
replace
(
/<video
(([\s\S])
*
?)
<
\/
video>/g
,
"
[视频]
"
);
text
=
text
.
replace
(
/<pre
(([\s\S])
*
?)
<
\/
pre>/g
,
"
[代码]
"
);
text
=
text
.
replace
(
/<
\/?
.+
?
>/g
,
""
);
return
text
;
},
},
created
()
{
if
(
this
.
$route
.
query
.
name
!==
undefined
)
{
...
...
src/pages/workbench/fwgl/apply_service_detail.vue
View file @
199e7b1d
...
...
@@ -882,7 +882,7 @@ export default {
);
this
.
$set
(
this
.
list_arr
[
4
],
"
info
"
,
data
.
organization_name
);
this
.
$set
(
this
.
list_arr
[
5
],
"
info
"
,
data
.
openness_name
);
this
.
$set
(
this
.
list_arr
[
6
],
"
info
"
,
data
.
encode_method
);
this
.
$set
(
this
.
list_arr
[
6
],
"
info
"
,
"
自动生成
"
);
this
.
$set
(
this
.
list_arr
[
7
],
"
info
"
,
...
...
src/pages/workbench/fwgl/serviceDetail.vue
View file @
199e7b1d
...
...
@@ -1376,7 +1376,7 @@ export default {
this
.
$set
(
this
.
list_arr
[
1
],
"
info
"
,
data
.
sectors_name
);
this
.
$set
(
this
.
list_arr
[
2
],
"
info
"
,
data
.
organization_name
);
this
.
$set
(
this
.
list_arr
[
3
],
"
info
"
,
data
.
openness_name
);
this
.
$set
(
this
.
list_arr
[
4
],
"
info
"
,
data
.
encode_method
);
this
.
$set
(
this
.
list_arr
[
4
],
"
info
"
,
"
自动生成
"
);
this
.
$set
(
this
.
list_arr
[
5
],
"
info
"
,
...
...
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