centaline-data-driven-v3 0.1.16 → 0.1.17
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
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<div class="ct-field">
|
|
3
3
|
<div class="el-form-item el-form-item--small"
|
|
4
4
|
:class="[!model.valid ? 'is-error' : '', 'label-' + model.labelPlacement]">
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
|
|
6
|
+
<!-- 使用单一元素结构 -->
|
|
7
7
|
<template v-if="model.isList">
|
|
8
8
|
<div class="el-form-item__label" v-if="model.showLabel && model.controlLabel">
|
|
9
9
|
<slot name="ControlLabel">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</div>
|
|
24
24
|
</slot>
|
|
25
25
|
</template>
|
|
26
|
-
|
|
26
|
+
<div class="label-wrapper" v-else>
|
|
27
27
|
<div class="el-form-item__label" v-if="model.showLabel && model.controlLabel">
|
|
28
28
|
<slot name="ControlLabel">
|
|
29
29
|
<div :class="[model.required ? 'requiredLabel' : '']"
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
</div>
|
|
68
68
|
</div>
|
|
69
69
|
</template>
|
|
70
|
-
<script lang="ts" setup>
|
|
70
|
+
<script lang="ts" setup>
|
|
71
71
|
import Enum from '../../utils/Enum'
|
|
72
72
|
const props = defineProps({
|
|
73
73
|
vmodel: Object,
|
|
@@ -85,6 +85,11 @@ const model = props.vmodel
|
|
|
85
85
|
display: flex;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
.el-form-item__label {
|
|
89
|
+
display: inline-flex;
|
|
90
|
+
justify-content: flex-end;
|
|
91
|
+
}
|
|
92
|
+
|
|
88
93
|
.el-form-item.label-1 {
|
|
89
94
|
flex-direction: column;
|
|
90
95
|
|
package/src/main.js
CHANGED
|
@@ -21,7 +21,7 @@ for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
app.use(centaline, {
|
|
24
|
-
baseUrl: "
|
|
24
|
+
baseUrl: "https://kq-api.centaline.com.cn/onecard-api",
|
|
25
25
|
//baseUrl:"http://10.88.22.13:7070/onecard-api/",
|
|
26
26
|
//baseUrl: "https://kq-api.centaline.com.cn/onecard-api/",
|
|
27
27
|
//baseUrl: "http://10.88.22.13:6060/onecard-api/",
|
|
@@ -65,7 +65,7 @@ app.use(centaline, {
|
|
|
65
65
|
//获取请求头
|
|
66
66
|
getRequestHeaders: function () {
|
|
67
67
|
return {
|
|
68
|
-
authobject: '{token:"
|
|
68
|
+
authobject: '{token:"1647-1967489899997401088",platform:"WEB"}',
|
|
69
69
|
//oldToken: 'd92d4a3b-2274-42e8-96f0-100ffb579b6e',
|
|
70
70
|
//authObject: '{token:"jiangzf-1958445358178844672",platform:"WEB"}',
|
|
71
71
|
//authObject: '{token:"1-90f7df2c-fba7-4ea0-8874-aa7202034f06"}',
|
package/src/views/SearchList.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-search" style="width:100%;height:100%;position: fixed;">
|
|
3
|
-
<ct-searchlist :apiParam="apiParam" :searchConditionApi="'/
|
|
4
|
-
:searchDataApi="'/
|
|
3
|
+
<ct-searchlist :apiParam="apiParam" :searchConditionApi="'/EmployeeAttendanceBillList/getLayoutOfSearchForMy'"
|
|
4
|
+
:searchDataApi="'/EmployeeAttendanceBillList/getListOfSearchModelForMy'"></ct-searchlist>
|
|
5
5
|
|
|
6
6
|
<!-- <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/EmployeeMaternityList/getLayoutOfSearch'"
|
|
7
7
|
:searchDataApi="'/EmployeeMaternityList/getListOfSearchModel'"></ct-searchlist> -->
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
<script lang="ts" setup>
|
|
17
17
|
import { ref, nextTick } from 'vue'
|
|
18
|
-
const apiParam = {
|
|
18
|
+
const apiParam = {}
|
|
19
19
|
|
|
20
20
|
</script>
|