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
2e08064a
Commit
2e08064a
authored
Mar 10, 2021
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed,云资源未完善
parent
1f157ee4
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
418 additions
and
91 deletions
+418
-91
src/components/shop-cloud/shop-cloud-new.vue
src/components/shop-cloud/shop-cloud-new.vue
+396
-89
src/components/shopping-cart/shopping-cart-cell.vue
src/components/shopping-cart/shopping-cart-cell.vue
+1
-1
src/pages/workbench/yygl/app_detail.vue
src/pages/workbench/yygl/app_detail.vue
+1
-1
src/services/helper.js
src/services/helper.js
+20
-0
No files found.
src/components/shop-cloud/shop-cloud-new.vue
View file @
2e08064a
This diff is collapsed.
Click to expand it.
src/components/shopping-cart/shopping-cart-cell.vue
View file @
2e08064a
...
@@ -339,12 +339,12 @@ export default {
...
@@ -339,12 +339,12 @@ export default {
},
},
changeSubscription
(
val
)
{
changeSubscription
(
val
)
{
this
.
changeCellItem
();
this
.
changeCellItem
();
this
.
updateShoppingCart
();
},
},
changeNum
(
val
)
{
changeNum
(
val
)
{
this
.
changeCellItem
();
this
.
changeCellItem
();
},
},
changeCellItem
()
{
changeCellItem
()
{
this
.
updateShoppingCart
();
this
.
$emit
(
"
changeCellMsg
"
,
{
this
.
$emit
(
"
changeCellMsg
"
,
{
index
:
this
.
cellIndex
,
index
:
this
.
cellIndex
,
data
:
this
.
cellItems
,
data
:
this
.
cellItems
,
...
...
src/pages/workbench/yygl/app_detail.vue
View file @
2e08064a
...
@@ -999,7 +999,7 @@ export default {
...
@@ -999,7 +999,7 @@ export default {
}
}
if
(
val
.
yydetail
==
"
申请上架
"
||
val
.
yydetail
==
"
申请上架d
"
)
{
if
(
val
.
yydetail
==
"
申请上架
"
||
val
.
yydetail
==
"
申请上架d
"
)
{
this
.
tipsOptions
.
message
=
this
.
tipsOptions
.
message
=
"
申请
下
架应用需要向组织管理员发送通知,组织管理员通过上架请求后该应用将在应用商店上架。
"
;
"
申请
上
架应用需要向组织管理员发送通知,组织管理员通过上架请求后该应用将在应用商店上架。
"
;
this
.
tipsOptions
.
btnSubmitText
=
"
确认
"
;
this
.
tipsOptions
.
btnSubmitText
=
"
确认
"
;
}
}
this
.
tipsOptions
.
confirmSubmit
=
()
=>
{
this
.
tipsOptions
.
confirmSubmit
=
()
=>
{
...
...
src/services/helper.js
View file @
2e08064a
...
@@ -97,4 +97,24 @@ module.exports.getQueryString = function (name, url) {
...
@@ -97,4 +97,24 @@ module.exports.getQueryString = function (name, url) {
}
}
}
}
return
theRequest
[
name
];
return
theRequest
[
name
];
}
module
.
exports
.
getTwoTimesDiff
=
function
(
time
)
{
//di作为一个变量传进来
//如果时间格式是正确的,那下面这一步转化时间格式就可以不用了
var
dateEnd
=
new
Date
(
time
);
//使用new Date
var
dateBegin
=
new
Date
();
//获取当前时间
var
dateDiff
=
dateEnd
.
getTime
()
-
dateBegin
.
getTime
();
//时间差的毫秒数
var
dayDiff
=
Math
.
floor
(
dateDiff
/
(
24
*
3600
*
1000
));
//计算出相差天数
// var leave1=dateDiff%(24*3600*1000) //计算天数后剩余的毫秒数
// var hours=Math.floor(leave1/(3600*1000))//计算出小时数
// //计算相差分钟数
// var leave2=leave1%(3600*1000) //计算小时数后剩余的毫秒数
// var minutes=Math.floor(leave2/(60*1000))//计算相差分钟数
// //计算相差秒数
// var leave3=leave2%(60*1000) //计算分钟数后剩余的毫秒数
// var seconds=Math.round(leave3/1000)
// console.log(" 相差 "+dayDiff+"天 "+hours+"小时 "+minutes+" 分钟"+seconds+" 秒")
// console.log(dateDiff+"时间差的毫秒数",dayDiff+"计算出相差天数",leave1+"计算天数后剩余的毫秒数"
// ,hours+"计算出小时数",minutes+"计算相差分钟数",seconds+"计算相差秒数");
return
dayDiff
;
}
}
\ No newline at end of file
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