centaline-data-driven 1.2.61 → 1.2.62

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.2.61",
3
+ "version": "1.2.62",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -98,6 +98,8 @@
98
98
  </component>
99
99
  </div>
100
100
  <!--正常的列-->
101
+ <div v-else-if="column.flagHtml" v-html="row[column.id]" :class="column.autoRowHeight ? 'lineFeedCell':'cell'" :style="column.style ? column.style:''">
102
+ </div>
101
103
  <div v-else-if="typeof column.template === 'undefined'" :class="column.autoRowHeight ? 'lineFeedCell':'cell'">
102
104
  {{row.rowHiddenColumns && row.rowHiddenColumns.includes(column.id)?"":row[column.id]}}
103
105
  </div>
@@ -175,7 +175,7 @@
175
175
  <div v-if="model.operationList!==null" :key="model.operationKey" class="operation-table base-box">
176
176
  <div v-for="(col, index) in model.operationList" :key="index" class="table-box">
177
177
  <div class="t-item">
178
- <span class="i">{{col.operationName}}</span>
178
+ <span class="i" v-html="col.operationName"></span>
179
179
  </div>
180
180
  <div class="t-item"><span class="i" :class="'operation'+col.flagKey" :style="{color:col.descColor}">{{col.desc}}</span></div>
181
181
  <div class="t-item" style="min-height: 50px;">
@@ -247,7 +247,10 @@ const ContactList = function (source,para ,callBack) {
247
247
  get title() {
248
248
  return v.columnToolTip;
249
249
  }
250
- }
250
+ },
251
+ get flagHtml() {
252
+ return v.flagHtml;
253
+ },
251
254
  };
252
255
  if (col.show) {
253
256
  //合并表头时暂不支持固定列
@@ -409,7 +409,7 @@ const Detail = function (source,para ,callBack) {
409
409
  if (typeof source === 'string') {
410
410
  Vue.prototype.$api.postHandler(common.globalUri(), { action: source,para:para}).then(
411
411
  function (response) {
412
- if (response.rtnCode === Enum.ReturnCode.Successful) {
412
+ if (response.rtnCode === Enum.ReturnCode.Successful) {
413
413
  var rtn = init(response.content);
414
414
  if (callBack) {
415
415
  callBack(rtn);