Commit c2fd96d6 authored by 何虹's avatar 何虹 💬

断点

parent 978685df
......@@ -21818,7 +21818,7 @@ const UN_CLOSE_BILLS = `${_commonProxy__WEBPACK_IMPORTED_MODULE_0__.COMMON_UTIL_
const SEND_BILLS = `${_commonProxy__WEBPACK_IMPORTED_MODULE_0__.COMMON_UTIL_PROXY}/send_bills/`
const UN_SEND_BILLS = `${_commonProxy__WEBPACK_IMPORTED_MODULE_0__.COMMON_UTIL_PROXY}/un_send_bills/`
const REJECT_BILLS = `${_commonProxy__WEBPACK_IMPORTED_MODULE_0__.COMMON_UTIL_PROXY}/reject_bills/`
const CONFIG_TOOL_API = `${_commonProxy__WEBPACK_IMPORTED_MODULE_0__.COMMON_UTIL_PROXY}/`
const CONFIG_TOOL_API = `${_commonProxy__WEBPACK_IMPORTED_MODULE_0__.CONFIG_TOOL_PROXY}/`
......@@ -21937,7 +21937,8 @@ class Control {
}
return this.requestClient.post(
this.getConfigDbNameApiProxy() || _common_commonModule__WEBPACK_IMPORTED_MODULE_0__.WEB_QUERY,
postData
postData,
this.getInitDbConfigParam()
)
}
// 查询配置
......@@ -21973,7 +21974,8 @@ class Control {
}
return this.requestClient.post(
this.getConfigDbNameApiProxy() || _common_commonModule__WEBPACK_IMPORTED_MODULE_0__.WEB_QUERY_QUERY,
postData
postData,
this.getInitDbConfigParam()
)
}
// 获取将要另存到本地的配置
......@@ -21987,7 +21989,8 @@ class Control {
}
return this.requestClient.post(
this.getConfigDbNameApiProxy() || _common_commonModule__WEBPACK_IMPORTED_MODULE_0__.WEB_QUERY_QUERY_VALUE,
postData
postData,
this.getInitDbConfigParam()
)
}
// 另存配置
......@@ -22044,7 +22047,8 @@ class Control {
}
return this.requestClient.post(
this.getConfigDbNameApiProxy() || _common_commonModule__WEBPACK_IMPORTED_MODULE_0__.WEB_QUERY_QUERY,
postData
postData,
this.getInitDbConfigParam()
)
}
webChartConfigQueryLog (data = {}) {
......@@ -22057,7 +22061,8 @@ class Control {
}
return this.requestClient.post(
this.getConfigDbNameApiProxy() || _common_commonModule__WEBPACK_IMPORTED_MODULE_0__.WEB_QUERY_QUERY,
postData
postData,
this.getInitDbConfigParam()
)
}
webChartConfigRevert (data = {}) {
......@@ -22070,7 +22075,8 @@ class Control {
}
return this.requestClient.post(
this.getConfigDbNameApiProxy() || _common_commonModule__WEBPACK_IMPORTED_MODULE_0__.WEB_QUERY,
postData
postData,
this.getInitDbConfigParam()
)
}
// 控件配置查询
......@@ -22101,7 +22107,8 @@ class Control {
}
return this.requestClient.post(
this.getConfigDbNameApiProxy() || _common_commonModule__WEBPACK_IMPORTED_MODULE_0__.WEB_QUERY_PAGE,
postData
postData,
this.getInitDbConfigParam()
)
}
getRealDbName () {
......@@ -22111,6 +22118,13 @@ class Control {
getConfigDbNameApiProxy () {
return config_db_name ? _common_commonModule__WEBPACK_IMPORTED_MODULE_0__.CONFIG_TOOL_API : ''
}
getInitDbConfigParam () {
return config_db_name
? {
db_name: config_db_name
}
: false
}
}
/* harmony default export */ __webpack_exports__["default"] = (Control);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
import { TOOL_PROXY, GQL_PROXY, COMMON_UTIL_PROXY ,SERVICE_PROXY,CONFIG_TOOL_PROXY} from './commonProxy'
import { TOOL_PROXY, GQL_PROXY, COMMON_UTIL_PROXY ,SERVICE_PROXY,CONFIG_PROXY} from './commonProxy'
export const WEB_QUERY = `${TOOL_PROXY}/web_query/`
export const WEB_QUERY_QUERY = `${TOOL_PROXY}/web_query/query/`
export const WEB_QUERY_QUERY_VALUE = `${TOOL_PROXY}/web_query/query_value/`
......@@ -15,5 +15,5 @@ export const UN_CLOSE_BILLS = `${COMMON_UTIL_PROXY}/un_close_bills/`
export const SEND_BILLS = `${COMMON_UTIL_PROXY}/send_bills/`
export const UN_SEND_BILLS = `${COMMON_UTIL_PROXY}/un_send_bills/`
export const REJECT_BILLS = `${COMMON_UTIL_PROXY}/reject_bills/`
export const CONFIG_TOOL_API = `${CONFIG_TOOL_PROXY}/`
export const CONFIG_API = `${CONFIG_PROXY}/`
......@@ -6,4 +6,4 @@ export const COMMON_PROXY = 'COMMON_PROXY' // `http://${api}/`
export const GQL_PROXY = 'GQL_PROXY' // `http://${api}/GQL/api/`
export const FILE_RESOURCE_PROXY = 'FILE_RESOURCE_PROXY' // `http://${api}/fileresource/api/`
export const SERVICE_PROXY = 'SERVICE_PROXY' // `SERVICE_PROXY`
export const CONFIG_TOOL_PROXY = 'CONFIG_TOOL_PROXY' // `新模式toolconfig`
export const CONFIG_PROXY = 'CONFIG_PROXY' // `新模式toolconfig`
......@@ -3,7 +3,7 @@ import {
WEB_QUERY_QUERY,
WEB_QUERY_QUERY_VALUE,
WEB_QUERY_PAGE,
CONFIG_TOOL_API
CONFIG_API
} from '../common/commonModule'
import hsUtil from 'hs-util-js'
const urlParam = hsUtil.SystemModule.getUrlParams()
......@@ -261,7 +261,9 @@ class Control {
return db_name
}
getConfigDbNameApiProxy () {
return config_db_name ? CONFIG_TOOL_API : ''
const str = config_db_name ? CONFIG_API : ''
console.log(str)
return str
}
getInitDbConfigParam () {
return config_db_name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment