Commit 444d3932 authored by Your Name's avatar Your Name

电子weilan添加

parent 763bcd8e
......@@ -197,6 +197,14 @@ export function getDCList (parameter) {
params: {guid:parameter}
})
}
// 获取门店电子围栏详情
export function saveElecfence (parameter) {
return axios({
url: 'branch/city-distribution-settings/city-distribution-setting-save',
method: 'post',
data: parameter
})
}
// 删除门店电子围栏
export function deleteElecfence(id) {
console.log(id)
......
......@@ -193,7 +193,7 @@ export default {
dataIndex: 'TITLE',
// fixed: 'left',
// width: 200,
width: '20%',
width: '25%',
scopedSlots: { customRender: 'TITLE' },
customRender: (value, row, index) => {
var ret = []
......@@ -225,7 +225,7 @@ export default {
},
{
title: '菜单状态',
width: '8%',
width: '6%',
dataIndex: 'STATUS',
customRender: (state, row, index) => {
return <div>{state === 0 ? <a-tag color="red">禁用</a-tag> : <a-tag color="cyan">启用</a-tag>}</div>
......@@ -234,7 +234,7 @@ export default {
},
{
title: '是否为菜单',
width: '6%',
width: '5%',
dataIndex: 'IS_MENU',
customRender: text => {
if (Number(text) == 0) {
......@@ -246,7 +246,7 @@ export default {
},
{
title: '是否顶部菜单',
width: '6%',
width: '5%',
dataIndex: 'IS_TOP_MENU',
customRender: text => {
if (Number(text) == 0) {
......@@ -258,7 +258,7 @@ export default {
},
{
title: '是否默认显示',
width: '6%',
width: '5%',
dataIndex: 'IS_DEFAULT_SHOW',
customRender: text => {
if (Number(text) == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment