diff --git a/src/api/model/wf.js b/src/api/model/wf.js index 1619c315..43b15cf2 100644 --- a/src/api/model/wf.js +++ b/src/api/model/wf.js @@ -44,6 +44,12 @@ export default { return await http.get( `${config.API_URL}/wf/workflow/${id}/init/`); } }, + initkey: { + name: "新建工单初始化", + req: async function(key){ + return await http.get( `${config.API_URL}/wf/workflow/${key}/init_key/`); + } + }, customfields: { name: "工作流下的自定义字段", req: async function(id){ diff --git a/src/config/route.js b/src/config/route.js index 4e8aaa85..dba6a91c 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -155,15 +155,6 @@ const routes = [ }, "component": "wf/workflow" }, - { - "name": "ticket", - "path": "/wf/ticket", - "meta": { - "title": "工单", - "icon": "el-icon-menu", - }, - "component": "wf/ticket" - }, { "name": "configuration", "path": "/wf/configuration", @@ -228,14 +219,14 @@ const routes = [ "component": "wf/ccwork" }, { - "name": "workdetail", - "path": "/wf/workdetail", + "name": "visitdetail", + "path": "/wf/visitdetail", "meta": { - "title": "工单详情", + "title": "访客工单详情", "icon": "el-icon-menu", "hidden": true }, - "component": "wf/workdetail" + "component": "wf/visitdetail" }, @@ -478,7 +469,19 @@ const routes = [ "hidden": true }, "component": "vm/people" + } + ,{ + "name": "vistoradd", + "path": "/vm/vistoradd", + "meta": { + "title": "来访项目相关信息", + "icon": "el-icon-menu", + "hidden": true + }, + "component": "vm/vistoradd" }, + + ] }, { diff --git a/src/views/ecm/event_cate_form.vue b/src/views/ecm/event_cate_form.vue index 266ccdc0..ba9327e9 100644 --- a/src/views/ecm/event_cate_form.vue +++ b/src/views/ecm/event_cate_form.vue @@ -2,7 +2,6 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + - - - - - + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +