|
@@ -8,8 +8,8 @@
|
|
:moreParameters="moreParameters"
|
|
:moreParameters="moreParameters"
|
|
:column-parsing="columnParsing"
|
|
:column-parsing="columnParsing"
|
|
:exportList="exportList"
|
|
:exportList="exportList"
|
|
- :operation="operation()"
|
|
|
|
>
|
|
>
|
|
|
|
+ <!-- :operation="operation()" -->
|
|
</template-page>
|
|
</template-page>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -41,7 +41,35 @@ export default {
|
|
computed: {
|
|
computed: {
|
|
// 更多参数
|
|
// 更多参数
|
|
moreParameters() {
|
|
moreParameters() {
|
|
- return []
|
|
|
|
|
|
+ return [
|
|
|
|
+ {
|
|
|
|
+ name: '工单类型',
|
|
|
|
+ key: 'status',
|
|
|
|
+ value: '',
|
|
|
|
+ conditions: [
|
|
|
|
+ {
|
|
|
|
+ label: '全部',
|
|
|
|
+ value: ''
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: '未发放',
|
|
|
|
+ value: '1'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: '已发放',
|
|
|
|
+ value: '2'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: '暂不结算',
|
|
|
|
+ value: '4'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: '已扣回',
|
|
|
|
+ value: '5'
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
},
|
|
},
|
|
optionsEvensGroup() {
|
|
optionsEvensGroup() {
|
|
return []
|
|
return []
|
|
@@ -50,12 +78,14 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// 列表请求函数
|
|
// 列表请求函数
|
|
getList(p, cb) {
|
|
getList(p, cb) {
|
|
|
|
+ var pam = JSON.parse(JSON.stringify(p))
|
|
try {
|
|
try {
|
|
- cb && cb(p)
|
|
|
|
- return dailySummaryRepiarAllList(p)
|
|
|
|
- } catch (error) {
|
|
|
|
- console.log(error)
|
|
|
|
- }
|
|
|
|
|
|
+ if (pam.status) {
|
|
|
|
+ pam.params.push({ param: 'c.status', compare: '=', value: pam.status })
|
|
|
|
+ }
|
|
|
|
+ cb && cb(pam)
|
|
|
|
+ return dailySummaryRepiarAllList(pam)
|
|
|
|
+ } catch (err) {}
|
|
},
|
|
},
|
|
// 列表导出函数
|
|
// 列表导出函数
|
|
exportList: dailySummaryRepiarAllListExport,
|
|
exportList: dailySummaryRepiarAllListExport,
|