{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\form\\BusinessObjEnts.vue?vue&type=template&id=6e05f0ae&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\form\\BusinessObjEnts.vue","mtime":1675071992881},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{staticClass:\"card\"},[_c('div',{staticClass:\"flex card__header\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('el-tooltip',{staticClass:\"item\",attrs:{\"effect\":\"dark\",\"content\":\"一个业务对象有且仅有一个主实体,可以添加任意数量的子实体\",\"placement\":\"right-start\"}},[_c('span',{staticClass:\"el-icon-question m-l-10\"},[_c('strong',[_vm._v(\"实体列表\")])])]),_c('div',[_c('el-button',{staticClass:\"m-l-20\",attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.addEntRows()}}},[_vm._v(\"添加实体\")]),_c('el-button',{on:{\"click\":function($event){return _vm.addEntExts()}}},[_vm._v(\"添加外部表\")])],1)],1),_c('div',{staticClass:\"card__body\"},[_c('el-scrollbar',{staticClass:\"scrollbar-fullheight\"},_vm._l((_vm.formData.ents),function(item,index){return _c('div',{key:index,staticClass:\"card__ent\",class:{'active':item.isCheck && _vm.currentSunIndex < 0}},[_c('div',{on:{\"click\":function($event){return _vm.getEntsByIndex(index)}}},[_c('div',{staticClass:\"card__ent--header flex\"},[_c('span',{staticClass:\"card__ent--title\"},[_vm._v(_vm._s(item.show))]),_c('div',{staticClass:\"card__ent--btngroup\"},[(item.isExternal == '1')?_c('span',{staticClass:\"el-icon-search\",attrs:{\"title\":\"查看外部表详情\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.addEntExts(index)}}}):_vm._e(),(item.isExternal != '1' && item.relation != 'main')?_c('span',{staticClass:\"el-icon-plus\",attrs:{\"title\":\"添加孙实体\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.addGrandSonEnt(index)}}}):_vm._e(),_c('el-popconfirm',{attrs:{\"title\":\"确定删除吗?\"},on:{\"onConfirm\":function($event){return _vm.deleteEntRows(index)}}},[(!item.id || !_vm.deployed)?_c('span',{staticClass:\"el-icon-delete\",attrs:{\"slot\":\"reference\",\"title\":\"删除\"},slot:\"reference\"}):_vm._e()]),_c('el-popconfirm',{staticClass:\"external-delete\",attrs:{\"title\":\"确定删除吗?此操作会把子实体下的所有孙实体一并删除并且不可逆转且表单需要重新配置!\",\"icon\":\"el-icon-info\",\"icon-color\":\"red\"},on:{\"onConfirm\":function($event){return _vm.deleteEnt(index)}}},[(item.id && item.isExternal==1 && item.type!='main')?_c('span',{staticClass:\"el-icon-delete\",attrs:{\"slot\":\"reference\",\"title\":\"删除\"},slot:\"reference\"}):_vm._e()])],1)]),_c('div',{staticClass:\"card__ent--body\"},[_c('ht-form-item',{attrs:{\"label\":\"实体描述\",\"label-width\":\"90px\"}},[_c('ht-input',{attrs:{\"placeholder\":\"请输入内容\",\"id\":'changeEntsDesc'+index,\"type\":\"textarea\",\"autosize\":\"\",\"maxlength\":50,\"showWordLimit\":true,\"validate\":{ required: true }},on:{\"input\":function($event){return _vm.chineseFormat('entName'+index,_vm.formData.ents,'name',index,item.comment)},\"blur\":function($event){return _vm.entBlur(index)}},model:{value:(item.comment),callback:function ($$v) {_vm.$set(item, \"comment\", $$v)},expression:\"item.comment\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"实体名称\",\"label-width\":\"90px\"}},[_c('ht-input',{attrs:{\"disabled\":item.id && _vm.deployed,\"placeholder\":\"请输入内容\",\"id\":'entName'+index,\"name\":'entName'+index,\"validate\":'required: true|regex:^[a-zA-Z][a-zA-Z0-9_]*$,只能输入字母、数字、下划线,且以字母开头',\"maxlength\":50,\"showWordLimit\":true},on:{\"blur\":function($event){return _vm.entBlur(index)}},model:{value:(item.name),callback:function ($$v) {_vm.$set(item, \"name\", $$v)},expression:\"item.name\"}})],1),(item.relation!='main')?_c('ht-form-item',{attrs:{\"label\":\"实体关系\",\"label-width\":\"90px\"}},[_c('ht-radio',{attrs:{\"option-layout\":\"horizontal\",\"disabled\":item.id && _vm.deployed,\"options\":_vm.relationData},model:{value:(item.relation),callback:function ($$v) {_vm.$set(item, \"relation\", $$v)},expression:\"item.relation\"}})],1):_vm._e()],1)]),(item.children && item.children.length > 0)?_c('div',[_c('el-collapse',{attrs:{\"accordion\":\"\"},model:{value:(_vm.activeNames),callback:function ($$v) {_vm.activeNames=$$v},expression:\"activeNames\"}},_vm._l((item.children),function(v,i){return _c('el-collapse-item',{key:i,class:{'active':i==_vm.currentSunIndex},attrs:{\"name\":i}},[_c('div',{staticClass:\"flex card__acd--header\",attrs:{\"slot\":\"title\"},on:{\"click\":function($event){return _vm.getGrandSonEntsByIndex(i,index)}},slot:\"title\"},[_c('span',{staticClass:\"card__acd--title\"},[_vm._v(_vm._s(v.show))]),_c('div',{staticClass:\"card__acd--btngroup\"},[(item.isExternal == '1' && i==_vm.currentSunIndex)?_c('span',{staticClass:\"el-icon-search\",attrs:{\"title\":\"查看外部表详情\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.addEntExts(index, i)}}}):_vm._e(),((!_vm.deployed || !v.id) && i==_vm.currentSunIndex)?_c('span',{staticClass:\"el-icon-delete\",attrs:{\"title\":\"删除\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.deleteGrandSonEntRows(i,index)}}}):_vm._e()])]),_c('div',{staticClass:\"card__acd--body\"},[_c('ht-form-item',{attrs:{\"label\":\"实体描述\",\"label-width\":\"90px\"}},[_c('ht-input',{attrs:{\"placeholder\":\"请输入内容\",\"id\":'changeGrandSonEntsDesc'+i,\"validate\":{ required: true },\"maxlength\":50,\"showWordLimit\":true},on:{\"blur\":function($event){return _vm.entBlur(i)},\"input\":function($event){return _vm.chineseFormat('changeGrandSonEntsName' +i,_vm.formData.ents[index].children,'name',i,v.desc)}},model:{value:(v.desc),callback:function ($$v) {_vm.$set(v, \"desc\", $$v)},expression:\"v.desc\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"实体名称\",\"label-width\":\"90px\"}},[_c('ht-input',{attrs:{\"disabled\":v.id && _vm.deployed,\"placeholder\":\"请输入内容\",\"id\":'changeGrandSonEntsName' +i,\"name\":'changeGrandSonEntsName'+i,\"validate\":'required: true|regex:^[a-zA-Z][a-zA-Z0-9_]*$,只能输入字母、数字、下划线,且以字母开头',\"maxlength\":50,\"showWordLimit\":true},on:{\"blur\":function($event){return _vm.entBlur(i)}},model:{value:(v.name),callback:function ($$v) {_vm.$set(v, \"name\", $$v)},expression:\"v.name\"}})],1),_c('ht-form-item',{attrs:{\"label\":\"实体关系\",\"label-width\":\"90px\"}},[_c('ht-radio',{attrs:{\"disabled\":v.id && _vm.deployed,\"options\":_vm.relationData},model:{value:(v.relation),callback:function ($$v) {_vm.$set(v, \"relation\", $$v)},expression:\"v.relation\"}})],1)],1)])}),1)],1):_vm._e()])}),0)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"]}