提交 41483bb7 authored 作者: wangyizheng's avatar wangyizheng

新增更新特征配置

上级 f28085fb
......@@ -25,7 +25,7 @@ export function deleteCharacteristic2(id, params = {}) {
}
// 更新用户特征
export function upateCharacteristic2(id, data = {}) {
export function updateCharacteristic2(id, data = {}) {
var headers = {
'Content-Type': 'application/json'
}
......
......@@ -133,7 +133,6 @@
<el-table-column fixed="right" label="操作">
<template slot-scope="scope">
<el-select size="mini" :value="opera" @change="operation" placeholder="请选择">
<el-option :value="{ tag: 'detail', row: scope.row }" label="详情"></el-option>
<el-option :value="{ tag: 'edit', row: scope.row }" label="编辑"></el-option>
<el-option :value="{ tag: 'delete', row: scope.row }" label="删除"></el-option>
</el-select>
......@@ -393,6 +392,7 @@ export default {
case 'detail':
break
case 'edit':
this.$router.push({ path: '/training/characteristics/update', query: { id: opera.row.id } })
break
case 'delete':
this.handleDelete(opera.row.id)
......
差异被折叠。
......@@ -4,7 +4,7 @@
<el-card class="box-card">
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
<el-breadcrumb-item :to="{ path: '/training/reachschemes/update' }">触达管理</el-breadcrumb-item>
<el-breadcrumb-item :to="{ path: '/training/reachschemes' }">触达管理</el-breadcrumb-item>
<el-breadcrumb-item>编辑触达</el-breadcrumb-item>
</el-breadcrumb>
</el-card>
......
......@@ -19,6 +19,7 @@ const userGroup = [
{ path: '/training/categories', name: 'category', component: () => import('@/pages/v2/categories/category') },
{ path: '/training/cases', name: 'cases', component: () => import('@/pages/v2/cases/index') },
{ path: '/training/characteristics', name: 'characteristics', component: () => import('@/pages/v2/characteristics/index') },
{ path: '/training/characteristics/update', name: 'characteristics_update', component: () => import('@/pages/v2/characteristics/update') },
{ path: '/training/reachschemes', name: 'reach_schemes', component: () => import('@/pages/v2/reachschemes/index') },
{ path: '/training/reachschemes/update', name: 'reach_schemes_update', component: () => import('@/pages/v2/reachschemes/update') },
{ path: '/training/useruseconfigs', name: 'useruseconfigs', component: () => import('@/pages/v2/useruseconfigs/index') },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论