更新
This commit is contained in:
parent
2db11acdba
commit
caa6828681
6
App.vue
6
App.vue
@ -3,7 +3,7 @@
|
||||
const jpushModule = uni.requireNativePlugin("JG-JPush");
|
||||
// #endif
|
||||
export default {
|
||||
onLaunch: async function() {
|
||||
onLaunch: async function(info) {
|
||||
// let noticeArr = []
|
||||
// jpushModule.addNotificationListener(res => {
|
||||
// if (!noticeArr.includes(res.messageID)) {
|
||||
@ -16,6 +16,10 @@
|
||||
// console.log("app的监听")
|
||||
// }
|
||||
// })
|
||||
uni.showModal({
|
||||
content: info
|
||||
})
|
||||
if(info.referrerInfo?.extraData?.uniMP) uni.setStorageSync('uniMP', info.referrerInfo?.extraData?.uniMP);
|
||||
console.log('App Launch')
|
||||
this.$store.dispatch('initConfig');
|
||||
try {
|
||||
|
@ -359,9 +359,9 @@
|
||||
brigade: ''
|
||||
}
|
||||
},
|
||||
props: ['id', 'type'],
|
||||
props: ['cid', 'type'],
|
||||
mounted() {
|
||||
this.initContract(this.$props.id, this.$props.type || null);
|
||||
this.initContract(this.$props.cid, this.$props.type || null);
|
||||
},
|
||||
computed: {
|
||||
c_address() {
|
||||
|
@ -4,7 +4,7 @@
|
||||
<view class="title">常住人口</view>
|
||||
<u--form labelPosition="left" :model="residents" :rules="rules" ref="residentsForm">
|
||||
<block value="人口">
|
||||
<block value="人员信息" v-for="(item, index) in residents.family" :key="'user'+index">
|
||||
<block value="人员信息" v-for="(item, family_index) in residents.family" :key="'user'+family_index">
|
||||
<u-form-item label="姓名" required prop="family.name" borderBottom>
|
||||
<u--input v-model="item.name" :readonly="readonly" placeholder="请输入姓名"></u--input>
|
||||
</u-form-item>
|
||||
@ -37,7 +37,7 @@
|
||||
</u-radio>
|
||||
</u-radio-group>
|
||||
</u-form-item>
|
||||
<block value="是" v-if="residents.child>0" v-for="(item,index) in residents.child_arr" :key="'child'+index">
|
||||
<block value="是" v-if="residents.child>0" v-for="(item,child_arr_index) in residents.child_arr" :key="'child'+child_arr_index">
|
||||
<u-form-item label="年龄" required prop="child_arr.age" borderBottom>
|
||||
<u--input v-model="item.age" :readonly="readonly" placeholder="请输入年龄" type="number" maxlength="2"></u--input>
|
||||
</u-form-item>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,9 @@
|
||||
import Cache from '@/utils/cache';
|
||||
import { getConfig } from "@/api/config.js";
|
||||
|
||||
// #ifdef APP-PLUS
|
||||
import Updater from '@/uni_modules/guyue-updater/index';
|
||||
// #endif
|
||||
|
||||
|
||||
function compareVersions(version1, version2) {
|
||||
|
@ -145,7 +145,7 @@
|
||||
|
||||
</view>
|
||||
|
||||
<view class="cards" v-for="(item, index) in formData.family" :key="'user'+index">
|
||||
<view class="cards" v-for="(item, family_index) in formData.family" :key="'user'+family_index">
|
||||
<view class="card_head">
|
||||
<text>常住人口</text>
|
||||
</view>
|
||||
@ -184,8 +184,8 @@
|
||||
</view>
|
||||
|
||||
|
||||
<view class="cards" v-if="formData.child>0" v-for="(item,index) in formData.child_arr"
|
||||
:key="'child'+index">
|
||||
<view class="cards" v-if="formData.child>0" v-for="(item,child_arr_index) in formData.child_arr"
|
||||
:key="'child'+child_arr_index">
|
||||
<view class="card_head">
|
||||
<text>婴幼儿信息</text>
|
||||
</view>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="">
|
||||
<company :id="id" type="company"></company>
|
||||
<company :cid="cid" type="company"></company>
|
||||
<view class="need_contract" v-if="!company.contract||!company.contract.status||!company.company.is_contract">
|
||||
<!-- <view class="title">电子合同</view> -->
|
||||
<picker v-if="company.contract&&company.contract.check_status==0||!company.contract"
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="">
|
||||
<company :id="id" type="contract"></company>
|
||||
<company :cid="cid" type="contract"></company>
|
||||
<!-- <button class="back_btn" @click="naviBack">返回</button> -->
|
||||
<!-- <button class="stop_btn">终止合同</button> -->
|
||||
</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user