centaline-data-driven-v3 0.1.50 → 0.1.51
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
package/src/assets/commonWeb.css
CHANGED
|
@@ -891,11 +891,11 @@ body {
|
|
|
891
891
|
line-height: 22px;
|
|
892
892
|
}
|
|
893
893
|
|
|
894
|
-
.el-select__wrapper {
|
|
894
|
+
.serach-screen .el-select__wrapper {
|
|
895
895
|
height: 28px;
|
|
896
896
|
}
|
|
897
897
|
|
|
898
|
-
.el-select__wrapper .el-select__selection {
|
|
898
|
+
.serach-screen .el-select__wrapper .el-select__selection {
|
|
899
899
|
flex-wrap: nowrap !important;
|
|
900
900
|
}
|
|
901
901
|
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<ct-field :vmodel="model">
|
|
3
3
|
<template #Control>
|
|
4
|
-
<
|
|
4
|
+
<template v-if="model.controlType == Enum.ControlType.MultiLineLabel && isEmpty(model.rows)">
|
|
5
|
+
<span class="ct-html" v-html="nl2br(model.code1)"></span>
|
|
6
|
+
</template>
|
|
7
|
+
<div v-else-if="model.controlType === Enum.ControlType.MultiLineText" style="width: 100%;">
|
|
5
8
|
<el-input :type="model.inputType" v-model="model.code1" v-bind="model.attrs" @input="input()"
|
|
6
9
|
@change="change()" :disabled="model.locked" :rows="model.rows" :readonly="model.readonly"
|
|
7
10
|
:show-password="model.inputType == 'password'" autocomplete="on" :maxlength="model.maxValue1"
|
|
@@ -15,7 +18,8 @@
|
|
|
15
18
|
</div>
|
|
16
19
|
<el-input v-else :type="model.inputType" v-model="model.code1" v-bind="model.attrs" @input="input()"
|
|
17
20
|
@change="change()" :disabled="model.locked" :rows="model.rows" :readonly="model.readonly"
|
|
18
|
-
:show-password="model.inputType == 'password'"
|
|
21
|
+
:show-password="model.inputType == 'password'"
|
|
22
|
+
:autocomplete="model.inputType == 'password' ? 'new-password' : 'on'"
|
|
19
23
|
:maxlength="model.controlType !== Enum.ControlType.NumericTextBox ? model.maxValue1 : ''"
|
|
20
24
|
:show-word-limit="model.showWordLimit" clearable @keyup.enter.native="search()"
|
|
21
25
|
@keydown.enter.native="handleKeyDown" class="fieldControl">
|
|
@@ -95,6 +99,13 @@ function popupSearchListHandle() {
|
|
|
95
99
|
let isSingle = model.value.moreActionRouter.isSingle
|
|
96
100
|
emit('popupSearchList', isSingle, model, model.value.moreActionRouter);
|
|
97
101
|
}
|
|
102
|
+
function isEmpty(value) {
|
|
103
|
+
return value === undefined || value === null || value === '';
|
|
104
|
+
}
|
|
105
|
+
function nl2br(str) {
|
|
106
|
+
if (!str) return '';
|
|
107
|
+
return str.replace(/\r?\n/g, '<br>')
|
|
108
|
+
}
|
|
98
109
|
defineExpose({
|
|
99
110
|
model
|
|
100
111
|
})
|
|
@@ -106,7 +106,7 @@ const ComboBox = function (source) {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
this.labelValue = currentOptions.filter((v) => {
|
|
109
|
-
return
|
|
109
|
+
return v.flagDeleted !== true && v.flagDeleted !== 1;
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
@@ -180,7 +180,7 @@ const ComboBox = function (source) {
|
|
|
180
180
|
}
|
|
181
181
|
});
|
|
182
182
|
}
|
|
183
|
-
else{
|
|
183
|
+
else {
|
|
184
184
|
request.postHandler(common.globalUri(), params).then((response) => {
|
|
185
185
|
if (response.rtnCode === 200) {
|
|
186
186
|
if (CallBack) {
|
package/src/main.js
CHANGED
|
@@ -22,7 +22,7 @@ for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
|
22
22
|
|
|
23
23
|
app.use(centaline, {
|
|
24
24
|
//baseUrl: "http://10.88.22.13:7080/ibs-api/",
|
|
25
|
-
baseUrl:"http://10.88.22.
|
|
25
|
+
baseUrl:"http://10.88.22.66:7080/ibs-api/",
|
|
26
26
|
//baseUrl: "https://kq-api.centaline.com.cn/onecard-api/",
|
|
27
27
|
//baseUrl: "http://10.88.22.13:6060/onecard-api/",
|
|
28
28
|
//baseUrl: "http://10.88.22.66/IBS.Mvc/api/",
|
|
@@ -67,7 +67,7 @@ app.use(centaline, {
|
|
|
67
67
|
return {
|
|
68
68
|
|
|
69
69
|
//AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyaWQiOiIyNTEyMTUxNzQyMTg5QzI4MTgwRDkxRTk0MDhEOTA0QSIsImxvZ2luX3VzZXJfa2V5IjoiN2MzYzNjNjAtNWVjMy00MzdkLWExMDYtOWYxZTMwYjU0Mjg2In0.daG9mS98Gg8KmHSUjYHktMcO2Jk7SVtCcqm2sRB0I8Y2N0TuonIrVUDcHdNdDiuD3v6qO_f010tQWlBsAQ1dqg',
|
|
70
|
-
authobject: '{token:"
|
|
70
|
+
authobject: '{token:"T5067-2038438946182201344",platform:"WEB"}',
|
|
71
71
|
//authobject: '{EmpID:"Token_946d56e1-7972-4382-9d10-4a72496aab39",MachineCode:"ae184643-f8e2-453c-a752-ba82612b592f",SSO_Token:"SSOToken_946d56e1-7972-4382-9d10-4a72496aab39",Platform:"WEB"}',
|
|
72
72
|
//oldToken: 'd92d4a3b-2274-42e8-96f0-100ffb579b6e',
|
|
73
73
|
//authObject: '{token:"jiangzf-1958445358178844672",platform:"WEB"}',
|
package/src/views/SearchList.vue
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
:searchDataApi="'/ccesmanage/AppUseSummaryList/getList'"></ct-searchlist> -->
|
|
6
6
|
|
|
7
|
-
<ct-searchlist :apiParam="apiParam" :searchConditionApi="'/
|
|
7
|
+
<ct-searchlist :apiParam="apiParam" :searchConditionApi="'/PropertyComprehensiveQueryList/getLayoutOfSearch'"
|
|
8
8
|
|
|
9
|
-
:searchDataApi="'/
|
|
9
|
+
:searchDataApi="'/PropertyComprehensiveQueryList/getListOfSearchModel'"></ct-searchlist>
|
|
10
10
|
<!-- <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/EmployeeMaternityList/getLayoutOfSearch'"
|
|
11
11
|
:searchDataApi="'/EmployeeMaternityList/getListOfSearchModel'"></ct-searchlist> -->
|
|
12
12
|
|