Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
常超
founder_vue
Commits
1a77cf14
Commit
1a77cf14
authored
Dec 01, 2022
by
liuguorong93
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gx
parent
b3f5c1c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
9 deletions
+21
-9
src/views/artisanManage/index.vue
+21
-9
No files found.
src/views/artisanManage/index.vue
View file @
1a77cf14
...
...
@@ -148,13 +148,14 @@
>
共有
<span
style=
"color: #f22"
>
{{
total
}}
</span>
条查询结果,共
<span
style=
"color: #f22"
>
{{
'88'
}}
</span>
页
条查询结果,共
<span
style=
"color: #f22"
>
{{
Math
.
ceil
(
total
/
limit
)
}}
</span>
页
</span>
<div
class=
"inline"
>
<el-button
plain
class=
"zdybtn export"
size=
"small"
@
click=
"addData"
>
<i
class=
"fa fa-external-link"
...
...
@@ -252,6 +253,7 @@
<el-button
type=
"text"
size=
"small"
@
click=
"editData(scope.row)"
>
补采
</el-button>
...
...
@@ -309,16 +311,10 @@ export default {
};
},
async
mounted
()
{
this
.
jwjsxlOptions
=
await
getJsonDataApi
(
"CODE_JWJXXL"
);
this
.
getLists
(
1
);
this
.
jwjsxlOptions
=
await
getJsonDataApi
(
"CODE_JWJXXL"
);
},
methods
:
{
// goXq() {
// this.$router.push({ name: "artisanManageEdit" });
// },
// goAdd() {
// this.$router.push({ name: "artisanManageAdd" });
// },
indexMethod
(
index
)
{
return
(
this
.
currentPage
-
1
)
*
this
.
limit
+
(
index
+
1
);
},
...
...
@@ -379,7 +375,23 @@ export default {
return
"success-row"
;
}
},
handleCurrentChange
()
{},
handleCurrentChange
(
current
)
{
this
.
currentPage
=
current
;
this
.
getLists
(
current
);
},
// 编辑
editData
(
row
)
{
this
.
$router
.
push
({
name
:
"artisanManageEdit"
,
query
:
{
id
:
row
.
id
,
},
});
},
// 新增
addData
()
{
this
.
$router
.
push
({
name
:
"artisanManageAdd"
});
},
},
watch
:
{},
};
...
...
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