vue2-client 1.2.54 → 1.2.55-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +148 -139
- package/package.json +1 -1
- package/src/base-client/all.js +64 -64
- package/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox.vue +225 -225
- package/src/base-client/components/common/AddressSearchCombobox/index.js +3 -3
- package/src/base-client/components/common/CreateQuery/CreateQuery.vue +483 -483
- package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +2 -2
- package/src/base-client/components/common/Upload/Upload.vue +5 -5
- package/src/base-client/components/common/XForm/XFormItem.vue +346 -348
- package/src/base-client/plugins/AppData.js +70 -72
- package/src/base-client/plugins/compatible/LoginServiceOA.js +2 -1
- package/src/config/CreateQueryConfig.js +6 -3
- package/vue.config.js +7 -2
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
<a-divider style="font-size: 14px;margin-top: 0">数据源相关</a-divider>
|
|
221
221
|
<a-form-model-item label="数据源类型" prop="selectType">
|
|
222
222
|
<a-select v-model="item.selectType" placeholder="请选择数据源类型" @change="changeSelectKType">
|
|
223
|
-
<a-select-option v-for="selectDataTypeItem in selectDataType" :key="selectDataTypeItem.key">{{ selectDataTypeItem.label }}</a-select-option>
|
|
223
|
+
<a-select-option v-for="selectDataTypeItem in selectDataType.filter(h=>!h.noMatch.includes(item.formType))" :key="selectDataTypeItem.key">{{ selectDataTypeItem.label }}</a-select-option>
|
|
224
224
|
<a-popover
|
|
225
225
|
slot="suffixIcon"
|
|
226
226
|
placement="bottom"
|
|
@@ -358,7 +358,7 @@ import {
|
|
|
358
358
|
addOrEditType,
|
|
359
359
|
selectDataType
|
|
360
360
|
} from '@vue2-client/config/CreateQueryConfig'
|
|
361
|
-
import { commonApi, post } from '
|
|
361
|
+
import { commonApi, post } from '@vue2-client/services/api'
|
|
362
362
|
import JsonViewer from 'vue-json-viewer'
|
|
363
363
|
|
|
364
364
|
const DemoJson = [{
|
|
@@ -83,11 +83,11 @@ export default {
|
|
|
83
83
|
formData.append('filesize', (info.file.size / 1024 / 1024).toFixed(4))
|
|
84
84
|
formData.append('f_operator', this.currUser.username)
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
if (process.env.NODE_ENV === 'production') {
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
post(
|
|
86
|
+
// const url = '/webmeteruploadapi/resource'
|
|
87
|
+
// if (process.env.NODE_ENV === 'production') {
|
|
88
|
+
// url = `/${this.model.stockAlias}/webmeteruploadapi/resource`
|
|
89
|
+
// }
|
|
90
|
+
post('/webmeterresourceapi/resource', formData, { headers }).then(res => {
|
|
91
91
|
// 根据服务端返回的结果判断成功与否,设置文件条目的状态
|
|
92
92
|
if (res.success) {
|
|
93
93
|
fileInfo.status = 'done'
|