add:仓库策略配置页面
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
package org.nl.config.mybatis.typeHandler;
|
||||||
|
|
||||||
|
import com.alibaba.fastjson.JSON;
|
||||||
|
import org.apache.ibatis.type.JdbcType;
|
||||||
|
import org.apache.ibatis.type.MappedJdbcTypes;
|
||||||
|
import org.apache.ibatis.type.MappedTypes;
|
||||||
|
import org.nl.common.domain.handler.ListTypeHandler;
|
||||||
|
|
||||||
|
import java.sql.PreparedStatement;
|
||||||
|
import java.sql.SQLException;
|
||||||
|
|
||||||
|
@MappedTypes({Object.class})
|
||||||
|
@MappedJdbcTypes(JdbcType.VARCHAR)
|
||||||
|
public class ListStrTypeHandler extends ListTypeHandler {
|
||||||
|
@Override
|
||||||
|
public void setNonNullParameter(PreparedStatement ps, int i, Object parameter, JdbcType jdbcType) throws SQLException {
|
||||||
|
ps.setString(i, JSON.toJSONString(parameter));
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,8 +1,12 @@
|
|||||||
package org.nl.wms.decision_manage.controller.sectStrategy;
|
package org.nl.wms.decision_manage.controller.sectStrategy;
|
||||||
|
|
||||||
|
|
||||||
|
import cn.hutool.core.date.DateUtil;
|
||||||
|
import org.apache.catalina.security.SecurityUtil;
|
||||||
|
import org.nl.common.base.TableDataInfo;
|
||||||
import org.nl.common.domain.query.PageQuery;
|
import org.nl.common.domain.query.PageQuery;
|
||||||
import org.nl.common.logging.annotation.Log;
|
import org.nl.common.logging.annotation.Log;
|
||||||
|
import org.nl.common.utils.SecurityUtils;
|
||||||
import org.nl.wms.decision_manage.service.sectStrategy.IStSectStrategyService;
|
import org.nl.wms.decision_manage.service.sectStrategy.IStSectStrategyService;
|
||||||
import org.nl.wms.decision_manage.service.sectStrategy.dao.StSectStrategy;
|
import org.nl.wms.decision_manage.service.sectStrategy.dao.StSectStrategy;
|
||||||
import org.nl.wms.decision_manage.service.sectStrategy.dto.SectStrategyQuery;
|
import org.nl.wms.decision_manage.service.sectStrategy.dto.SectStrategyQuery;
|
||||||
@@ -23,7 +27,7 @@ import java.util.Arrays;
|
|||||||
* @since 2025-06-25
|
* @since 2025-06-25
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/stSectStrategy")
|
@RequestMapping("/api/sectStrategy")
|
||||||
public class StSectStrategyController {
|
public class StSectStrategyController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
@@ -31,12 +35,14 @@ public class StSectStrategyController {
|
|||||||
|
|
||||||
@GetMapping
|
@GetMapping
|
||||||
public ResponseEntity<Object> query(SectStrategyQuery query, PageQuery page) {
|
public ResponseEntity<Object> query(SectStrategyQuery query, PageQuery page) {
|
||||||
return new ResponseEntity<>(iStSectStrategyService.page(page.build(),query.build()), HttpStatus.OK);
|
return new ResponseEntity<>(TableDataInfo.build(iStSectStrategyService.page(page.build(),query.build())), HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping
|
@PostMapping
|
||||||
@Log("新增库区货位规则")
|
@Log("新增库区货位规则")
|
||||||
public ResponseEntity<Object> create(@Validated @RequestBody StSectStrategy dao) {
|
public ResponseEntity<Object> create(@Validated @RequestBody StSectStrategy dao) {
|
||||||
|
dao.setUpdate_time(DateUtil.now());
|
||||||
|
dao.setUpdate_name(SecurityUtils.getCurrentUsername());
|
||||||
iStSectStrategyService.save(dao);
|
iStSectStrategyService.save(dao);
|
||||||
return new ResponseEntity<>(HttpStatus.OK);
|
return new ResponseEntity<>(HttpStatus.OK);
|
||||||
}
|
}
|
||||||
@@ -44,6 +50,8 @@ public class StSectStrategyController {
|
|||||||
@PutMapping
|
@PutMapping
|
||||||
@Log("修改库区货位规则")
|
@Log("修改库区货位规则")
|
||||||
public ResponseEntity<Object> update(@Validated @RequestBody StSectStrategy dao) {
|
public ResponseEntity<Object> update(@Validated @RequestBody StSectStrategy dao) {
|
||||||
|
dao.setUpdate_time(DateUtil.now());
|
||||||
|
dao.setUpdate_name(SecurityUtils.getCurrentUsername());
|
||||||
iStSectStrategyService.updateById(dao);
|
iStSectStrategyService.updateById(dao);
|
||||||
return new ResponseEntity<>(HttpStatus.OK);
|
return new ResponseEntity<>(HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,16 @@
|
|||||||
package org.nl.wms.decision_manage.service.sectStrategy.dao;
|
package org.nl.wms.decision_manage.service.sectStrategy.dao;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
|
import org.nl.common.domain.handler.ListTypeHandler;
|
||||||
|
import org.nl.config.mybatis.typeHandler.ListStrTypeHandler;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
@@ -17,7 +22,7 @@ import lombok.EqualsAndHashCode;
|
|||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
@TableName("st_sect_strategy")
|
@TableName(value = "st_sect_strategy",autoResultMap = true)
|
||||||
public class StSectStrategy implements Serializable {
|
public class StSectStrategy implements Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@@ -36,7 +41,8 @@ public class StSectStrategy implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 规则
|
* 规则
|
||||||
*/
|
*/
|
||||||
private String strategy;
|
@TableField(typeHandler = ListStrTypeHandler.class)
|
||||||
|
private List<String> strategy;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 描述
|
* 描述
|
||||||
|
|||||||
@@ -13,13 +13,6 @@ import org.nl.wms.decision_manage.service.sectStrategy.dao.StSectStrategy;
|
|||||||
@Data
|
@Data
|
||||||
public class SectStrategyQuery extends BaseQuery<StSectStrategy> {
|
public class SectStrategyQuery extends BaseQuery<StSectStrategy> {
|
||||||
|
|
||||||
private String strategy_name;
|
private String sect_code;
|
||||||
private Boolean is_delete =Boolean.FALSE;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void paramMapping() {
|
|
||||||
super.doP.put("strategy_name", QParam.builder().k(new String[]{"strategy_name"}).type(QueryTEnum.LK).build());
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,15 +7,15 @@
|
|||||||
>
|
>
|
||||||
<el-form ref="form" :model="form" :rules="rules" size="mini" label-width="110px">
|
<el-form ref="form" :model="form" :rules="rules" size="mini" label-width="110px">
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="11">
|
||||||
<el-form-item label="库区:" prop="sect_code">
|
<el-form-item label="库区:" prop="sect_code">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.sect_code"
|
v-model="form.sect_code"
|
||||||
placeholder=""
|
placeholder=""
|
||||||
style="width: 200px"
|
style="width: 180px"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in sectList"
|
v-for="item in tableEnum.st_ivt_sectattr"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"
|
:value="item.value"
|
||||||
@@ -23,12 +23,12 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="11">
|
||||||
<el-form-item label="策略类型:" prop="strategy_type">
|
<el-form-item label="策略类型:" prop="strategy_type">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.strategy_type"
|
v-model="form.strategy_type"
|
||||||
placeholder=""
|
placeholder=""
|
||||||
style="width: 200px"
|
style="width: 180px"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in strategyTypeList"
|
v-for="item in strategyTypeList"
|
||||||
@@ -40,17 +40,18 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="类处理类型:" prop="class_type">
|
<el-form-item label="策略:" prop="strategy_type">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.class_type"
|
v-model="form.strategy"
|
||||||
|
clearable
|
||||||
|
multiple
|
||||||
placeholder=""
|
placeholder=""
|
||||||
style="width: 200px"
|
style="width: 460px"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in tableEnum.st_ivt_sectattr"
|
v-for="item in tableEnum.st_strategy_config"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"
|
:value="item.value"
|
||||||
@@ -58,24 +59,11 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
|
||||||
<el-form-item label="参数:" prop="param">
|
|
||||||
<el-input v-model="form.param" style="width: 200px;" />
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row :gutter="20">
|
|
||||||
<el-col :span="12">
|
|
||||||
<el-form-item label="策略编码:" prop="param">
|
|
||||||
<el-input v-model="form.strategy_code" style="width: 200px;" />
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="描述:" prop="remark">
|
<el-form-item label="描述:" prop="description">
|
||||||
<el-input v-model="form.remark" :rows="3" type="textarea" style="width: 560px;" />
|
<el-input v-model="form.description" :rows="3" type="textarea" style="width: 460px;" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@@ -90,23 +78,17 @@
|
|||||||
<script>
|
<script>
|
||||||
const defaultForm = {
|
const defaultForm = {
|
||||||
id: null,
|
id: null,
|
||||||
strategy_code: null,
|
sect_code: null,
|
||||||
strategy_name: null,
|
strategy: null,
|
||||||
strategy_type: null,
|
description: null,
|
||||||
class_type: null,
|
|
||||||
param: null,
|
|
||||||
remark: null,
|
|
||||||
is_used: null,
|
|
||||||
ban: null,
|
|
||||||
update_name: null,
|
update_name: null,
|
||||||
update_time: null,
|
update_time: null
|
||||||
is_delete: null
|
|
||||||
}
|
}
|
||||||
import CRUD, { form, crud } from '@crud/crud'
|
import CRUD, { form, crud } from '@crud/crud'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AddDialog',
|
name: 'AddDialog',
|
||||||
tableEnums: ['st_ivt_sectattr#sect_name#sect_code'],
|
tableEnums: ['st_ivt_sectattr#sect_name#sect_code', 'st_strategy_config#strategy_name#strategy_code'],
|
||||||
|
|
||||||
mixins: [form(defaultForm), crud()],
|
mixins: [form(defaultForm), crud()],
|
||||||
props: {
|
props: {
|
||||||
@@ -123,29 +105,17 @@ export default {
|
|||||||
dialogVisible: false,
|
dialogVisible: false,
|
||||||
strategyTypeList: [
|
strategyTypeList: [
|
||||||
{ 'label': '入库', 'value': '1' },
|
{ 'label': '入库', 'value': '1' },
|
||||||
{ 'label': '出库', 'value': '2' },
|
{ 'label': '出库', 'value': '2' }
|
||||||
{ 'label': '通用', 'value': '3' }
|
|
||||||
],
|
|
||||||
classTypeList: [
|
|
||||||
{ 'label': '实现类', 'value': '1' },
|
|
||||||
{ 'label': '表达式', 'value': '2' },
|
|
||||||
{ 'label': '脚本', 'value': '3' }
|
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
strategy_name: [
|
strategy: [
|
||||||
{ required: true, message: '策略名称不能为空', trigger: 'blur' }
|
{ required: true, message: '策略不能为空', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
sect_code: [
|
||||||
|
{ required: true, message: '库区不能为空', trigger: 'blur' }
|
||||||
],
|
],
|
||||||
strategy_type: [
|
strategy_type: [
|
||||||
{ required: true, message: '策略类型不能为空', trigger: 'blur' }
|
{ required: true, message: '策略类型不能为空', trigger: 'blur' }
|
||||||
],
|
|
||||||
strategy_code: [
|
|
||||||
{ required: true, message: '策略编码不能为空', trigger: 'blur' }
|
|
||||||
],
|
|
||||||
param: [
|
|
||||||
{ required: true, message: '参数不能为空', trigger: 'blur' }
|
|
||||||
],
|
|
||||||
class_type: [
|
|
||||||
{ required: true, message: '类处理类型不能为空', trigger: 'blur' }
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,12 +11,12 @@
|
|||||||
label-width="80px"
|
label-width="80px"
|
||||||
label-suffix=":"
|
label-suffix=":"
|
||||||
>
|
>
|
||||||
<el-form-item label="策略名称">
|
<el-form-item label="库区名称">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="query.strategy_name"
|
v-model="query.sect_code"
|
||||||
clearable
|
clearable
|
||||||
size="mini"
|
size="mini"
|
||||||
placeholder="策略名称"
|
placeholder="库区名称"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
class="filter-item"
|
class="filter-item"
|
||||||
@keyup.enter.native="crud.toQuery"
|
@keyup.enter.native="crud.toQuery"
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'-->
|
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'-->
|
||||||
<crudOperation :permission="permission"/>
|
<crudOperation :permission="permission" />
|
||||||
<!--表单组件-->
|
<!--表单组件-->
|
||||||
<el-table
|
<el-table
|
||||||
ref="table"
|
ref="table"
|
||||||
@@ -37,30 +37,33 @@
|
|||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
@selection-change="crud.selectionChangeHandler"
|
@selection-change="crud.selectionChangeHandler"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="55" />
|
<el-table-column prop="sect_code" label="库区名称" />
|
||||||
<el-table-column label="策略类型" >
|
<el-table-column prop="strategy_type" label="策略类型">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{scope.row.ban?"系统策略":"自定义策略"}}
|
{{ scope.row.strategy_type == '1'?'入库策略':'出库策略' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="strategy_name" label="策略名称" />
|
<el-table-column prop="strategy" label="策略列表" width="460">
|
||||||
<el-table-column prop="strategy_code" label="策略编码" />
|
|
||||||
<el-table-column prop="strategy_type" label="决策类型" />
|
|
||||||
<el-table-column prop="class_type" label="策略执行器" />
|
|
||||||
<el-table-column prop="param" show-overflow-tooltip label="参数" />
|
|
||||||
<el-table-column prop="remark" show-overflow-tooltip label="描述" />
|
|
||||||
<el-table-column label="是否启用" align="center" prop="is_used">
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch
|
<el-select
|
||||||
:value="scope.row.is_used"
|
v-model="scope.row.strategy"
|
||||||
active-color="#409EFF"
|
disabled
|
||||||
inactive-color="#F56C6C"
|
style="width: 400px"
|
||||||
@change="changeEnabled(scope.row, scope.row.is_used)"
|
multiple
|
||||||
/>
|
placeholder=""
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in tableEnum.st_strategy_config"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column prop="description" label="描述" />
|
||||||
<el-table-column prop="update_name" label="操作人" />
|
<el-table-column prop="update_name" label="操作人" />
|
||||||
<el-table-column min-width="160" prop="update_time" label="操作时间" />
|
<el-table-column prop="update_time" label="操作时间" />
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-permission="[]"
|
v-permission="[]"
|
||||||
label="操作"
|
label="操作"
|
||||||
@@ -70,8 +73,8 @@
|
|||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<udOperation
|
<udOperation
|
||||||
:disabledDle="scope.row.ban"
|
:disabled-dle="scope.row.ban"
|
||||||
:disabledEdit="scope.row.ban"
|
:disabled-edit="scope.row.ban"
|
||||||
:data="scope.row"
|
:data="scope.row"
|
||||||
:permission="permission"
|
:permission="permission"
|
||||||
/>
|
/>
|
||||||
@@ -94,14 +97,14 @@ import udOperation from '@crud/UD.operation'
|
|||||||
import pagination from '@crud/Pagination'
|
import pagination from '@crud/Pagination'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Strategy',
|
name: 'SectStrategy',
|
||||||
dicts: [],
|
tableEnums: ['st_strategy_config#strategy_name#strategy_code'],
|
||||||
components: { pagination, crudOperation, rrOperation, udOperation, AddDialog },
|
components: { pagination, crudOperation, rrOperation, udOperation, AddDialog },
|
||||||
mixins: [presenter(), header(), crud()],
|
mixins: [presenter(), header(), crud()],
|
||||||
cruds() {
|
cruds() {
|
||||||
return CRUD({
|
return CRUD({
|
||||||
title: '策略管理',
|
title: '策略管理',
|
||||||
url: 'api/strategy',
|
url: 'api/sectStrategy',
|
||||||
idField: 'id',
|
idField: 'id',
|
||||||
sort: 'id,desc',
|
sort: 'id,desc',
|
||||||
crudMethod: { ...crudStrategy },
|
crudMethod: { ...crudStrategy },
|
||||||
@@ -116,6 +119,10 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
strategyTypeList: [
|
||||||
|
{ 'label': '入库', 'value': '1' },
|
||||||
|
{ 'label': '出库', 'value': '2' }
|
||||||
|
],
|
||||||
dialogVisible: false,
|
dialogVisible: false,
|
||||||
permission: {},
|
permission: {},
|
||||||
rules: {
|
rules: {
|
||||||
@@ -128,7 +135,7 @@ export default {
|
|||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
format_is_used(is_used) {
|
format_is_used(is_used) {
|
||||||
return is_used==true
|
return is_used == true
|
||||||
},
|
},
|
||||||
changeEnabled(data, val) {
|
changeEnabled(data, val) {
|
||||||
let msg = '此操作将停用,是否继续!'
|
let msg = '此操作将停用,是否继续!'
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import request from '@/utils/request'
|
|||||||
|
|
||||||
export function add(data) {
|
export function add(data) {
|
||||||
return request({
|
return request({
|
||||||
url: 'api/strategy',
|
url: 'api/sectStrategy',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data
|
data
|
||||||
})
|
})
|
||||||
@@ -10,7 +10,7 @@ export function add(data) {
|
|||||||
|
|
||||||
export function del(ids) {
|
export function del(ids) {
|
||||||
return request({
|
return request({
|
||||||
url: 'api/strategy/',
|
url: 'api/sectStrategy/',
|
||||||
method: 'delete',
|
method: 'delete',
|
||||||
data: ids
|
data: ids
|
||||||
})
|
})
|
||||||
@@ -18,18 +18,10 @@ export function del(ids) {
|
|||||||
|
|
||||||
export function edit(data) {
|
export function edit(data) {
|
||||||
return request({
|
return request({
|
||||||
url: 'api/strategy',
|
url: 'api/sectStrategy',
|
||||||
method: 'put',
|
method: 'put',
|
||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function changeActive(data) {
|
export default { add, edit, del }
|
||||||
return request({
|
|
||||||
url: 'api/strategy/changeActive',
|
|
||||||
method: 'put',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
export default { add, edit, del, changeActive }
|
|
||||||
|
|||||||
Reference in New Issue
Block a user