Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
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
lanbaoming
jiedao-app-operator-master
Commits
a2973da8
Commit
a2973da8
authored
Mar 13, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
品牌列表添加修改时间,修改人,创建人
parent
be9a993b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
+23
-2
index.vue
src/views/ecw/productBrank/index.vue
+23
-2
No files found.
src/views/ecw/productBrank/index.vue
View file @
a2973da8
...
@@ -65,7 +65,23 @@
...
@@ -65,7 +65,23 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
</el-table-column>
<el-table-column
:label=
"$t('修改时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
updateTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('修改人')"
align=
"center"
prop=
"updater"
width=
"180"
>
<
template
v-slot=
"{row}"
>
{{
allSimplList
.
length
&&
allSimplList
.
find
(
i
=>
i
.
id
==
row
.
updater
).
nickname
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('创建人')"
align=
"center"
prop=
"creator"
width=
"180"
>
<
template
v-slot=
"{row}"
>
{{
allSimplList
.
length
&&
allSimplList
.
find
(
i
=>
i
.
id
==
row
.
creator
).
nickname
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleEmpower(scope.row)"
v-show=
"scope.row.filing === '1'"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleEmpower(scope.row)"
v-show=
"scope.row.filing === '1'"
v-hasPermi=
"['ecw:product-brank:update']"
>
{{
$t
(
'
添加授权客户
'
)
}}
</el-button>
v-hasPermi=
"['ecw:product-brank:update']"
>
{{
$t
(
'
添加授权客户
'
)
}}
</el-button>
...
@@ -143,6 +159,7 @@ import {getProductTypeList} from "@/api/ecw/productType"
...
@@ -143,6 +159,7 @@ import {getProductTypeList} from "@/api/ecw/productType"
import
{
getProductList
}
from
"
@/api/ecw/product
"
import
{
getProductList
}
from
"
@/api/ecw/product
"
import
BrandForm
from
"
@/views/ecw/productBrank/BrandForm
"
import
BrandForm
from
"
@/views/ecw/productBrank/BrandForm
"
import
Empower
from
"
@/views/ecw/productBrank/Empower
"
import
Empower
from
"
@/views/ecw/productBrank/Empower
"
import
{
listAllSimpl
}
from
"
@/api/system/user
"
;
export
default
{
export
default
{
name
:
"
ProductBrank
"
,
name
:
"
ProductBrank
"
,
...
@@ -194,7 +211,8 @@ export default {
...
@@ -194,7 +211,8 @@ export default {
showEmpower
:
false
,
showEmpower
:
false
,
empowerId
:
null
,
empowerId
:
null
,
empowerTitle
:
''
empowerTitle
:
''
,
allSimplList
:[],
};
};
},
},
created
()
{
created
()
{
...
@@ -204,6 +222,9 @@ export default {
...
@@ -204,6 +222,9 @@ export default {
})
})
getProductList
().
then
(
r
=>
{
getProductList
().
then
(
r
=>
{
this
.
productList
=
r
.
data
this
.
productList
=
r
.
data
});
listAllSimpl
().
then
(
r
=>
{
this
.
allSimplList
=
r
.
data
})
})
},
},
methods
:
{
methods
:
{
...
...
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