圆形图片 round
<bs-img v-model="item.headIcon" :preview="true" img-width="2rem" img-height="2rem" round
>
</bs-img>
<bs-img
v-model="data.icLogo"
:preview="true"
img-width="5rem"
img-height="5rem"
:primary-change-state="bdStatistics.data.primaryChangeState"
:on-callback-root-data="handleCallBackRootData"
:item="{ meta: {}, attrs: {}, field: 'icLogo ' }"
></bs-img>
</template>
methods: {
onRefresh() {
methodComp.loadDetail(this);
},
handleCallBackRootData(callback) {
//开放原始入口配置文件,便于子组件调用根组件,进行直接修改数据
callback(this);
},
},
that.bdStatistics.data.primaryChangeState=that.$verifyGuid.guid();
loadStatisticsByBbrIdcard(that) {
let rootMetaT = {
mkey: "policy-analysis",
field: "bbrcard"
};
let filterT = {};
//需要处理的代码 start
let dataT = {};
filterT["bdBbrIdcard"] = that.$route.query["bdBbrIdcard"];
//需要处理的代码 end
that.$store.dispatch("dataLoading", true);
that.loading = true;
that.$bsAjax
.getStatistics(rootMetaT.mkey, rootMetaT.field, filterT)
.then((tempRes) => {
that.$store.dispatch("dataLoading", false);
that.loading = false;
if (tempRes && tempRes.data && tempRes.data.success === true) {
that.bdStatistics.data = tempRes.data.data;
} else {
that.bdStatistics.data = {
bdBbr: null,
bdCount: 0,
bzPrice: null,
headIcon: null,
bdBbrIdcard: null,
bdBbrS: null,
};
}
that.bdStatistics.data.primaryChangeState=that.$verifyGuid.guid();
});
},
文档更新时间: 2022-09-12 07:53 作者:admin