Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
fdadc602
提交
fdadc602
authored
10月 27, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
云仓2.2部分
上级
660f2894
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
159 行增加
和
181 行删除
+159
-181
index.html
public/index.html
+2
-2
bankcard.js
src/api/module/bankcard.js
+9
-44
webSite.js
src/api/webSite.js
+10
-10
index.vue
src/views/system/asset/myAsset/index.vue
+25
-16
goodsgement.vue
src/views/system/goodsimport/goodsgement.vue
+51
-17
index.vue
src/views/system/order/index.vue
+62
-92
没有找到文件。
public/index.html
浏览文件 @
fdadc602
...
@@ -227,9 +227,9 @@
...
@@ -227,9 +227,9 @@
}
}
}
}
};
};
xhttp
.
open
(
"GET"
,
'//sysapi.jxhh.com/api/v1/oem/webSite/domainChannel?domain='
+
ssa
+
'&field='
+
op
,
true
);
// 正式环境
//
xhttp.open("GET", '//sysapi.jxhh.com/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 正式环境
// xhttp.open("GET", '//newsys.jxhh.com/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 内网开发
// xhttp.open("GET", '//newsys.jxhh.com/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 内网开发
//
xhttp.open("GET", 'http://192.168.26.179:6601/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 测试环境
xhttp
.
open
(
"GET"
,
'http://192.168.26.179:6601/api/v1/oem/webSite/domainChannel?domain='
+
ssa
+
'&field='
+
op
,
true
);
// 测试环境
xhttp
.
send
();
xhttp
.
send
();
}
}
</script>
</script>
...
...
src/api/module/bankcard.js
浏览文件 @
fdadc602
import
request
from
'@/utils/request'
import
request
from
'@/utils/request'
// 查询bankcard列表
// export function listBankcard(query) {
// return request({
// url: '/system/bankcard/list',
// method: 'get',
// params: query
// })
// }
// 查询银行名称列表
// export function listBankname(query) {
// return request({
// url: '/system/bankcard/getBankList',
// method: 'get',
// params: query
// })
// }
// 查询bankcard详细
// export function getBankcard (id) {
// return request({
// url: '/system/bankcard/edit?id='+id,
// method: 'get'
// })
// }
// 修改bankcard
// export function updateBankcard(data) {
// return request({
// url: '/system/bankcard/edit',
// method: 'post',
// data: data
// })
// }
// 删除bankcard
// export function delBankcard(ids) {
// return request({
// url: '/system/bankcard/delete',
// method: 'delete',
// data:{id:ids}
// })
// }
// 我的资产 页面 所有数据
// 我的资产 页面 所有数据
export
function
getMyAssetListData
(
data
)
{
export
function
getMyAssetListData
(
data
)
{
return
request
({
return
request
({
...
@@ -53,6 +9,15 @@ export function getMyAssetListData(data) {
...
@@ -53,6 +9,15 @@ export function getMyAssetListData(data) {
})
})
}
}
// 获取 提现等权限 getPurviewData
export
function
getPurviewData
(
query
)
{
return
request
({
url
:
'/local/getOrganization'
,
method
:
'get'
,
params
:
query
})
}
// 获取 主体信息
// 获取 主体信息
export
function
getOrganizationData
(
query
)
{
export
function
getOrganizationData
(
query
)
{
return
request
({
return
request
({
...
...
src/api/webSite.js
浏览文件 @
fdadc602
...
@@ -3,8 +3,8 @@ import request from '@/utils/request'
...
@@ -3,8 +3,8 @@ import request from '@/utils/request'
// 获取渠道id
// 获取渠道id
export
function
indexInfo
(
params
)
{
export
function
indexInfo
(
params
)
{
return
request
({
return
request
({
url
:
'http://sysapi.jxhh.com/api/v1/oem/webSite/domainChannel'
,
//
url: 'http://sysapi.jxhh.com/api/v1/oem/webSite/domainChannel',
//
url: 'http://192.168.26.179:6601/api/v1/oem/webSite/domainChannel',
url
:
'http://192.168.26.179:6601/api/v1/oem/webSite/domainChannel'
,
// url: 'http://newsys.jxhh.com/api/v1/oem/webSite/domainChannel',
// url: 'http://newsys.jxhh.com/api/v1/oem/webSite/domainChannel',
method
:
'get'
,
method
:
'get'
,
params
params
...
@@ -13,8 +13,8 @@ export function indexInfo(params) {
...
@@ -13,8 +13,8 @@ export function indexInfo(params) {
// 获取所有域名
// 获取所有域名
export
function
getdomain
(
params
)
{
export
function
getdomain
(
params
)
{
return
request
({
return
request
({
url
:
'http://sysapi.jxhh.com/api/v1/oem/channel/domainFront'
,
//
url: 'http://sysapi.jxhh.com/api/v1/oem/channel/domainFront',
//
url: 'http://192.168.26.179:6601/api/v1/oem/channel/domainFront',
url
:
'http://192.168.26.179:6601/api/v1/oem/channel/domainFront'
,
// url: 'http://newsys.jxhh.com/api/v1/oem/channel/domainFront',
// url: 'http://newsys.jxhh.com/api/v1/oem/channel/domainFront',
method
:
'get'
,
method
:
'get'
,
params
params
...
@@ -23,8 +23,8 @@ export function getdomain(params) {
...
@@ -23,8 +23,8 @@ export function getdomain(params) {
// 获取官网设置接口
// 获取官网设置接口
export
function
webSite
(
params
)
{
export
function
webSite
(
params
)
{
return
request
({
return
request
({
url
:
'http://sysapi.jxhh.com/api/v1/oem/common/counsel'
,
//
url: 'http://sysapi.jxhh.com/api/v1/oem/common/counsel',
//
url: 'http://192.168.26.179:6601/api/v1/oem/common/counsel',
url
:
'http://192.168.26.179:6601/api/v1/oem/common/counsel'
,
// url: 'http://newsys.jxhh.com/api/v1/oem/common/counsel',
// url: 'http://newsys.jxhh.com/api/v1/oem/common/counsel',
method
:
'get'
,
method
:
'get'
,
params
params
...
@@ -34,8 +34,8 @@ export function webSite(params) {
...
@@ -34,8 +34,8 @@ export function webSite(params) {
// 云仓所有列表——Banner和域名/产品和服务/供应商入驻
// 云仓所有列表——Banner和域名/产品和服务/供应商入驻
export
function
getallCloudList
(
params
)
{
export
function
getallCloudList
(
params
)
{
return
request
({
return
request
({
url
:
'http://sysapi.jxhh.com/api/v1/oem/front/CloudList'
,
//
url: 'http://sysapi.jxhh.com/api/v1/oem/front/CloudList',
//
url: 'http://192.168.26.179:6601/api/v1/oem/front/CloudList',
url
:
'http://192.168.26.179:6601/api/v1/oem/front/CloudList'
,
// url: 'http://newsys.jxhh.com/api/v1/oem/front/CloudList',
// url: 'http://newsys.jxhh.com/api/v1/oem/front/CloudList',
method
:
'get'
,
method
:
'get'
,
params
params
...
@@ -44,8 +44,8 @@ export function getallCloudList(params) {
...
@@ -44,8 +44,8 @@ export function getallCloudList(params) {
//获取sso域名
//获取sso域名
export
function
getssoUrl
(
data
)
{
export
function
getssoUrl
(
data
)
{
return
request
({
return
request
({
url
:
'//sysapi.jxhh.com/api/v1/oem/webSite/ssoChannel'
,
//
url: '//sysapi.jxhh.com/api/v1/oem/webSite/ssoChannel',
//
url: '//192.168.26.179:6601/api/v1/oem/webSite/ssoChannel',
url
:
'//192.168.26.179:6601/api/v1/oem/webSite/ssoChannel'
,
// url: 'http://newsys.jxhh.com/api/v1/oem/webSite/ssoChannel',
// url: 'http://newsys.jxhh.com/api/v1/oem/webSite/ssoChannel',
method
:
'get'
,
method
:
'get'
,
params
:
data
params
:
data
...
...
src/views/system/asset/myAsset/index.vue
浏览文件 @
fdadc602
...
@@ -32,8 +32,9 @@
...
@@ -32,8 +32,9 @@
</dl>
</dl>
</div>
</div>
</div>
</div>
<div
class=
"row-flex-center"
>
<div
class=
"row-flex-center"
style=
"margin: 0 0 20px;"
>
<el-button
type=
"primary"
size=
"small"
style=
"padding: 10px 30px; margin: 20px 0 40px;"
@
click=
"handleWithdraw"
>
提 现
</el-button>
<el-button
:disabled=
"isAllowWithdraw"
type=
"primary"
size=
"small"
style=
"padding: 10px 30px; margin: 20px 0;"
@
click=
"handleWithdraw"
>
提 现
</el-button>
<span
v-if=
"isAllowWithdraw"
class=
"spe-tip"
><i
class=
"el-icon-warning h-warning"
></i>
温馨提示:您的账户被禁止提现,请联系工作人员
</span>
</div>
</div>
<!-- 账号管理 -->
<!-- 账号管理 -->
...
@@ -67,10 +68,6 @@
...
@@ -67,10 +68,6 @@
</div>
</div>
</div>
</div>
<!--
<div
class=
"row-flex-center"
>
-->
<!--
<el-button
type=
"primary"
size=
"small"
style=
"padding: 10px 30px; margin: 20px 40px 40px 0;"
>
编 辑
</el-button>
-->
<!--
<el-button
type=
"primary"
size=
"small"
style=
"padding: 10px 30px; margin: 20px 0 40px;"
>
删 除
</el-button>
-->
<!--
</div>
-->
</el-card>
</el-card>
<!-- 添加、编辑 银行卡 信息 -->
<!-- 添加、编辑 银行卡 信息 -->
...
@@ -129,7 +126,7 @@
...
@@ -129,7 +126,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getMyAssetListData
,
getOrganizationData
,
getBankDetailsData
,
getBankcardListData
,
addBankcardData
,
editBankcardData
,
delBankcardData
}
from
'@/api/module/bankcard'
import
{
get
PurviewData
,
get
MyAssetListData
,
getOrganizationData
,
getBankDetailsData
,
getBankcardListData
,
addBankcardData
,
editBankcardData
,
delBankcardData
}
from
'@/api/module/bankcard'
export
default
{
export
default
{
name
:
"Index"
,
name
:
"Index"
,
data
()
{
data
()
{
...
@@ -138,6 +135,7 @@
...
@@ -138,6 +135,7 @@
currentBalance
:
0
,
currentBalance
:
0
,
withdrawalBalance
:
0
,
withdrawalBalance
:
0
,
withdrawalProgress
:
0
,
withdrawalProgress
:
0
,
isAllowWithdraw
:
false
,
// 能否操作提现,sys可设置
bankcardList
:
[],
bankcardList
:
[],
addBankcardInfoDialog
:
false
,
addBankcardInfoDialog
:
false
,
bankcardTitle
:
''
,
bankcardTitle
:
''
,
...
@@ -165,8 +163,18 @@
...
@@ -165,8 +163,18 @@
this
.
getBankcardList
()
this
.
getBankcardList
()
/** 获取主体信息 */
/** 获取主体信息 */
this
.
getOrganization
();
this
.
getOrganization
();
/** 获取 提现等操作权限 */
this
.
getPurview
();
},
},
methods
:
{
methods
:
{
/** 获取 提现等操作权限 */
getPurview
()
{
getPurviewData
().
then
(
res
=>
{
if
(
res
.
code
==
1
)
{
//this.isAllowWithdraw = res.data.is_allow_withdraw;
}
});
},
/** 我的资产 所有数据 */
/** 我的资产 所有数据 */
getMyAssetList
()
{
getMyAssetList
()
{
getMyAssetListData
(
{
seller_id
:
this
.
seller_id
}
).
then
(
res
=>
{
getMyAssetListData
(
{
seller_id
:
this
.
seller_id
}
).
then
(
res
=>
{
...
@@ -446,12 +454,22 @@
...
@@ -446,12 +454,22 @@
left
:
calc
(
50%
-
26px
);
left
:
calc
(
50%
-
26px
);
}
}
.spe-tip
{
font-size
:
12px
;
color
:
#909399
;
padding
:
0
0
0
10px
;
}
.h-warning
:before
{
color
:
#e3c300
;
padding
:
0
3px
;
}
/* el-card title hxz 样式统一 end */
/* el-card title hxz 样式统一 end */
.row-flex-center
{
.row-flex-center
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
text-align
:
center
;
}
}
.row-flex-space-around
{
.row-flex-space-around
{
...
@@ -493,15 +511,6 @@
...
@@ -493,15 +511,6 @@
box-shadow
:
0
2px
10px
0
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
0
2px
10px
0
rgba
(
0
,
0
,
0
,
0.05
);
}
}
/*.card-con:hover {*/
/* box-shadow :0 2px 10px 0 rgba(0,0,0,0.1);*/
/*}*/
/* 点击效果 */
.checked-bankcard
{
}
.card-name
{
.card-name
{
height
:
60px
;
height
:
60px
;
line-height
:
60px
;
line-height
:
60px
;
...
...
src/views/system/goodsimport/goodsgement.vue
浏览文件 @
fdadc602
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card
goods-manage-card
"
>
<div
slot=
"header"
class=
"clearfix"
>
<div
slot=
"header"
class=
"clearfix"
>
<el-radio-group
v-model=
"radiomodel"
class=
"radiomodels"
@
change=
"radiomodelbtn"
>
<el-radio-group
v-model=
"radiomodel"
class=
"radiomodels"
@
change=
"radiomodelbtn"
>
<el-radio-button
:label=
"1"
>
上架销售中(
{{
onsale_count
}}
)
</el-radio-button>
<el-radio-button
:label=
"1"
>
上架销售中(
{{
onsale_count
}}
)
</el-radio-button>
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
<el-option
label=
"全部"
value=
"5"
v-if=
'radiomodel==3'
></el-option>
<el-option
label=
"全部"
value=
"5"
v-if=
'radiomodel==3'
></el-option>
<el-option
label=
"审核中"
value=
"1"
v-if=
'radiomodel==3'
></el-option>
<el-option
label=
"审核中"
value=
"1"
v-if=
'radiomodel==3'
></el-option>
<el-option
label=
"审核拒绝"
value=
"2"
v-if=
'radiomodel==3'
></el-option>
<el-option
label=
"审核拒绝"
value=
"2"
v-if=
'radiomodel==3'
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"发布时间"
>
<el-form-item
label=
"发布时间"
>
...
@@ -101,15 +100,24 @@
...
@@ -101,15 +100,24 @@
@
click=
"handledelsale('9','return','all')"
@
click=
"handledelsale('9','return','all')"
>
批量还原
>
批量还原
</el-button>
</el-button>
<el-button
v-if=
'radiomodel==3'
:disabled=
"multiple"
style=
"float:right;margin-left: 20px;align-items:normal"
type=
"primary"
size=
"mini"
@
click=
"handleCancelUpale"
>
批量取消申请上架
</el-button>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
<el-table
v-loading=
"loading"
:data=
"freightList"
:height=
"tableHeight"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"freightList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"商品主图"
width=
"95"
align=
"center"
>
<el-table-column
label=
"商品主图"
width=
"95"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<img
:src=
"scope.row.default_image"
alt=
""
style=
"width:
80px;height:8
0px;"
>
<img
:src=
"scope.row.default_image"
alt=
""
style=
"width:
60px;height:6
0px;"
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"商品编号"
align=
"center"
prop=
"goods_id"
/>
<el-table-column
label=
"商品编号"
align=
"center"
prop=
"goods_id"
/>
...
@@ -135,6 +143,7 @@
...
@@ -135,6 +143,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"发布时间"
align=
"center"
:formatter=
"formatTime"
prop=
"add_time"
/>
<el-table-column
label=
"发布时间"
align=
"center"
:formatter=
"formatTime"
prop=
"add_time"
/>
<el-table-column
label=
"审核说明"
align=
"center"
prop=
"shsm"
width=
"240px"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
'radiomodel==3&&scope.row.up_onsale===1'
>
<div
v-if=
'radiomodel==3&&scope.row.up_onsale===1'
>
...
@@ -248,8 +257,8 @@
...
@@ -248,8 +257,8 @@
price_min
:
''
,
price_min
:
''
,
price_max
:
''
price_max
:
''
},
},
fullHeight
:
0
,
//
fullHeight: 0,
tableHeight
:
0
,
//
tableHeight: 0,
// 遮罩层
// 遮罩层
loading
:
false
,
loading
:
false
,
// 选中数组
// 选中数组
...
@@ -302,17 +311,17 @@
...
@@ -302,17 +311,17 @@
this
.
radiomodel
=
Number
(
this
.
$route
.
query
.
goodsStatus
);
this
.
radiomodel
=
Number
(
this
.
$route
.
query
.
goodsStatus
);
}
}
this
.
getList
();
this
.
getList
();
this
.
$nextTick
(()
=>
{
//
this.$nextTick(() => {
let
headerHeight
=
document
.
getElementsByClassName
(
'queryFormInline'
)[
0
].
clientHeight
//
let headerHeight = document.getElementsByClassName('queryFormInline')[0].clientHeight
this
.
fullHeight
=
document
.
getElementsByClassName
(
'box-card'
)[
0
].
clientHeight
-
headerHeight
//
this.fullHeight = document.getElementsByClassName('box-card')[0].clientHeight - headerHeight
})
//
})
},
},
watch
:
{
watch
:
{
fullHeight
(
val
)
{
//
fullHeight(val) {
let
headerHeight
=
document
.
getElementsByClassName
(
'queryFormInline'
)[
0
].
clientHeight
//
let headerHeight = document.getElementsByClassName('queryFormInline')[0].clientHeight
let
formHeight
=
document
.
getElementsByClassName
(
'clearfix'
)[
0
].
clientHeight
//
let formHeight = document.getElementsByClassName('clearfix')[0].clientHeight
this
.
tableHeight
=
val
-
formHeight
-
40
-
headerHeight
//
this.tableHeight = val - formHeight - 40 - headerHeight
}
//
}
},
},
methods
:
{
methods
:
{
handledelgrain
(
row
,
isall
)
{
//彻底删除
handledelgrain
(
row
,
isall
)
{
//彻底删除
...
@@ -434,7 +443,6 @@
...
@@ -434,7 +443,6 @@
// 下架/申请上架
// 下架/申请上架
handleUpsale
(
row
,
status
,
isall
)
{
//上下架
handleUpsale
(
row
,
status
,
isall
)
{
//上下架
//debugger
//console.log(442,row);
//console.log(442,row);
let
good_id
,
is_onsale
,
title
,
message
let
good_id
,
is_onsale
,
title
,
message
if
(
isall
==
'one'
)
{
if
(
isall
==
'one'
)
{
...
@@ -495,6 +503,23 @@
...
@@ -495,6 +503,23 @@
});
});
},
},
/** 批量取消申请上架 */
handleCancelUpale
()
{
// id组成的数组 this.ids
this
.
$confirm
(
'是否批量取消所选中的商品的上架申请'
,
'批量取消申请上架'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
center
:
true
}).
then
(
async
()
=>
{
let
res
=
''
//await fn(re)
if
(
res
.
code
==
1
)
{
this
.
$message
({
type
:
'success'
,
message
:
'批量取消成功'
});
}
else
{
this
.
$message
({
type
:
'success'
,
message
:
res
.
message
?
res
.
message
:
0
});
}
}).
catch
(()
=>
{});
},
// 取消上架申请
// 取消上架申请
handleCancelUpsale
(
row
)
{
handleCancelUpsale
(
row
)
{
let
id
=
{
let
id
=
{
...
@@ -617,7 +642,7 @@
...
@@ -617,7 +642,7 @@
}
}
if
(
this
.
formInline
.
uptime
&&
this
.
formInline
.
uptime
.
length
==
2
)
{
if
(
this
.
formInline
.
uptime
&&
this
.
formInline
.
uptime
.
length
==
2
)
{
data
[
'start_time'
]
=
this
.
formInline
.
uptime
[
0
]
/
1000
data
[
'start_time'
]
=
this
.
formInline
.
uptime
[
0
]
/
1000
data
[
'end_time'
]
=
this
.
formInline
.
uptime
[
1
]
/
1000
data
[
'end_time'
]
=
this
.
formInline
.
uptime
[
1
]
/
1000
+
86399
}
}
if
(
this
.
formInline
.
price_min
&&
this
.
formInline
.
price_max
)
{
if
(
this
.
formInline
.
price_min
&&
this
.
formInline
.
price_max
)
{
data
[
'price_min'
]
=
this
.
formInline
.
price_min
data
[
'price_min'
]
=
this
.
formInline
.
price_min
...
@@ -663,6 +688,15 @@
...
@@ -663,6 +688,15 @@
};
};
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
type=
"text/stylus"
>
<
style
scoped
lang=
"scss"
type=
"text/stylus"
>
.app-container
{
width
:
100%
;
height
:
100%
;
}
.goods-manage-card
>>>
.el-card__body
{
height
:
calc
(
100%
-
61px
);
overflow-y
:
auto
;
}
.freightTemplate-add
{
.freightTemplate-add
{
/
deep
/
.el-dialog
{
/
deep
/
.el-dialog
{
height
:
80%
;
height
:
80%
;
...
...
src/views/system/order/index.vue
浏览文件 @
fdadc602
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论