vue2-client 1.4.19 → 1.4.20
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
CHANGED
package/package.json
CHANGED
|
@@ -1,31 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<!-- 综合筛选 -->
|
|
3
|
-
<x-form-col
|
|
4
|
-
v-if="attr.type === 'select' && attr.model === 'rowIdValue'"
|
|
5
|
-
:xl="xl"
|
|
6
|
-
:xxl="xxl">
|
|
7
|
-
<a-form-model-item
|
|
8
|
-
:ref="attr.model"
|
|
9
|
-
:label="attr.name"
|
|
10
|
-
:prop="attr.model">
|
|
11
|
-
<a-input v-model="form[attr.model]" :disabled="disabled">
|
|
12
|
-
<a-select
|
|
13
|
-
slot="addonBefore"
|
|
14
|
-
v-model="form['rowIdName']"
|
|
15
|
-
:getPopupContainer=" triggerNode => { return triggerNode.parentNode } "
|
|
16
|
-
style="width: 100px">
|
|
17
|
-
<a-select-option
|
|
18
|
-
v-for="(item,index) in attr.keys"
|
|
19
|
-
:key="index"
|
|
20
|
-
:value="item.value">{{ item.label }}
|
|
21
|
-
</a-select-option>
|
|
22
|
-
</a-select>
|
|
23
|
-
</a-input>
|
|
24
|
-
</a-form-model-item>
|
|
25
|
-
</x-form-col>
|
|
26
2
|
<!-- 输入框 -->
|
|
27
3
|
<x-form-col
|
|
28
|
-
v-
|
|
4
|
+
v-if="attr.type === 'input'"
|
|
29
5
|
:xl="xl"
|
|
30
6
|
:xxl="xxl">
|
|
31
7
|
<a-form-model-item
|
|
@@ -14,11 +14,15 @@ const GetAppDataService = {
|
|
|
14
14
|
for (const key of Object.keys(params)) {
|
|
15
15
|
badgeItemArray[key] = {}
|
|
16
16
|
for (const item of params[key]) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
let status
|
|
18
|
+
if (!item.status) {
|
|
19
|
+
status = 'none'
|
|
20
|
+
} else {
|
|
21
|
+
status = item.status
|
|
22
|
+
}
|
|
23
|
+
badgeItemArray[key][item.value] = {
|
|
24
|
+
status: status,
|
|
25
|
+
text: item.text
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
28
|
}
|