n20-common-lib 2.1.27 → 2.1.28
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 +1 -1
- package/src/utils/axios.js +3 -3
- package/src/utils/tableheaderFilterpanel.vue +4 -5
- package/style/index.css +3 -3
- package/theme/blue.css +2 -2
- package/theme/cctcRed.css +2 -2
- package/theme/green.css +2 -2
- package/theme/lightBlue.css +2 -2
- package/theme/orange.css +2 -2
- package/theme/purple.css +2 -2
- package/theme/red.css +2 -2
- package/theme/yellow.css +2 -2
package/package.json
CHANGED
package/src/utils/axios.js
CHANGED
|
@@ -63,7 +63,7 @@ axios.interceptors.request.use((opt) => {
|
|
|
63
63
|
return opt
|
|
64
64
|
})
|
|
65
65
|
|
|
66
|
-
function errorFn(status, msg, noMsg, isErr) {
|
|
66
|
+
function errorFn(status, msg, noMsg, isErr, res) {
|
|
67
67
|
if (status === 401 || (isErr && msg.includes('401'))) {
|
|
68
68
|
noMsg || showMsg($lc('超时未操作,请重新登录!'))
|
|
69
69
|
setTimeout(() => {
|
|
@@ -90,7 +90,7 @@ function errorFn(status, msg, noMsg, isErr) {
|
|
|
90
90
|
} else {
|
|
91
91
|
// noMsg || showMsg(msg)
|
|
92
92
|
}
|
|
93
|
-
throw { code: status, msg: msg }
|
|
93
|
+
throw { code: status, msg: msg, response: res }
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
axios.interceptors.response.use(
|
|
@@ -102,7 +102,7 @@ axios.interceptors.response.use(
|
|
|
102
102
|
let msg = (res.data && (res.data.msg || res.data.message)) || ''
|
|
103
103
|
let noMsg = res.config && res.config.noMsg
|
|
104
104
|
|
|
105
|
-
return errorFn(status, msg, noMsg)
|
|
105
|
+
return errorFn(status, msg, noMsg, false, res)
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
108
|
(err) => {
|
|
@@ -18,23 +18,22 @@
|
|
|
18
18
|
filters | alltextF
|
|
19
19
|
}}</el-checkbox>
|
|
20
20
|
</div>
|
|
21
|
-
<el-checkbox-group v-model="filteredValue" class="
|
|
21
|
+
<el-checkbox-group v-model="filteredValue" class="input-w p-b-s" style="max-height: 226px; overflow: auto">
|
|
22
22
|
<template v-for="filter in filters">
|
|
23
23
|
<el-checkbox
|
|
24
24
|
v-if="filter.text.includes(searchVal)"
|
|
25
25
|
:key="filter.value"
|
|
26
26
|
class="m-t-s m-r-0"
|
|
27
27
|
:label="filter.value"
|
|
28
|
+
style="display: block"
|
|
28
29
|
>
|
|
29
30
|
<!-- v-title="filter.text" :show-overflow-tooltip="true" -->
|
|
30
|
-
<span class="
|
|
31
|
-
filter.text
|
|
32
|
-
}}</span>
|
|
31
|
+
<span class="align-bottom">{{ filter.text }}</span>
|
|
33
32
|
<span>{{ filter | countF }}</span>
|
|
34
33
|
</el-checkbox>
|
|
35
34
|
</template>
|
|
36
35
|
</el-checkbox-group>
|
|
37
|
-
<div class="flex-box flex-c m-t-
|
|
36
|
+
<div class="flex-box flex-c m-t-s">
|
|
38
37
|
<el-button
|
|
39
38
|
type="primary"
|
|
40
39
|
size="mini"
|