no message

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

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

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

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

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

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

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

Loading…
Cancel
Save