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
fd612534
Commit
fd612534
authored
Nov 04, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of cloud.wodcloud.com:apaas/apaas-v3-ui into dev
parents
40513595
c7b519d6
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
116 additions
and
98 deletions
+116
-98
src/components/service-list/service_list.vue
src/components/service-list/service_list.vue
+3
-0
src/components/shop-cloud/shop-cloud.vue
src/components/shop-cloud/shop-cloud.vue
+81
-62
src/components/shopping-cart/shopping-cart-com.vue
src/components/shopping-cart/shopping-cart-com.vue
+14
-7
src/pages/authority/user/money.vue
src/pages/authority/user/money.vue
+1
-1
src/pages/service_shop/shop_list.vue
src/pages/service_shop/shop_list.vue
+3
-3
src/pages/user/questions-answers/community.vue
src/pages/user/questions-answers/community.vue
+3
-1
src/pages/user/questions-answers/my-qa.vue
src/pages/user/questions-answers/my-qa.vue
+11
-10
src/pages/workbench/workPlace.vue
src/pages/workbench/workPlace.vue
+0
-14
No files found.
src/components/service-list/service_list.vue
View file @
fd612534
...
...
@@ -410,6 +410,9 @@ export default {
this
.
filterLists
[
3
].
childDomains
=
data
.
organizations
?
data
.
organizations
:
[];
if
(
this
.
urlFilter
==
"
7
"
)
{
this
.
filterLists
[
1
].
childDomains
=
[];
}
setTimeout
(()
=>
{
this
.
judgeHeight
();
},
0
);
...
...
src/components/shop-cloud/shop-cloud.vue
View file @
fd612534
This diff is collapsed.
Click to expand it.
src/components/shopping-cart/shopping-cart-com.vue
View file @
fd612534
...
...
@@ -60,7 +60,7 @@
<el-col
:span=
"15"
class=
"shopping_cart_options_num"
>
<div
class=
"fyzj"
>
<p
class=
"fyzj_p"
>
<span
v-if=
"getSumCoin > user
I
nfo.account_balance"
class=
"yebz"
>
<span
v-if=
"getSumCoin > user
_i
nfo.account_balance"
class=
"yebz"
>
余额不足,请联系超级管理员进行充值
</span>
费用总计:
<span
class=
"fyzj_span"
>
...
...
@@ -73,7 +73,7 @@
共
{{
list
.
length
}}
项服务,已选择
<span
class=
"dwa_djf"
>
{{
getNum
}}
</span>
项
<span
class=
"ckfymx_qian"
>
账户余额:
{{
user
I
nfo
.
account_balance
}}
金币
</span
>
账户余额:
{{
user
_i
nfo
.
account_balance
}}
金币
</span
>
</p>
</div>
...
...
@@ -81,7 +81,7 @@
</el-col>
<el-col
:span=
"4"
class=
"shopping_cart_options_cell"
>
<el-button
v-if=
"getNum != 0 && getSumCoin
<
=
user
I
nfo
.
account_balance
"
v-if=
"getNum != 0 && getSumCoin
<
=
user
_i
nfo
.
account_balance
"
@
click=
"oneClickApplication"
class=
"shopping_cart_options_cell_btn_act"
>
一键申请
</el-button
...
...
@@ -101,7 +101,6 @@
<
script
>
import
ShoppingCartList
from
"
@/components/shopping-cart/shopping-cart-list
"
;
import
{
mapState
}
from
"
vuex
"
;
export
default
{
components
:
{
...
...
@@ -114,9 +113,11 @@ export default {
checkListIn
:
[],
list
:
[],
listIn
:
[],
user_info
:
{},
}),
mounted
()
{
this
.
getList
();
this
.
getUserCoins
();
},
computed
:
{
getNum
()
{
...
...
@@ -132,9 +133,9 @@ export default {
this
.
checkList
.
forEach
((
item
,
index
)
=>
{
if
(
item
)
{
if
(
this
.
list
[
index
].
service_id
!=
0
)
{
sum
+=
(
this
.
list
[
index
].
service
.
spcs_info
.
money
*
this
.
list
[
index
].
duration
).
toFixed
(
2
);
sum
+=
Number
((
this
.
list
[
index
].
service
.
spcs_info
.
money
*
this
.
list
[
index
].
duration
).
toFixed
(
2
)
);
}
else
{
sum
+=
(
this
.
list
[
index
].
application
.
price
*
this
.
list
[
index
].
duration
).
toFixed
(
2
);
sum
+=
Number
((
this
.
list
[
index
].
application
.
price
*
this
.
list
[
index
].
duration
).
toFixed
(
2
)
);
}
}
});
...
...
@@ -143,7 +144,6 @@ export default {
getCartState
()
{
return
this
.
$store
.
state
.
cartState
;
},
...
mapState
([
"
userInfo
"
]),
},
watch
:
{
getCartState
(
newVal
)
{
...
...
@@ -151,6 +151,13 @@ export default {
},
},
methods
:
{
getUserCoins
()
{
this
.
$api
.
user
.
getUserCoins
().
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
this
.
user_info
=
response
.
data
.
data
;
}
});
},
getList
()
{
this
.
$api
.
serviceShop
.
getShoppingCart
().
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
"
1
"
)
{
...
...
src/pages/authority/user/money.vue
View file @
fd612534
...
...
@@ -179,7 +179,7 @@ export default {
.
post
(
`/apaas/backmgt/user/recharge`
,{
"
user_id
"
:
this
.
user_info1
.
user_id
,
"
num
"
:
parseInt
(
this
.
money_num
)
"
num
"
:
this
.
money_num
+
''
}
).
then
((
res
)
=>
{
if
(
res
.
data
.
success
){
...
...
src/pages/service_shop/shop_list.vue
View file @
fd612534
...
...
@@ -56,13 +56,13 @@ export default {
this
.
name
=
"
视频服务
"
;
this
.
urlFilter
=
"
7
"
;
this
.
url
=
""
;
this
.
filterNames
=
[];
this
.
filterNames
=
[
""
,
"
服务领域
"
,
"
服务来源组织
"
];
break
;
case
"
perception_service_list
"
:
this
.
name
=
"
感知服务
"
;
this
.
urlFilter
=
"
10
"
;
this
.
url
=
""
;
this
.
filterNames
=
[];
this
.
url
=
"
/shop/gzfwDetail
"
;
this
.
filterNames
=
[
""
,
"
服务领域
"
,
"
服务来源组织
"
];
break
;
case
"
comprehensive_app_list
"
:
this
.
name
=
"
融合服务
"
;
...
...
src/pages/user/questions-answers/community.vue
View file @
fd612534
...
...
@@ -51,7 +51,7 @@
>
<div
class=
"dia_reason"
>
<el-form
ref=
"form1"
:model=
"reason_form"
:rules=
"reason_rules"
>
<el-form-item
class=
"dia_item"
>
<el-form-item
class=
"dia_item"
prop=
"reason"
>
<p>
删除理由:
</p>
<el-input
type=
"textarea"
...
...
@@ -292,6 +292,7 @@ export default {
this
.
table_header
=
[];
if
(
val
==
"
/qa/questions
"
)
{
this
.
form_data
[
1
].
label
=
"
发布人搜索
"
;
this
.
form_data
[
1
].
placeholder
=
"
请输入发布人名称
"
;
this
.
form_data
[
2
].
label
=
"
发布时间
"
;
this
.
table_header
=
[
{
...
...
@@ -355,6 +356,7 @@ export default {
this
.
getQList
();
}
else
if
(
val
==
"
/qa/answers
"
)
{
this
.
form_data
[
1
].
label
=
"
回复人搜索
"
;
this
.
form_data
[
1
].
placeholder
=
"
请输入回复人名称
"
;
this
.
form_data
[
2
].
label
=
"
回复时间
"
;
this
.
table_header
=
[
{
...
...
src/pages/user/questions-answers/my-qa.vue
View file @
fd612534
...
...
@@ -67,9 +67,11 @@
<div
v-for=
"(item, index) in data_list"
:key=
"index"
class=
"qa_cell"
>
<div
class=
"qa_cell_in"
>
<div
:class=
"activeName == 2 ? 'qa_is_del' : 'qa_init'"
>
<p
v-if=
"activeName == 1"
class=
"cell_answer"
>
{{
item
.
answer
}}
</p>
<p
v-if=
"item.answer != ''"
class=
"cell_answer"
v-html=
"item.answer"
></p>
<p
@
click=
"gotodeta(item.question_id)"
:class=
"activeName == 0 ? 'cell_title' : 'cell_ans_title'"
...
...
@@ -77,18 +79,14 @@
{{
item
.
title
}}
</p>
<p
class=
"cell_cont"
>
{{
item
.
answer
?
item
.
question_content
.
replace
(
/<
[^
<>
]
+>/g
,
""
)
:
item
.
content
.
replace
(
/<
[^
<>
]
+>/g
,
""
)
}}
{{
item
.
content
.
replace
(
/<
[^
<>
]
+>/g
,
""
)
}}
</p>
<p
v-if=
"activeName == 2"
class=
"cell_other"
>
<span>
删除时间:
{{
helper
.
dateStringTransform
(
item
.
deleted_time
)
}}
</span>
<span>
删除人:
{{
item
.
delete_user
}}
</span>
<span>
删除理由:
{{
item
.
reason
}}
</span>
<span>
删除理由:
{{
item
.
delete_
reason
}}
</span>
</p>
<p
v-else
class=
"cell_other"
>
<span>
{{
helper
.
dateStringTransform
(
item
.
created
)
}}
</span>
...
...
@@ -324,24 +322,27 @@ export default {
},
delQ
()
{
let
items
=
[{
id
:
this
.
delItem
.
id
}];
console
.
log
(
items
)
;
this
.
diaDelItem
=
false
;
this
.
$api
.
user
.
delQuestions
(
items
).
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
this
.
$message
({
message
:
"
删除成功
"
,
type
:
"
success
"
,
});
this
.
refreshData
();
}
});
},
delA
()
{
let
items
=
[{
id
:
this
.
delItem
.
id
}];
this
.
diaDelItem
=
false
;
this
.
$api
.
user
.
delAnswers
(
items
).
then
((
response
)
=>
{
if
(
response
.
data
.
success
==
1
)
{
this
.
$message
({
message
:
"
删除成功
"
,
type
:
"
success
"
,
});
this
.
refreshData
();
}
});
},
...
...
src/pages/workbench/workPlace.vue
View file @
fd612534
...
...
@@ -1004,14 +1004,6 @@ export default {
color
:
"
#58617a
"
,
url
:
'
/search_engine
'
,
},
{
text
:
"
数据采集
"
,
pic
:
require
(
"
@/assets/imgs/home_tool_ic_sscj.png
"
),
bg
:
"
#fff2e2
"
,
color
:
"
#ea7d19
"
,
url
:
'
https://apaas3.wodcloud.com/sjcj/ui/
'
,
target
:
1
,
},
],
service_arr
:
[
[
"
服务列表
"
,
"
申请服务
"
,
"
云资源
"
],
...
...
@@ -1038,12 +1030,6 @@ export default {
role
:
2
,
url
:
"
/authority/organization
"
},
{
pic
:
require
(
"
@/assets/imgs/home_tool_ic_shuju.png
"
),
text
:
"
数据采集管理
"
,
role
:
2
,
url
:
"
https://apaas3.wodcloud.com/sjcj/ui/#/data_acquisition/file
"
},
{
pic
:
require
(
"
@/assets/imgs/home_tool_ic_message.png
"
),
text
:
"
消息与推送管理
"
,
...
...
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