CzRger 1 vuosi sitten
vanhempi
commit
48bbe8d666
2 muutettua tiedostoa jossa 9 lisäystä ja 6 poistoa
  1. 8 6
      src/views/gis/business/enterprise/index.vue
  2. 1 0
      src/views/gis/layout/index.vue

+ 8 - 6
src/views/gis/business/enterprise/index.vue

@@ -5,27 +5,27 @@
       <FocusContentCom class="one" v-loading="loading.statistic">
         <div class="one-top">
           <img src="@/assets/images/gis-business/enterprise_icon1.png" alt=""/>
-<!--          <StatisticTitleCom title="企业总数" :num="statistic.qy.total" unit="家"/>-->
+          <!--          <StatisticTitleCom title="企业总数" :num="statistic.qy.total" unit="家"/>-->
           <StatisticTitleCom title="企业总数" :num="$store.state.gis.tempStatistic.total" unit="家"/>
         </div>
         <div class="one-bottom">
           <div class="one-bottom-item">
             <div class="chart">
-<!--              <PieSimpleChartCom :num="statistic.qy.lgszyjkscsb" :total="statistic.qy.total" color="#00FFFF"/>-->
+              <!--              <PieSimpleChartCom :num="statistic.qy.lgszyjkscsb" :total="statistic.qy.total" color="#00FFFF"/>-->
               <PieSimpleChartCom :num="$store.state.gis.tempStatistic.lgszyjkscsb" :total="$store.state.gis.tempStatistic.total" color="#00FFFF"/>
             </div>
             <div class="text">零关税自用<br/>进口生产设备</div>
           </div>
           <div class="one-bottom-item">
             <div class="chart">
-<!--              <PieSimpleChartCom :num="statistic.qy.jgzzmgs" :total="statistic.qy.total" color="#FFCC8F"/>-->
+              <!--              <PieSimpleChartCom :num="statistic.qy.jgzzmgs" :total="statistic.qy.total" color="#FFCC8F"/>-->
               <PieSimpleChartCom :num="$store.state.gis.tempStatistic.jgzzmgs" :total="$store.state.gis.tempStatistic.total" color="#FFCC8F"/>
             </div>
             <div class="text">加工增值免关税</div>
           </div>
           <div class="one-bottom-item">
             <div class="chart">
-<!--              <PieSimpleChartCom :num="statistic.qy.lgsjkyfl" :total="statistic.qy.total" color="#EB90FF"/>-->
+              <!--              <PieSimpleChartCom :num="statistic.qy.lgsjkyfl" :total="statistic.qy.total" color="#EB90FF"/>-->
               <PieSimpleChartCom :num="$store.state.gis.tempStatistic.lgsjkyfl" :total="$store.state.gis.tempStatistic.total" color="#EB90FF"/>
             </div>
             <div class="text">零关税进口<br/>原辅料</div>
@@ -46,6 +46,8 @@
             link="select"
             label="类型:"
             v-model:param="enterprise.tempForm.type"
+            multiple
+            collapse-tags
             :options="[
               {dictLabel: '零关税自用进口生产设备', dictValue: 'lgszyjkscsb'},
               {dictLabel: '加工增值免关税', dictValue: 'jgzzmgs'},
@@ -183,8 +185,8 @@ export default defineComponent({
       if (state.enterprise.form.name) {
         params.entName = state.enterprise.form.name
       }
-      if (state.enterprise.form.type) {
-        params.entType = store.getters['dictionary/elementTypeMap'].get(state.enterprise.form.type)
+      if (state.enterprise.form.type?.length > 0) {
+        params.entType = state.enterprise.form.type.map(v => store.getters['dictionary/elementTypeMap'].get(v)).join(',')
       }
       that.$api.enterpriseQuery(params).then((res: any) => {
         if (res.resp_code === 0 && res.datas?.length > 0) {

+ 1 - 0
src/views/gis/layout/index.vue

@@ -20,6 +20,7 @@
             :fetch-suggestions="searchHandleMapSearch"
             :popper-append-to-body="false"
             clearable
+            :disabled="true"
             :debounce="800"
             placeholder="请输入关键字进行搜索"
             @select="searchToMapLocation"