no message

cyl/master-apply
jscyl13849007907 2 months ago
parent 323b5036f6
commit 938cb29e98

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

@ -114,44 +114,7 @@ export default {
onReady() {
rhJS.setNavStyle();
let that = this;
uni.$on("getTownsman", (data) => {
//
if (data.info.idCard && (data.info.idCard.length == 15 || data.info.idCard.length == 18)) {
let infoByIDcard = rhJS.getInfoByIDcard(data.info.idCard);
data.info.age = infoByIDcard.age;
}
if (that.persenInfo.length == 0) {
that.persenInfo[0] = {
...data.info,
index: that.persenInfo.length,
};
} else if (data.info.index || data.info.index === 0) {
that.persenInfo[data.info.index] = data.info;
} else {
that.persenInfo[that.persenInfo.length] = {
...data.info,
index: that.persenInfo.length,
};
}
that.$forceUpdate();
});
uni.$on("changeJobInfo", function (data) {
that.updateInfo.jobId = data.info.leafCateId;
that.updateInfo.jobName = data.info.title;
that.currentJobInfo = data.info;
that.jobType = data.info.jobType;
console.log("data.info", data.info);
that.getJobDetail(data.info);
that.$forceUpdate();
});
uni.$on("resetTownsman", function (data) {
if (data.reset) {
that.persenInfo = [];
}
that.$forceUpdate();
});
console.log('0115 000 是否执行')
},
onShareAppMessage() {
return rhJS.shareFun();
@ -169,6 +132,7 @@ export default {
}
},
mounted() {
console.log('0115 002 是否执行')
let that = this;
let options = this.dataoptions;
let params = options.params ? JSON.parse(options.params) : {};
@ -209,6 +173,45 @@ export default {
that.setFormList();
}
}, 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);
data.info.age = infoByIDcard.age;
}
if (that.persenInfo.length == 0) {
that.persenInfo[0] = {
...data.info,
index: that.persenInfo.length,
};
} else if (data.info.index || data.info.index === 0) {
that.persenInfo[data.info.index] = data.info;
} else {
that.persenInfo[that.persenInfo.length] = {
...data.info,
index: that.persenInfo.length,
};
}
that.$forceUpdate();
});
uni.$on("changeJobInfo", function (data) {
that.updateInfo.jobId = data.info.leafCateId;
that.updateInfo.jobName = data.info.title;
that.currentJobInfo = data.info;
that.jobType = data.info.jobType;
console.log("data.info", data.info);
that.getJobDetail(data.info);
that.$forceUpdate();
});
uni.$on("resetTownsman", function (data) {
if (data.reset) {
that.persenInfo = [];
}
that.$forceUpdate();
});
},
data() {
return {
@ -247,6 +250,7 @@ export default {
onShow() {
let that = this;
that.pageSpeed = -1;
console.log('0115 003 是否执行')
},
methods: {
getTownsManInfo(info) {

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

Loading…
Cancel
Save