Commit 8defff03 by caoyanzhi

企业列表接口联调

parent 655c76b7
...@@ -6,4 +6,4 @@ let api = { ...@@ -6,4 +6,4 @@ let api = {
refreshEnterpriseInfo: '/setting/wx-enterprise-info-flush', // 刷新企业信息 refreshEnterpriseInfo: '/setting/wx-enterprise-info-flush', // 刷新企业信息
} }
export default getFetch(api, '/hb-manage-web'); export default getFetch(api, '/hb-manage-operation-web');
...@@ -17,4 +17,4 @@ const api = { ...@@ -17,4 +17,4 @@ const api = {
appVersionList: '/app-version-list', // 获取应用版本列表 appVersionList: '/app-version-list', // 获取应用版本列表
} }
export default getFetch(api, '/hb-manage-web'); export default getFetch(api, '/hb-manage-operation-web');
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
<div style="padding: 20px"> <div style="padding: 20px">
<h3 class="model-title"> <h3 class="model-title">
企业信息 企业信息
<el-button type="text" @click="onRefresh">刷新企业</el-button> <!-- 大华说不需要刷新企业 -->
<el-button v-if="false" type="text" @click="onRefresh">刷新企业</el-button>
</h3> </h3>
<el-form label-width="140px"> <el-form label-width="140px">
<el-form-item label="小程序版本">免费版</el-form-item> <el-form-item label="小程序版本">免费版</el-form-item>
...@@ -11,7 +12,9 @@ ...@@ -11,7 +12,9 @@
<el-tag :type="enterpriseDetail.corpType == 'verified' ? '' : 'info'" effect="plain" style="margin: 0 10px;"> <el-tag :type="enterpriseDetail.corpType == 'verified' ? '' : 'info'" effect="plain" style="margin: 0 10px;">
{{ enterpriseDetail.corpType == 'verified' ? '已认证' : '未认证' }} {{ enterpriseDetail.corpType == 'verified' ? '已认证' : '未认证' }}
</el-tag> </el-tag>
<span class="end-time">认证到期 {{ enterpriseDetail.verifiedEndTime | timeStampToYmd }}</span> <span class="end-time" v-if="enterpriseDetail.verifiedEndTime">
认证到期 {{ enterpriseDetail.verifiedEndTime | timeStampToYmd }}
</span>
</el-form-item> </el-form-item>
<el-form-item label="企业ID">{{ enterpriseDetail.corpId || '--' }}</el-form-item> <el-form-item label="企业ID">{{ enterpriseDetail.corpId || '--' }}</el-form-item>
<el-form-item label="行业类型">{{ enterpriseDetail.corpIndustry || '--' }}</el-form-item> <el-form-item label="行业类型">{{ enterpriseDetail.corpIndustry || '--' }}</el-form-item>
...@@ -87,13 +90,13 @@ export default { ...@@ -87,13 +90,13 @@ export default {
return this.$router.go(-1); return this.$router.go(-1);
} }
this.enterpriseId = enterpriseId; this.enterpriseId = enterpriseId;
// this.getEnterpriseDetail(); this.getEnterpriseDetail();
this.$emit('updateBread', this.bread); this.$emit('updateBread', this.bread);
}, },
methods: { methods: {
getEnterpriseDetail() { getEnterpriseDetail() {
getEnterpriseDetail({ wxEnterpriseId: this.enterpriseId }).then(res => { getEnterpriseDetail({ wxEnterpriseId: this.enterpriseId }).then(res => {
this.getEnterpriseDetail = res.result || {}; this.enterpriseDetail = res.result || {};
}) })
}, },
onRefresh() { onRefresh() {
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
} }
}, },
created() { created() {
// this.getEnterpriseList(); this.getEnterpriseList();
}, },
methods: { methods: {
// 获取企业列表 // 获取企业列表
......
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