no message

This commit is contained in:
小陌 2023-07-23 23:58:06 +08:00
parent a64c8215dd
commit 7fcc2ca225
2 changed files with 25 additions and 10 deletions

View File

@ -191,14 +191,14 @@
plus(){
this.dialog.save = true
this.$nextTick(() => {
this.$refs.saveDialog.open('plus').setData({}).setConfig(this.operation.plus)
this.$refs.saveDialog.open('plus').getComponentType(this.operation.plus.component).setData({}).setConfig(this.operation.plus)
})
},
//
operationEdit(row){
this.dialog.save = true
this.$nextTick(() => {
this.$refs.saveDialog.open('edit').setData(row).setConfig(this.operation.edit)
this.$refs.saveDialog.open('edit').getComponentType(this.operation.edit.component).setData(row).setConfig(this.operation.edit)
})
},
//

View File

@ -54,7 +54,7 @@
<el-input v-model="form.operation.plus.label" placeholder="名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="6">
<el-form-item label="添加请求" prop="plus">
<el-autocomplete style="width: 100%;" v-model="form.operation.plus.url" :fetch-suggestions="querySearchSubmit" clearable placeholder="请求 URL"/>
</el-form-item>
@ -71,13 +71,19 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="6">
<el-form-item label="远程链接" prop="edit">
<el-autocomplete style="width: 100%;" v-model="form.operation.plus.remoteurl" :fetch-suggestions="querySearchGet" clearable placeholder="远程链接, 添加此链接由远程配置调用"/>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="弹窗组件" prop="component">
<el-select v-model="form.operation.plus.component" placeholder="选择">
<el-option value="drawer" key="drawer" label="drawer"> 抽屉 </el-option>
<el-option value="dialog" key="dialog" label="dialog"> 对话框 </el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10" v-show="form.operationtype.includes('edit')">
<el-col :span="4">
@ -85,7 +91,7 @@
<el-input v-model="form.operation.edit.label" placeholder="名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="6">
<el-form-item label="编辑请求" prop="edit">
<el-autocomplete style="width: 100%;" v-model="form.operation.edit.url" :fetch-suggestions="querySearchSubmit" clearable placeholder="请求 URL"/>
</el-form-item>
@ -103,11 +109,20 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="6">
<el-form-item label="远程链接" prop="edit">
<el-autocomplete style="width: 100%;" v-model="form.operation.edit.remoteurl" :fetch-suggestions="querySearchGet" clearable placeholder="远程链接, 添加此链接由远程配置调用"/>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="弹窗组件" prop="component">
<el-select v-model="form.operation.edit.component" placeholder="选择">
<el-option value="drawer" key="drawer" label="drawer"> 抽屉 </el-option>
<el-option value="dialog" key="dialog" label="dialog"> 对话框 </el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10" v-show="form.operationtype.includes('delete')">
<el-col :span="4">
@ -115,7 +130,7 @@
<el-input v-model="form.operation.delete.label" placeholder="名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="6">
<el-form-item label="下架请求" prop="delete">
<el-autocomplete style="width: 100%;" v-model="form.operation.delete.url" :fetch-suggestions="querySearchDelete" clearable placeholder="请求 URL"/>
</el-form-item>
@ -141,7 +156,7 @@
<el-input v-model="form.operation.batchdeletion.label" placeholder="名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="6">
<el-form-item label="批量删除请求" prop="url">
<el-autocomplete style="width: 100%;" v-model="form.operation.batchdeletion.url" :fetch-suggestions="querySearchDelete" clearable placeholder="请求 URL"/>
</el-form-item>