Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
王刘锁
/
jianlin-tms-view
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f6be6c7b
authored
Nov 11, 2022
by
王刘锁
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
类型
parent
b1b627af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
src/views/modules/siteAdmin/siteConfig/add.vue
src/views/modules/taskPlan/taskChainList/index.vue
src/views/modules/siteAdmin/siteConfig/add.vue
View file @
f6be6c7b
<
template
>
<el-dialog
:title=
"dialogConfig.title"
:visible
.
sync=
"dialogVisible"
width=
"
60
%"
@
close=
"dialogClose"
<el-dialog
:title=
"dialogConfig.title"
:visible
.
sync=
"dialogVisible"
width=
"
95
%"
@
close=
"dialogClose"
:close-on-click-modal=
"false"
>
<el-form
:model=
"formData"
label-width=
"110px"
ref=
"ruleForm"
:rules=
"rules"
:disabled=
"dialogConfig.disabled"
>
<el-form-item
label=
"厂区:"
prop=
"factoryId"
>
...
...
@@ -44,7 +44,7 @@
</
template
>
<vxe-table
ref=
"xTable"
:show-header=
"false"
border=
"false"
resizable
:data=
"formData.entities"
row-id=
"id"
:checkbox-config=
"{ highlight: true }"
>
<vxe-column
width=
"
8
0px"
>
<vxe-column
width=
"
5
0px"
>
<
template
#
default=
"{ row }"
>
<div>
点位
</div>
</
template
>
...
...
@@ -119,7 +119,7 @@
</el-form-item>
</
template
>
</vxe-column>
<vxe-column>
<vxe-column
width=
"100px"
>
<
template
#
default=
"{ row , $rowIndex }"
>
<el-form-item
:prop=
"`entities[$
{$rowIndex}].keyNum`"
:rules="[{ required: false, message: '请选择按钮序号', trigger: 'change' },]"
...
...
src/views/modules/taskPlan/taskChainList/index.vue
View file @
f6be6c7b
...
...
@@ -124,7 +124,14 @@
v-if=
"scope.row.taskStatus === '5' && hasPermission('taskChainList:delete')"
></el-divider>
<el-button
type=
"text"
size=
"mini"
v-if=
"scope.row.taskStatus === '5' && hasPermission('taskChainList:delete')"
@
click=
"delete(scope.row)"
>
删除
@
click=
"deleteById(scope.row)"
>
删除
</el-button>
<el-divider
direction=
"vertical"
v-if=
"scope.row.taskStatus === '5' && hasPermission('taskChainList:del')"
></el-divider>
<el-button
type=
"text"
size=
"mini"
v-if=
"scope.row.taskStatus === '5' && hasPermission('taskChainList:del')"
@
click=
"setTaskStatus(scope.row,'4')"
>
删除
</el-button>
</template>
</vxe-column>
...
...
@@ -232,7 +239,7 @@ export default {
}
})
},
async
delete
(
row
)
{
async
delete
ById
(
row
)
{
const
can
=
{
id
:
row
.
id
}
...
...
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