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
bf340319
authored
Dec 08, 2022
by
王刘锁
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
点位管理设备类型
parent
739aef1e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
src/views/modules/siteAdmin/siteConfig/add.vue
src/views/modules/taskPlan/taskChainList/index.vue
src/views/modules/siteAdmin/siteConfig/add.vue
View file @
bf340319
...
...
@@ -25,13 +25,13 @@
</el-select>
</el-form-item>
<el-form-item
label=
"站点名称:"
prop=
"name"
>
<el-input
v-model=
"formData.name"
maxlength=
"
1
0"
placeholder=
"站点标题(最长10个字符)"
></el-input>
<el-input
v-model=
"formData.name"
maxlength=
"
3
0"
placeholder=
"站点标题(最长10个字符)"
></el-input>
</el-form-item>
<el-form-item
label=
"指令标识:"
prop=
"command"
>
<el-input
v-model=
"formData.command"
maxlength=
"
2
0"
placeholder=
"指令标识(仅限字母数字组合,最长20个字符)"
></el-input>
<el-input
v-model=
"formData.command"
maxlength=
"
3
0"
placeholder=
"指令标识(仅限字母数字组合,最长20个字符)"
></el-input>
</el-form-item>
<el-form-item
label=
"站点配置模板:"
>
<el-select
v-model=
"formData.tempId"
placeholder=
"请选择站点配置模板"
>
<el-select
v-model=
"formData.tempId"
clearable
placeholder=
"请选择站点配置模板"
>
<el-option
v-for=
"item in configTempList"
:key=
"item.id"
:label=
"item.tempName"
:value=
"item.id"
>
</el-option>
</el-select>
...
...
@@ -88,12 +88,12 @@
</el-form-item>
</
template
>
</vxe-column>
<vxe-column
width=
"80px"
v-if=
"formData.tempId && formData.tempId !== ''"
>
<vxe-column
width=
"80px"
>
<
template
#
default=
"{ row }"
>
<span>
任务类型
</span>
</
template
>
</vxe-column>
<vxe-column
v-if=
"formData.tempId && formData.tempId !== ''"
>
<vxe-column
>
<
template
#
default=
"{ row }"
>
<el-cascader
v-model=
"row.pointType"
:options=
"row.taskTypeOptions"
:props=
"
{
label: 'typeName', value: 'id', children: 'child', emitPath: false
...
...
src/views/modules/taskPlan/taskChainList/index.vue
View file @
bf340319
...
...
@@ -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
:
data
.
msg
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