centaline-data-driven-v3 0.1.2 → 0.1.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven-v3",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "private": false,
5
5
  "description": "centaline-data-driven-v3",
6
6
  "main": "dist/centaline-data-driven-v3.umd.js",
@@ -176,7 +176,12 @@ const render = () => {
176
176
  item.height = (props.vmodel.pane.clientHeight - 60) + 'px';
177
177
  }
178
178
  if (item.component == 'ct-form') {
179
- item.documentHeight = (props.vmodel.pane.clientHeight - 60) + 'px';
179
+ if(props.vmodel.pane.clientHeight>window.innerHeight){
180
+ item.documentHeight = (window.innerHeight) + 'px';
181
+ }
182
+ else{
183
+ item.documentHeight = (props.vmodel.pane.clientHeight - 60) + 'px';
184
+ }
180
185
  }
181
186
  }
182
187
  //此行代码是为了防止弹出的窗口宽度 大于父级页面的宽度
@@ -28,7 +28,7 @@ var loader = {
28
28
  this.arrayVariation(rtn, args[i], k);
29
29
  }
30
30
  else {
31
- var tempData = this.copy(rtn[k], args[i][k]);
31
+ let tempData = this.copy(rtn[k], args[i][k]);
32
32
  this.depObj(rtn, args[i], k, tempData);
33
33
  }
34
34
  }
@@ -1304,7 +1304,7 @@ function getRouterAndSubmitData(field, model) {
1304
1304
  }
1305
1305
  function updateFields(data, model) {
1306
1306
  if (data.responseData.clientActionType === Enum.ClientActionType.Copy) {
1307
- var tempData = data.responseData.content;
1307
+ let tempData = data.responseData.content;
1308
1308
  for (var k in tempData) {
1309
1309
  var tempFd = model.fields.find((v) => {
1310
1310
  return v.id === k;
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:"https://uplink.centaline.com.cn/xian/",
25
- baseUrl:"https://kq-api.centaline.com.cn/onecard-api/",
25
+ baseUrl:"http://10.88.22.66/IBS.Mvc/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:6060/xian/",
@@ -67,8 +67,8 @@ app.use(centaline, {
67
67
  return {
68
68
  //authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe-ydVay1xvvOl3sJA2HiPIxElSIJBIIcXdAQEfPFK-YZt4Nlm2EChqtDafOYWqpRG6kxLoTxZhUTSRxHLUPH_DHfOmt5SDWt1gHScieHapNiol94q5pXYoNFJAvJ6isGHWmNMYVcBjWtyCr_iW2JZ93-fqPc8f18MwGIqFRCIO1GXmWGYd9npCZJ6N5JjYZ7g8AAAD__w.HgtNKtHWooj8c9Hy_vB8CfKq-qOeHMp0irnW0DfXtHo"}',
69
69
  //oldToken: 'd92d4a3b-2274-42e8-96f0-100ffb579b6e',
70
- authObject: '{token:"1647-1927532276019761152",platform:"WEB"}',
71
- //authObject: '{EmpID:"Token_4abee9c9-2616-4cb5-beda-1f94dc7d8a96",MachineCode:"ae184643-f8e2-453c-a752-ba82612b592f",SSO_Token:"SSOToken_4abee9c9-2616-4cb5-beda-1f94dc7d8a96",Platform:"IOS"}',
70
+ //authObject: '{token:"1647-1927532276019761152",platform:"WEB"}',
71
+ authObject: '{EmpID:"Token_256e18aa-5aeb-4033-9d75-80bbc3dec2c3",MachineCode:"ae184643-f8e2-453c-a752-ba82612b592f",SSO_Token:"SSOToken_256e18aa-5aeb-4033-9d75-80bbc3dec2c3",Platform:"WEB"}',
72
72
  };
73
73
  },
74
74
  getToken() {
@@ -794,6 +794,11 @@ export function RouterClickHandler(field, submitData, action, model, source, cal
794
794
  onSubmit: () => {
795
795
  common.closeDialog(dialogOption.dialog);
796
796
  },
797
+ onCloseDialog:()=>{
798
+ if (source == 'table') {
799
+ model.$vue.updateCurrentRow(field);
800
+ }
801
+ },
797
802
  isIframe: model.isIframe,
798
803
  },
799
804
  }]
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="data-driven" id="app-form" >
3
3
 
4
- <ct-form :api="'/EmployeeAttendanceBillApply/getLayoutOfNew'" :apiParam="apiParam" :flagNavbar="true"></ct-form>
4
+ <ct-form :api="'/PropertyPublish/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}
13
+ const apiParam={"propertyCode":"E2D83FC1-1CFA-42E8-8B7A-7D8481B330AB","sitePlatformID":"10","actionType":"2","flagAgentNew":"true"}
14
14
  </script>