centaline-data-driven-v3 0.0.68 → 0.0.70

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.
@@ -342,7 +342,9 @@ export function RouterClickHandler(field, submitData, action, model, source, cal
342
342
  cancelButtonText: '取消',
343
343
  type: 'warning'
344
344
  }).then(() => {
345
+ field.disabled = true;
345
346
  field.doAction(model.$vue.getFormObj({ flagHaveAlert: '1' }), (res) => {
347
+ field.disabled = false;
346
348
  if (res.rtnCode === Enum.ReturnCode.Successful) {
347
349
  if (res.notification === Enum.ActionType.Router) {
348
350
  if (common.dialogList && common.dialogList.List.value.length > 0
@@ -358,6 +360,7 @@ export function RouterClickHandler(field, submitData, action, model, source, cal
358
360
  }
359
361
  });
360
362
  }).catch(() => {
363
+ field.disabled = false;
361
364
  });
362
365
  }
363
366
  }, model.scripts);
@@ -834,9 +837,11 @@ export function RouterClickHandler(field, submitData, action, model, source, cal
834
837
  common.openDialog(dialogOption);
835
838
  }
836
839
  else {
837
- submitData = field.getActionPara(submitData).para;
838
840
  if (source == 'table') {
839
- model.$vue.operationLoading = true
841
+ model.$vue.operationLoading = true
842
+ }
843
+ else{
844
+ submitData = field.getActionPara(submitData).para;
840
845
  }
841
846
  field.doAction(submitData, (data) => {
842
847
  if (source == 'table') {
@@ -15,7 +15,7 @@ const request = {
15
15
  params = params.para;
16
16
  }
17
17
  else if (common.flagRouterSelf()) {
18
- url = url + params.action;
18
+ url = url + (url=='' || url.substr(-1)=='/'?'':'/') + params.action;
19
19
  params = params.para;
20
20
  }
21
21
  return Axios.get(url, params, {
@@ -34,7 +34,7 @@ const request = {
34
34
  params = params.para;
35
35
  }
36
36
  else if (common.flagRouterSelf()) {
37
- url = url + params.action;
37
+ url = url + (url=='' || url.substr(-1)=='/'?'':'/') + params.action;
38
38
  params = params.para;
39
39
  }
40
40
  return Axios.post(url, params, {
@@ -127,7 +127,7 @@ const request = {
127
127
  params = params.para;
128
128
  }
129
129
  else if (common.flagRouterSelf()) {
130
- url = url + params.action;
130
+ url = url + (url=='' || url.substr(-1)=='/'?'':'/') + params.action;
131
131
  params = params.para;
132
132
  }
133
133
  return Axios.post(url, params, {
@@ -175,7 +175,7 @@ const request = {
175
175
  params = params.para;
176
176
  }
177
177
  else if (common.flagRouterSelf()) {
178
- url = url + params.action;
178
+ url = url + (url=='' || url.substr(-1)=='/'?'':'/') + params.action;
179
179
  params = params.para;
180
180
  }
181
181
  return Axios.post(url, params, {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="data-driven" id="app-form" >
3
3
 
4
- <ct-form :api="'/PropertyPublish/readDetail'" :apiParam="apiParam" :flagNavbar="true"></ct-form>
4
+ <ct-form :api="'/salemanage/ContractByPoint/readDetail'" :apiParam="apiParam" :flagNavbar="true"></ct-form>
5
5
  <!-- <ct-form :api="'/api/third-dept-tran/tran-comm-adjust/task'" :apiParam="apiParam"></ct-form> -->
6
6
  <!-- <ct-form :api="'/PropertyTranToActive/getLayoutOfNew'" :apiParam="apiParam"></ct-form> -->
7
7
  <!-- <ct-textbox :source="source"></ct-textbox> -->
@@ -10,5 +10,5 @@
10
10
  </template>
11
11
  <script lang="ts" setup>
12
12
  //const apiParam={"originalTraId":"1739561435204980737","actionType":1,"pageStyle":2,"pageTitle":"成交报告","pageOnly":true}
13
- const apiParam={"actionType":2,propertyCode: "B9D0D330-95B2-4D5D-B6DB-EB0D62B7BF5A",sitePlatformID: "10"}
13
+ const apiParam={"estateId":"2503120955255B0598513062476EB741","propertyId":"250312100237582995D2919948BDB1D2","actionType":2,"commissionMode":"1"}
14
14
  </script>
@@ -1,8 +1,7 @@
1
1
  <template>
2
2
  <div id="app-search" style="width:100%;height:100%;position: fixed;">
3
- <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/propertyPublishList/getLayoutOfSearch'"
4
- :searchDataApi="'/propertyPublishList/getListOfSearchModel'"
5
- :searchStatsApi="'/propertyPublishList/getListStats'"></ct-searchlist>
3
+ <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/batchcontractadjust/batchAdjustCommissionPointList/getLayoutOfSearch'"
4
+ :searchDataApi="'/batchcontractadjust/batchAdjustCommissionPointList/getList'"></ct-searchlist>
6
5
  <ct-dialoglist ref="dialogList"></ct-dialoglist>
7
6
 
8
7
  </div>