Explorar o código

fix : 指标状态核查查看指标详情

梦辉 hai 1 ano
pai
achega
3969a77bcd

+ 2 - 2
src/subPages/pages/commitment/commitmentDetail/components/IndicatorComponents.vue

@@ -102,7 +102,7 @@ export default {
         if (res.code === 0) {
           this.$toast('核查成功')
           this.formStatesInitFlag = false
-          this.$store.dispatch('template/getPromiseDetail1',this.$route.query.uuid)
+          this.$store.dispatch('template/getPromiseDetail',this.$route.query.uuid)
         }else {
           this.$toast('核查失败' + res.msg)
         }
@@ -193,7 +193,7 @@ export default {
               label="附件"
           >
             <template #input>
-              <view class="file-style">
+              <view v-if="item.expandStr" class="file-style">
                 <view v-for="(item,index) in item.expandStr.split(',')" @click="handleFileDown(item)" :key="index">
                   附件{{ index + 1 }}
                 </view>