no message

cyl/master-apply
jscyl13849007907 2 months ago
parent 938cb29e98
commit 11f11092b0

@ -1,10 +1,16 @@
<template>
<rh-edit-user-form :dataoptions='options'></rh-edit-user-form>
<rh-edit-user-form :dataoptions='dataoptions'></rh-edit-user-form>
</template>
<script>
export default{
data(){
return {
dataoptions:{}
}
},
onLoad(options) {
this.options = options
console.log('0115 编辑工友信息:',options)
this.dataoptions = options
}
}
</script>

@ -1,10 +1,15 @@
<template>
<rh-apply :dataoptions='options'></rh-apply>
<rh-apply :dataoptions='dataoptions'></rh-apply>
</template>
<script>
export default{
data(){
return {
dataoptions:{}
}
},
onLoad(options) {
this.options = options
this.dataoptions = options
}
}
</script>

@ -1,3 +1,5 @@
## 1.0.9242026-01-15
迭代
## 1.0.9232026-01-15
迭代
## 1.0.9222026-01-15

@ -114,7 +114,6 @@ export default {
onReady() {
rhJS.setNavStyle();
let that = this;
console.log('0115 000 是否执行')
},
onShareAppMessage() {
return rhJS.shareFun();
@ -132,7 +131,6 @@ export default {
}
},
mounted() {
console.log('0115 002 是否执行')
let that = this;
let options = this.dataoptions;
let params = options.params ? JSON.parse(options.params) : {};
@ -174,7 +172,6 @@ export default {
}
}, 1);
uni.$on("getTownsman", (data) => {
console.log('0115 001 是否执行')
//
if (data.info.idCard && (data.info.idCard.length == 15 || data.info.idCard.length == 18)) {
let infoByIDcard = rhJS.getInfoByIDcard(data.info.idCard);
@ -250,7 +247,6 @@ export default {
onShow() {
let that = this;
that.pageSpeed = -1;
console.log('0115 003 是否执行')
},
methods: {
getTownsManInfo(info) {

@ -185,29 +185,31 @@ export default {
},
mounted() {
let that = this;
let options = this.dataoptions;
if (options) {
if (options.sex) {
options.sex = Number(options.sex);
} else {
options.sex = 1;
}
if (options.nation) {
options.nation = options.nation.indexOf("族") > -1 ? options.nation : options.nation + "族";
} else {
options.nation = "汉族";
}
this.info = options;
//
that.nation.forEach((item, index) => {
if (item == that.info.nation) {
that.nationIndex = index;
setTimeout(()=>{
let options = this.dataoptions;
if (options) {
if (options.sex) {
options.sex = Number(options.sex);
} else {
options.sex = 1;
}
if (options.nation) {
options.nation = options.nation.indexOf("族") > -1 ? options.nation : options.nation + "族";
} else {
options.nation = "汉族";
}
this.info = options;
//
that.nation.forEach((item, index) => {
if (item == that.info.nation) {
that.nationIndex = index;
}
});
if (this.info.imgs) {
this.imgList = this.info.imgs.split(",");
}
});
if (this.info.imgs) {
this.imgList = this.info.imgs.split(",");
}
}
},300)
},
methods: {
getTownsManInfo(info) {

@ -1,7 +1,7 @@
{
"id": "rh-ui",
"displayName": "rh-ui",
"version": "1.0.923",
"version": "1.0.924",
"description": "公司内部UI框架",
"keywords": [
"ui框架"
@ -61,11 +61,11 @@
},
"nvue": "-",
"android": {
"extVersion": "1.0.923",
"extVersion": "1.0.924",
"minVersion": "19"
},
"ios": {
"extVersion": "1.0.923",
"extVersion": "1.0.924",
"minVersion": "12"
},
"harmony": "-"

Loading…
Cancel
Save