centaline-data-driven 1.2.24 → 1.2.27
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/Form.vue +2 -2
- package/src/SearchList.vue +2 -2
- package/src/centaline/api/index.js +12 -0
- package/src/centaline/common/index.js +3 -0
- package/src/centaline/dynamicComboBoxWithTextBox/src/dynamicComboBoxWithTextBox.vue +10 -1
- package/src/centaline/dynamicD/src/dynamicD.vue +4 -0
- package/src/centaline/dynamicDetail/src/dynamicContactList.vue +358 -685
- package/src/centaline/dynamicFile/src/dynamicFile.vue +40 -2
- package/src/centaline/loader/src/ctl/ComboBoxWithTextBox.js +18 -0
- package/src/centaline/loader/src/ctl/ContactList.js +296 -5
- package/src/centaline/loader/src/ctl/D.js +3 -0
- package/src/centaline/loader/src/ctl/lib/Enum.js +4 -0
- package/src/centaline/loader/src/ctl/lib/LibFunction.js +4 -0
- package/src/main.js +3 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +3 -3
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/src/Form.vue
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<!--<ct-form :api="'api/Form/formdata'"></ct-form>-->
|
|
9
9
|
<!-- <ct-form :api="'/forminfo/readDetail'" :apiParam="apiParam"></ct-form> -->
|
|
10
10
|
<!-- <ct-form :api="'PropertyKey/getLayoutOfNew'" :apiParam="apiParam"></ct-form> -->
|
|
11
|
-
<ct-form :api="'
|
|
11
|
+
<ct-form :api="'PropertyDuty/getLayoutOfClearDuty'" :apiParam="para"></ct-form>
|
|
12
12
|
<!-- <ct-form :api="'/api/distribution/transaction/add'" :apiParam="apiParam"></ct-form> -->
|
|
13
13
|
<ct-dialog-list></ct-dialog-list>
|
|
14
14
|
</div>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
// apiParam: {actionType: 3,formId: "2c12649f-09c5-4aa9-8011-b6d1c7b56a41"} ,
|
|
26
26
|
// apiParam: {chanceID: "1", actionType: 2} ,
|
|
27
27
|
// apiParam: {worklistID: "1494206747714392064", actionType: 2}
|
|
28
|
-
para: {
|
|
28
|
+
para: {propertyID: "1", actionType: 2}
|
|
29
29
|
// apiParam: {
|
|
30
30
|
// actionType: 2,
|
|
31
31
|
// agentId: "1450283160825425922",
|
package/src/SearchList.vue
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<div id="app-search" style="height:100%;position: fixed;">
|
|
3
3
|
<!-- <ct-searchlist :searchConditionApi="'/api/third-dept-tran/tran-list/layout'" :searchDataApi="'/api/third-dept-tran/tran-list'"></ct-searchlist> -->
|
|
4
4
|
|
|
5
|
-
<ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist>
|
|
6
|
-
|
|
5
|
+
<!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist> -->
|
|
6
|
+
<ct-searchlist :searchConditionApi="'/exampleList/getLayoutOfSearch'" :searchDataApi="'/exampleList/getListOfSearchModel'"></ct-searchlist>
|
|
7
7
|
|
|
8
8
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
9
9
|
:searchDataApi="'/PropertyRETList/getListOfSearchModel'"
|
|
@@ -127,6 +127,10 @@ Axios.defaults.withCredentials = true;//允许带上跨域cookies
|
|
|
127
127
|
|
|
128
128
|
const api = {
|
|
129
129
|
get(url, params, callback) {
|
|
130
|
+
if(common.flagRouterSelf()){
|
|
131
|
+
url=url+params.action;
|
|
132
|
+
params=params.para;
|
|
133
|
+
}
|
|
130
134
|
return Axios.get(url, params, {
|
|
131
135
|
headers: {
|
|
132
136
|
headers: common.getDataDrivenOpts().handler.getRequestHeaders()
|
|
@@ -138,6 +142,10 @@ const api = {
|
|
|
138
142
|
);
|
|
139
143
|
},
|
|
140
144
|
post(url, params, callback) {
|
|
145
|
+
if(common.flagRouterSelf()){
|
|
146
|
+
url=url+params.action;
|
|
147
|
+
params=params.para;
|
|
148
|
+
}
|
|
141
149
|
return Axios.post(url, params, {
|
|
142
150
|
headers: {
|
|
143
151
|
headers: common.getDataDrivenOpts().handler.getRequestHeaders()
|
|
@@ -230,6 +238,10 @@ const api = {
|
|
|
230
238
|
return Promise.resolve(response.data);
|
|
231
239
|
},
|
|
232
240
|
postHandler(url, params, formData) {
|
|
241
|
+
if(common.flagRouterSelf()){
|
|
242
|
+
url=url+params.action;
|
|
243
|
+
params=params.para;
|
|
244
|
+
}
|
|
233
245
|
return Axios.post(url, params, {
|
|
234
246
|
headers: common.getDataDrivenOpts().handler.getRequestHeaders()
|
|
235
247
|
}).then(this.postThenHandler).catch((ex) => {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<el-input v-if="model.id3" v-bind="model.attrs"
|
|
49
49
|
:placeholder="model.placeholder3" v-model="model.value3"
|
|
50
50
|
@input="inputHandler($event)" @change="changeHandler($event)"
|
|
51
|
-
:disabled="model.lock" :maxlength="
|
|
51
|
+
:disabled="model.lock" :maxlength="maxlength4"></el-input>
|
|
52
52
|
</div>
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
|
@@ -110,6 +110,15 @@
|
|
|
110
110
|
set: function (v) {
|
|
111
111
|
|
|
112
112
|
}
|
|
113
|
+
},
|
|
114
|
+
maxlength4()
|
|
115
|
+
{
|
|
116
|
+
if(this.model.max4)
|
|
117
|
+
{
|
|
118
|
+
return parseInt(this.model.max4)
|
|
119
|
+
}
|
|
120
|
+
return 99999
|
|
121
|
+
|
|
113
122
|
}
|
|
114
123
|
},
|
|
115
124
|
mounted() {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
:picker-options="pickerOptions" :disabled="model.lock">
|
|
11
11
|
</el-date-picker>
|
|
12
12
|
</div>
|
|
13
|
+
<span v-if="model.sufLabel" class="spanMessage ct-flex-div-span">{{model.sufLabel}}</span>
|
|
13
14
|
<transition name="el-fade-in">
|
|
14
15
|
<span v-show="!valid" class="errorMessage">
|
|
15
16
|
{{validMessage}}
|
|
@@ -50,6 +51,9 @@
|
|
|
50
51
|
}
|
|
51
52
|
},
|
|
52
53
|
dateBlur(event) {
|
|
54
|
+
if(this.model.attrs && this.model.attrs.type && this.model.attrs.type=='month'){
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
53
57
|
var text = event.$el.querySelector("input").value;
|
|
54
58
|
text = text.replace('-', '').replace('/', '').replace('\\', '');
|
|
55
59
|
var nowDate = new Date();
|