This commit is contained in:
shimu 2024-05-24 11:47:03 +08:00
parent 001b1db430
commit 370cd6d189
5 changed files with 2 additions and 90 deletions

View File

@ -8,14 +8,14 @@ export default {
header$() {
return (
<>
<z-action label='新增物联卡' fields={["msisdn","iccid","desc","imsi","status","from","meal","capacity","activity_gmt"]} url='/do/put/mobile_card' />
<z-action label='新增物联卡' fields={["msisdn","iccid","desc","imsi","status","from","meal","capacity","activityGmt"]} url='/do/put/mobile_card' />
</>
)
},
action$({ row }) {
return (
<>
<z-action label='编辑' fields={["desc","status","activity_gmt","capacity"]} link data={row} url='/do/patch/mobile_card' />
<z-action label='编辑' fields={["desc","status","activityGmt","capacity"]} link data={row} url='/do/patch/mobile_card' />
<z-action label='删除' link data={row} url='/do/delete/mobile_card' title='确定删除该物联卡吗?' />
</>
)

View File

@ -1,3 +0,0 @@
export default {
'capital/renew': () => import( /* webpackChunkName: "pages/capital/renew" */ "./renew/renew.vue")
};

View File

@ -1,68 +0,0 @@
export default {
title: '续费管理',
entitys: [
{ name: 'id', label: '编号' },
{ name: 'name', type: 'input', label: '名称' },
{ name: 'nick', label: '昵称' },
{ name: 'ukey', label: '密钥' },
{ name: 'createUid', type: 'input', label: '创建人' },
{
name: 'status',
type: 'switch',
label: '状态',
url: '/app/updateStatus.do',
},
{
name: 'config',
type: 'map',
default: {},
fields: [
{ name: 'api', label: '接口地址', type: 'input' },
{ name: 'version', label: '资源版本', type: 'input' },
],
},
],
columns: ['id', 'createUid', 'nick', 'unionid', 'dingId', 'ukey'],
condtion: ['id', 'createUid', 'nick', 'unionid', 'dingId', 'ukey'],
slots: {
header$() {
return (
<>
<z-action
fields={['id', 'createUid', 'nick', 'unionid', 'dingId', 'ukey']}
url='/do/put/member'
label='添加'
title='hello'
/>
</>
)
},
action$({ row }) {
return (
<>
<z-action
link
mode='drawer'
title={row.nick + '侧滑菜单'}
label='侧滑'
/>
<z-action
link
fields={['id', 'createUid', 'nick', 'unionid', 'dingId', 'ukey']}
data={row}
url='/do/patch/member'
title={'编辑' + row.nick}
label='编辑'
/>
<z-action
link
title='确定删除吗?'
data={row}
url='/do/delete/member'
label='删除'
/>
</>
)
},
},
}

View File

@ -1 +0,0 @@
{"table":"","blocks":[],"counter":6786,"basic":{"title":"续费管理","selectable":0,"showIndex":0,"compact":0,"size":"","url":"/do/select/site","actions":[]},"columns":[],"tabs":{"code":null,"defaultVal":null,"list":[],"keyword":null},"condition":[],"conditionLimit":null,"actions":[],"_id":6786}

View File

@ -1,16 +0,0 @@
<template>
<z-table name="c99phx776jn" mocked>
</z-table>
</template>
<script>
import configs from './.lowcode/configs';
export default {
name: 'p-c99phx776jn',
provide: { configs },
data() {
return {}
},
}
</script>