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
951d9129
authored
Dec 28, 2022
by
王刘锁
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
点位管理设备类型
parent
f2e23299
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
3 deletions
src/views/modules/equipmentAdmin/equipmentAccount/TopicForm.vue
src/views/modules/taskPlan/taskChainList/index.vue
src/views/modules/equipmentAdmin/equipmentAccount/TopicForm.vue
View file @
951d9129
...
...
@@ -30,6 +30,21 @@
<el-form-item
label=
"排序号"
prop=
"sort"
>
<el-input-number
:step=
"1"
v-model=
"inputForm.sort"
placeholder=
"排序号"
></el-input-number>
</el-form-item>
<el-form-item
label=
"触发自动任务"
>
<el-radio-group
v-model=
"inputForm.autoTask"
>
<el-radio
label=
"1"
>
是
</el-radio>
<el-radio
label=
"0"
>
否
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
v-if=
"inputForm.autoTask =='1'"
label=
"自动任务类型"
prop=
"value"
>
<el-input
v-model=
"inputForm.taskType"
placeholder=
"自动任务类型"
></el-input>
</el-form-item>
<el-form-item
v-if=
"inputForm.autoTask =='1'"
label=
"自动任务起点"
prop=
"value"
>
<el-input
v-model=
"inputForm.startPoint"
placeholder=
"自动任务起点"
></el-input>
</el-form-item>
<el-form-item
v-if=
"inputForm.autoTask =='1'"
label=
"自动任务终点"
prop=
"value"
>
<el-input
v-model=
"inputForm.endPoint"
placeholder=
"自动任务终点"
></el-input>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"visible = false"
icon=
"el-icon-circle-close"
>
关闭
</el-button>
...
...
@@ -55,7 +70,11 @@ export default {
mesageValue
:
''
,
topicType
:
''
,
taskName
:
''
,
sort
:
1
sort
:
1
,
autoTask
:
'0'
,
taskType
:
''
,
startPoint
:
''
,
endPoint
:
''
},
dataRule
:
{
topicName
:
[
...
...
src/views/modules/taskPlan/taskChainList/index.vue
View file @
951d9129
...
...
@@ -251,13 +251,13 @@ export default {
taskStatus
}
this
.
TaskChainList
.
setUpdateStatus
(
can
).
then
(({
data
})
=>
{
//
if (data.code === 200) {
if
(
data
.
code
===
200
)
{
this
.
$set
(
row
,
'taskStatus'
,
taskStatus
)
this
.
$message
({
type
:
'success'
,
message
:
'操作成功'
});
//
}
}
})
},
async
deleteById
(
row
)
{
...
...
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