|
@ -223,13 +223,14 @@ |
|
|
<span v-show="scope.row.edit">{{ scope.row.mode }}</span> |
|
|
<span v-show="scope.row.edit">{{ scope.row.mode }}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="request" prop="请求方法" width="300"> |
|
|
<el-table-column label="request" prop="请求方法" width="500"> |
|
|
<template scope="scope"> |
|
|
<template scope="scope"> |
|
|
<el-select |
|
|
<el-select |
|
|
v-model="scope.row.request" |
|
|
v-model="scope.row.request" |
|
|
filterable |
|
|
filterable |
|
|
clearable |
|
|
clearable |
|
|
placeholder="请选择" |
|
|
placeholder="请选择" |
|
|
|
|
|
style="width: 450px" |
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="item in requestMethodList" |
|
|
v-for="item in requestMethodList" |
|
@ -453,7 +454,8 @@ export default { |
|
|
manual_create_task: true, |
|
|
manual_create_task: true, |
|
|
is_pickup: true, |
|
|
is_pickup: true, |
|
|
is_release: true, |
|
|
is_release: true, |
|
|
link_device_code: [] |
|
|
link_device_code: [], |
|
|
|
|
|
link_three_lamp: [] |
|
|
}, |
|
|
}, |
|
|
rules: {} |
|
|
rules: {} |
|
|
} |
|
|
} |
|
@ -503,6 +505,13 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
insertdtl() { |
|
|
|
|
|
this.modeform.tableData.push({mode: '', request: '' }) |
|
|
|
|
|
}, |
|
|
|
|
|
deleteRow(index, rows) { |
|
|
|
|
|
debugger |
|
|
|
|
|
rows.splice(index, 1) |
|
|
|
|
|
}, |
|
|
finishReadEdit(data) { |
|
|
finishReadEdit(data) { |
|
|
// 编辑的是code列,并且值包含mode |
|
|
// 编辑的是code列,并且值包含mode |
|
|
if (data.code.indexOf('mode') !== -1) { |
|
|
if (data.code.indexOf('mode') !== -1) { |
|
|