centaline-data-driven 1.3.46 → 1.3.47

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",
3
- "version": "1.3.46",
3
+ "version": "1.3.47",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/src/Detail.vue CHANGED
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div id="appDetail" style="height:100%;">
3
- <ct-Detail :api="'PropertyOFI/readDetailForBrowse'" :apiParam="apiParam" :pageType="'PropertyDetailOFI'"></ct-Detail>
3
+ <ct-Detail :api="'PropertyRET/readDetailForBrowse'" :apiParam="apiParam" :pageType="'PropertyDetailRET'"></ct-Detail>
4
4
  <ct-dialog-list></ct-dialog-list>
5
5
  </div>
6
6
  </template>
package/src/Form.vue CHANGED
@@ -2,7 +2,7 @@
2
2
  <div id="form-app" class="data-driven" style="width:100%;height:100%;overflow:auto">
3
3
  <!-- <ct-form :api="'/PropertyRET/getLayoutOfNew'" :apiParam="apiParam"></ct-form> -->
4
4
  <!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
5
- <ct-form :api="'/Worklist/getLayoutOfAudit'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
5
+ <ct-form :api="'/api/third-dept-tran/transaction/detail'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
6
6
  <!-- <ct-form :api="'/api/third-dept-tran/transaction/detail'" :apiParam="apiParam"></ct-form> -->
7
7
  <ct-dialog-list></ct-dialog-list>
8
8
  </div>
@@ -14,7 +14,11 @@
14
14
  data() {
15
15
  return {
16
16
  apiParam:{
17
- worklistID: "1556874651043500032", actionType: 2
17
+ actionType: 3,
18
+ originalTraId: "1556877589776220161",
19
+ pageOnly: true,
20
+ pageStyle: 2,
21
+ pageTitle: "成交报告"
18
22
  },
19
23
  topHeight:10,
20
24
  }
@@ -275,4 +275,8 @@
275
275
  background-color: #409EFF !important;
276
276
  border-color: #409EFF !important;
277
277
  } */
278
-
278
+ .ct-inputNumber .el-input-group {
279
+ display: flex;
280
+ justify-content: flex-start;
281
+ align-items: center;
282
+ }
@@ -155,11 +155,7 @@
155
155
  </div>
156
156
  </div>
157
157
  <div class="contacts-info base-box">
158
- <ct-contactList
159
- v-if="model.contactApiRouter !== null"
160
- :apiRouter="model.contactApiRouter"
161
- :key="'contact' + refershKey"
162
- ></ct-contactList>
158
+ <ct-contactList v-if="model.contactApiRouter !== null" :apiRouter="model.contactApiRouter" :key="'contact' + refershKey"></ct-contactList>
163
159
  </div>
164
160
  <div class="tablist-info base-box">
165
161
  <div class="details-tabs-box">
@@ -63,7 +63,7 @@
63
63
  @tableButtonClick="clickHandler"></component>
64
64
  </el-col>
65
65
  </el-row>
66
- <el-row v-if="model.links.findIndex((v)=>{return v.show}).length > -1" style="margin-top: 8px;">
66
+ <el-row v-if="model.links.findIndex((v)=>{return v.show}) > -1" style="margin-top: 8px;">
67
67
  <el-col :span="24" style="text-align:left">
68
68
  <component v-for="(btn, index) in model.links" :key="index" :is="btn.is" :vmodel="btn" @click="clickHandler" v-if="btn.show"></component>
69
69
  </el-col>
@@ -722,13 +722,13 @@
722
722
  self.$refs.Fields.forEach((f) => {
723
723
  if (f.model && typeof f.validExcute !== 'undefined') {
724
724
  if (!f.validExcute()) {
725
- if(i===0 && f.model.label){
725
+ if(i===0){
726
726
  if(f.model.is=="ct-file"){
727
727
  self.$message.error(f.validMessage);
728
728
  }
729
729
  else{
730
730
  if(f.validMessage){
731
- if(f.validMessage=='必填'){
731
+ if(f.validMessage=='必填' && f.model.label){
732
732
  self.$message.error('【'+f.model.label+'】'+f.validMessage);
733
733
  }
734
734
  else{
@@ -736,7 +736,9 @@
736
736
  }
737
737
  }
738
738
  else{
739
- self.$message.error('【'+f.model.label+'】不能为空!');
739
+ if(f.model.label){
740
+ self.$message.error('【'+f.model.label+'】不能为空!');
741
+ }
740
742
  }
741
743
  }
742
744
  }
package/src/main.js CHANGED
@@ -12,11 +12,11 @@ Vue.use(ElementUI, { size: 'mini'});
12
12
  // 关闭生产模式下给出的提示
13
13
  Vue.config.productionTip = false;
14
14
  Vue.use(centaline, {
15
- baseUrl: "http://10.88.22.46:7070/v1/form/router",
15
+ // baseUrl: "http://10.88.22.46:7070/v1/form/router",
16
16
  // baseUrl: "http://10.88.23.22:9999/v1/form/router",
17
17
  // baseUrl: "http://10.88.22.40:8080/",
18
- // baseUrl: "http://tjcptest.centaline.com.cn/",
19
- // flagRouterSelf: true,
18
+ baseUrl: "http://tjcptest.centaline.com.cn/",
19
+ flagRouterSelf: true,
20
20
  zindex: 999,
21
21
  showRequestSuccessMessage: true,
22
22
  showRequestErrorMessage: true,
@@ -41,7 +41,7 @@ Vue.use(centaline, {
41
41
  // 获取请求头
42
42
  getRequestHeaders: function () {
43
43
  return {
44
- oldToken: 'daed21af-8ae7-4bc0-8eb5-b6ae137c8e9c',
44
+ oldToken: '8ce4e917-2183-40d9-8b87-53ae45e1fc59',
45
45
  originalRequestURL: 'http://10.88.22.67:8080',
46
46
  EstateInfo: '{"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"%E4%B8%87%E7%A7%91%E4%BA%91%E5%9F%8E"}',
47
47
  Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjE2OGI1YThjLThiZTUtNDQyZi04NTA4LWMyODY4N2NkYmEzMSJ9.Rk26QdZSUzDVdjdRxGxDApOt5W6KYjmyjmsXpWeZb5E5NwZjpXnHYwhYkKjNxIeyg--OV2UrzFa2SxGzZ-Wneg',