Browse Source

no message

aXin-0810 9 months ago
parent
commit
e4c4f11a5b

+ 28 - 6
src/views/engineerFeeSettlement/dailyMaintenanceBalance/deductionForMaster/index.vue

@@ -39,7 +39,27 @@ export default {
   computed: {
     // 更多参数
     moreParameters() {
-      return []
+      return [
+        {
+          name: '工单类型',
+          key: 'isBuckle',
+          value: '',
+          conditions: [
+            {
+              label: '全部',
+              value: ''
+            },
+            {
+              label: '未扣除',
+              value: 'false'
+            },
+            {
+              label: '已扣除',
+              value: 'true'
+            }
+          ]
+        }
+      ]
     },
     optionsEvensGroup() {
       return []
@@ -48,12 +68,14 @@ export default {
   methods: {
     // 列表请求函数
     getList(p, cb) {
+      var pam = JSON.parse(JSON.stringify(p))
       try {
-        cb && cb(p)
-        return dailySummaryBuckleList(p)
-      } catch (error) {
-        console.log(error)
-      }
+        if (pam.isBuckle) {
+          pam.params.push({ param: 'a.is_buckle', compare: '=', value: pam.isBuckle })
+        }
+        cb && cb(pam)
+        return dailySummaryBuckleList(pam)
+      } catch (err) {}
     },
     // 列表导出函数
     exportList: dailySummaryBuckleExport,

+ 59 - 11
src/views/engineerFeeSettlement/dailyMaintenanceBalance/feesWillBeRefunded/index.vue

@@ -38,6 +38,7 @@
           :exportList="exportList2"
           :options-evens-group="optionsEvensGroup2"
           :operation="operation2()"
+          :moreParameters="moreParameters2"
           expCode="exp2"
         >
         </template-page>
@@ -95,7 +96,50 @@ export default {
   computed: {
     // 更多参数
     moreParameters() {
-      return []
+      return [
+        {
+          name: '工单类型',
+          key: 'doStatus',
+          value: '',
+          conditions: [
+            {
+              label: '全部',
+              value: ''
+            },
+            {
+              label: '未执行',
+              value: '2'
+            },
+            {
+              label: '已执行',
+              value: '1'
+            }
+          ]
+        }
+      ]
+    },
+    moreParameters2() {
+      return [
+        {
+          name: '工单类型',
+          key: 'doStatus',
+          value: '',
+          conditions: [
+            {
+              label: '全部',
+              value: ''
+            },
+            {
+              label: '未执行',
+              value: '2'
+            },
+            {
+              label: '已执行',
+              value: '1'
+            }
+          ]
+        }
+      ]
     },
     optionsEvensGroup() {
       return [
@@ -159,20 +203,24 @@ export default {
   methods: {
     // 列表请求函数
     getList(p, cb) {
+      var pam = JSON.parse(JSON.stringify(p))
       try {
-        cb && cb(p)
-        return dailySummaryReduceTotal(p)
-      } catch (error) {
-        console.log(error)
-      }
+        if (pam.doStatus) {
+          pam.params.push({ param: 'a.do_status', compare: '=', value: pam.doStatus })
+        }
+        cb && cb(pam)
+        return dailySummaryReduceTotal(pam)
+      } catch (err) {}
     },
     getList2(p, cb) {
+      var pam = JSON.parse(JSON.stringify(p))
       try {
-        cb && cb(p)
-        return dailySummaryReduceList(p)
-      } catch (error) {
-        console.log(error)
-      }
+        if (pam.doStatus) {
+          pam.params.push({ param: 'a.do_status', compare: '=', value: pam.doStatus })
+        }
+        cb && cb(pam)
+        return dailySummaryReduceList(pam)
+      } catch (err) {}
     },
     // 列表导出函数
     exportList2: dailySummaryReduceListExport,

+ 59 - 11
src/views/engineerFeeSettlement/dailyMaintenanceBalance/increaseAndDecreaseExpense/index.vue

@@ -38,6 +38,7 @@
           :exportList="exportList2"
           :options-evens-group="optionsEvensGroup2"
           :operation="operation2()"
+          :moreParameters="moreParameters2"
           expCode="exp2"
         >
         </template-page>
@@ -94,7 +95,50 @@ export default {
   computed: {
     // 更多参数
     moreParameters() {
-      return []
+      return [
+        {
+          name: '工单类型',
+          key: 'doStatus',
+          value: '',
+          conditions: [
+            {
+              label: '全部',
+              value: ''
+            },
+            {
+              label: '未执行',
+              value: '2'
+            },
+            {
+              label: '已执行',
+              value: '1'
+            }
+          ]
+        }
+      ]
+    },
+    moreParameters2() {
+      return [
+        {
+          name: '工单类型',
+          key: 'doStatus',
+          value: '',
+          conditions: [
+            {
+              label: '全部',
+              value: ''
+            },
+            {
+              label: '未执行',
+              value: '2'
+            },
+            {
+              label: '已执行',
+              value: '1'
+            }
+          ]
+        }
+      ]
     },
     optionsEvensGroup() {
       return [
@@ -158,20 +202,24 @@ export default {
   methods: {
     // 列表请求函数
     getList(p, cb) {
+      var pam = JSON.parse(JSON.stringify(p))
       try {
-        cb && cb(p)
-        return dailySummaryReduceCountList(p)
-      } catch (error) {
-        console.log(error)
-      }
+        if (pam.doStatus) {
+          pam.params.push({ param: 'a.do_status', compare: '=', value: pam.doStatus })
+        }
+        cb && cb(pam)
+        return dailySummaryReduceCountList(pam)
+      } catch (err) {}
     },
     getList2(p, cb) {
+      var pam = JSON.parse(JSON.stringify(p))
       try {
-        cb && cb(p)
-        return dailySummaryIncrDecrCostList(p)
-      } catch (error) {
-        console.log(error)
-      }
+        if (pam.doStatus) {
+          pam.params.push({ param: 'a.do_status', compare: '=', value: pam.doStatus })
+        }
+        cb && cb(pam)
+        return dailySummaryIncrDecrCostList(pam)
+      } catch (err) {}
     },
     // 列表导出函数
     exportList2: dailySummaryIncrDecrCostListExport,

+ 67 - 11
src/views/engineerFeeSettlement/dailyMaintenanceBalance/settlementDataImport/index.vue

@@ -38,6 +38,7 @@
           :exportList="exportList2"
           :options-evens-group="optionsEvensGroup2"
           :operation="operation2()"
+          :moreParameters="moreParameters2"
         >
         </template-page>
       </div>
@@ -94,7 +95,58 @@ export default {
   computed: {
     // 更多参数
     moreParameters() {
-      return []
+      return [
+        {
+          name: '工单类型',
+          key: 'summaryStatus',
+          value: '',
+          conditions: [
+            {
+              label: '全部',
+              value: ''
+            },
+            {
+              label: '未汇总',
+              value: '2'
+            },
+            {
+              label: '已汇总',
+              value: '1'
+            }
+          ]
+        }
+      ]
+    },
+    moreParameters2() {
+      return [
+        {
+          name: '工单类型',
+          key: 'summaryStatus',
+          value: '',
+          conditions: [
+            {
+              label: '全部',
+              value: ''
+            },
+            {
+              label: '未汇总',
+              value: '2'
+            },
+            {
+              label: '已汇总',
+              value: '1'
+            },
+            {
+              label: '暂不结算',
+              value: '3'
+            },
+            {
+              label: '已驳回',
+              value: '4'
+            }
+          ]
+        }
+      ]
     },
     optionsEvensGroup() {
       return [
@@ -174,20 +226,24 @@ export default {
   methods: {
     // 列表请求函数
     getList(p, cb) {
+      var pam = JSON.parse(JSON.stringify(p))
       try {
-        cb && cb(p)
-        return dailySummaryList(p)
-      } catch (error) {
-        console.log(error)
-      }
+        if (pam.summaryStatus) {
+          pam.params.push({ param: 'a.summary_status', compare: '=', value: pam.summaryStatus })
+        }
+        cb && cb(pam)
+        return dailySummaryList(pam)
+      } catch (err) {}
     },
     getList2(p, cb) {
+      var pam = JSON.parse(JSON.stringify(p))
       try {
-        cb && cb(p)
-        return dailySummaryRepairDetailList(p)
-      } catch (error) {
-        console.log(error)
-      }
+        if (pam.summaryStatus) {
+          pam.params.push({ param: 'a.summary_status', compare: '=', value: pam.summaryStatus })
+        }
+        cb && cb(pam)
+        return dailySummaryRepairDetailList(pam)
+      } catch (err) {}
     },
     // 列表导出函数
     exportList2: dailySummaryRepairDetailListExport,