{"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\\BusinessObjAttr.vue?vue&type=template&id=0b042bef&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\form\\BusinessObjAttr.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:\"card__header flex\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',{staticClass:\"card__header--span\"},[_vm._v(\"字段列表\")]),_c('div',{staticClass:\"card__btngroup\"},[_c('el-button',{attrs:{\"disabled\":_vm.formData.ents[_vm.entIndex] && _vm.formData.ents[_vm.entIndex].isExternal != '1' || _vm.grandSonIndex != -1 && _vm.formData.ents[_vm.entIndex].children && _vm.formData.ents[_vm.entIndex].children[_vm.grandSonIndex] && _vm.formData.ents[_vm.entIndex].children[_vm.grandSonIndex].isExternal != '1'?false:true,\"type\":\"primary\"},on:{\"click\":_vm.addAttrRows}},[_c('el-tooltip',{staticClass:\"item\",attrs:{\"effect\":\"dark\",\"content\":\"按F2可快速添加字段\",\"placement\":\"top\"}},[_c('i',{staticClass:\"icon-question\",staticStyle:{\"margin-right\":\"8px\"}})]),_vm._v(\"添加字段\\n \")],1),(_vm.formData.ents[_vm.entIndex] && _vm.formData.ents[_vm.entIndex].id \n && _vm.formData.ents[_vm.entIndex].isExternal == '1'?true:false)?_c('el-button',{staticStyle:{\"margin-top\":\"9px\"},attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.reloadByEntId(_vm.formData.ents[_vm.entIndex])}}},[_vm._v(\"\\n 刷新字段\")]):_vm._e()],1)]),(_vm.formData.ents.length!=0)?_c('div',{staticClass:\"card__body\"},[_c('el-scrollbar',{staticClass:\"scrollbar-fullheight\"},[_c('el-table',{ref:\"attrTableScrollbarHeight\",attrs:{\"data\":_vm.attrData,\"data-vv-scope\":\"attr\"}},[_c('el-table-column',{attrs:{\"label\":\"序号\",\"type\":\"index\",\"align\":\"center\",\"width\":\"50\",\"fixed\":\"left\"}}),_c('el-table-column',{attrs:{\"label\":\"注释\",\"align\":\"center\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-form-item',{staticClass:\"table-item\"},[_c('el-tooltip',{staticClass:\"item\",attrs:{\"effect\":\"dark\",\"content\":scope.row.comment,\"placement\":\"top-start\",\"disabled\":scope.row.comment?false:true}},[_c('ht-input',{attrs:{\"placeholder\":\"请输入内容\",\"id\":scope.row.name+'comment'+ scope.$index,\"clearable\":\"\",\"validate\":{ required: true },\"maxlength\":50},on:{\"blur\":function($event){return _vm.entBlur(scope.$index)},\"input\":function($event){return _vm.chineseFormat(scope.row.name+'attrName'+scope.$index, _vm.attrData,'name',scope.$index,scope.row.comment)}},model:{value:(scope.row.comment),callback:function ($$v) {_vm.$set(scope.row, \"comment\", $$v)},expression:\"scope.row.comment\"}})],1)],1)]}}],null,false,3649649554)}),_c('el-table-column',{attrs:{\"label\":\"名称\",\"align\":\"center\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-form-item',{staticClass:\"table-item\"},[(scope.row.id && _vm.formData.deployed\n || scope.row.status=='hide'\n || (_vm.openGrandSonAttr ? _vm.grandSonIndex != -1 && _vm.formData.ents[_vm.entIndex].children[_vm.grandSonIndex].isExternal == '1' : _vm.formData.ents[_vm.entIndex].isExternal == '1'))?_c('span',[_vm._v(_vm._s(scope.row.name))]):_c('ht-input',{attrs:{\"id\":scope.row.name+'attrName'+scope.$index,\"placeholder\":\"请输入内容\",\"maxlength\":50,\"validate\":'required: true|regex:^[a-zA-Z][a-zA-Z0-9_]*$,只能输入字母、数字、下划线,且以字母开头'},on:{\"blur\":function($event){return _vm.entBlur(scope.$index)}},model:{value:(scope.row.name),callback:function ($$v) {_vm.$set(scope.row, \"name\", $$v)},expression:\"scope.row.name\"}})],1)]}}],null,false,1455175884)}),_c('el-table-column',{attrs:{\"label\":\"必填\",\"width\":\"70\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-form-item',{staticClass:\"table-item\"},[(scope.row.id && _vm.formData.deployed\n || scope.row.status=='hide'\n || (_vm.openGrandSonAttr ? _vm.grandSonIndex != -1 && _vm.formData.ents[_vm.entIndex].children[_vm.grandSonIndex].isExternal == '1' : _vm.formData.ents[_vm.entIndex].isExternal == '1'))?_c('span',[(scope.row.isRequired ==1)?_c('span',[_vm._v(\"是\")]):_c('span',[_vm._v(\"否\")])]):_c('el-switch',{attrs:{\"inactive-value\":\"0\",\"active-value\":\"1\"},model:{value:(scope.row.isRequired),callback:function ($$v) {_vm.$set(scope.row, \"isRequired\", $$v)},expression:\"scope.row.isRequired\"}})],1)]}}],null,false,541838843)}),_c('el-table-column',{attrs:{\"label\":\"数据类型\",\"align\":\"center\"}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"类型\",\"align\":\"center\",\"width\":\"110\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-form-item',{staticClass:\"table-item\"},[(scope.row.id && _vm.formData.deployed\n || scope.row.status=='hide'\n || (_vm.openGrandSonAttr ? _vm.grandSonIndex != -1 && _vm.formData.ents[_vm.entIndex].children[_vm.grandSonIndex].isExternal == '1' : _vm.formData.ents[_vm.entIndex].isExternal == '1'))?_c('span',[(scope.row.dataType == 'varchar')?_c('span',{attrs:{\"disabled\":\"\"}},[_vm._v(\"字符串\")]):(scope.row.dataType == 'number')?_c('span',{attrs:{\"disabled\":\"\"}},[_vm._v(\"数字\")]):(scope.row.dataType == 'date')?_c('span',{attrs:{\"disabled\":\"\"}},[_vm._v(\"日期\")]):(scope.row.dataType == 'text' || scope.row.dataType == 'clob')?_c('span',{attrs:{\"disabled\":\"\"}},[_vm._v(\"大文本\")]):_c('span',{attrs:{\"disabled\":\"\"}},[_vm._v(\"其他类型\")])]):_c('ht-select',{staticClass:\"m-r\",attrs:{\"options\":_vm.dataType},on:{\"change\":function($event){return _vm.defaultDataFormat(scope.row, scope.$index)}},model:{value:(scope.row.dataType),callback:function ($$v) {_vm.$set(scope.row, \"dataType\", $$v)},expression:\"scope.row.dataType\"}})],1)]}}],null,false,3369463045)}),_c('el-table-column',{attrs:{\"align\":\"center\",\"label\":\"格式\",\"width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-form-item',{staticClass:\"table-item\"},[(scope.row.dataType != 'date' && scope.row.dataType != '日期' ? false :\n (scope.row.id && _vm.formData.deployed\n || scope.row.status=='hide'\n || (_vm.openGrandSonAttr ? _vm.grandSonIndex != -1 && _vm.formData.ents[_vm.entIndex].children[_vm.grandSonIndex].isExternal == '1' : _vm.formData.ents[_vm.entIndex].isExternal == '1'))\n )?_c('span',[_vm._v(_vm._s(scope.row.format))]):(scope.row.dataType == 'date')?_c('ht-select',{attrs:{\"props\":{ key: 'key', value: 'value' },\"options\":_vm.dateFormat},model:{value:(scope.row.format),callback:function ($$v) {_vm.$set(scope.row, \"format\", $$v)},expression:\"scope.row.format\"}}):_vm._e()],1)]}}],null,false,1178064508)})],1),_c('el-table-column',{attrs:{\"label\":\"属性长度\",\"align\":\"center\"}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"整数长度\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.dataType !='clob')?_c('el-form-item',{staticClass:\"table-item\"},[(\n scope.row.attrLength != 0 &&\n scope.row.id && _vm.formData.deployed\n || scope.row.status=='hide' && scope.row.attrLength!=0\n || (_vm.openGrandSonAttr ? _vm.grandSonIndex != -1 && _vm.formData.ents[_vm.entIndex].children[_vm.grandSonIndex].isExternal == '1' : _vm.formData.ents[_vm.entIndex].isExternal == '1')\n )?_c('span',[(scope.row.dataType == 'number')?_c('span',[_vm._v(_vm._s(scope.row.intLen))]):_c('span',[_vm._v(_vm._s(scope.row.attrLength))])]):(\n scope.row.dataType == 'number' ||\n scope.row.dataType == 'varchar'\n )?_c('el-input',{attrs:{\"id\":scope.row.name+'attrLen'+scope.$index},on:{\"blur\":function($event){return _vm.entBlur(scope.$index)}},model:{value:(scope.row.attrLength),callback:function ($$v) {_vm.$set(scope.row, \"attrLength\", $$v)},expression:\"scope.row.attrLength\"}}):_vm._e()],1):_vm._e()]}}],null,false,1366361068)}),_c('el-table-column',{attrs:{\"label\":\"小数长度\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-form-item',{staticClass:\"table-item\"},[(scope.row.dataType != 'number' && scope.row.dataType != '数字' ? false :\n (scope.row.id && _vm.formData.deployed\n || scope.row.status=='hide'\n || (_vm.openGrandSonAttr ? _vm.grandSonIndex != -1 && _vm.formData.ents[_vm.entIndex].children[_vm.grandSonIndex].isExternal == '1' : _vm.formData.ents[_vm.entIndex].isExternal == '1')))?_c('span',[_vm._v(_vm._s(scope.row.decimalLen))]):(scope.row.dataType == 'number')?_c('el-input',{attrs:{\"id\":scope.row.name+'decima'+scope.$index},on:{\"blur\":function($event){return _vm.entBlur(scope.$index)}},model:{value:(scope.row.decimalLen),callback:function ($$v) {_vm.$set(scope.row, \"decimalLen\", $$v)},expression:\"scope.row.decimalLen\"}}):_vm._e()],1)]}}],null,false,2836498954)})],1),_c('el-table-column',{attrs:{\"label\":\"默认值\",\"width\":\"250\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-form-item',{staticClass:\"table-item\"},[(scope.row.dataType != 'clob' && scope.row.dataType != 'date' )?_c('ht-input',{attrs:{\"placeholder\":\"请输入内容\",\"disabled\":_vm.formData.ents[_vm.entIndex] && _vm.formData.ents[_vm.entIndex].isExternal != '1' || _vm.grandSonIndex != -1 && \n _vm.formData.ents[_vm.entIndex].children && _vm.formData.ents[_vm.entIndex].children[_vm.grandSonIndex] && _vm.formData.ents[_vm.entIndex].children[_vm.grandSonIndex].isExternal != '1'?false:true,\"name\":'defaultValue'+scope.$index,\"validate\":{ required: scope.row.isRequired==='1'?true:false },\"maxlength\":250},on:{\"blur\":function($event){return _vm.entBlur(scope.$index)}},model:{value:(scope.row.defaultValue),callback:function ($$v) {_vm.$set(scope.row, \"defaultValue\", $$v)},expression:\"scope.row.defaultValue\"}}):(scope.row.dataType == 'date')?_c('ht-date',{attrs:{\"format\":scope.row.format,\"validate\":{ required: scope.row.isRequired==='1'?true:false },\"value-format\":scope.row.format,\"disabled\":_vm.formData.ents[_vm.entIndex] && _vm.formData.ents[_vm.entIndex].isExternal != '1' || _vm.grandSonIndex != -1 && \n _vm.formData.ents[_vm.entIndex].children && _vm.formData.ents[_vm.entIndex].children[_vm.grandSonIndex] && _vm.formData.ents[_vm.entIndex].children[_vm.grandSonIndex].isExternal != '1'?false:true,\"placeholder\":\"请选择日期\"},model:{value:(scope.row.defaultValue),callback:function ($$v) {_vm.$set(scope.row, \"defaultValue\", $$v)},expression:\"scope.row.defaultValue\"}}):_vm._e()],1)]}}],null,false,4065348188)}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"align\":\"center\",\"width\":\"100\",\"fixed\":\"right\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.status == 'hide')?_c('el-button',{on:{\"click\":function($event){return _vm.recovery(scope.row)}}},[_vm._v(\"恢复\")]):(_vm.formData.ents[_vm.entIndex].attributeList.length > 1 && scope.row.isExternal != '1' || _vm.formData.ents[_vm.entIndex].children && _vm.attrTableData.length > 1)?_c('el-dropdown',{attrs:{\"size\":\"mini\",\"split-button\":\"\"},on:{\"command\":_vm.handleCommand,\"click\":function($event){return _vm.handleCommand({command:'del', index:scope.$index, row:scope.row})}}},[_c('i',{staticClass:\"el-icon-delete-solid\"}),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',{attrs:{\"disabled\":scope.$index==0?true:false,\"command\":{command:'up', row:scope.row, index:scope.$index}}},[_vm._v(\"\\n 上升\\n \"),_c('i',{staticClass:\"el-icon-arrow-up\"})]),_c('el-dropdown-item',{attrs:{\"disabled\":scope.$index==(_vm.openGrandSonAttr ? _vm.attrTableData.length-1:_vm.formData.ents[_vm.entIndex].attributeList.length-1)?true:false,\"command\":{command:'down', row:scope.row, index:scope.$index}}},[_vm._v(\"\\n 下降\\n \"),_c('i',{staticClass:\"el-icon-arrow-down\"})])],1)],1):_c('el-button',{staticClass:\"el-icon-delete-solid\",attrs:{\"size\":\"mini\",\"plain\":\"\",\"disabled\":\"\"}})]}}],null,false,3863945130)})],1)],1)],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"]}