centaline-data-driven 1.5.46 → 1.5.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.5.46",
3
+ "version": "1.5.47",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/release-log.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## v1.5.47
2
+ 2023-08-09
3
+
4
+ 优化
5
+
6
+ 表单列表列宽度自定义
7
+
8
+ 表单列表有滚动条操作按钮右侧固定
9
+
10
+ 表单列表添加 被冻结的列(固定在左边)
11
+
1
12
  ## v1.5.46
2
13
  2023-08-08
3
14
 
package/src/Form.vue CHANGED
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div id="form-app" class="data-driven" style="width:100%;height:100%;overflow:auto">
3
3
  <!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
4
- <ct-form :api="'/api/third-dept-tran/transaction/task'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
4
+ <ct-form :api="'/api/distribution/commission_presentiment/detail'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
5
5
  <ct-dialog-list></ct-dialog-list>
6
6
  </div>
7
7
  </template>
@@ -12,7 +12,7 @@
12
12
  data() {
13
13
  return {
14
14
  apiParam:{
15
- "stepId":"1686982560817586178","businessId":"1686982455918043138","actionType":1,"pageStyle":2,"pageOnly":true
15
+ "transactionId":["1661661776303677441","1667002679704797185"],"actionType":2,"pageStyle":2,"pageTitle":"新增预结","pageOnly":true
16
16
  },
17
17
  topHeight:10,
18
18
  }
@@ -17,7 +17,7 @@
17
17
  <el-table size="mini" class="max-table--border" :data="model.tableData" :key="itemKey" border
18
18
  style="width: 100%" highlight-current-row :show-summary="model.showSummary" :summary-method="getSummaries">
19
19
  <!--数据列-->
20
- <el-table-column v-for="(v,i) in model.rows[0].field" :key="i" :prop="v.id" :label="v.label" v-if="v.show !== false && v.type!==13" :render-header="renderHeader" :min-width="tableColumnWith">
20
+ <el-table-column v-for="(v,i) in model.rows[0].field" :key="i" :prop="v.id" :label="v.label" :width="v.width" :fixed="model.frozenColumns.includes(v.id)" v-if="v.show !== false && v.type!==13" :render-header="renderHeader" :min-width="tableColumnWith">
21
21
  <template slot="header" slot-scope="scope">
22
22
  <div :class="[{'ct-table-required':v.required&&model.rows[0].edit&& model.rows[0].delete&&!model.tableDisabled},getHeadClass(v)]">
23
23
  {{v.label}}
@@ -44,7 +44,7 @@
44
44
  </el-table-column>
45
45
 
46
46
  <!--操作列-->
47
- <el-table-column label="操作" v-if="model.rows[0].edit || model.rows[0].delete || model.buttons.length > 0" :render-header="renderHeader" :min-width="tableColumnWith">
47
+ <el-table-column label="操作" v-if="model.rows[0].edit || model.rows[0].delete || model.buttons.length > 0" :fixed="fixedButtons" :width="'100%'" :render-header="renderHeader" :min-width="tableColumnWith">
48
48
  <template slot-scope="scope">
49
49
  <span v-if="scope.row.edit || scope.row.isSet" class="el-tag el-tag--info el-tag--mini" style="cursor: pointer;" @click="saveRow(scope.row,scope.$index,true)">
50
50
  {{scope.row.isSet?'保存':"修改"}}
@@ -167,10 +167,11 @@
167
167
  model: null,
168
168
  foucus: false,
169
169
  itemKey: Math.random(),
170
- tableColumnWith: 0
170
+ tableColumnWith: 0,
171
+ fixedButtons:false,
171
172
  }
172
173
  },
173
- created() {
174
+ created() {
174
175
  let self = this;
175
176
  this.model = this.vmodel;
176
177
  this.model.OptApi = this.api;
@@ -181,6 +182,17 @@
181
182
  self.model.refFieldsLabel = this.$refs.FieldsLabel;
182
183
  });
183
184
  },
