瀏覽代碼

modify scanbuilding infopoint

haojianlong 5 年之前
父節點
當前提交
048606eb9a
共有 1 個文件被更改,包括 5 次插入8 次删除
  1. 5 8
      src/views/data_admin/buildData/index-2.vue

+ 5 - 8
src/views/data_admin/buildData/index-2.vue

@@ -841,7 +841,7 @@ export default {
       let pa = {
         PageNumber: this.currentPage[this.tabChecked],
         PageSize: this.pageSizeArr[this.tabChecked],
-        Filters: `LastUpdate>='${this.checkTimeArr[0]}';LastUpdate<='${this.checkTimeArr[1]}';BuildingId='${this.buildId}';Family='${this.code}'`
+        Filters: `CreateTime>='${this.checkTimeArr[0]}';CreateTime<='${this.checkTimeArr[1]}';BuildingId='${this.buildId}';Family='${this.code}'`
       }
       // 添加建筑条件
       if (this.floorId == 'noKnow') {
@@ -851,7 +851,7 @@ export default {
       }
       // 添加完成修订条件
       if (this.checked === 0) {
-        pa.Filters += `;Checked=false`
+        pa.Filters += `;Checked=false or Checked isNull`
       }
       // 添加标签条件
       if (!this.pointCheck) {
@@ -1258,14 +1258,11 @@ export default {
     },
     //修改请求
     updateBusiness(data, change, obj) {
-      console.log(data)
-      console.log(change)
-      console.log(obj)
       let pa = {
         Content: data
       }
       updateProperty(pa, res => {
-
+        this.getTabFamily();
       })
     },
     //判断文案是否相同
@@ -1579,8 +1576,8 @@ export default {
       let data = showTools.headerTypeFilter(arr, 'property', false, 'Visible')
       data.unshift({
         type: "checkbox",
-        checkedTemplate: 1,
-        uncheckedTemplate: 0,
+        checkedTemplate: true,
+        uncheckedTemplate: false,
         data: "Checked",
         label: {
           position: "after",