PMCORE-3306: remove sendBy filter in draft list

remove debugger

fix code style

fix init filters

fix advanced search
This commit is contained in:
Rodrigo Quelca
2021-09-10 02:56:19 +00:00
parent be127e5b38
commit 0d01428ecf
10 changed files with 254 additions and 101 deletions

View File

@@ -112,15 +112,14 @@ export default {
getCasesViewMore(data) {
let that = this,
dt,
paged,
typeList = that.data.pageParent == "inbox"? "todo": that.data.pageParent,
limit = data.limit,
start = data.page === 1 ? 0 : limit * (data.page - 1),
filters = {};
paged = start + "," + limit;
filters = {
paged: paged,
limit: limit,
offset: start
};
_.forIn(this.filters, function (item, key) {
if (filters && item.value) {