centaline-data-driven 1.1.56 → 1.1.57

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.1.56",
3
+ "version": "1.1.57",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/src/Form.vue CHANGED
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div id="app-form" class="data-driven" style="width:100%;height:100%;overflow:auto">
3
- <ct-form :api="'/roomtype/readDetail'" :apiParam="apiParam"></ct-form>
3
+ <ct-form :api="'/property/readDetail'" :apiParam="apiParam"></ct-form>
4
4
  <!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
5
5
  <!--:api="'FormSample/formdata'"-->
6
6
  <!--<ct-form :source="formdata.content"></ct-form>-->
@@ -746,4 +746,8 @@ html {
746
746
  }
747
747
  .lableinput .el-input__inner{
748
748
  border: none !important;
749
+ }
750
+ /* 重置弹层引用列表样式居上高度 */
751
+ .ct-dialog_content .ct-searchtable{
752
+ margin-top: 0px!important;
749
753
  }
@@ -146,7 +146,7 @@
146
146
  width:4px;
147
147
  height:6px;
148
148
  }
149
- .ct-table .cell:last-child{
149
+ .ct-table-auto{
150
150
  white-space: nowrap;
151
151
  }
152
152
  .max-cover-list-item .el-input__icon{
@@ -205,4 +205,4 @@
205
205
  .el-input-group__append, .el-input-group__prepend {
206
206
  color: #666;
207
207
  border-color:#cecece;
208
- }
208
+ }
@@ -13,6 +13,7 @@
13
13
  :headers="headers"
14
14
  :before-upload="beforeUploadProcess"
15
15
  :on-success="handleAvatarSuccess"
16
+ :on-progress="uploadProcess"
16
17
  >
17
18
  <i slot="default" class="el-icon-plus"></i>
18
19
  <div slot="tip" class="el-upload__tip errorMessage" v-show="!imgValid">{{validMessage}}</div>
@@ -26,6 +26,7 @@
26
26
  </span>
27
27
  </div>
28
28
  </div>
29
+ <span v-if="model.sufLabel" class="spanMessage ct-flex-div-span">{{model.sufLabel}}</span>
29
30
  <transition name="el-fade-in">
30
31
  <span v-show="!valid" class="errorMessage">
31
32
  {{validMessage}}
@@ -29,6 +29,7 @@
29
29
  </span>
30
30
  </div>
31
31
  </div>
32
+ <span v-if="model.sufLabel" class="spanMessage ct-flex-div-span">{{model.sufLabel}}</span>
32
33
  <transition name="el-fade-in">
33
34
  <span v-show="!valid" class="errorMessage">
34
35
  {{validMessage}}
@@ -231,6 +231,7 @@ const formData = {
231
231
  //获取后台数据,并返回脚本。
232
232
  execServerScript(action, object, successCallback) {
233
233
  let formData = this;//作用域保存
234
+ debugger;
234
235
  //是否是行内触发的
235
236
  let data = this.getListField(this.form.scripts.$fd, null, null);
236
237
  object.editMode = data ? 1 : 0;
@@ -27,7 +27,6 @@ const box = function (source, fileSourceList, router, optionApi) {
27
27
  },
28
28
  _fileList: [],
29
29
  get fileList() {
30
- debugger
31
30
  if (this._fileList.length !== 0) {
32
31
  return rtn._fileList;
33
32
  }
@@ -42,7 +41,6 @@ const box = function (source, fileSourceList, router, optionApi) {
42
41
  return rtn._fileList;
43
42
  },
44
43
  getfileListLength() {
45
- debugger;
46
44
  return rtn.fileList.length;
47
45
  },
48
46
  optionModel: {
@@ -212,7 +210,6 @@ const box = function (source, fileSourceList, router, optionApi) {
212
210
  classify.file.source.mediaLabelID = classify.option[rtn.optionModel.optionAttrs.value];
213
211
  },
214
212
  handleAvatarSuccess(res, file, fileList) {
215
- debugger;
216
213
  if (res.rtnCode === Enum.ReturnCode.Successful) {
217
214
  //下面的方式绑定,会有一些问题 todo 不强与页面关联
218
215
  fileSourceList.push(res.content[0]);
@@ -241,7 +238,6 @@ const box = function (source, fileSourceList, router, optionApi) {
241
238
  }
242
239
  },
243
240
  deleteFile(file, forceDelete) {
244
- debugger;
245
241
  for (let i = 0; i < rtn.fileList.length; i++) {
246
242
  if (rtn.fileList[i].uid === file.uid) {
247
243
  if (forceDelete) {
package/src/main.js CHANGED
@@ -12,7 +12,7 @@ Vue.use(ElementUI, { size: 'mini'});
12
12
  // 关闭生产模式下给出的提示
13
13
  Vue.config.productionTip = false;
14
14
  Vue.use(centaline, {
15
- baseUrl: 'http://10.88.22.67:9999/v1/form/router',
15
+ baseUrl: 'http://10.88.23.22:9999/v1/form/router',
16
16
  zindex: 999,
17
17
  showRequestErrorMessage: true,
18
18
  handler: {
@@ -28,7 +28,7 @@ Vue.use(centaline, {
28
28
  getRequestHeaders: function () {
29
29
  return {
30
30
  Authorization: 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjFiNTBiODcyLTdhZDAtNDIzZC05MDBhLTU1NzUwOTA0OTMyNSJ9.yQA99wDa3a-dZKSemFOrWZxyKZ6NtWmYVehf10OSUK8eO8Par7aZqboxCNMfEjIlXDGu5NH9u0KFcHQ7_17YMg',
31
- originalRequestURL: 'http://10.88.22.67:9999',
31
+ originalRequestURL: 'http://10.88.23.22:9999',
32
32
  EstateInfo: '{"estateId":"201509230915485D942241BBA30FF49F","estateName":"A-%E7%88%B1%E7%90%B4%E6%B5%B7B%E7%BB%84"}'
33
33
  };
34
34
  },