This commit is contained in:
parent
8750255b39
commit
e2d8ae141b
|
@ -67,7 +67,7 @@ const routes = [
|
|||
{
|
||||
path: "/dc/serviceInterface",
|
||||
component: () => import("../views/serviceInterface/index.vue"),
|
||||
name: "cleaningTask",
|
||||
name: "serviceInterface",
|
||||
meta: { title: "服务接口" },
|
||||
},
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<FormDialog v-model="formDialog" v-bind="FormDialogData" @handleSubmit="handleSubmit">
|
||||
<template #default>
|
||||
<el-form :model="form" label-width="120px">
|
||||
<el-form-item label="Activity name">
|
||||
<el-form-item label="Activity name" placeholder="please select your zone">
|
||||
<el-input v-model="form.name" />
|
||||
</el-form-item>
|
||||
<el-form-item label="Activity zone">
|
||||
|
@ -290,6 +290,7 @@
|
|||
console.log(type, data);
|
||||
break;
|
||||
case "edit":
|
||||
handleCreate();
|
||||
console.log(type, data);
|
||||
break;
|
||||
}
|
||||
|
@ -350,6 +351,7 @@
|
|||
formJosnDisabled: false, // 表单是否禁用
|
||||
formJsonData: {}, // 新增或者编辑表单值 (编辑必须传)
|
||||
})
|
||||
|
||||
const handleSubmit = (formJsonValue) => {
|
||||
formDialog.value = false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue