Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
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
hooloo
web
soss
Commits
f39d4179
Commit
f39d4179
authored
Aug 06, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改机器详情
parent
c453398a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/views/machine/machineDetails/machineDetails.vue
+7
-7
No files found.
src/views/machine/machineDetails/machineDetails.vue
View file @
f39d4179
...
...
@@ -15,7 +15,7 @@
<el-input
placeholder=
"请输入机器编码"
v-model=
"queryParams.code"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
></el-input>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
v-hasPermi=
"['
coupon:category
:query']"
>
搜索
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
v-hasPermi=
"['
machine:machineDetails
:query']"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form>
...
...
@@ -46,12 +46,12 @@
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
v-show=
"scope.row.state == 4 || scope.row.state == 5"
size=
"mini"
type=
"text"
@
click=
"handleClick(scope.row,6)"
>
下线
</el-button>
<el-button
v-show=
"scope.row.state == 6 || scope.row.state == 7"
size=
"mini"
type=
"text"
@
click=
"handleClick(scope.row,8)"
>
返厂
</el-button>
<el-button
v-show=
"scope.row.state == 6"
size=
"mini"
type=
"text"
@
click=
"handleClick(scope.row,7)"
>
运维
</el-button>
<el-button
v-show=
"scope.row.state == 6 || scope.row.state == 7"
size=
"mini"
type=
"text"
@
click=
"handleClick(scope.row,4)"
>
上线
</el-button>
<el-button
v-show=
"scope.row.state == 2"
size=
"mini"
type=
"text"
@
click=
"handleBinding()"
>
店铺绑定
</el-button>
<el-button
v-show=
"scope.row.state == 8"
size=
"mini"
type=
"text"
@
click=
"handleClick(scope.row,1)"
>
重置
</el-button>
<el-button
v-
hasPermi=
"['machine:machineDetails:offline']"
v-
show=
"scope.row.state == 4 || scope.row.state == 5"
size=
"mini"
type=
"text"
@
click=
"handleClick(scope.row,6)"
>
下线
</el-button>
<el-button
v-
hasPermi=
"['machine:machineDetails:return']"
v-
show=
"scope.row.state == 6 || scope.row.state == 7"
size=
"mini"
type=
"text"
@
click=
"handleClick(scope.row,8)"
>
返厂
</el-button>
<el-button
v-
hasPermi=
"['machine:machineDetails:operations']"
v-
show=
"scope.row.state == 6"
size=
"mini"
type=
"text"
@
click=
"handleClick(scope.row,7)"
>
运维
</el-button>
<el-button
v-
hasPermi=
"['machine:machineDetails:online']"
v-
show=
"scope.row.state == 6 || scope.row.state == 7"
size=
"mini"
type=
"text"
@
click=
"handleClick(scope.row,4)"
>
上线
</el-button>
<el-button
v-
hasPermi=
"['machine:machineDetails:bindShop']"
v-
show=
"scope.row.state == 2"
size=
"mini"
type=
"text"
@
click=
"handleBinding()"
>
店铺绑定
</el-button>
<el-button
v-
hasPermi=
"['machine:machineDetails:reset']"
v-
show=
"scope.row.state == 8"
size=
"mini"
type=
"text"
@
click=
"handleClick(scope.row,1)"
>
重置
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
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