Commit 130390bc authored by tianhongyang's avatar tianhongyang

甲方详情获取接口 重置数组

parent 9b3a0a34
......@@ -163,7 +163,6 @@
</template>
<script>
import ClipboardJS from 'clipboard';
import { changePath, encodeStr } from '@/assets/js/common';
var Swiper = require('@/assets/lib/swiper/swiper-bundle.min.js');
import "@/assets/lib/swiper/swiper-bundle.css";
......@@ -205,11 +204,6 @@ export default {
},
mounted() {
this.handleWidth(); //企业背景是否收起
if (this.childStatistic.combineMember) {
this.graphList.unshift({
id: 0, name: '所属集团-' + this.childStatistic.combineMember.companyName, isShow: true, intro: [], ico: require('@/assets/images/detail/overview/company_ssjt.png')
});
}
this.companySwiper(); //swiper滚动板块
api.label({ companyId: this.companyId }).then(res => {
if (res.code == 200) {
......@@ -320,6 +314,9 @@ export default {
}
this.companySwiper(); //swiper滚动板块
},
resetGrapList() {
this.graphList = this.$options.data.call(this).graphList;
},
//获取认领状态
getClaimStatus() {
this.ifClaim = this.companyInfo.claimStatus;
......@@ -406,6 +403,7 @@ export default {
statistic: {
handler(newVal, oldVal) {
this.childStatistic = newVal;
this.resetGrapList();
this.handleStatistic();
},
deep: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment