|
@@ -434,6 +434,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
openComplex:function(value){
|
|
openComplex:function(value){
|
|
|
this.isComplex = value;
|
|
this.isComplex = value;
|
|
|
|
|
+ this.searchType = 'complex';
|
|
|
},
|
|
},
|
|
|
// 页码数量改变
|
|
// 页码数量改变
|
|
|
gridSizeSelect: function (newPageSize) {
|
|
gridSizeSelect: function (newPageSize) {
|
|
@@ -620,10 +621,7 @@ export default {
|
|
|
|
|
|
|
|
queryInfoWindowDataSimple: function () {
|
|
queryInfoWindowDataSimple: function () {
|
|
|
var _self = this;
|
|
var _self = this;
|
|
|
- if (_self.$refs.loading) {
|
|
|
|
|
- _self.loading = true;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
|
|
+ _self.loading = true;
|
|
|
_self.infoQueryParam.whereClauseSource = _self.whereClauseSource;
|
|
_self.infoQueryParam.whereClauseSource = _self.whereClauseSource;
|
|
|
$.ajax({
|
|
$.ajax({
|
|
|
url: Common.getApiURL('InfoWindowResource/queryInfoWindowDataSimple'),
|
|
url: Common.getApiURL('InfoWindowResource/queryInfoWindowDataSimple'),
|
|
@@ -647,11 +645,10 @@ export default {
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
_self.fixedTableHeader();
|
|
_self.fixedTableHeader();
|
|
|
|
|
+ _self.loading = false;
|
|
|
},
|
|
},
|
|
|
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
|
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
|
|
- if (_self.$refs.loading) {
|
|
|
|
|
- _self.loading = false;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ _self.loading = false;
|
|
|
Common.processException(XMLHttpRequest, textStatus, errorThrown);
|
|
Common.processException(XMLHttpRequest, textStatus, errorThrown);
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|
|
@@ -960,11 +957,11 @@ export default {
|
|
|
* 执行导出
|
|
* 执行导出
|
|
|
* @return {void}
|
|
* @return {void}
|
|
|
*/
|
|
*/
|
|
|
- executeExport: function () {
|
|
|
|
|
|
|
+ executeExport: function (isSimple) {
|
|
|
var _self = this;
|
|
var _self = this;
|
|
|
|
|
|
|
|
// var isSimpleQuery = _self.$refs.queryCondition.isSimpleQuery();
|
|
// var isSimpleQuery = _self.$refs.queryCondition.isSimpleQuery();
|
|
|
- if (this.isComplex == false) {
|
|
|
|
|
|
|
+ if (isSimple) {
|
|
|
let condition = _self.$refs.queryCondition.getQueryCondition();
|
|
let condition = _self.$refs.queryCondition.getQueryCondition();
|
|
|
let downloadUrl =
|
|
let downloadUrl =
|
|
|
Common.getApiURL('exportResource/exportInfoDataSimple') +
|
|
Common.getApiURL('exportResource/exportInfoDataSimple') +
|