fix
Showing
1 changed file
with
32 additions
and
28 deletions
| ... | @@ -188,6 +188,7 @@ const tableInfo = ref({ | ... | @@ -188,6 +188,7 @@ const tableInfo = ref({ |
| 188 | 188 | ||
| 189 | const getTableData = () => { | 189 | const getTableData = () => { |
| 190 | tableInfo.value.loading = true; | 190 | tableInfo.value.loading = true; |
| 191 | // flowDetailLoading.value = true; | ||
| 191 | getListingList( | 192 | getListingList( |
| 192 | Object.assign({}, searchItemValue.value, { | 193 | Object.assign({}, searchItemValue.value, { |
| 193 | pageIndex: page.value.curr, | 194 | pageIndex: page.value.curr, |
| ... | @@ -196,6 +197,7 @@ const getTableData = () => { | ... | @@ -196,6 +197,7 @@ const getTableData = () => { |
| 196 | ) | 197 | ) |
| 197 | .then((res: any) => { | 198 | .then((res: any) => { |
| 198 | tableInfo.value.loading = false; | 199 | tableInfo.value.loading = false; |
| 200 | // flowDetailLoading.value = false; | ||
| 199 | tableInfo.value.data = res.data.records || []; | 201 | tableInfo.value.data = res.data.records || []; |
| 200 | tableInfo.value.page.curr = res.data.pageIndex; | 202 | tableInfo.value.page.curr = res.data.pageIndex; |
| 201 | tableInfo.value.page.limit = res.data.pageSize; | 203 | tableInfo.value.page.limit = res.data.pageSize; |
| ... | @@ -203,6 +205,7 @@ const getTableData = () => { | ... | @@ -203,6 +205,7 @@ const getTableData = () => { |
| 203 | }) | 205 | }) |
| 204 | .catch((res) => { | 206 | .catch((res) => { |
| 205 | tableInfo.value.loading = false; | 207 | tableInfo.value.loading = false; |
| 208 | // flowDetailLoading.value = false; | ||
| 206 | }); | 209 | }); |
| 207 | }; | 210 | }; |
| 208 | 211 | ||
| ... | @@ -908,39 +911,40 @@ const formInfo = ref<any>({ | ... | @@ -908,39 +911,40 @@ const formInfo = ref<any>({ |
| 908 | <el-button type="primary" @click="toPatn1('add', 'add1')" v-preReClick>新建</el-button> | 911 | <el-button type="primary" @click="toPatn1('add', 'add1')" v-preReClick>新建</el-button> |
| 909 | </div> --> | 912 | </div> --> |
| 910 | </div> | 913 | </div> |
| 911 | <div class="list-content" v-if="demandListData.length > 0" v-loading="flowDetailLoading"> | 914 | <div v-loading="flowDetailLoading"> |
| 912 | <div class="card-content" v-for="item in demandListData" :key="item.guid"> | 915 | <div class="list-content" v-if="demandListData.length > 0"> |
| 913 | <div class="header"> | 916 | <div class="card-content" v-for="item in demandListData" :key="item.guid"> |
| 914 | <div class="header-top"> | 917 | <div class="header"> |
| 915 | <img class="left-img" :src="(item.picUrl && typeof item.picUrl == 'string') ? item.picUrl : defaultItemLogo" | 918 | <div class="header-top"> |
| 916 | alt="" /> | 919 | <img class="left-img" |
| 917 | <div class="title">{{ item.exchangeName ?? '--' }}</div> | 920 | :src="(item.picUrl && typeof item.picUrl == 'string') ? item.picUrl : defaultItemLogo" alt="" /> |
| 918 | </div> | 921 | <div class="title">{{ item.exchangeName ?? '--' }}</div> |
| 919 | <div class="right-main"> | 922 | </div> |
| 920 | <div class="count-group"> | 923 | <div class="right-main"> |
| 921 | <div class="count-item"> | 924 | <div class="count-group"> |
| 922 | <div class="item-label">已上架产品数</div> | 925 | <div class="count-item"> |
| 923 | <div class="item-num">{{ item.listingNum || '--' }}</div> | 926 | <div class="item-label">已上架产品数</div> |
| 924 | </div> | 927 | <div class="item-num">{{ item.listingNum || '--' }}</div> |
| 925 | <div class="count-item"> | 928 | </div> |
| 926 | <div class="item-label">审批中产品数</div> | 929 | <div class="count-item"> |
| 927 | <div class="item-num">{{ item.underReviewNum || '--' }}</div> | 930 | <div class="item-label">审批中产品数</div> |
| 931 | <div class="item-num">{{ item.underReviewNum || '--' }}</div> | ||
| 932 | </div> | ||
| 928 | </div> | 933 | </div> |
| 929 | </div> | 934 | </div> |
| 930 | </div> | 935 | </div> |
| 931 | </div> | 936 | <div class="operator-btn" @click="btnClick(item)"> |
| 932 | <div class="operator-btn" @click="btnClick(item)"> | 937 | <!-- <div class="left-btn">更新模板</div> --> |
| 933 | <!-- <div class="left-btn">更新模板</div> --> | 938 | <div class="right-btn">产品上架</div> |
| 934 | <div class="right-btn">产品上架</div> | 939 | </div> |
| 935 | </div> | 940 | </div> |
| 936 | </div> | 941 | </div> |
| 937 | </div> | 942 | <div class="v-tip"> |
| 938 | <div class="v-tip"> | 943 | <div class="tip-icon"></div> |
| 939 | <div class="tip-icon"></div> | 944 | <div class="tip-des"> |
| 940 | <div class="tip-des"> | 945 | 在各数交所上架时,会同时在门户、专区和主平台门户进行展示;在门户上架则只会在门户上架,不会在数交所、专区及主平台门户上架。 |
| 941 | 在各数交所上架时,会同时在门户、专区和主平台门户进行展示;在门户上架则只会在门户上架,不会在数交所、专区及主平台门户上架。 | 946 | </div> |
| 942 | </div> | 947 | </div> |
| 943 | |||
| 944 | </div> | 948 | </div> |
| 945 | <div class="table_panel_wrap" :style="{ | 949 | <div class="table_panel_wrap" :style="{ |
| 946 | height: demandListData.length > 0 ? 'calc(100% - 230px)' : 'calc(100% - 54px)' | 950 | height: demandListData.length > 0 ? 'calc(100% - 230px)' : 'calc(100% - 54px)' |
| ... | @@ -987,7 +991,7 @@ const formInfo = ref<any>({ | ... | @@ -987,7 +991,7 @@ const formInfo = ref<any>({ |
| 987 | 991 | ||
| 988 | .list-content { | 992 | .list-content { |
| 989 | display: flex; | 993 | display: flex; |
| 990 | justify-content: flex-start; | 994 | |
| 991 | flex-wrap: wrap; | 995 | flex-wrap: wrap; |
| 992 | padding: 0 8px; | 996 | padding: 0 8px; |
| 993 | 997 | ... | ... |
-
Please register or sign in to post a comment