(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0de973"],{"85ff":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.opinionData&&t.opinionData.length>0?["horizontal"===t.layout?a("el-table",{attrs:{data:t.opinionData,border:"",stripe:""}},[a("template",{slot:"empty"},[a("ibps-empty")],1),t._l(t.options,(function(e,n){return[e.checked?a("el-table-column",{key:n,attrs:{label:t.$t(e.label)},scopedSlots:t._u([{key:"default",fn:function(n){var i=n.row;return["statusName"===e.value?[a("el-tag",{staticStyle:{border:"0 !important","background-color":"unset !important"},style:{color:i.nodeColor+" !important"},attrs:{effect:"plain"}},[t._v(" "+t._s(t.$t("business.platform.bpmn.constants.status."+i["status"]))+" ")])]:"opinion"===e.value?[a("ibps-paragraph",{attrs:{ellipsis:"",rows:3,expandable:""}},[t._v(" "+t._s(t._f("filterData")(i[e.value],e,i))+" ")])]:[a("div",{staticClass:"ibps-field-text"},[t._v(t._s(t._f("filterData")(i[e.value],e,i)))])]]}}],null,!0)}):t._e()]}))],2):[t._l(t.opinionData,(function(e,n){return[a("el-card",{key:n,staticClass:"ibps-mb-10",attrs:{shadow:"hover"}},t._l(t.options,(function(i,o){return a("el-row",{key:n+o,attrs:{gutter:20}},[i.checked?[a("el-col",{staticClass:"ibps-tr",attrs:{xs:8,sm:6,md:4,lg:4,xl:4}},[t._v(t._s(t.$t(i.label))+":")]),a("el-col",{attrs:{xs:16,sm:18,md:20,lg:20,xl:20}},["statusName"===i.value?a("el-tag",{staticStyle:{border:"0 !important","background-color":"unset !important"},style:{color:e.nodeColor+" !important"},attrs:{effect:"plain"}},[t._v(" "+t._s(t.$t("business.platform.bpmn.constants.status."+e["status"]))+" ")]):"opinion"===i.value?[a("ibps-paragraph",{attrs:{ellipsis:"",rows:3,expandable:""}},[t._v(" "+t._s(t._f("filterData")(e[i.value],i,e))+" ")])]:[t._v(" "+t._s(t._f("filterData")(e[i.value],i,e))+" ")]],2)]:t._e()],2)})),1)]}))]]:t._e(),t.readonly?t._e():a("ibps-approval-opinion",{attrs:{"enable-common":t.commonCtatment,"direct-sign":t.directHandlerSign,placeholder:t.placeholder,autosize:t.autosize,rows:t.rows},on:{"direct-handler-sign":t.handleDirectHandlerSign},model:{value:t.data,callback:function(e){t.data=e},expression:"data"}})],2)},i=[],o=(a("a15b"),a("d3b7"),a("ca00")),l=a("ca28"),s=a("08a5"),r=a("fb5e"),u={components:{IbpsApprovalOpinion:s["default"]},filters:{filterData:function(t,e,a){if("auditorName"===e.value){if(o["default"].isEmpty(a.auditor)&&o["default"].isNotEmpty(a.qualifiedExecutor)){for(var n=[],i=0;i<a.qualifiedExecutor.length;i++)n.push(a.qualifiedExecutor[i].executor);t=n.join(" ")}}else if("completeTime"===e.value&&o["default"].isNotEmpty(t)){var s=t,r="yyyy-MM-dd HH:mm:ss";try{"number"===typeof s&&(s=new Date(s)),("[object Date]"!==Object.prototype.toString.call(s)||isNaN(s.getTime()))&&(s=l["dateDealFmt"].dealFmt(s,r)),t=Object(l["format"])(s,r)}catch(u){t=""}}return t}},inject:{elForm:{default:""}},props:{value:String,field:Object,readonly:{type:Boolean,default:!1},readonlyStyle:String,opinionData:{type:Array},params:Object},data:function(){return{data:""}},computed:{fieldOptions:function(){return this.field&&this.field.field_options&&this.field.field_options||{}},commonCtatment:function(){return this.$utils.toBoolean(this.fieldOptions.common_statment,!0)},layout:function(){return this.fieldOptions.arrangement||"horizontal"},options:function(){return this.fieldOptions.options||[]},optionsCheckedLength:function(){var t=0;if(this.$utils.isEmpty(this.options))return t;for(var e=0;e<this.options.length;e++){var a=this.options[e];a.checked&&(t=e)}return t},placeholder:function(){return this.fieldOptions.placeholder||""},directHandlerSign:function(){return this.$utils.toBoolean(!!this.params&&this.params.directHandlerSign,!1)},autosize:function(){return Object(r["a"])(this.fieldOptions)},rows:function(){return this.fieldOptions.rows||4}},watch:{value:function(t){this.data=t},data:{handler:function(t){this.$emit("update:value",t)},deep:!0}},methods:{handleDirectHandlerSign:function(t){this.$emit("direct-handler-sign",t)}}},p=u,c=a("2877"),d=Object(c["a"])(p,n,i,!1,null,null,null);e["default"]=d.exports}}]);