imeik-imui 2.0.0 → 2.0.2
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/dist/imeik-imui.common.js +76 -76
- package/dist/imeik-imui.common.js.gz +0 -0
- package/dist/imeik-imui.umd.js +76 -76
- package/dist/imeik-imui.umd.js.gz +0 -0
- package/dist/imeik-imui.umd.min.js +4 -4
- package/dist/imeik-imui.umd.min.js.gz +0 -0
- package/dist/imui/src/FormComponents/ImServerSelect.vue +7 -4
- package/dist/imui/utils/applycenterRequest.js +1 -1
- package/dist/imui/utils/tagcenterRequest.js +1 -1
- package/dist/imui/utils/userRequest.js +1 -1
- package/package.json +1 -1
|
Binary file
|
|
@@ -341,13 +341,16 @@ export default {
|
|
|
341
341
|
params: queryParams,
|
|
342
342
|
signal: this.controller.signal
|
|
343
343
|
})
|
|
344
|
+
const resData = data ?? []
|
|
344
345
|
|
|
345
346
|
// 如果是搜索请求,过滤包含搜索关键字的选项
|
|
346
|
-
if (
|
|
347
|
-
const
|
|
348
|
-
this.options = resData.filter(item =>
|
|
347
|
+
if (params.name) {
|
|
348
|
+
const dicValues = queryParams.dicValues
|
|
349
|
+
this.options = resData.filter(item => {
|
|
350
|
+
return item[this.attrLabel].includes(params.name) || dicValues.includes(item[this.attrValue])
|
|
351
|
+
})
|
|
349
352
|
} else {
|
|
350
|
-
this.options =
|
|
353
|
+
this.options = resData
|
|
351
354
|
}
|
|
352
355
|
} finally {
|
|
353
356
|
this.loading = false
|
|
@@ -3,7 +3,7 @@ import { getService } from './requestTemplate'
|
|
|
3
3
|
const baseUrlMap = {
|
|
4
4
|
development: '//apply-backend-dev.imeik.com',
|
|
5
5
|
testenv: '//apply-backend-test.imeik.com',
|
|
6
|
-
|
|
6
|
+
production: '//apply-backend.imeik.com',
|
|
7
7
|
pre: '//apply-backend-pre.imeik.com'
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import { getService } from './requestTemplate'
|
|
|
3
3
|
const baseUrlMap = {
|
|
4
4
|
development: '//tagcenter-backend-dev.imeik.com',
|
|
5
5
|
testenv: '//tagcenter-backend-test.imeik.com',
|
|
6
|
-
|
|
6
|
+
production: '//tagcenter-backend.imeik.com',
|
|
7
7
|
pre: '//tagcenter-backend-pre.imeik.com'
|
|
8
8
|
}
|
|
9
9
|
|