Commit a6d7874e authored by tanghao's avatar tanghao

可以修改脚本名字

parent 8c895a99
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
<el-select <el-select
style="width: 260px" style="width: 260px"
v-model="sitem.scriptName" v-model="sitem.scriptName"
filterable
allow-create
@change="(e) => scriptChange(sitem, e)" @change="(e) => scriptChange(sitem, e)"
clearable clearable
> >
......
...@@ -287,15 +287,11 @@ const popoverRef = ref() ...@@ -287,15 +287,11 @@ const popoverRef = ref()
const buttonRef = ref() const buttonRef = ref()
const popoverVisible = ref(false) const popoverVisible = ref(false)
const showPopover = (e: any, title: string) => { const showPopover = (e: any, title: string) => {
// if (currentRow.status != "un_convert") {
// return;
// }
buttonRef.value = e.target buttonRef.value = e.target
// 设置标题 // 设置标题
currentConfigTitle.value = title currentConfigTitle.value = title
const hasConf = !!getAllMapConfigs.value[title].filedConfs.length const hasConf = !!getAllMapConfigs.value[title].filedConfs.length
// console.log(getAllMapConfigs.value[title], '------')
const conf = hasConf const conf = hasConf
? getAllMapConfigs.value[title] ? getAllMapConfigs.value[title]
: { : {
......
...@@ -39,6 +39,8 @@ ...@@ -39,6 +39,8 @@
<el-col> <el-col>
<el-select <el-select
style="width: 260px" style="width: 260px"
filterable
allow-create
v-model="sitem.scriptName" v-model="sitem.scriptName"
@change="(e) => scriptChange(sitem, e)" @change="(e) => scriptChange(sitem, e)"
clearable clearable
...@@ -108,6 +110,8 @@ ...@@ -108,6 +110,8 @@
<el-col> <el-col>
<el-select <el-select
style="width: 260px" style="width: 260px"
filterable
allow-create
v-model="sitem.scriptName" v-model="sitem.scriptName"
@change="(e) => scriptChange(sitem, e)" @change="(e) => scriptChange(sitem, e)"
clearable clearable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment