Просмотр исходного кода

文件查阅下拉刷新问题修改

lidie 1 год назад
Родитель
Сommit
affbeabc82
1 измененных файлов с 1 добавлено и 17 удалено
  1. 1 17
      src/views/platform/bpmn/documents/test.vue

+ 1 - 17
src/views/platform/bpmn/documents/test.vue

@@ -56,20 +56,7 @@
                                 <van-col span="8">发布时间</van-col>
                                 <van-col span="16">{{ item.fa_fang_shi_jian_===''?'/':item.fa_fang_shi_jian_===null?'/':item.fa_fang_shi_jian_===undefined?'/':item.fa_fang_shi_jian_ }}</van-col>
                             </van-row>
-                            <!-- <van-row> -->
-                            <!-- <van-col span="12">附件</van-col>
-                                <van-col span="12">{{ item.fu_jian_===''?'/':item.fu_jian_===null?'/':item.fu_jian_===undefined?'/':item.fu_jian_ }}</van-col> -->
-                            <!-- </van-row> -->
                         </template>
-                        <!-- <span>{{ item.createTime|formatRelativeTime }}</span> -->
-                        <!-- <div>
-                            <van-tag
-                                size="medium"
-                                :color="item.status | optionsFilter(bpmnStatusOptions,'type') | optionsFilter(colorOptions,'color','type')"
-                                :text-color="item.status | optionsFilter(bpmnStatusOptions,'type') | optionsFilter(colorOptions,'textColor','type')"
-                            >
-                                {{ item.status| optionsFilter(bpmnStatusOptions) }}</van-tag>
-                        </div> -->
                     </van-cell>
                 </van-checkbox-group>
                 <ibps-list-result-page :result-type="resultType" :error-type="errorType" :result-message="resultMessage" />
@@ -240,7 +227,6 @@ export default {
     mounted() {
         this.$nextTick(() => {
             const timer = setInterval(() => {
-                console.log(1111)
                 if (this.$refs.typeTree && this.$refs.typeTree.treeData[0]) {
                     this.clickTypeNode(this.$refs.typeTree.treeData[0])
                     clearInterval(timer)
@@ -273,7 +259,6 @@ export default {
                 return
             }
             for (var i in this.searchWhere) {
-                // console.log('i', i)
                 if (i === 'b') {
                     start = this.searchWhere[i]
                 }
@@ -396,8 +381,6 @@ export default {
             } else {
                 page = this.current * 10
             }
-            this.loading = true
-            // this.refreshing = false
             const sqlPart = this.getData()
             if (!sqlPart) return
             const sql = sqlPart + ' ' + `LIMIT ${page},10`
@@ -419,6 +402,7 @@ export default {
                     this.current++
                 }
                 this.loading = false
+                this.refreshing = false
             }).catch(e => {
                 console.log(e)
             })