185
+ mounted() {
186
+ this.$nextTick(function () {
187
+ let domT=document.querySelector('#listTable');
188
+ if(domT){
189
+ let domB=domT.querySelector('.el-table__body-wrapper');
190
+ if(domB && domB.scrollWidth>domB.offsetWidth){
191
+ this.fixedButtons='right';
192
+ }
193
+ }
194
+ });
195
+ },
184
196
  methods: {
185
197
  getHeadClass(v) {
186
198
  if (v.is === "ct-inputNumber") {
@@ -178,11 +178,13 @@ const Base = function (source) {
178
178
  set locked(v) {
179
179
  source.locked = v;
180
180
  },
181
+ get width() {
182
+ return source.width;
183
+ },
181
184
  get listBind() {
182
185
  let bind = {};
183
186
  bind = {
184
187
  style: {
185
- //width: 200 + 'px',
186
188
  'width': source.width + 'px',
187
189
  display: 'inline-table'
188
190
  }
@@ -718,6 +718,9 @@ const FormList = function (source, master) {
718
718
  get pageColumns() {
719
719
  return source.pageColumns || 1;
720
720
  },
721
+ get frozenColumns() {
722
+ return source.frozenColumns || [];
723
+ },
721
724
  };
722
725
  return rtn;
723
726
  };
package/src/main.js CHANGED
@@ -14,14 +14,14 @@ Vue.use(ElementUI, { size: 'mini'});
14
14
  // 关闭生产模式下给出的提示
15
15
  Vue.config.productionTip = false;
16
16
  Vue.use(centaline, {
17
- baseUrl: "http://10.88.22.46:17070/max-uplink-api/",
17
+ // baseUrl: "http://10.88.22.46:17070/max-uplink-api/",
18
18
  // baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
19
19
  // baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
20
20
  // baseUrl: "http://10.25.10.63:9999/service-api/v1/form/router",
21
21
  // baseUrl: "http://10.25.10.67:8080/",
22
22
  // baseUrl: "http://10.88.22.42:9999/service-api/v1/form/router",
23
23
  // baseUrl: "http://10.88.22.69:8080/api/",
24
- // baseUrl: "http://10.88.22.39:8080/",
24
+ baseUrl: "http://10.88.22.16:8080/",
25
25
  // baseUrl: "http://10.58.2.108:8080/",
26
26
  // baseUrl: "http://tjcptest.centaline.com.cn/",
27
27
  // baseUrl: "http://tjcpuat.centaline.com.cn:9090/",
@@ -56,7 +56,7 @@ Vue.use(centaline, {
56
56
  // 获取请求头
57
57
  getRequestHeaders: function () {
58
58
  return {
59
- oldToken: 'cd6060fd-36e5-47f1-8cb9-7fc6f61e645c',
59
+ oldToken: '681f7eeb-e659-4c3b-a8c4-88d60c36a518',
60
60
  token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQRO_iOiv5s1570zn-NBwiIuBIoUIkkUCIuxMEdPRMMRq95s1dzOsgWmHIccikIFr0gKQsMJYCURKxKdKYlHr-BH7UNz26yCFkByg7Aiw2A-tYwLDtEubgUibRiHo9i1aRRy-dtdSIab-8gdNKvcA618uu3v5x7rRMm3YkOZAfR6BtAWp_3LQHBNI8KHbkqlHi8QQAAP__.RrBgBqaFlp478oO3g5k_EEtjPt_o8qpJBkzgSP78Wa4',
61
61
  authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrEOgjAURf-lMy9p6aPvlY2-wuJHkAIlwckIJBrjv6tRN3fPcIeznHtT6z6oWkVuNEpnQdqyAoxUQdMRQxBmHUqyGLj3H-DHfOmNQU_GtdB4EkCHFtgIg6AT7GJrJURVqHw5qdo4b5CRNBZqSdtbWM_2JfY1nw_5-o9zx215Zj2lZFEbGGbUgKUfIc2ZIdPoHI5I05TV_QEAAP__.JcB2iXcfHNcB2eJQ_kEIhID-UXCMx-HDoIuv9ZIA33I"}',
62
62
 
@@ -1051,11 +1051,13 @@ var Base = function Base(source) {
1051
1051
  set locked(v) {
1052
1052
  source.locked = v;
1053
1053
  },
1054
+ get width() {
1055
+ return source.width;
1056
+ },
1054
1057
  get listBind() {
1055
1058
  var bind = {};
1056
1059
  bind = {
1057
1060
  style: {
1058
- //width: 200 + 'px',
1059
1061
  'width': source.width + 'px',
1060
1062
  display: 'inline-table'
1061
1063
  }
@@ -24382,7 +24384,8 @@ var ctSpan = { //临时的span组件对象,用于vue双向绑定,强制更
24382
24384
  model: null,
24383
24385
  foucus: false,
24384
24386
  itemKey: Math.random(),
24385
- tableColumnWith: 0
24387
+ tableColumnWith: 0,
24388
+ fixedButtons: false
24386
24389
  };
24387
24390
  },
24388
24391
  created: function created() {
@@ -24396,6 +24399,17 @@ var ctSpan = { //临时的span组件对象,用于vue双向绑定,强制更
24396
24399
  self.model.refFieldsLabel = this.$refs.FieldsLabel;
24397
24400
  });
24398
24401
  },
24402
+ mounted: function mounted() {
24403
+ this.$nextTick(function () {
24404
+ var domT = document.querySelector('#listTable');
24405
+ if (domT) {
24406
+ var domB = domT.querySelector('.el-table__body-wrapper');
24407
+ if (domB && domB.scrollWidth > domB.offsetWidth) {
24408
+ this.fixedButtons = 'right';
24409
+ }
24410
+ }
24411
+ });
24412
+ },
24399
24413
 
24400
24414
  methods: {
24401
24415
  getHeadClass: function getHeadClass(v) {
@@ -34721,6 +34735,9 @@ var FormList = function FormList(source, master) {
34721
34735
  },
34722
34736
  get pageColumns() {
34723
34737
  return source.pageColumns || 1;
34738
+ },
34739
+ get frozenColumns() {
34740
+ return source.frozenColumns || [];
34724
34741
  }
34725
34742
  };
34726
34743
  return rtn;
@@ -50950,7 +50967,7 @@ exports.push([module.i, ".el-collapse{border-top:none}.ct-collapse-item-title .e
50950
50967
  "use strict";
50951
50968
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicFormListTable_vue__ = __webpack_require__(189);
50952
50969
  /* unused harmony namespace reexport */
50953
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c2704ecc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicFormListTable_vue__ = __webpack_require__(488);
50970
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e0fbf59e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicFormListTable_vue__ = __webpack_require__(488);
50954
50971
  function injectStyle (ssrContext) {
50955
50972
  __webpack_require__(486)
50956
50973
  }
@@ -50970,7 +50987,7 @@ var __vue_scopeId__ = null
50970
50987
  var __vue_module_identifier__ = null
50971
50988
  var Component = normalizeComponent(
50972
50989
  __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicFormListTable_vue__["a" /* default */],
50973
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c2704ecc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicFormListTable_vue__["a" /* default */],
50990
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e0fbf59e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicFormListTable_vue__["a" /* default */],
50974
50991
  __vue_template_functional__,
50975
50992
  __vue_styles__,
50976
50993
  __vue_scopeId__,
@@ -50991,7 +51008,7 @@ var content = __webpack_require__(487);
50991
51008
  if(typeof content === 'string') content = [[module.i, content, '']];
50992
51009
  if(content.locals) module.exports = content.locals;
50993
51010
  // add the styles to the DOM
50994
- var update = __webpack_require__(2)("f92e1bb6", content, true, {});
51011
+ var update = __webpack_require__(2)("3a18e164", content, true, {});
50995
51012
 
50996
51013
  /***/ }),
50997
51014
  /* 487 */
@@ -51012,7 +51029,7 @@ exports.push([module.i, ".el-table-add-row{margin-top:10px;width:100%;height:34p
51012
51029
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
51013
51030
 
51014
51031
  "use strict";
51015
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"focus",rawName:"v-focus",value:(_vm.foucus),expression:"foucus"}],staticClass:"ct-form-list",class:{'tableDisabled':_vm.model.tableDisabled}},[(_vm.model.title)?_c('div',{staticClass:"list-title"},[_c('h5',[_vm._v(_vm._s(_vm.model.title))])]):(_vm.model.create || (_vm.model.selectRouter && _vm.model.selectRouter.id))?_c('div',{staticClass:"list-title"}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"list-button"},[(_vm.model.selectRouter!==null)?_c(_vm.model.selectRouter.is,{tag:"component",attrs:{"vmodel":_vm.model.selectRouter},on:{"click":_vm.popupSearchListHandle}}):_vm._e(),_vm._v(" "),(_vm.model.create)?_c('el-button',{staticClass:"max-btn-add",staticStyle:{"width":"auto"},attrs:{"disabled":_vm.model.disabled,"type":"success","size":"mini","icon":"el-icon-circle-plus-outline"},on:{"click":_vm.addRow}},[_vm._v("\n "+_vm._s(_vm.model.createText)+"\n ")]):_vm._e()],1),_vm._v(" "),_c('div',{attrs:{"id":"listTable"}},[_c('el-row',[_c('el-col',{attrs:{"span":24}},[_c('el-table',{key:_vm.itemKey,staticClass:"max-table--border",staticStyle:{"width":"100%"},attrs:{"size":"mini","data":_vm.model.tableData,"border":"","highlight-current-row":"","show-summary":_vm.model.showSummary,"summary-method":_vm.getSummaries}},[_vm._l((_vm.model.rows[0].field),function(v,i){return (v.show !== false && v.type!==13)?_c('el-table-column',{key:i,attrs:{"prop":v.id,"label":v.label,"render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [_c('div',{class:[{'ct-table-required':v.required&&_vm.model.rows[0].edit&& _vm.model.rows[0].delete&&!_vm.model.tableDisabled},_vm.getHeadClass(v)]},[_vm._v("\n "+_vm._s(v.label)+"\n ")])]}},{key:"default",fn:function(scope){return [(scope.row.isSet)?_c('span',[_c(_vm.model.currentRow.data[v.id].locked || _vm.model.currentRow.data[v.id].is!==v.is?_vm.model.currentRow.data[v.id].is:v.is,{key:_vm.model.currentRow.data[v.id].rowKey,ref:"Fields",refInFor:true,tag:"component",attrs:{"vmodel":_vm.model.currentRow.data[v.id],"api":_vm.model.OptApi},on:{"change":function($event){_vm.changeHandler(_vm.model.currentRow.data[v.id], _vm.model.currentRow.data.$sourceIndex)},"input":function($event){_vm.inputHandler(_vm.model.currentRow.data[v.id], _vm.model.currentRow.data.$sourceIndex)}}})],1):(v.is=='ct-sensitiveeye')?_c('span',[_c(v.is,{ref:"Fields",refInFor:true,tag:"component",attrs:{"vmodel":scope.row[v.id],"vrowmodel":scope.row,"api":_vm.model.OptApi}})],1):(v.router)?_c('span',{class:'cell',staticStyle:{"display":"flex"}},[_c('span',[_vm._v(_vm._s(scope.row.isSet))]),_vm._v(" "),_c('ct-tablecurrency',{attrs:{"router":v.router,"colValue":scope.row[v.id].code1,"rowData":scope.row},on:{"click":_vm.rolRouterClickHandler}})],1):_c('ct-span',{key:scope.row[v.id].rowKey,ref:"FieldsLabel",refInFor:true,attrs:{"vmodel":scope.row[v.id],"rowNum":scope.row.$sourceIndex,"rowData":scope.row}})]}}])}):_vm._e()}),_vm._v(" "),(_vm.model.rows[0].edit || _vm.model.rows[0].delete || _vm.model.buttons.length > 0)?_c('el-table-column',{attrs:{"label":"操作","render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.edit || scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,true)}}},[_vm._v("\n "+_vm._s(scope.row.isSet?'保存':"修改")+"\n ")]):_vm._e(),_vm._v(" "),(scope.row.delete && !scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--danger el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.deleteRow(scope.$index, scope.row.$sourceIndex)}}},[_vm._v("\n 删除\n ")]):(scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,false)}}},[_vm._v("\n 取消\n ")]):_vm._e(),_vm._v(" "),_vm._l((_vm.model.buttons),function(v,i){return (!scope.row.isSet && v.show && ( !v.rightField || !scope.row[v.rightField] || scope.row[v.rightField].value == 1 ))?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.buttonClick(scope.row, v)}}},[_vm._v("\n "+_vm._s(v.label)+"\n ")]):_vm._e()})]}}])}):_vm._e()],2)],1)],1)],1),_vm._v(" "),(_vm.model.description)?_c('div',{domProps:{"innerHTML":_vm._s(_vm.model.description)}}):_vm._e()])}
51032
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"focus",rawName:"v-focus",value:(_vm.foucus),expression:"foucus"}],staticClass:"ct-form-list",class:{'tableDisabled':_vm.model.tableDisabled}},[(_vm.model.title)?_c('div',{staticClass:"list-title"},[_c('h5',[_vm._v(_vm._s(_vm.model.title))])]):(_vm.model.create || (_vm.model.selectRouter && _vm.model.selectRouter.id))?_c('div',{staticClass:"list-title"}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"list-button"},[(_vm.model.selectRouter!==null)?_c(_vm.model.selectRouter.is,{tag:"component",attrs:{"vmodel":_vm.model.selectRouter},on:{"click":_vm.popupSearchListHandle}}):_vm._e(),_vm._v(" "),(_vm.model.create)?_c('el-button',{staticClass:"max-btn-add",staticStyle:{"width":"auto"},attrs:{"disabled":_vm.model.disabled,"type":"success","size":"mini","icon":"el-icon-circle-plus-outline"},on:{"click":_vm.addRow}},[_vm._v("\n "+_vm._s(_vm.model.createText)+"\n ")]):_vm._e()],1),_vm._v(" "),_c('div',{attrs:{"id":"listTable"}},[_c('el-row',[_c('el-col',{attrs:{"span":24}},[_c('el-table',{key:_vm.itemKey,staticClass:"max-table--border",staticStyle:{"width":"100%"},attrs:{"size":"mini","data":_vm.model.tableData,"border":"","highlight-current-row":"","show-summary":_vm.model.showSummary,"summary-method":_vm.getSummaries}},[_vm._l((_vm.model.rows[0].field),function(v,i){return (v.show !== false && v.type!==13)?_c('el-table-column',{key:i,attrs:{"prop":v.id,"label":v.label,"width":v.width,"fixed":_vm.model.frozenColumns.includes(v.id),"render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [_c('div',{class:[{'ct-table-required':v.required&&_vm.model.rows[0].edit&& _vm.model.rows[0].delete&&!_vm.model.tableDisabled},_vm.getHeadClass(v)]},[_vm._v("\n "+_vm._s(v.label)+"\n ")])]}},{key:"default",fn:function(scope){return [(scope.row.isSet)?_c('span',[_c(_vm.model.currentRow.data[v.id].locked || _vm.model.currentRow.data[v.id].is!==v.is?_vm.model.currentRow.data[v.id].is:v.is,{key:_vm.model.currentRow.data[v.id].rowKey,ref:"Fields",refInFor:true,tag:"component",attrs:{"vmodel":_vm.model.currentRow.data[v.id],"api":_vm.model.OptApi},on:{"change":function($event){_vm.changeHandler(_vm.model.currentRow.data[v.id], _vm.model.currentRow.data.$sourceIndex)},"input":function($event){_vm.inputHandler(_vm.model.currentRow.data[v.id], _vm.model.currentRow.data.$sourceIndex)}}})],1):(v.is=='ct-sensitiveeye')?_c('span',[_c(v.is,{ref:"Fields",refInFor:true,tag:"component",attrs:{"vmodel":scope.row[v.id],"vrowmodel":scope.row,"api":_vm.model.OptApi}})],1):(v.router)?_c('span',{class:'cell',staticStyle:{"display":"flex"}},[_c('span',[_vm._v(_vm._s(scope.row.isSet))]),_vm._v(" "),_c('ct-tablecurrency',{attrs:{"router":v.router,"colValue":scope.row[v.id].code1,"rowData":scope.row},on:{"click":_vm.rolRouterClickHandler}})],1):_c('ct-span',{key:scope.row[v.id].rowKey,ref:"FieldsLabel",refInFor:true,attrs:{"vmodel":scope.row[v.id],"rowNum":scope.row.$sourceIndex,"rowData":scope.row}})]}}])}):_vm._e()}),_vm._v(" "),(_vm.model.rows[0].edit || _vm.model.rows[0].delete || _vm.model.buttons.length > 0)?_c('el-table-column',{attrs:{"label":"操作","fixed":_vm.fixedButtons,"width":'100%',"render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.edit || scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,true)}}},[_vm._v("\n "+_vm._s(scope.row.isSet?'保存':"修改")+"\n ")]):_vm._e(),_vm._v(" "),(scope.row.delete && !scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--danger el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.deleteRow(scope.$index, scope.row.$sourceIndex)}}},[_vm._v("\n 删除\n ")]):(scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,false)}}},[_vm._v("\n 取消\n ")]):_vm._e(),_vm._v(" "),_vm._l((_vm.model.buttons),function(v,i){return (!scope.row.isSet && v.show && ( !v.rightField || !scope.row[v.rightField] || scope.row[v.rightField].value == 1 ))?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.buttonClick(scope.row, v)}}},[_vm._v("\n "+_vm._s(v.label)+"\n ")]):_vm._e()})]}}])}):_vm._e()],2)],1)],1)],1),_vm._v(" "),(_vm.model.description)?_c('div',{domProps:{"innerHTML":_vm._s(_vm.model.description)}}):_vm._e()])}
51016
51033
  var staticRenderFns = []
51017
51034
  var esExports = { render: render, staticRenderFns: staticRenderFns }
51018
51035
  /* harmony default export */ __webpack_exports__["a"] = (esExports);