Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sensorConsult
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanglw
sensorConsult
Commits
a39fef88
Commit
a39fef88
authored
Jun 08, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品保存
parent
ba532b9d
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
271 additions
and
51 deletions
+271
-51
common.js
src/api/common.js
+89
-8
review_await.png
src/assets/images/review_await.png
+0
-0
review_f.png
src/assets/images/review_f.png
+0
-0
review_failed.png
src/assets/images/review_failed.png
+0
-0
review_p.png
src/assets/images/review_p.png
+0
-0
review_pass.png
src/assets/images/review_pass.png
+0
-0
add.vue
src/views/backstage/productMgt/productTabulate/add.vue
+181
-42
index.vue
src/views/backstage/productMgt/productTabulate/index.vue
+1
-1
No files found.
src/api/common.js
View file @
a39fef88
import
request
from
'
@/utils/request
'
import
qs
from
'
qs
'
export
const
HttpReq
=
{
// 后台管理接口列表
...
...
@@ -6,7 +7,7 @@ export const HttpReq = {
// 上传营业执照图片
uploadBusinessLicense
:
function
(
data
)
{
return
request
({
url
:
'
/api/bsw/users/up
date
BusinessLicense
'
,
url
:
'
/api/bsw/users/up
load
BusinessLicense
'
,
method
:
'
post
'
,
data
:
data
}).
then
((
res
)
=>
{
...
...
@@ -23,23 +24,103 @@ export const HttpReq = {
})
},
// 获取行政区划
findAreaByCodeAndType
:
function
(
param
)
{
findAreaByCodeAndType
:
function
(
param
s
)
{
return
request
({
url
:
'
/api/bsw/users/findAreaByCodeAndType
'
,
method
:
'
get
'
,
params
:
param
url
:
'
/api/bsw/users/findAreaByCodeAndType?
'
+
qs
.
stringify
(
params
,
{
indices
:
false
}),
method
:
'
get
'
})
},
//
获取行政区划
//
添加客户信息
addCustomer
:
function
(
data
)
{
return
request
({
url
:
'
/api/bsw/users/addCustomer
'
,
method
:
'
POST
'
,
method
:
'
post
'
,
data
:
data
}).
then
((
res
)
=>
{
return
res
})
}
},
// 修改客户信息
updateCustomerDetail
:
function
(
data
)
{
return
request
({
url
:
'
/api/bsw/users/updateCustomerDetail
'
,
method
:
'
put
'
,
data
:
data
}).
then
((
res
)
=>
{
return
res
})
},
// 获取客户列表
queryCustomer
:
function
(
params
)
{
return
request
({
url
:
'
/api/bsw/users/queryCustomer?
'
+
qs
.
stringify
(
params
,
{
indices
:
false
}),
method
:
'
get
'
})
},
// 客户信息详情
queryCustomerDetail
:
function
(
params
)
{
return
request
({
url
:
'
/api/bsw/users/queryCustomerDetail?
'
+
qs
.
stringify
(
params
,
{
indices
:
false
}),
method
:
'
get
'
})
},
// 批量禁用启用客户
userEnableDisable
:
function
(
data
)
{
return
request
({
url
:
'
/api/bsw/users/enableDisable
'
,
method
:
'
put
'
,
data
:
data
}).
then
((
res
)
=>
{
return
res
})
},
// 客户信息审核
reviewCustomer
:
function
(
data
)
{
return
request
({
url
:
'
/api/bsw/users/reviewCustomer
'
,
method
:
'
put
'
,
data
:
data
}).
then
((
res
)
=>
{
return
res
})
},
// 上传产品图片
uploadProductPic
:
function
(
data
)
{
return
request
({
url
:
'
/api/bsw/product/uploadProductPic
'
,
method
:
'
post
'
,
data
:
data
}).
then
((
res
)
=>
{
return
res
})
},
deleteProductPic
:
function
(
data
)
{
return
request
({
url
:
'
/api/bsw/product/deleteProductPic
'
,
method
:
'
delete
'
,
data
:
data
}).
then
((
res
)
=>
{
return
res
})
},
// 联想查询供应商名称
associateQueryEnterpriseName
:
function
(
params
)
{
return
request
({
url
:
'
/api/bsw/product/associateQueryEnterpriseName?
'
+
qs
.
stringify
(
params
,
{
indices
:
false
}),
method
:
'
get
'
})
},
// 添加产品详情
addProduct
:
function
(
data
)
{
return
request
({
url
:
'
/api/bsw/product/addProduct
'
,
method
:
'
post
'
,
data
:
data
}).
then
((
res
)
=>
{
return
res
})
},
xxx
:
null
}
}
src/assets/images/review_await.png
0 → 100644
View file @
a39fef88
11.8 KB
src/assets/images/review_f.png
0 → 100644
View file @
a39fef88
53.9 KB
src/assets/images/review_failed.png
0 → 100644
View file @
a39fef88
12.6 KB
src/assets/images/review_p.png
0 → 100644
View file @
a39fef88
60.6 KB
src/assets/images/review_pass.png
0 → 100644
View file @
a39fef88
12.4 KB
src/views/backstage/productMgt/productTabulate/add.vue
View file @
a39fef88
This diff is collapsed.
Click to expand it.
src/views/backstage/productMgt/productTabulate/index.vue
View file @
a39fef88
...
...
@@ -127,7 +127,7 @@ export default {
})
},
toAdd
()
{
this
.
$refs
.
addView
.
showView
()
this
.
$refs
.
addView
.
loadData
()
},
toEdit
(
item
)
{
...
...
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