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
71bbc1c1
Commit
71bbc1c1
authored
Nov 19, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug
parent
0f6dbbee
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
71 additions
and
31 deletions
+71
-31
src/components/app-list/app-card.vue
src/components/app-list/app-card.vue
+2
-2
src/components/service-info/service-info.vue
src/components/service-info/service-info.vue
+3
-1
src/components/service-list/commodity-card-new.vue
src/components/service-list/commodity-card-new.vue
+2
-2
src/components/service-list/service_list-new.vue
src/components/service-list/service_list-new.vue
+3
-8
src/components/shop-cloud/shop-cloud-new.vue
src/components/shop-cloud/shop-cloud-new.vue
+32
-2
src/components/shopping-cart/shopping-cart-cell.vue
src/components/shopping-cart/shopping-cart-cell.vue
+1
-0
src/components/table/table-um.vue
src/components/table/table-um.vue
+1
-0
src/pages/technical-support/answer-center/edit.vue
src/pages/technical-support/answer-center/edit.vue
+1
-1
src/pages/technical-support/answer-center/index.vue
src/pages/technical-support/answer-center/index.vue
+9
-5
src/pages/technical-support/answer-center/list.vue
src/pages/technical-support/answer-center/list.vue
+1
-0
src/pages/workbench/fwgl/serviceDetail.vue
src/pages/workbench/fwgl/serviceDetail.vue
+8
-5
src/router/index.js
src/router/index.js
+8
-5
No files found.
src/components/app-list/app-card.vue
View file @
71bbc1c1
...
...
@@ -25,7 +25,7 @@
<p
class=
"app_card-text"
v-if=
"cardType == 1"
>
<span>
<i
class=
"el-icon-time"
></i>
<span>
上线
时间:
</span>
<span>
部署
时间:
</span>
</span>
<span
class=
"text_clip"
v-text=
"getTimeText(data.created || '')"
></span>
</p>
...
...
@@ -92,7 +92,7 @@ export default {
.app_card
>
.remove_btn
{
position
:
absolute
;
top
:
10px
;
right
:
1
0px
;
right
:
2
0px
;
font-size
:
20px
;
color
:
#8890a7
;
cursor
:
pointer
;
...
...
src/components/service-info/service-info.vue
View file @
71bbc1c1
...
...
@@ -96,7 +96,9 @@
:
data
.
serviceRequestSpcs
.
spcs_type_1
[
0
].
descript
}}
</div>
<div
class=
"commodity_information"
>
<div
class=
"commodity_information"
>
<span
class=
"guige_title"
>
时长收费:
</span>
<span
v-if=
"
...
...
src/components/service-list/commodity-card-new.vue
View file @
71bbc1c1
...
...
@@ -23,7 +23,7 @@
<p
class=
"get_num"
>
获取次数:
<span
class=
"com_cell_right_time"
>
{{
cellData
.
deploy
_times
}}
{{
cellData
.
get
_times
}}
</span>
<span
class=
"ci"
>
次
</span>
</p>
...
...
@@ -47,7 +47,7 @@
</el-col>
<el-col
:span=
"10"
class=
"com_other"
>
<span
class=
"name_title"
>
业务领域:
</span>
{{
cellData
.
ywly
_name
}}
{{
cellData
.
area
_name
}}
</el-col>
<el-col
:span=
"14"
class=
"com_other"
>
<span
class=
"name_title"
>
上线时间:
</span>
...
...
src/components/service-list/service_list-new.vue
View file @
71bbc1c1
...
...
@@ -352,6 +352,7 @@ export default {
for
(
let
i
=
0
;
i
<
val
.
length
;
i
++
)
{
this
.
filterLists
[
i
+
1
].
name
=
val
[
i
];
}
this
.
activeBtn
=
0
;
},
},
},
...
...
@@ -398,14 +399,7 @@ export default {
businessArea
:
this
.
activeOptions
[
2
].
join
(
"
,
"
),
orgSource
:
this
.
activeOptions
[
3
].
join
(
"
,
"
),
developable
:
Number
(
this
.
couldTwice
),
order
:
this
.
activeBtn
==
0
?
"
search_count
"
:
this
.
activeBtn
==
1
?
"
create_date
"
:
this
.
activeBtn
==
2
?
"
apply_times
"
:
"
evaluation
"
,
order
:
this
.
activeBtn
+
1
,
page
:
this
.
page
,
limit
:
this
.
limit
,
search
:
this
.
search
,
...
...
@@ -754,6 +748,7 @@ export default {
display
:
inline-block
;
margin-right
:
31px
;
position
:
relative
;
cursor
:
pointer
;
}
.button_filter
::after
{
content
:
""
;
...
...
src/components/shop-cloud/shop-cloud-new.vue
View file @
71bbc1c1
...
...
@@ -128,7 +128,7 @@
<el-input-number
v-model=
"formNew.containerGroup"
controls-position=
"right"
:min=
"
0
"
:min=
"
1
"
:max=
"24"
placeholder=
"取值范围[0,24]"
></el-input-number>
...
...
@@ -387,7 +387,7 @@
<el-input-number
v-model=
"formOld.containerGroup"
controls-position=
"right"
:min=
"
0
"
:min=
"
1
"
:max=
"24"
placeholder=
"取值范围[0,24]"
></el-input-number>
...
...
@@ -1177,6 +1177,36 @@ export default {
return
this
.
amounts_payable
;
}
,
}
,
watch
:
{
formNew
:
{
handler
()
{
if
(
this
.
formNew
.
containerGroup
%
1
!=
0
)
{
this
.
formNew
.
containerGroup
=
Math
.
floor
(
this
.
formNew
.
containerGroup
)
}
if
(
this
.
formNew
.
dataDisk
%
1
!=
0
)
{
this
.
formNew
.
dataDisk
=
Math
.
floor
(
this
.
formNew
.
dataDisk
)
}
if
(
this
.
formNew
.
appDuration
%
1
!=
0
)
{
this
.
formNew
.
appDuration
=
Math
.
floor
(
this
.
formNew
.
appDuration
)
}
}
,
deep
:
true
,
}
,
formOld
:
{
handler
()
{
if
(
this
.
formOld
.
containerGroup
%
1
!=
0
)
{
this
.
formOld
.
containerGroup
=
Math
.
floor
(
this
.
formOld
.
containerGroup
)
}
if
(
this
.
formOld
.
dataDisk
%
1
!=
0
)
{
this
.
formOld
.
dataDisk
=
Math
.
floor
(
this
.
formOld
.
dataDisk
)
}
if
(
this
.
formOld
.
appDuration
%
1
!=
0
)
{
this
.
formOld
.
appDuration
=
Math
.
floor
(
this
.
formOld
.
appDuration
)
}
}
,
deep
:
true
,
}
}
,
data
()
{
var
checkName
=
(
rule
,
value
,
callback
)
=>
{
let
self
=
this
;
...
...
src/components/shopping-cart/shopping-cart-cell.vue
View file @
71bbc1c1
...
...
@@ -128,6 +128,7 @@
{{
item
.
money
}}
金币/
{{
item
.
spcs_count
}}
次
</el-button>
<el-button
v-if=
"cellItems.service.request_spcs_info.spcs_type_2 && cellItems.service.request_spcs_info.spcs_type_2.length != 0"
:class=
"
specificationPop.spcs_type == 2
? 'shopping_cell_specification_btn active'
...
...
src/components/table/table-um.vue
View file @
71bbc1c1
...
...
@@ -452,6 +452,7 @@ export default {
},
datas
:
{
handler
(
val
)
{
console
.
log
(
val
)
this
.
getDataFromApiSync
();
},
deep
:
true
...
...
src/pages/technical-support/answer-center/edit.vue
View file @
71bbc1c1
...
...
@@ -88,7 +88,7 @@ export default {
this
.
editstr
=
''
if
(
res
.
data
.
success
){
this
.
$message
.
success
(
'
添加成功
'
)
this
.
$router
.
push
(
'
/technical_support/answer_center/list
'
)
this
.
$router
.
push
(
{
name
:
'
answerCenterList
'
}
)
}
else
{
this
.
$message
.
error
(
'
添加失败
'
)
}
...
...
src/pages/technical-support/answer-center/index.vue
View file @
71bbc1c1
<
template
>
<div
class=
"answer_container"
>
<router-view
class=
"left_content"
/>
<router-view
class=
"left_content"
@
update2=
"update2"
/>
<div
class=
"right_content"
v-if=
"$route.path !== '/technical_support/answer_center/edit'"
...
...
@@ -73,11 +73,15 @@ export default {
head_pic
:
require
(
"
../../../assets/imgs/img_head.png
"
),
};
},
crea
ted
()
{
this
.
getUserInfo
();
this
.
getAnwerList
();
},
// moun
ted() {
//
this.getUserInfo();
//
this.getAnwerList();
//
},
methods
:
{
update2
()
{
this
.
getUserInfo
();
this
.
getAnwerList
();
},
getUserInfo
()
{
this
.
$http
.
get
(
"
/apaas/support/qa/info
"
).
then
(({
data
})
=>
{
if
(
data
.
success
)
{
...
...
src/pages/technical-support/answer-center/list.vue
View file @
71bbc1c1
...
...
@@ -107,6 +107,7 @@ export default {
},
methods
:
{
getAnwerList
()
{
this
.
$emit
(
"
update2
"
);
this
.
$http
.
get
(
"
/apaas/support/qa/question/list
"
,
{
params
:
{
...
...
src/pages/workbench/fwgl/serviceDetail.vue
View file @
71bbc1c1
...
...
@@ -316,6 +316,7 @@ import ListPagination from "@/components/comments-pagination";
import
dialogAction
from
"
@/components/dialog-action
"
;
import
{
getRole
,
formatDateTime_date
}
from
"
@/utils/common
"
;
import
{
mapGetters
,
mapState
}
from
"
vuex
"
;
import
helper
from
"
@/services/helper
"
;
export
default
{
components
:
{
infoList
,
...
...
@@ -342,7 +343,7 @@ export default {
translistTotal
:
0
,
transcurrentPage
:
1
,
transpageSize
:
10
,
pageSizes
:
[
10
,
50
,
10
0
],
pageSizes
:
[
10
,
20
,
5
0
],
responseParamUrl
:
""
,
codeExampleUrl
:
""
,
port_select_server
:
''
,
...
...
@@ -414,13 +415,13 @@ export default {
align
:
"
center
"
,
},
{
prop
:
"
total_money
"
,
prop
:
"
total_money
s
"
,
label
:
"
订单总价
"
,
width
:
"
150px
"
,
align
:
"
center
"
,
},
{
prop
:
"
trade_time
"
,
prop
:
"
trade_time
s
"
,
label
:
"
交易时间
"
,
width
:
"
160px
"
,
align
:
"
center
"
,
...
...
@@ -1242,8 +1243,8 @@ export default {
console
.
log
(
res
);
// listTotal: 0,
if
(
res
.
data
.
success
){
this
.
listTotal
=
res
.
data
.
total
var
temp
=
res
.
data
.
data
||
[]
this
.
translistTotal
=
res
.
data
.
data
.
total
var
temp
=
res
.
data
.
data
.
list
||
[]
temp
.
forEach
(
e
=>
{
if
(
e
.
spcs_type
==
1
){
e
.
duration_name
=
'
不限时长
'
...
...
@@ -1252,6 +1253,8 @@ export default {
e
.
duration_name
=
e
.
duration
+
'
月
'
e
.
gg
=
`
${
e
.
single_money
}
元/月`
}
e
.
trade_times
=
helper
.
dateStringTransform
(
e
.
trade_time
);
e
.
total_moneys
=
e
.
total_money
+
"
金币
"
;
});
this
.
trans_log_data
=
temp
}
...
...
src/router/index.js
View file @
71bbc1c1
...
...
@@ -168,20 +168,20 @@ export default new Router({
},
// 开发文档
{
path
:
"
/technical_support/doc_manage
"
,
name
:
"
technicalSupportDoc
"
,
name
:
"
technicalSupportDoc
Manage
"
,
redirect
:
"
/technical_support/doc_manage/list
"
,
component
:
()
=>
import
(
"
@/pages/technical-support/doc-manage/index
"
),
children
:
[
{
path
:
"
/technical_support/doc_manage/list
"
,
name
:
"
technicalSupportDoc
Detail
"
,
name
:
"
technicalSupportDoc
ManageList
"
,
component
:
()
=>
import
(
"
@/pages/technical-support/doc-manage/list
"
),
},
// 开发文档管理列表
{
path
:
"
/technical_support/doc_manage/edit/:id
"
,
name
:
"
technicalSupportDocDetail
"
,
name
:
"
technicalSupportDoc
Manage
Detail
"
,
component
:
()
=>
import
(
"
@/pages/technical-support/doc-manage/detail
"
),
},
// 开发文档管理编辑
...
...
@@ -204,23 +204,26 @@ export default new Router({
},
// 示例中心
{
path
:
"
/technical_support/answer_center/
"
,
name
:
"
technicalSupportDoc
"
,
name
:
"
answerCenter
"
,
redirect
:
"
/technical_support/answer_center/list
"
,
component
:
()
=>
import
(
"
@/pages/technical-support/answer-center/index
"
),
children
:
[
{
path
:
"
/technical_support/answer_center/list
"
,
name
:
"
answerCenterList
"
,
component
:
()
=>
import
(
"
@/pages/technical-support/answer-center/list
"
),
},
// 问答中心列表
{
path
:
"
/technical_support/answer_center/edit
"
,
name
:
"
answerCenterEdit
"
,
component
:
()
=>
import
(
"
@/pages/technical-support/answer-center/edit
"
),
},
// 问答中心编辑
{
path
:
"
/technical_support/answer_center/detail/:id
"
,
name
:
"
answerCenterDetail
"
,
component
:
()
=>
import
(
"
@/pages/technical-support/answer-center/detail
"
),
},
// 问答中心详情
...
...
@@ -241,7 +244,7 @@ export default new Router({
},
// SDK中心
{
path
:
"
/technical_support/sdk_manage
"
,
name
:
"
technicalSupport
Doc
"
,
name
:
"
technicalSupport
SDK
"
,
redirect
:
"
/technical_support/sdk_manage/type
"
,
component
:
()
=>
import
(
"
@/pages/technical-support/sdk-manage/index
"
),
...
...
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