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
54815e36
Commit
54815e36
authored
Jun 12, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品查看
parent
8b70f765
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
436 additions
and
229 deletions
+436
-229
common.js
src/api/common.js
+10
-0
pd.png
src/assets/images/pd.png
+0
-0
pu.png
src/assets/images/pu.png
+0
-0
view.vue
src/views/backstage/customMgt/customTabulate/view.vue
+2
-0
edit.vue
src/views/backstage/productMgt/productTabulate/edit.vue
+18
-19
index.vue
src/views/backstage/productMgt/productTabulate/index.vue
+0
-11
view.vue
src/views/backstage/productMgt/productTabulate/view.vue
+406
-199
No files found.
src/api/common.js
View file @
54815e36
...
...
@@ -150,6 +150,16 @@ export const HttpReq = {
method
:
'
get
'
})
},
// 客户信息审核
reviewProduct
:
function
(
data
)
{
return
request
({
url
:
'
/api/bsw/users/reviewCustomer
'
,
method
:
'
put
'
,
data
:
data
}).
then
((
res
)
=>
{
return
res
})
},
xxx
:
null
}
}
...
...
src/assets/images/pd.png
0 → 100644
View file @
54815e36
15.6 KB
src/assets/images/pu.png
0 → 100644
View file @
54815e36
8.81 KB
src/views/backstage/customMgt/customTabulate/view.vue
View file @
54815e36
...
...
@@ -255,6 +255,7 @@ export default {
cancelView
()
{
this
.
cancelReview
()
this
.
hideView
()
this
.
stampImgSrc
=
''
},
cancelReview
()
{
if
(
this
.
$refs
.
formReviewRef
)
{
...
...
@@ -373,6 +374,7 @@ export default {
font-size
:
14px
;
text-decoration
:
underline
;
//下划线
text-underline-offset
:
5px
;
//下划线和文字间距
text-decoration-color
:
rgba
(
100
,
100
,
100
,
0
.4
);
}
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
100
,
100
,
100
,
0
.1
);
...
...
src/views/backstage/productMgt/productTabulate/edit.vue
View file @
54815e36
...
...
@@ -469,27 +469,26 @@ export default {
},
loadData
(
productId
)
{
this
.
showView
()
if
(
this
.
editor
)
{
return
}
this
.
$nextTick
(()
=>
{
const
_this
=
this
const
editor
=
new
E
(
this
.
$refs
.
editor
)
editor
.
config
.
zIndex
=
5
editor
.
config
.
customUploadImg
=
function
(
files
,
insert
)
{
files
.
forEach
(
image
=>
{
upload
(
_this
.
imagesUploadApi
,
image
).
then
(
res
=>
{
const
data
=
res
.
data
const
url
=
_this
.
baseApi
+
'
/file/
'
+
data
.
type
+
'
/
'
+
data
.
realName
insert
(
url
)
if
(
!
this
.
editor
)
{
const
_this
=
this
const
editor
=
new
E
(
this
.
$refs
.
editor
)
editor
.
config
.
zIndex
=
5
editor
.
config
.
customUploadImg
=
function
(
files
,
insert
)
{
files
.
forEach
(
image
=>
{
upload
(
_this
.
imagesUploadApi
,
image
).
then
(
res
=>
{
const
data
=
res
.
data
const
url
=
_this
.
baseApi
+
'
/file/
'
+
data
.
type
+
'
/
'
+
data
.
realName
insert
(
url
)
})
})
})
}
editor
.
config
.
onchange
=
(
html
)
=>
{
this
.
formData
.
productDescribe
=
html
}
editor
.
config
.
onchange
=
(
html
)
=>
{
this
.
formData
.
productDescribe
=
html
}
editor
.
create
()
this
.
editor
=
editor
}
editor
.
create
()
this
.
editor
=
editor
// 初始化数据
HttpReq
.
backstageApi
.
queryProductDetail
({
productId
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -503,7 +502,7 @@ export default {
if
(
this
.
formData
.
productFeature
)
{
this
.
productFeature
=
this
.
formData
.
productFeature
.
split
(
'
;
'
)
}
editor
.
txt
.
html
(
this
.
formData
.
productDescribe
)
this
.
editor
.
txt
.
html
(
this
.
formData
.
productDescribe
)
}
else
{
this
.
$message
({
message
:
res
.
msg
,
...
...
src/views/backstage/productMgt/productTabulate/index.vue
View file @
54815e36
...
...
@@ -119,17 +119,6 @@ export default {
console
.
log
(
'
启用
'
,
this
.
multipleSelection
)
}
},
changeEnabled
(
data
,
val
)
{
this
.
$confirm
(
'
此操作将 "
'
+
this
.
dict
.
label
.
user_status
[
val
]
+
'
"
'
+
data
.
username
+
'
, 是否继续?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
}).
catch
(()
=>
{
data
.
enabled
=
!
data
.
enabled
})
},
toAdd
()
{
this
.
$refs
.
addPage
.
loadData
()
},
...
...
src/views/backstage/productMgt/productTabulate/view.vue
View file @
54815e36
This diff is collapsed.
Click to expand it.
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