vue2-client 1.15.119 → 1.15.120
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/package.json
CHANGED
@@ -137,10 +137,8 @@ export default {
|
|
137
137
|
},
|
138
138
|
/** 读取excle导入模板 */
|
139
139
|
async readTemplateConfig () {
|
140
|
-
const isProd = process.env.NODE_ENV === 'development'
|
141
|
-
console.log('process.env.NODE_ENV', process.env.NODE_ENV)
|
142
140
|
try {
|
143
|
-
const config = await getNativeConfig(this.queryParamsName, 'af-his',
|
141
|
+
const config = await getNativeConfig(this.queryParamsName, 'af-his', false)
|
144
142
|
if (config != null && config != undefined) {
|
145
143
|
this.excelImportTemplate = config.column.filter(item =>
|
146
144
|
item.dataModeArray && item.dataModeArray.includes('excelImportItem')
|
@@ -191,7 +189,7 @@ export default {
|
|
191
189
|
formData.append('queryParamsName', this.queryParamsName)
|
192
190
|
formData.append('userData', JSON.stringify(userData))
|
193
191
|
formData.append('otherParams', JSON.stringify(this.extraData))
|
194
|
-
importData(formData, this.serviceName,
|
192
|
+
importData(formData, this.serviceName, false).then(res => {
|
195
193
|
this.fileList = []
|
196
194
|
const msg = res.msg || '导入成功'
|
197
195
|
if (res?.successLen && !res?.msg) {
|