|
@@ -488,6 +488,18 @@ export default {
|
|
|
return {};
|
|
return {};
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
|
|
+ sortStr: {
|
|
|
|
|
+ type: String,
|
|
|
|
|
+ default: null,
|
|
|
|
|
+ },
|
|
|
|
|
+ simpleFilterParams: {
|
|
|
|
|
+ type: String,
|
|
|
|
|
+ default: null,
|
|
|
|
|
+ },
|
|
|
|
|
+ complexFilterParams: {
|
|
|
|
|
+ type: Object,
|
|
|
|
|
+ default: null,
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
emits: ['update:open', 'OpenTabFormView'],
|
|
emits: ['update:open', 'OpenTabFormView'],
|
|
|
data: function () {
|
|
data: function () {
|
|
@@ -1623,6 +1635,9 @@ export default {
|
|
|
currentIndex: currIndex,
|
|
currentIndex: currIndex,
|
|
|
totalRecords: totalCount,
|
|
totalRecords: totalCount,
|
|
|
uuid: _self.uuid,
|
|
uuid: _self.uuid,
|
|
|
|
|
+ sortStr: _self.sortStr,
|
|
|
|
|
+ simpleFilterParams: _self.simpleFilterParams,
|
|
|
|
|
+ complexFilterParams: _self.complexFilterParams,
|
|
|
};
|
|
};
|
|
|
_self.$emit('OpenTabFormView', data);
|
|
_self.$emit('OpenTabFormView', data);
|
|
|
} else if (_self.type == 'create') {
|
|
} else if (_self.type == 'create') {
|
|
@@ -1636,6 +1651,9 @@ export default {
|
|
|
currentIndex: 1,
|
|
currentIndex: 1,
|
|
|
totalRecords: (Number(totalCount) + 1),
|
|
totalRecords: (Number(totalCount) + 1),
|
|
|
uuid: _self.uuid,
|
|
uuid: _self.uuid,
|
|
|
|
|
+ sortStr: _self.sortStr,
|
|
|
|
|
+ simpleFilterParams: _self.simpleFilterParams,
|
|
|
|
|
+ complexFilterParams: _self.complexFilterParams,
|
|
|
};
|
|
};
|
|
|
_self.$emit('OpenTabFormView', data);
|
|
_self.$emit('OpenTabFormView', data);
|
|
|
|
|
|
|
@@ -1651,6 +1669,9 @@ export default {
|
|
|
currentIndex: 1,
|
|
currentIndex: 1,
|
|
|
totalRecords: 1,
|
|
totalRecords: 1,
|
|
|
uuid: _self.uuid,
|
|
uuid: _self.uuid,
|
|
|
|
|
+ sortStr: _self.sortStr,
|
|
|
|
|
+ simpleFilterParams: _self.simpleFilterParams,
|
|
|
|
|
+ complexFilterParams: _self.complexFilterParams,
|
|
|
};
|
|
};
|
|
|
_self.$emit('OpenTabFormView', data);
|
|
_self.$emit('OpenTabFormView', data);
|
|
|
}
|
|
}
|
|
@@ -2074,6 +2095,9 @@ export default {
|
|
|
currentIndex: currIndex,
|
|
currentIndex: currIndex,
|
|
|
totalRecords: totalCount,
|
|
totalRecords: totalCount,
|
|
|
uuid: _self.uuid,
|
|
uuid: _self.uuid,
|
|
|
|
|
+ sortStr: _self.sortStr,
|
|
|
|
|
+ simpleFilterParams: _self.simpleFilterParams,
|
|
|
|
|
+ complexFilterParams: _self.complexFilterParams,
|
|
|
};
|
|
};
|
|
|
_self.$emit('OpenTabFormView', data);
|
|
_self.$emit('OpenTabFormView', data);
|
|
|
}
|
|
}
|
|
@@ -2144,36 +2168,42 @@ export default {
|
|
|
},
|
|
},
|
|
|
tabIndex: _self.tabIndex,
|
|
tabIndex: _self.tabIndex,
|
|
|
windowNo: _self.windowNo,
|
|
windowNo: _self.windowNo,
|
|
|
|
|
+ sortStr: _self.sortStr,
|
|
|
|
|
+ simpleFilterParams: _self.simpleFilterParams,
|
|
|
|
|
+ complexFilterParams: _self.complexFilterParams,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- UserStorageResource.uniqueByKey(_self.uuid).then(
|
|
|
|
|
- successData => {
|
|
|
|
|
- // if(successData.errorCode != 0) {
|
|
|
|
|
- // Notify.error('提示', successData.errorMessage, false);
|
|
|
|
|
- // return;
|
|
|
|
|
- // }
|
|
|
|
|
- let simpleFilterParams = null;
|
|
|
|
|
-
|
|
|
|
|
- let complexFilterParams = null;
|
|
|
|
|
-
|
|
|
|
|
- if (successData.data != null && successData.data != '') {
|
|
|
|
|
- let temp = JSON.parse(successData.data);
|
|
|
|
|
- // 分页数据
|
|
|
|
|
-
|
|
|
|
|
- // 简单过滤条件
|
|
|
|
|
- tabQueryParam.simpleFilterCondition = temp.simpleFilterParams;
|
|
|
|
|
- // 复杂过滤条件
|
|
|
|
|
- tabQueryParam.filterParams = temp.complexFilterParams;
|
|
|
|
|
- // 排序
|
|
|
|
|
- tabQueryParam.sortStr = temp.sortStr;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ _self.loadTabData(tabQueryParam);
|
|
|
|
|
|
|
|
- _self.loadTabData(tabQueryParam);
|
|
|
|
|
- },
|
|
|
|
|
- errorData => {
|
|
|
|
|
- Common.processException(errorData);
|
|
|
|
|
- },
|
|
|
|
|
- );
|
|
|
|
|
|
|
+ // 接口存在问题,查询参数结果异常,暂时注释掉,使用前端数据
|
|
|
|
|
+ // UserStorageResource.uniqueByKey(_self.uuid).then(
|
|
|
|
|
+ // successData => {
|
|
|
|
|
+ // // if(successData.errorCode != 0) {
|
|
|
|
|
+ // // Notify.error('提示', successData.errorMessage, false);
|
|
|
|
|
+ // // return;
|
|
|
|
|
+ // // }
|
|
|
|
|
+ // let simpleFilterParams = null;
|
|
|
|
|
+
|
|
|
|
|
+ // let complexFilterParams = null;
|
|
|
|
|
+
|
|
|
|
|
+ // if (successData.data != null && successData.data != '') {
|
|
|
|
|
+ // let temp = JSON.parse(successData.data);
|
|
|
|
|
+ // // 分页数据
|
|
|
|
|
+
|
|
|
|
|
+ // // 简单过滤条件
|
|
|
|
|
+ // tabQueryParam.simpleFilterCondition = temp.simpleFilterParams;
|
|
|
|
|
+ // // 复杂过滤条件
|
|
|
|
|
+ // tabQueryParam.filterParams = temp.complexFilterParams;
|
|
|
|
|
+ // // 排序
|
|
|
|
|
+ // tabQueryParam.sortStr = temp.sortStr;
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
|
|
+ // _self.loadTabData(tabQueryParam);
|
|
|
|
|
+ // },
|
|
|
|
|
+ // errorData => {
|
|
|
|
|
+ // Common.processException(errorData);
|
|
|
|
|
+ // },
|
|
|
|
|
+ // );
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -2200,32 +2230,38 @@ export default {
|
|
|
},
|
|
},
|
|
|
tabIndex: _self.tabIndex,
|
|
tabIndex: _self.tabIndex,
|
|
|
windowNo: _self.windowNo,
|
|
windowNo: _self.windowNo,
|
|
|
|
|
+ sortStr: _self.sortStr,
|
|
|
|
|
+ simpleFilterParams: _self.simpleFilterParams,
|
|
|
|
|
+ complexFilterParams: _self.complexFilterParams,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- UserStorageResource.uniqueByKey(_self.uuid).then(
|
|
|
|
|
- successData => {
|
|
|
|
|
- // if(successData.errorCode != 0) {
|
|
|
|
|
- // Notify.error('提示', successData.errorMessage, false);
|
|
|
|
|
- // return;
|
|
|
|
|
- // }
|
|
|
|
|
- if (successData.data != null && successData.data != '') {
|
|
|
|
|
- let temp = JSON.parse(successData.data);
|
|
|
|
|
- // 分页数据
|
|
|
|
|
-
|
|
|
|
|
- // 简单过滤条件
|
|
|
|
|
- tabQueryParam.simpleFilterCondition = temp.simpleFilterParams;
|
|
|
|
|
- // 复杂过滤条件
|
|
|
|
|
- tabQueryParam.filterParams = temp.complexFilterParams;
|
|
|
|
|
- // 排序
|
|
|
|
|
- tabQueryParam.sortStr = temp.sortStr;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- _self.loadTabData(tabQueryParam);
|
|
|
|
|
- },
|
|
|
|
|
- errorData => {
|
|
|
|
|
- Common.processException(errorData);
|
|
|
|
|
- },
|
|
|
|
|
- );
|
|
|
|
|
|
|
+ _self.loadTabData(tabQueryParam);
|
|
|
|
|
+
|
|
|
|
|
+ // 接口存在问题,查询参数结果异常,暂时注释掉,使用前端数据
|
|
|
|
|
+ // UserStorageResource.uniqueByKey(_self.uuid).then(
|
|
|
|
|
+ // successData => {
|
|
|
|
|
+ // // if(successData.errorCode != 0) {
|
|
|
|
|
+ // // Notify.error('提示', successData.errorMessage, false);
|
|
|
|
|
+ // // return;
|
|
|
|
|
+ // // }
|
|
|
|
|
+ // if (successData.data != null && successData.data != '') {
|
|
|
|
|
+ // let temp = JSON.parse(successData.data);
|
|
|
|
|
+ // // 分页数据
|
|
|
|
|
+
|
|
|
|
|
+ // // 简单过滤条件
|
|
|
|
|
+ // tabQueryParam.simpleFilterCondition = temp.simpleFilterParams;
|
|
|
|
|
+ // // 复杂过滤条件
|
|
|
|
|
+ // tabQueryParam.filterParams = temp.complexFilterParams;
|
|
|
|
|
+ // // 排序
|
|
|
|
|
+ // tabQueryParam.sortStr = temp.sortStr;
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
|
|
+ // _self.loadTabData(tabQueryParam);
|
|
|
|
|
+ // },
|
|
|
|
|
+ // errorData => {
|
|
|
|
|
+ // Common.processException(errorData);
|
|
|
|
|
+ // },
|
|
|
|
|
+ // );
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
/**
|