yuhan 1 рік тому
батько
коміт
80504f12a4

+ 3 - 2
src/views/module_kzks/dashboard/Analysis.vue

@@ -7,8 +7,8 @@
       <a-row :gutter="24">
         <a-col :sm="24" :md="12" :xl="6" :style="{ marginBottom: '24px', cursor: 'pointer' }" v-for="(item, index) in zhibiaoTotal" :key="index" @click="clickItemTotal(item, index)">
           <chart-card :loading="loading" :title="item.title+' (万元) / 当月'" :total="totalPrice(item.monthTotal)">
-            <a-tooltip :title="`点击查看${item.title}明细`" slot="action">
-              <a-icon type="info-circle-o" @click="handleMX(item, index)"/>
+            <a-tooltip :title="`点击查看${item.title}明细`" slot="action" v-if="item.value !== 'lre'">
+              <a-icon type="info-circle-o" @click.stop="handleMX(item, index)"/>
             </a-tooltip>
             <div>
               <trend :flag="setJiantou(item.monthTb)" style="margin-right: 16px;">
@@ -444,6 +444,7 @@
       handleMX(item, index){
         // console.log(9898,item, index)
         this.listData = item
+        this.$refs.modalForm.getList()
       },
       //限制选择年份
       disabledYear(current){

+ 4 - 3
src/views/module_kzks/dashboard/components/listModal.vue

@@ -6,7 +6,8 @@
     switchFullscreen
     :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
     @cancel="handleCancel"
-    cancelText="关闭">
+    :footer="false">
+    <!-- cancelText="关闭" -->
     <a-table
         ref="table"
         size="middle"
@@ -21,9 +22,9 @@
     </a-table>
     <!-- 合同额 -->
     <!-- <list-modal-list :listData = "dataXQ"></list-modal-list> -->
-    <template slot="footer">
+    <!-- <template slot="footer">
         <a-button @click="handleCancel">取消</a-button>
-    </template>
+    </template> -->
   </j-modal>
 </template>