//import { wxNavigateTo } from "@utils/promise-wx-api"; //import words from "@config/words"; //import nextTick from "@npm/dai-mp/tools/nextTick.js"; // import computedBehavior from "@npm/dai-mp/mixins/computed-component/index.js"; // import commonBehavior from "@mixins/common"; const app = getApp(); Component({ // behaviors: [ computedBehavior, commonBehavior], properties: { groupId: { type: String, value: "", }, }, data: { customerId: "", iniLoaded: false, menuList: [ { name: "待审核", value: 0, }, { name: "已驳回", value: 1, } ], current: 0, // 表决中voting 已转项目turned 已关闭closed listUrl: "resi/group/groupissue/applicationlist", listParams: { groupId: "", applyStatus: "", //under_auditing:审核中,rejected:驳回 }, listIsMock: false, }, lifetimes: { async attached() { await this.init(); }, }, methods: { async init() { await app.doAfterLogin(); this.setData({ iniLoaded: true, }); }, handleSwiperChange(e) { const { detail: { current, source }, } = e; if (source == "touch") { this.setData({ current }); } }, // 点击顶部菜单 handleShiftMenu(e) { const { detail: { value }, } = e; this.setData({ current: value }); }, }, });