提交 699ba102 authored 作者: 劳广强's avatar 劳广强

feat: 填写上报内容页面 接入接口

上级 143b11eb
...@@ -5,11 +5,7 @@ ...@@ -5,11 +5,7 @@
</template> </template>
<script> <script>
const actionsOptions = [ import { actionsOptions } from '@/pages/record-content/mock';
{
name: '身份证',
},
];
export default { export default {
name: 'CertificateTypeActionSheet', name: 'CertificateTypeActionSheet',
......
...@@ -68,3 +68,18 @@ export const typeList = [ ...@@ -68,3 +68,18 @@ export const typeList = [
img: 'https://qiniu.yuhuofei.it/FgxfvMffyGyFb3vzHGp5ieSEwBYl', img: 'https://qiniu.yuhuofei.it/FgxfvMffyGyFb3vzHGp5ieSEwBYl',
}, },
]; ];
export const actionsOptions = [
{
id: 1,
name: '身份证',
},
{
id: 2,
name: '驾驶证',
},
{
id: 3,
name: '社保卡',
},
];
...@@ -22,7 +22,10 @@ export default { ...@@ -22,7 +22,10 @@ export default {
methods: { methods: {
async backIndex() { async backIndex() {
if (this.backType === 0) { if (this.backType === 0) {
uni.navigateTo({ url: 'pages/index/index' }); uni.$u.route({
url: 'pages/index/index',
type: 'switchTab',
});
} }
}, },
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论