12 |
- (function(e){function t(t){for(var s,n,i=t[0],l=t[1],c=t[2],m=0,u=[];m<i.length;m++)n=i[m],Object.prototype.hasOwnProperty.call(o,n)&&o[n]&&u.push(o[n][0]),o[n]=0;for(s in l)Object.prototype.hasOwnProperty.call(l,s)&&(e[s]=l[s]);p&&p(t);while(u.length)u.shift()();return r.push.apply(r,c||[]),a()}function a(){for(var e,t=0;t<r.length;t++){for(var a=r[t],s=!0,n=1;n<a.length;n++){var i=a[n];0!==o[i]&&(s=!1)}s&&(r.splice(t--,1),e=l(l.s=a[0]))}return e}var s={},n={app:0},o={app:0},r=[];function i(e){return l.p+"js/"+({}[e]||e)+"."+{"chunk-347dfc47":"937daead"}[e]+".js"}function l(t){if(s[t])return s[t].exports;var a=s[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,l),a.l=!0,a.exports}l.e=function(e){var t=[],a={"chunk-347dfc47":1};n[e]?t.push(n[e]):0!==n[e]&&a[e]&&t.push(n[e]=new Promise((function(t,a){for(var s="css/"+({}[e]||e)+"."+{"chunk-347dfc47":"5f2ba7e9"}[e]+".css",o=l.p+s,r=document.getElementsByTagName("link"),i=0;i<r.length;i++){var c=r[i],m=c.getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(m===s||m===o))return t()}var u=document.getElementsByTagName("style");for(i=0;i<u.length;i++){c=u[i],m=c.getAttribute("data-href");if(m===s||m===o)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=t,p.onerror=function(t){var s=t&&t.target&&t.target.src||o,r=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=s,delete n[e],p.parentNode.removeChild(p),a(r)},p.href=o;var f=document.getElementsByTagName("head")[0];f.appendChild(p)})).then((function(){n[e]=0})));var s=o[e];if(0!==s)if(s)t.push(s[2]);else{var r=new Promise((function(t,a){s=o[e]=[t,a]}));t.push(s[2]=r);var c,m=document.createElement("script");m.charset="utf-8",m.timeout=120,l.nc&&m.setAttribute("nonce",l.nc),m.src=i(e);var u=new Error;c=function(t){m.onerror=m.onload=null,clearTimeout(p);var a=o[e];if(0!==a){if(a){var s=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+s+": "+n+")",u.name="ChunkLoadError",u.type=s,u.request=n,a[1](u)}o[e]=void 0}};var p=setTimeout((function(){c({type:"timeout",target:m})}),12e4);m.onerror=m.onload=c,document.head.appendChild(m)}return Promise.all(t)},l.m=e,l.c=s,l.d=function(e,t,a){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(l.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)l.d(a,s,function(t){return e[t]}.bind(null,s));return a},l.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="",l.oe=function(e){throw console.error(e),e};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],m=c.push.bind(c);c.push=t,c=c.slice();for(var u=0;u<c.length;u++)t(c[u]);var p=m;r.push([0,"chunk-vendors"]),a()})({0:function(e,t,a){e.exports=a("56d7")},"034f":function(e,t,a){"use strict";var s=a("64a9"),n=a.n(s);n.a},"0409":function(e,t,a){},"0584":function(e,t,a){},"0b84":function(e,t,a){},"0b88":function(e,t,a){"use strict";var s=a("20fd"),n=a.n(s);n.a},"0c6b":function(e,t,a){},"119e":function(e,t,a){"use strict";var s=a("5e78"),n=a.n(s);n.a},"12f5":function(e,t,a){},1839:function(e,t,a){},"1e60":function(e,t,a){},"20fd":function(e,t,a){},2373:function(e,t,a){},2533:function(e,t,a){"use strict";var s=a("64e4"),n=a.n(s);n.a},"2f8a":function(e,t,a){},"30dc":function(e,t,a){"use strict";var s=a("87d8"),n=a.n(s);n.a},"365c":function(e,t,a){"use strict";a.d(t,"d",(function(){return o})),a.d(t,"h",(function(){return r})),a.d(t,"b",(function(){return i})),a.d(t,"a",(function(){return l})),a.d(t,"c",(function(){return c})),a.d(t,"e",(function(){return m})),a.d(t,"g",(function(){return u})),a.d(t,"f",(function(){return p})),a.d(t,"i",(function(){return f}));var s="http://lswz:9090/api",n="http://lswz:9090/api",o="http://lswz:9090/api/accountability-app/examinationExcel/exportCityExcel",r=s+"/myuser",i=s+"/auth",l=n+"/myuser",c=s+"/accountability-app/",m=s+"/file/file/upload",u=s+"/file",p=s+"/file/file/download",f="/api/system-center"},"37c0":function(e,t,a){"use strict";var s=a("de35"),n=a.n(s);n.a},"38a9":function(e,t,a){},"3d4d":function(e,t,a){},"42b7":function(e,t,a){"use strict";var s=a("0409"),n=a.n(s);n.a},4308:function(e,t,a){"use strict";var s=a("a332"),n=a.n(s);n.a},4360:function(e,t,a){"use strict";var s=a("2b0e"),n=a("2f62"),o=a("a78e"),r=a.n(o),i={state:{sidebar:{opened:!+r.a.get("sidebarStatus"),withoutAnimation:!1,asideState:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(e){e.sidebar.opened?r.a.set("sidebarStatus",1):r.a.set("sidebarStatus",0),console.log("sidebar状态",e.sidebar.opened),e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(e,t){r.a.set("sidebarStatus",1),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t}},actions:{ToggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},CloseSideBar:function(e,t){var a=e.commit,s=t.withoutAnimation;a("CLOSE_SIDEBAR",s)},ToggleDevice:function(e,t){var a=e.commit;a("TOGGLE_DEVICE",t)}}},l=i,c=(a("28a5"),a("7f7f"),a("938c")),m=a("5f87"),u={state:{token:Object(m["b"])(),userId:Object(m["c"])(),name:"",avatar:"",photo:Object(m["a"])(),data:[],index:0,formDatas:[]},mutations:{SET_USERID:function(e,t){e.userId=t},SET_PHOTO:function(e,t){e.photo=t},SET_TOKEN:function(e,t){e.token=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_DATA:function(e,t){e.data=t},SET_FORMDATAS:function(e,t){e.formDatas=t},SET_INDEX:function(e,t){e.index=t},SET_ORGID:function(e,t){e.orgid=t},SET_USER_NODE_LEVEL:function(e,t){e.userNodeLevel=t}},actions:{Login:function(e,t){var a=e.commit,s=t.name.trim();return new Promise((function(e,n){Object(c["c"])(s,t.password).then((function(t){var s=t.data;localStorage.setItem("token",s.token),sessionStorage.setItem("TOKENL",s.token),a("SET_TOKEN",s.token),e(t)})).catch((function(e){n(e)}))}))},clearData:function(e){var t=e.commit;return new Promise((function(e,a){t("SET_DATA",[])}))},GetInfo:function(e){var t=e.commit;e.state;return new Promise((function(e,s){var n=window.sessionStorage.getItem("TOKENL"),o=n.split(".")[1],r=a("27ae").Base64,i=JSON.parse(r.decode(o));t("SET_DATA",i),e(i),console.log(i),sessionStorage.setItem("areaCode",i.areaCode),sessionStorage.setItem("orgName",i.orgName),sessionStorage.setItem("orgId",i.orgId),sessionStorage.setItem("userId",i.userId),sessionStorage.setItem("userName",i.userName)}))},LogOut:function(e){var t=e.commit,a=e.state;return new Promise((function(e,s){Object(c["b"])(a.token).then((function(){alert("clear"),t("SET_TOKEN",""),t("SET_DATA",[]),Object(m["e"])(),window.localStorage.removeItem("token"),sessionStorage.clear(),localStorage.clear(),e(),Object(m["d"])(),Object(m["f"])()})).catch((function(e){s(e)}))}))},FedLogOut:function(e){var t=e.commit;return new Promise((function(e){t("SET_TOKEN",""),t("SET_DATA",[]),Object(m["e"])(),window.localStorage.removeItem("token"),sessionStorage.clear(),localStorage.clear(),Object(m["f"])(),Object(m["d"])(),e()}))},ChangeMenu:function(e,t){var a=e.commit;return new Promise((function(e){a("SET_INDEX",t)}))},setTokens:function(e){var t=e.commit;return new Promise((function(e,a){t("SET_DATA",[])}))}}},p=u,f={sidebar:function(e){return e.app.sidebar},navbar:function(e){return e.app.navbar},device:function(e){return e.app.device},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},data:function(e){return e.user.data},userId:function(e){return e.user.userId},photo:function(e){return e.user.photo},formDatas:function(e){return e.user.formDatasl},index:function(e){return e.user.index?e.user.index:window.localStorage.getItem("menuIndex")}},d=f;s["default"].use(n["a"]);var h=new n["a"].Store({modules:{app:l,user:p},getters:d});t["a"]=h},"43a2":function(e,t,a){"use strict";var s=a("8e0f"),n=a.n(s);n.a},46306:function(e,t,a){},4889:function(e,t,a){"use strict";var s=a("968b"),n=a.n(s);n.a},"497c":function(e,t,a){},"4ddc":function(e,t,a){},"4fce":function(e,t,a){"use strict";var s=a("8b08"),n=a.n(s);n.a},"503a":function(e,t,a){},"51fe":function(e,t,a){"use strict";var s=a("7e35"),n=a.n(s);n.a},"56c2":function(e,t,a){"use strict";var s=a("0c6b"),n=a.n(s);n.a},"56d7":function(e,t,a){"use strict";a.r(t);a("14c6"),a("08c1"),a("4842"),a("d9fc");var s=a("2b0e"),n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"headResponsibility"}},[a("router-view")],1)},o=[],r=a("938c"),i={name:"headResponsibility",components:{},created:function(){}},l=i,c=(a("034f"),a("2877")),m=Object(c["a"])(l,n,o,!1,null,null,null),u=m.exports,p=a("8c4f"),f=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content-wrap"},[a("el-row",[a("el-col",{attrs:{span:4}},[a("MenuList")],1),a("el-col",{attrs:{span:20}},[a("BreadCrumb"),a("router-view")],1)],1)],1)},d=[],h=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"menuList-wrap",attrs:{id:"elAside"}},[a("transition",{attrs:{name:"el-fade-in"}},[a("div",{staticClass:"project-title iconfont iconchubeiliangguanli"},[e._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:e.isShowText,expression:"isShowText"}]},[e._v("粮食安全盟市长责任制")])])]),a("el-scrollbar",{staticClass:"live-scrollbar"},[a("div",{directives:[{name:"show",rawName:"v-show",value:!e.isShowText,expression:"!isShowText"}],staticClass:"switcher-wrap1",on:{click:function(t){e.switcherMenus()}}},[a("i",{staticClass:"el-icon-d-arrow-right RightP"})]),a("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{router:"","default-active":e.$route.path,"background-color":"#F6F7F9","text-color":"#666666","active-text-color":"#fff","show-timeout":100}},[e.switchMenu?e._e():a("Menu-item",{attrs:{routes:e.routes}})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowText,expression:"isShowText"}],staticClass:"switcher-wrap",on:{click:function(t){e.switcherMenus()}}},[a("span",{staticClass:"pubIMg LeftP"})])],1)],1)},g=[],b=(a("8e6e"),a("ac6a"),a("456d"),a("bd86")),y=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"menuItem-wrapper"},[e._l(e.routes,(function(t,s){return[0===t.children.length?a("el-menu-item",{attrs:{index:t.resourceUrl}},[a("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.resourceName))])]):a("el-submenu",{attrs:{index:s+""}},[a("template",{slot:"title"},[a("span",[e._v(e._s(t.resourceName))])]),e._l(t.children,(function(t,n){return[0===t.children.length?a("el-menu-item",{attrs:{index:t.resourceUrl}},[e._v("\n "+e._s(t.resourceName)+"\n ")]):a("el-submenu",{attrs:{index:s+"-"+n}},[a("template",{slot:"title"},[e._v(e._s(t.resourceName))]),e._l(t.children,(function(t,s){return 0===t.children.length?a("el-menu-item",{key:t.powerId,attrs:{index:t.resourceUrl}},[e._v("\n "+e._s(t.resourceName)+"\n ")]):e._e()})),e._l(t.children,(function(t,o){return 0!==t.children.length?a("el-submenu",{key:t.powerId,attrs:{index:s+"-"+n+"-"+o}},[a("template",{slot:"title"},[e._v(e._s(t.resourceName))]),e._l(t.children,(function(t,s){return 0===t.children.length?a("el-menu-item",{key:t.powerId,attrs:{index:t.resourceUrl}},[e._v("\n "+e._s(t.resourceName)+"\n ")]):e._e()}))],2):e._e()}))],2)]}))],2)]}))],2)},w=[],v={name:"menuItem",props:{routes:{type:Array}},data:function(){return{}},created:function(){},methods:{}},x=v,C=(a("a8c8"),Object(c["a"])(x,y,w,!1,null,"fbe5cfcc",null)),I=C.exports,S=a("2f62"),k=a("1157"),T=a.n(k);function _(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function z(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?_(a,!0).forEach((function(t){Object(b["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_(a).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var $={name:"menuList",components:{MenuItem:I},data:function(){return{isCollapse:!1,isShowText:!0,switchMenu:!1,menuData:[{version:0,stateCode:1,createDate:null,creatorCode:null,creator:null,refreshTime:null,refresher:null,refresherCode:null,remark:null,resourceCode:"RM1001007001001",resourceName:"省级任务分配管理",parentCode:"RM1001007001",resourceType:"10440001",resourceIndex:1,resourcePic:null,functionPic:null,resourceExpic:null,resourceDesc:null,resourceUrl:null,resourceTable:null,resourceKey:null,children:[{version:2,stateCode:1,createDate:null,creatorCode:null,creator:null,refreshTime:null,refresher:null,refresherCode:null,remark:null,resourceCode:"RM1001007001001001",resourceName:"省级任务填报设置",parentCode:"RM1001007001001",resourceType:"10440001",resourceIndex:1,resourcePic:null,functionPic:null,resourceExpic:null,resourceDesc:null,resourceUrl:"/accountability/scoringWeight",resourceTable:null,resourceKey:null,children:[]},{version:2,stateCode:1,createDate:null,creatorCode:null,creator:null,refreshTime:null,refresher:null,refresherCode:null,remark:null,resourceCode:"RM1001007001001001",resourceName:"考核评分表管理",parentCode:"RM1001007001001",resourceType:"10440001",resourceIndex:1,resourcePic:null,functionPic:null,resourceExpic:null,resourceDesc:null,resourceUrl:"/accountability/management",resourceTable:null,resourceKey:null,children:[]},{version:2,stateCode:1,createDate:null,creatorCode:null,creator:null,refreshTime:null,refresher:null,refresherCode:null,remark:null,resourceCode:"RM1001007001001001",resourceName:"下发盟市考核任务",parentCode:"RM1001007001001",resourceType:"10440001",resourceIndex:1,resourcePic:null,functionPic:null,resourceExpic:null,resourceDesc:null,resourceUrl:"/accountability/assessmentOfCity",resourceTable:null,resourceKey:null,children:[]},{version:2,stateCode:1,createDate:null,creatorCode:null,creator:null,refreshTime:null,refresher:null,refresherCode:null,remark:null,resourceCode:"RM1001007001001001",resourceName:"省级任务考查询(省考核办)",parentCode:"RM1001007001001",resourceType:"10440001",resourceIndex:1,resourcePic:null,functionPic:null,resourceExpic:null,resourceDesc:null,resourceUrl:"/accountability/assessmentQuery",resourceTable:null,resourceKey:null,children:[]}]},{version:0,stateCode:1,createDate:null,creatorCode:null,creator:null,refreshTime:null,refresher:null,refresherCode:null,remark:null,resourceCode:"RM1001007001001",resourceName:"盟市任务考核管理",parentCode:"RM1001007001",resourceType:"10440001",resourceIndex:1,resourcePic:null,functionPic:null,resourceExpic:null,resourceDesc:null,resourceUrl:null,resourceTable:null,resourceKey:null,children:[{version:2,stateCode:1,createDate:null,creatorCode:null,creator:null,refreshTime:null,refresher:null,refresherCode:null,remark:null,resourceCode:"RM1001007001001001",resourceName:"盟市任务填报设置",parentCode:"RM1001007001001",resourceType:"10440001",resourceIndex:1,resourcePic:null,functionPic:null,resourceExpic:null,resourceDesc:null,resourceUrl:"/accountability/taskReporting",resourceTable:null,resourceKey:null,children:[]},{version:2,stateCode:1,createDate:null,creatorCode:null,creator:null,refreshTime:null,refresher:null,refresherCode:null,remark:null,resourceCode:"RM1001007001001001",resourceName:"盟市任务分配管理(市考核办)",parentCode:"RM1001007001001",resourceType:"10440001",resourceIndex:1,resourcePic:null,functionPic:null,resourceExpic:null,resourceDesc:null,resourceUrl:"/accountability/taskAudit",resourceTable:null,resourceKey:null,children:[]},{version:2,stateCode:1,createDate:null,creatorCode:null,creator:null,refreshTime:null,refresher:null,refresherCode:null,remark:null,resourceCode:"RM1001007001001001",resourceName:"盟市自评部门审核",parentCode:"RM1001007001001",resourceType:"10440001",resourceIndex:1,resourcePic:null,functionPic:null,resourceExpic:null,resourceDesc:null,resourceUrl:"/accountability/selfAudit",resourceTable:null,resourceKey:null,children:[]}]}]}},created:function(){},computed:z({},Object(S["b"])(["index"]),{routes:function(){var e=JSON.parse(sessionStorage.getItem("leftMenuList"));return e.map((function(t){"RM1001003020"==t.resourceCode&&(e=t.children)})),e}}),methods:{switcherMenus:function(){this.isCollapse?(this.isCollapse=!1,this.isShowText=!0,this.switchMenu=!1,T()("#elAside,.project-title").animate({width:"249px"}),T()("#sider").css("width"," 16.66667%"),T()("#main").css("width","83.33333%")):(this.switchMenu=!0,this.isCollapse=!0,this.isShowText=!1,T()("#elAside,.project-title").animate({width:"34px"}),T()("#sider").css("width"," 1.66667%"),T()("#main").css("width","97.3333%"))}}},E=$,D=(a("f98e"),Object(c["a"])(E,h,g,!1,null,"7d7d4046",null)),R=D.exports,j=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"breadcrumb-wrap"},[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[a("span",{staticClass:"site iconfont iconweizhi"},[a("i",{staticClass:"icon iconfont icondangqianweizhi"}),e._v("当前位置:")]),e._l(e.levelList,(function(t,s){return t.meta.title&&1!==s?a("el-breadcrumb-item",{key:s},[e._v(e._s(t.meta.title))]):e._e()}))],2)],1)},q=[],M=(a("7f7f"),{name:"breadcrumb",created:function(){this.getBreadcrumb()},data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.name})),t=e[0];t&&"dashboard"!==t.name&&(e=[{path:"",meta:{title:"粮食安全盟市长责任制"}}].concat(e)),this.levelList=e}}}),B=M,A=Object(c["a"])(B,j,q,!1,null,null,null),P=A.exports,L={name:"layout",components:{MenuList:R,BreadCrumb:P},data:function(){return{id:this.$route.params.id,dat:{name:"admin",password:"admin"}}}},N=L,O=(a("51fe"),Object(c["a"])(N,f,d,!1,null,"18622e2f",null)),F=O.exports,Z=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container scoringWeightListPage",staticStyle:{margin:"10px"}},[a("el-form",{attrs:{model:e.formInline,"label-width":"68px"}},[a("el-row",[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"考核年度"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:""},model:{value:e.formInline.year,callback:function(t){e.$set(e.formInline,"year",t)},expression:"formInline.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:4,offset:1}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.search}},[e._v("查询")])],1)],1)],1),a("el-row",[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:e.add}},[e._v("新增")])],1),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-top":"10px"},attrs:{data:e.tableList,border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick}},[a("el-table-column",{attrs:{align:"center",label:"序号",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核年度",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.YEAR))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"修改时间",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.UPDATE_TIME))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"发布时间",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.FB_TIME))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"状态",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.STATUS_VALUE))])]}}])}),a("el-table-column",{attrs:{label:"操作",width:"250",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small",icon:"el-icon-zoom-in"},on:{click:function(a){a.stopPropagation(),e.handleSee(t.row)}}})],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"修改",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.handleUpdate(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-edit"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"发布",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{disabled:"1"==t.row.STATUS,type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.handleModify(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-fabu"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"删除",placement:"top"}},[a("el-button",{staticClass:"difStateDelBtn",attrs:{disabled:"1"==t.row.STATUS,type:"danger",size:"small",icon:"el-icon-delete"},on:{click:function(a){a.stopPropagation(),e.handleDetail(t.row)}}})],1)]}}])})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.listLoading,expression:"!listLoading"}],staticClass:"pag-right clearFix"},[e.paginationShow?a("el-pagination",{staticClass:"right",attrs:{"current-page":e.page.page,"page-sizes":[10,20,30,50],"page-size":e.page.size,layout:"total, sizes, prev, pager, next, jumper",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.$set(e.page,"page",t)}}}):e._e()],1)],1)],1)],1)},Q=[],K=(a("386d"),a("bc3a")),U=a.n(K),Y=a("5c96"),W=a.n(Y),H=a("4360"),V=a("5f87"),X=U.a.create({headers:{"Content-Type":"application/json;charset=utf-8"}});window.flag||X.interceptors.request.use((function(e){window.localStorage.getItem("token");return sessionStorage.getItem("TOKENL")&&(e.headers["token"]=sessionStorage.getItem("TOKENL")),e}),(function(e){Promise.reject(e)})),U.a.defaults.withCredentials=!0,X.interceptors.response.use((function(e){window.localStorage.getItem("token");e.headers.token&&(window.flag=!0,window.localStorage.removeItem("token"),window.localStorage.setItem("token",e.headers.token),Object(V["g"])(e.headers.token),window.flag=!1);var t=e.data;return 200===t.infoCode?t:(401===t.infoCode&&(window.location.href="http://localhost:9000/login.html"),50008!==t.code&&50012!==t.code&&50014!==t.code||Y["MessageBox"].confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",type:"warning"}).then((function(){H["a"].dispatch("FedLogOut").then((function(){location.reload()}))})),t)}),(function(e){var t=e.message.substr(e.message.length-3);if("401"===t)return Y["MessageBox"].confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then((function(){H["a"].dispatch("FedLogOut").then((function(){location.reload()}))})),Promise.reject("error");Object(Y["Message"])({message:e.message,type:"error",duration:1e3})}));var J=X,G=a("365c");function ee(e,t){return J({url:"".concat(G["c"],"scoringWeight/findByPage/").concat(t.page,"/").concat(t.size),method:"post",data:e})}function te(e){return J({url:"".concat(G["c"],"/scoringWeight/save"),method:"post",data:e})}function ae(e){return J({url:"".concat(G["c"],"scoringWeight/findByYear/").concat(e),method:"get"})}function se(e,t){return J({url:"".concat(G["c"],"scoringWeight/findByWeightRank/").concat(e,"/").concat(t),method:"get"})}function ne(e){return J({url:"".concat(G["c"],"scoringWeight/findById/").concat(e),method:"get"})}function oe(e){return J({url:"".concat(G["c"],"scoringWeight/update"),method:"post",data:e})}function re(e){return J({url:"".concat(G["c"],"scoringWeight/deletes"),method:"delete",data:e})}function ie(e){return J({url:"".concat(G["c"],"scoringWeight/publish/").concat(e),method:"get"})}function le(e,t){return J({url:"".concat(G["c"],"scoringWeight/findByYearAndStatus/").concat(e,"/").concat(t),method:"get"})}var ce={data:function(){return{formInline:{year:"",source:"20"},dateyear:[],tableList:[],loading:!0,listLoading:!1,paginationShow:!0,page:{page:1,size:10,total:0}}},methods:{search:function(){this.loading=!0,this.paginationShow=!1,this.handleCurrentChange(1),this.$nextTick((function(){this.paginationShow=!0}))},add:function(){this.$router.push({path:"/accountability/scoringWeightAdd"})},handleUpdate:function(e){this.$router.push({path:"/accountability/scoringWeightEdit",query:{id:e.ID}})},tableRowClick:function(e,t,a){"操作"!=a.label&&this.handleSee(e)},handleSee:function(e){this.$router.push({path:"/accountability/scoringWeightSee",query:{id:e.ID}})},handleDetail:function(e){var t=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){re(e.ID).then((function(e){200==e.infoCode?(t.$message({message:"删除成功!",type:"success"}),t.getTabList()):t.$message({message:e.msg,type:"error"})}))})).catch((function(){t.$message({type:"info",message:"已取消删除"})}))},handleModify:function(e){var t=this;ie(e.ID).then((function(e){200==e.infoCode?(t.$message.success(e.msg),t.search()):t.$message.error(e.msg)}))},handleSizeChange:function(e){this.page.size=e,this.getTabList()},handleCurrentChange:function(e){this.page.page=e,this.getTabList()},getTabList:function(){var e=this;ee(this.formInline,this.page).then((function(t){e.loading=!1,200==t.infoCode&&(e.tableList=t.data.list,e.page.total=t.data.total),console.log(t)}))}},created:function(){var e=new Date;this.year=e.getFullYear();for(var t=0;t<10;t++)this.dateyear.push(this.year),this.year=this.year-1;this.search()}},me=ce,ue=(a("cede"),Object(c["a"])(me,Z,Q,!1,null,null,null)),pe=ue.exports,fe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container scoringWeightAddPage",staticStyle:{margin:"0 10px"}},[a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核年度")])])],1),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"200px"}},[a("el-row",[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"考核年度",prop:"year"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:""},model:{value:e.form.year,callback:function(t){e.$set(e.form,"year",t)},expression:"form.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核时间设置")])])],1),a("el-row",[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"省级牵头部门",prop:"sjQtbmTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.sjQtbmTime,callback:function(t){e.$set(e.form,"sjQtbmTime",t)},expression:"form.sjQtbmTime"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"省级配合部门",prop:"sjPhbmTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.sjPhbmTime,callback:function(t){e.$set(e.form,"sjPhbmTime",t)},expression:"form.sjPhbmTime"}})],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核评分权重设置")])])],1),a("el-row",[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"省级牵头评分权重(%)",prop:"sjQtbmWeight"}},[a("el-input",{attrs:{type:"text",clearable:""},on:{input:e.sumWeight},model:{value:e.form.sjQtbmWeight,callback:function(t){e.$set(e.form,"sjQtbmWeight",t)},expression:"form.sjQtbmWeight"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"省级牵头平时评分权重(%)",prop:"sjQtbmFpWeight"}},[a("el-input",{attrs:{type:"text",clearable:""},model:{value:e.form.sjQtbmFpWeight,callback:function(t){e.$set(e.form,"sjQtbmFpWeight",t)},expression:"form.sjQtbmFpWeight"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"盟市单位评分权重(%)"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.zsZpbmWeight,callback:function(t){e.$set(e.form,"zsZpbmWeight",t)},expression:"form.zsZpbmWeight"}})],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核等级设置")])])],1),a("el-row",[a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:""}},[a("el-table",{staticStyle:{"margin-top":"0px"},attrs:{data:e.form.weightRankList,border:"",stripe:"","highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"rankName",label:"等级名称",align:"center","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"分值区间",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{staticClass:"tableStyle",attrs:{prop:"weightRankList."+t.$index+".fzStart",rules:e.rules.fzStart}},[a("el-input",{attrs:{type:"text",size:"mini",maxlength:"3",clearable:""},model:{value:t.row.fzStart,callback:function(a){e.$set(t.row,"fzStart",a)},expression:"scope.row.fzStart"}})],1)]}}])}),a("el-table-column",{attrs:{label:"分值区间",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{staticClass:"tableStyle",attrs:{prop:"weightRankList."+t.$index+".fzEnd",rules:e.rules.fzEnd}},[a("el-input",{attrs:{type:"text",size:"mini",maxlength:"3",clearable:""},model:{value:t.row.fzEnd,callback:function(a){e.$set(t.row,"fzEnd",a)},expression:"scope.row.fzEnd"}})],1)]}}])})],1)],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary",loading:e.loading},on:{click:function(t){e.save("form")}}},[e._v("保存")]),a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")])],1)])],1)],1)],1)},de=[];a("c5f6");function he(e,t,a){null!=t&&t.length>50?a(new Error("输入字符个数最大50个")):a()}function ge(e,t,a){null!=t&&t.length>500?a(new Error("输入字符个数最大500个")):a()}function be(e,t,a){null!=t&&t.length>1e3?a(new Error("输入字符个数最大1000个")):a()}function ye(e,t,a){var s=/^\+?[1-9][0-9]*$/;""==t||void 0==t||null==t?a():s.test(t)?a():a(new Error("请输入正整数"))}function we(e,t,a){var s=/^\d+.?\d{0,2}$/;return t>1e3?a(new Error("输入数字过大!")):t<=1e3&&!s.test(t)?a(new Error("小数点后最多只能输入两位")):a()}function ve(e,t,a){var s=/^[-+]?[0-9]+(\.[0-9]+)?$/;""==t||void 0==t||null==t?a():s.test(t)?a():a(new Error("请输入数值类型"))}function xe(e,t,a){var s=/^[-+]?[0-9]+(\.[0-9]+)?$/;""==t||void 0==t||null==t?a():s.test(t)?t>100||t<=0?a(new Error("考核评分权重,不能大于100或小于等于0")):a():a(new Error("请输入数值类型"))}function Ce(e,t,a){var s=/^(?:0|[1-9][0-9]?|100)$/;s.test(t)?a():a(new Error("请输入0~100的整数"))}var Ie={data:function(){var e=this,t=function(t,a,s){e.form.sjQtbmWeight&&(a>Number(e.form.sjQtbmWeight)?s(new Error("省级牵头平时评分权重不能大于省级牵头评分权重")):s())};return{form:{year:"",source:20,sjQtbmWeight:"",sjQtbmFpWeight:"",weightRankList:[],sjPhbmTime:[],sjQtbmTime:[]},dateyear:[],rules:{year:[{required:!0,message:"请选择考核年度",trigger:"change"}],sjPhbmTime:[{required:!0,message:"请选择省级配合起止时间",trigger:"blur"}],sjQtbmTime:[{required:!0,message:"请选择省级牵头起止时间",trigger:"blur"}],sjQtbmWeight:[{required:!0,message:"省级牵头评分权重不能为空",trigger:"blur"},{trigger:["blur","change"],validator:xe}],sjQtbmFpWeight:[{required:!0,message:"省级牵头平时评分权重不能为空",trigger:"blur"},{validator:xe,trigger:["blur","change"]},{validator:t,trigger:"blur"}],fzStart:[{required:!0,message:"请输入分值",trigger:"blur"},{validator:Ce,trigger:"blur"}],fzEnd:[{required:!0,message:"请输入分值",trigger:"blur"},{validator:Ce,trigger:"blur"}]},loading:!1}},methods:{back:function(){this.$router.back(-1)},save:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;t.loading=!0,t.form.sjPhbmStartTime=t.form.sjPhbmTime[0],t.form.sjPhbmEndTime=t.form.sjPhbmTime[1],t.form.sjQtbmStartTime=t.form.sjQtbmTime[0],t.form.sjQtbmEndTime=t.form.sjQtbmTime[1],te(t.form).then((function(e){200==e.infoCode?(t.$message.success(e.msg),t.$router.push({path:"/accountability/scoringWeight"})):(t.$message.error(e.msg),t.loading=!1)}))}))},findByYear:function(e){var t=this;ae(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data,null!=t.dateyear&&(t.form.year=t.dateyear[0]))}))},sumWeight:function(){this.form.sjQtbmFpWeight="";var e=this.form.sjQtbmWeight;e<=100&&e>0&&(this.form.zsZpbmWeight=100-e)},findByWeightRank:function(e,t){var a=this;se(e,t).then((function(e){200==e.infoCode&&(a.form.weightRankList=e.data)}))}},created:function(){this.findByYear("save"),this.findByWeightRank("save","save")}},Se=Ie,ke=(a("8b6e"),Object(c["a"])(Se,fe,de,!1,null,null,null)),Te=ke.exports,_e=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container scoringWeightCityAdd",staticStyle:{margin:"0 10px"}},[a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核年度")])])],1),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"200px"}},[a("el-row",[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"考核年度",prop:"year"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:"",disabled:""},model:{value:e.form.year,callback:function(t){e.$set(e.form,"year",t)},expression:"form.year"}})],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核时间设置")])])],1),a("el-row",[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"省级牵头部门",prop:"sjQtbmTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.sjQtbmTime,callback:function(t){e.$set(e.form,"sjQtbmTime",t)},expression:"form.sjQtbmTime"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"省级配合部门",prop:"sjPhbmTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.sjPhbmTime,callback:function(t){e.$set(e.form,"sjPhbmTime",t)},expression:"form.sjPhbmTime"}})],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核评分权重设置")])])],1),a("el-row",[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"省级牵头评分权重(%)",prop:"sjQtbmWeight"}},[a("el-input",{attrs:{type:"text",clearable:""},on:{input:e.sumWeight},model:{value:e.form.sjQtbmWeight,callback:function(t){e.$set(e.form,"sjQtbmWeight",t)},expression:"form.sjQtbmWeight"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"省级牵头平时评分权重(%)",prop:"sjQtbmFpWeight"}},[a("el-input",{attrs:{type:"text",clearable:""},model:{value:e.form.sjQtbmFpWeight,callback:function(t){e.$set(e.form,"sjQtbmFpWeight",t)},expression:"form.sjQtbmFpWeight"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"盟市单位评分权重(%)"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.zsZpbmWeight,callback:function(t){e.$set(e.form,"zsZpbmWeight",t)},expression:"form.zsZpbmWeight"}})],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核等级设置")])])],1),a("el-row",[a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:""}},[a("el-table",{staticStyle:{"margin-top":"0px"},attrs:{data:e.form.weightRankList,border:"",stripe:"","highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"rankName",label:"等级名称",align:"center","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"分值区间",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{staticClass:"tableStyle",attrs:{prop:"weightRankList."+t.$index+".fzStart",rules:e.rules.fzStart}},[a("el-input",{attrs:{type:"text",size:"mini",maxlength:"3",clearable:""},model:{value:t.row.fzStart,callback:function(a){e.$set(t.row,"fzStart",a)},expression:"scope.row.fzStart"}})],1)]}}])}),a("el-table-column",{attrs:{label:"分值区间",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form-item",{staticClass:"tableStyle",attrs:{prop:"weightRankList."+t.$index+".fzEnd",rules:e.rules.fzEnd}},[a("el-input",{attrs:{type:"text",size:"mini",maxlength:"3",clearable:""},model:{value:t.row.fzEnd,callback:function(a){e.$set(t.row,"fzEnd",a)},expression:"scope.row.fzEnd"}})],1)]}}])})],1)],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary",loading:e.loading},on:{click:e.update}},[e._v("保存")]),a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")])],1)])],1)],1)],1)},ze=[],$e={data:function(){var e=this,t=function(t,a,s){e.form.sjQtbmWeight&&(a>Number(e.form.sjQtbmWeight)?s(new Error("省级牵头平时评分权重不能大于省级牵头评分权重")):s())};return{form:{year:"",source:20,sjQtbmWeight:"",sjQtbmFpWeight:"",weightRankList:[]},dateyear:[],rules:{year:[{required:!0,message:"请选择考核年度",trigger:"change"}],sjPhbmTime:[{required:!0,message:"请选择省级配合起止时间",trigger:"blur"}],sjQtbmTime:[{required:!0,message:"请选择省级牵头起止时间",trigger:"blur"}],sjQtbmWeight:[{required:!0,message:"省级牵头评分权重不能为空",trigger:"blur"},{trigger:["blur","change"],validator:xe}],sjQtbmFpWeight:[{required:!0,message:"省级牵头平时评分权重不能为空",trigger:"blur"},{trigger:["blur","change"],validator:xe},{validator:t,trigger:"blur"}],fzStart:[{required:!0,message:"请输入分值",trigger:"blur"},{validator:Ce,trigger:"blur"}],fzEnd:[{required:!0,message:"请输入分值",trigger:"blur"},{validator:Ce,trigger:"blur"}]},loading:!1}},methods:{back:function(){this.$router.back(-1)},update:function(){var e=this;this.$refs["form"].validate((function(t){if(!t)return!1;e.loading=!0,e.form.id=e.$route.query.id,e.form.sjPhbmStartTime=e.form.sjPhbmTime[0],e.form.sjPhbmEndTime=e.form.sjPhbmTime[1],e.form.sjQtbmStartTime=e.form.sjQtbmTime[0],e.form.sjQtbmEndTime=e.form.sjQtbmTime[1],oe(e.form).then((function(t){200==t.infoCode?(e.$message.success(t.msg),e.$router.push({path:"/accountability/scoringWeight"})):(e.$message.error(t.msg),e.loading=!1)}))}))},findByYear:function(e){var t=this;ae(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data,null!=t.dateyear&&(t.form.year=t.dateyear[0]))}))},sumWeight:function(){this.form.sjQtbmFpWeight="";var e=this.form.sjQtbmWeight;e<=100&&e>0&&(this.form.zsZpbmWeight=100-e)},findByWeightRank:function(e,t){var a=this;se(e,t).then((function(e){200==e.infoCode&&(a.form.weightRankList=e.data)}))},findById:function(e){var t=this;ne(e).then((function(e){200==e.infoCode&&(t.form=e.data)}))}},created:function(){this.findById(this.$route.query.id)}},Ee=$e,De=(a("c687"),Object(c["a"])(Ee,_e,ze,!1,null,null,null)),Re=De.exports,je=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container scoringWeightCitySee",staticStyle:{margin:"0 10px"}},[a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核年度")])])],1),a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"200px"}},[a("el-row",[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"考核年度",prop:"year"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:"",disabled:""},model:{value:e.form.year,callback:function(t){e.$set(e.form,"year",t)},expression:"form.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核时间设置")])])],1),a("el-row",[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"省级牵头部门",prop:"sjQtbmTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{disabled:!0,type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.sjQtbmTime,callback:function(t){e.$set(e.form,"sjQtbmTime",t)},expression:"form.sjQtbmTime"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"省级配合部门",prop:"sjPhbmTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{disabled:!0,type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.sjPhbmTime,callback:function(t){e.$set(e.form,"sjPhbmTime",t)},expression:"form.sjPhbmTime"}})],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核评分权重设置")])])],1),a("el-row",[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"省级牵头评分权重(%)"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.sjQtbmWeight,callback:function(t){e.$set(e.form,"sjQtbmWeight",t)},expression:"form.sjQtbmWeight"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"省级牵头平时评分权重(%)",prop:"sjQtbmFpWeight"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.sjQtbmFpWeight,callback:function(t){e.$set(e.form,"sjQtbmFpWeight",t)},expression:"form.sjQtbmFpWeight"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"盟市单位评分权重(%)",prop:"zsZpbmWeight"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.zsZpbmWeight,callback:function(t){e.$set(e.form,"zsZpbmWeight",t)},expression:"form.zsZpbmWeight"}})],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核等级设置")])])],1),a("el-row",[a("el-col",{attrs:{span:16}},[a("table",{staticClass:"tabStyle",attrs:{border:"1"}},[a("tr",[a("td",{staticClass:"tabTit"},[e._v("等级名称")]),a("td",{staticClass:"tabTit",attrs:{colspan:"2"}},[e._v("分值区间")])]),e._l(e.form.weightRankList,(function(t,s){return a("tr",{key:s},[a("td",{staticClass:"tabTit"},[e._v(e._s(t.rankName))]),a("td",[a("el-input",{attrs:{type:"text",size:"mini",disabled:""},model:{value:t.fzStart,callback:function(a){e.$set(t,"fzStart",a)},expression:"weightRank.fzStart"}})],1),a("td",[a("el-input",{attrs:{type:"text",size:"mini",disabled:""},model:{value:t.fzEnd,callback:function(a){e.$set(t,"fzEnd",a)},expression:"weightRank.fzEnd"}})],1)])}))],2)])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("返回")])],1)])],1)],1)],1)},qe=[],Me={data:function(){return{form:{year:"",sjQtbmFpWeight:"",sjQtbmWeight:"",weightRankList:{}},dateyear:[],loading:!1}},methods:{back:function(){this.$router.back(-1)},findById:function(e){var t=this;ne(e).then((function(e){200==e.infoCode&&(t.form=e.data)}))}},created:function(){this.findById(this.$route.query.id)}},Be=Me,Ae=(a("92d3"),Object(c["a"])(Be,je,qe,!1,null,null,null)),Pe=Ae.exports,Le=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container assessmentOfCity",staticStyle:{margin:"0 10px"}},[a("h3",{staticClass:"tit"},[e._v("下发评分表")]),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"95px"}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"考核年度",prop:"year"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:""},on:{change:e.yearClick},model:{value:e.form.year,callback:function(t){e.$set(e.form,"year",t)},expression:"form.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"评分表名称",prop:"id"}},[a("el-select",{attrs:{clearable:""},model:{value:e.form.id,callback:function(t){e.$set(e.form,"id",t)},expression:"form.id"}},e._l(e.pfbmcList,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.PFBMC,value:e.ID}})})))],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{staticClass:"singleSel",attrs:{"label-width":"10px"}},[a("el-radio",{attrs:{label:"1"},on:{change:e.changeCq},model:{value:e.isSeclaration,callback:function(t){e.isSeclaration=t},expression:"isSeclaration"}},[e._v("粮食产区")]),a("el-radio",{attrs:{label:"2"},on:{change:e.changeCq},model:{value:e.isSeclaration,callback:function(t){e.isSeclaration=t},expression:"isSeclaration"}},[e._v("非粮食产区")])],1)],1)],1),a("el-row",[a("el-col",{staticClass:"selectAll",attrs:{span:2,offset:7}},[a("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")])],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{staticClass:"cityStyle",attrs:{prop:"areaCodeList","label-width":"0"}},[a("el-checkbox-group",{on:{change:e.handleCheckedCitiesChange},model:{value:e.form.areaCodeList,callback:function(t){e.$set(e.form,"areaCodeList",t)},expression:"form.areaCodeList"}},e._l(e.cities,(function(t){return a("el-checkbox",{key:t.orgName,attrs:{label:t.areaCode}},[e._v(e._s(t.orgName))])})))],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary",loading:e.loadingSend},on:{click:function(t){e.save(1)}}},[e._v("发布")]),a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary",loading:e.loadingSave},on:{click:function(t){e.save(0)}}},[e._v("保存")]),a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")])],1)])],1)],1)],1)},Ne=[];function Oe(e,t){return J({url:"".concat(G["c"],"responsibility/findByPage/").concat(t.page,"/").concat(t.size),method:"post",data:e})}function Fe(e){return J({url:"".concat(G["c"],"responsibility/findByPfbmc"),method:"post",data:e})}function Ze(e){return J({url:"".concat(G["c"],"/responsibility/save"),method:"post",data:e})}function Qe(e){return J({url:"".concat(G["c"],"responsibility/deletes"),method:"delete",data:e})}function Ke(e,t){return J({url:"".concat(G["c"],"examinationExcel/upload/").concat(e.year,"/").concat(e.totalScore,"/").concat(e.pfbmc,"/").concat(e.source),method:"post",data:t})}function Ue(e,t){return J({url:"".concat(G["c"],"examinationExcel/importKhpfbExcel/").concat(e.year,"/").concat(encodeURI(e.pfbmc)),method:"post",data:t})}function Ye(e){return J({url:"".concat(G["c"],"responsibility/findByIds/").concat(e),method:"get"})}function We(e){return J({url:"".concat(G["c"],"responsibility/findByRespResponsibilityInfo"),method:"post",data:e})}function He(e){return J({url:"".concat(G["c"],"responsibility/findByRespResponsibilityCity"),method:"post",data:e})}function Ve(e){return J({url:"".concat(G["c"],"responsibility/updatePfb"),method:"post",data:e})}function Xe(e){return J({url:"".concat(G["c"],"respScoreInput/deletes"),method:"delete",data:e})}function Je(e){return J({url:"".concat(G["c"],"responsibility/publish/").concat(e),method:"get"})}function Ge(e){return J({url:"".concat(G["c"],"respScoreInput/publish/").concat(e),method:"get"})}function et(e,t){return J({url:"".concat(G["c"],"respScoreInput/findTaskByPage/").concat(t.page,"/").concat(t.size),method:"post",data:e})}function tt(e){return J({url:"".concat(G["c"],"scoringWeight/findByYear/").concat(e),method:"get"})}function at(e){return J({url:"".concat(G["c"],"scoringWeight/findByCopyYear/").concat(e),method:"get"})}function st(){return J({url:"".concat(G["c"],"respUser/getDataTree"),method:"get"})}function nt(e){return J({url:"".concat(G["c"],"responsibility/saveCopyPfb"),method:"post",data:e})}function ot(e){return J({url:"".concat(G["c"],"responsibility/updtae"),method:"post",data:e})}var rt={data:function(){return{checkAll:!1,isIndeterminate:!1,isSeclaration:"1",form:{year:"",source:20,areaCodeList:[],status:"",id:""},dateyear:[],rules:{year:[{required:!0,message:"请选择考核年度",trigger:"change"}],id:[{required:!0,message:"请选择评分表名称",trigger:"blur"}],selfEvaluationTime:[{required:!0,message:"请选择自评起止时间",trigger:"blur"}],examinationTime:[{required:!0,message:"请选择考核起止时间",trigger:"blur"}],areaCodeList:[{required:!0,message:"请勾选盟市",trigger:"change"}]},loadingSend:!1,loadingSave:!1,pfbmcList:[],cities:[],allCities:[]}},methods:{changeCq:function(e){this.checkAll=!1,this.form.areaCodeList=[],this.isIndeterminate=!1,this.cities=2==e?this.allCities.lsfcq:this.allCities.lscq},handleCheckAllChange:function(e){var t=[];this.cities.map((function(e){t.push(e.areaCode)})),this.form.areaCodeList=e?t:[],this.isIndeterminate=!1},handleCheckedCitiesChange:function(e){console.log("当前的",e);var t=e.length;this.checkAll=t===this.cities.length,this.isIndeterminate=t>0&&t<this.cities.length},back:function(){this.$router.back(-1)},save:function(e){var t=this;this.$refs["form"].validate((function(a){if(!a)return!1;1==e?t.loadingSend=!0:t.loadingSave=!0,t.form.status=e,Ve(t.form).then((function(a){200==a.infoCode?(t.$message({type:"success",message:a.msg,duration:2e3}),t.$router.push({path:"/accountability/assessmentOfCity"})):(t.$message({type:"error",message:a.msg,duration:2e3}),1==e?t.loadingSend=!1:t.loadingSave=!1)}))}))},getpfbmcList:function(e){var t=this,a={source:20,year:e,type:"xf"};We(a).then((function(e){200==e.infoCode&&(t.pfbmcList=e.data.pfbList)}))},getCitiesList:function(e){var t=this,a={year:e,type:"save"};He(a).then((function(e){200==e.infoCode?(t.allCities=e.data,t.cities=e.data.lscq):t.$message({type:"error",message:e.msg,duration:2e3})}))},yearClick:function(e){this.form.areaCodeList=[],this.form.id="",this.getpfbmcList(e),this.getCitiesList(e)},findByYear:function(e){var t=this;tt(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data,null!=t.dateyear&&(t.form.year=t.dateyear[0],t.getpfbmcList(t.form.year),t.getCitiesList(t.form.year)))}))}},created:function(){this.findByYear("page")}},it=rt,lt=(a("30dc"),Object(c["a"])(it,Le,Ne,!1,null,null,null)),ct=lt.exports,mt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container assessmentOfCityEdit",staticStyle:{margin:"0 10px"}},[a("h3",{staticClass:"tit"},[e._v("修改评分表")]),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"95px"}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"考核年度"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",disabled:""},model:{value:e.form.year,callback:function(t){e.$set(e.form,"year",t)},expression:"form.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"评分表名称"}},[a("el-select",{attrs:{disabled:""},model:{value:e.form.id,callback:function(t){e.$set(e.form,"id",t)},expression:"form.id"}},e._l(e.pfbmcList,(function(e){return a("el-option",{key:e.index,attrs:{label:e.PFBMC,value:e.ID}})})))],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{staticClass:"singleSel",attrs:{"label-width":"10px"}},[a("el-radio",{attrs:{label:"1"},on:{change:e.changeCq},model:{value:e.isSeclaration,callback:function(t){e.isSeclaration=t},expression:"isSeclaration"}},[e._v("粮食产区")]),a("el-radio",{attrs:{label:"2"},on:{change:e.changeCq},model:{value:e.isSeclaration,callback:function(t){e.isSeclaration=t},expression:"isSeclaration"}},[e._v("非粮食产区")])],1)],1)],1),a("el-row",[a("el-col",{staticClass:"selectAll",attrs:{span:2,offset:7}},[a("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")])],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{staticClass:"cityStyle",attrs:{prop:"areaCodeList","label-width":"0"}},[a("el-checkbox-group",{on:{change:e.handleCheckedCitiesChange},model:{value:e.form.areaCodeList,callback:function(t){e.$set(e.form,"areaCodeList",t)},expression:"form.areaCodeList"}},e._l(e.cities,(function(t){return a("el-checkbox",{key:t.orgName,attrs:{label:t.areaCode}},[e._v(e._s(t.orgName))])})))],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary",loading:e.loadingSend},on:{click:function(t){e.save(1)}}},[e._v("发布")]),a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary",loading:e.loadingSave},on:{click:function(t){e.save(0)}}},[e._v("保存")]),a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")])],1)])],1)],1)],1)},ut=[],pt={data:function(){return{isSeclaration:"",isIndeterminate:!1,checkAll:!1,loadingSend:!1,loadingSave:!1,form:{year:"",file:"",source:20,areaCodeList:[],status:""},dateyear:[],rules:{areaCodeList:[{required:!0,message:"请勾选盟市",trigger:"change"}]},pfbmcList:[],cities:[],allCities:[]}},methods:{changeCq:function(e){this.checkAll=!1,this.form.areaCodeList=[],this.isIndeterminate=!1,this.cities=2==e?this.allCities.lsfcq:this.allCities.lscq},handleCheckAllChange:function(e){var t=[];this.cities.map((function(e){t.push(e.areaCode)})),this.form.areaCodeList=e?t:[],this.isIndeterminate=!1},handleCheckedCitiesChange:function(e){console.log("当前的",e);var t=e.length;this.checkAll=t===this.cities.length,this.isIndeterminate=t>0&&t<this.cities.length},back:function(){this.$router.back(-1)},getPfbInfo:function(e){var t=this;Ye(e).then((function(e){200==e.infoCode?(t.form.id=e.data.pfbmc,t.form.year=e.data.year,t.form.areaCodeList=e.data.shiAreaCode,t.getCitiesList(t.form.year)):t.$message({type:"error",message:e.msg,duration:2e3})}))},save:function(e){var t=this;this.$refs["form"].validate((function(a){if(!a)return!1;1==e?t.loadingSend=!0:t.loadingSave=!0,t.form.id=t.$route.query.id,t.form.status=e,Ve(t.form).then((function(a){200==a.infoCode?(t.$message({type:"success",message:a.msg,duration:2e3}),t.$router.push({path:"/accountability/assessmentOfCity"})):(t.$message({type:"error",message:a.msg,duration:2e3}),1==e?t.loadingSend=!1:t.loadingSave=!1)}))}))},getCitiesList:function(e){var t=this,a={year:e,type:"update",responsibilityId:this.$route.query.id};He(a).then((function(e){if(200==e.infoCode){var a=[];t.allCities=e.data,e.data.lscq.map((function(e){a.push(e.areaCode)})),-1!=a.indexOf(t.form.areaCodeList[0])?(t.isIndeterminate=!0,t.cities=e.data.lscq,t.isSeclaration="1"):(t.isIndeterminate=!0,t.cities=e.data.lsfcq,t.isSeclaration="2")}else t.$message({type:"error",message:e.msg,duration:2e3})}))}},created:function(){this.getPfbInfo(this.$route.query.id)}},ft=pt,dt=(a("5856"),Object(c["a"])(ft,mt,ut,!1,null,null,null)),ht=dt.exports,gt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container assessmentOfCitySee"},[a("div",{staticClass:"tabBox"},[a("h3",{staticClass:"tit"},[e._v("下发评分表")]),a("table",{staticClass:"tabStyle",attrs:{border:"1"}},[a("tr",[a("td",{staticClass:"tabTit",attrs:{width:"120",align:"right"}},[e._v("考核年度")]),a("td",[e._v(e._s(e.form.year)+"年")]),a("td",{staticClass:"tabTit",attrs:{width:"120",align:"right"}},[e._v("评分表名称")]),a("td",[e._v(e._s(e.form.pfbmc))])]),a("tr",[a("td",{staticClass:"tabTit",attrs:{width:"120",align:"right"}},[e._v("下级盟市")]),a("td",{attrs:{colspan:"3"}},[e._v(e._s(e.form.shiAreaCodeName))])])])]),a("div",{staticStyle:{"text-align":"center",margin:"10px"}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("返回")])],1)])},bt=[],yt={data:function(){return{form:{}}},created:function(){var e=this;Ye(this.$route.query.id).then((function(t){200==t.infoCode&&(e.form=t.data)}))},methods:{back:function(){this.$router.back(-1)}}},wt=yt,vt=(a("d0e7"),Object(c["a"])(wt,gt,bt,!1,null,null,null)),xt=vt.exports,Ct=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementList"},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"考核年度"}},[a("el-select",{staticClass:"wdh",attrs:{placeholder:"年度考核目标任务:"},model:{value:e.formInline.year,callback:function(t){e.$set(e.formInline,"year",t)},expression:"formInline.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:4}},[a("el-form-item",[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.search}},[e._v("查询")])],1)],1)],1)],1),a("el-row",{staticStyle:{height:"60px"}},[a("el-col",{attrs:{span:2}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary",disabled:e.submitButton},on:{click:e.handleSubmit}},[e._v("提交")])],1),a("el-col",{attrs:{span:2}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:e.theImport}},[e._v("导入")])],1),a("el-col",{attrs:{span:2}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:e.excelDownload}},[e._v("下载模板")])],1)],1),e._v("\n "),a("span",{staticStyle:{color:"red"}},[e._v(e._s(e.weightMessage))]),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-top":"0"},attrs:{data:e.tableList,border:"",stripe:"","highlight-current-row":""}},[a("el-table-column",{attrs:{align:"center",label:"序号",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核年度",width:"120",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.YEAR))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核任务",width:"140",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.TASK_NAME))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"分值",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.TOTAL_SCORE))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"自评部门",width:"120",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.ZPBM))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"自评评分",width:"120",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.ZPBM_SCORE))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"牵头部门",width:"120",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.QTBM))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"牵头部门评分",width:"140",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.QTBM_SCORE))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"状态",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.STATUS_VALUE))])]}}])}),a("el-table-column",{attrs:{label:"操作",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small",icon:"el-icon-zoom-in"},on:{click:function(a){a.stopPropagation(),e.handleSee(t.row)}}})],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"编辑",placement:"top"}},[2==t.row.STATUS?a("el-button",{staticClass:"difStateEditBtn",attrs:{type:"primary",size:"small",icon:"el-icon-news"},on:{click:function(a){a.stopPropagation(),e.handleModify(t.row)}}}):e._e()],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"录入",placement:"top"}},[1==t.row.STATUS?a("el-button",{staticClass:"difStateEditBtn",attrs:{type:"primary",size:"small",icon:"el-icon-news"},on:{click:function(a){a.stopPropagation(),e.handleModify(t.row)}}}):e._e()],1)]}}])})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.listLoading,expression:"!listLoading"}],staticClass:"pag-right clearFix"},[e.paginationShow?a("el-pagination",{staticClass:"right",attrs:{"current-page":e.page.page,"page-sizes":[10,20,30,50],"page-size":e.page.size,layout:"total, sizes, prev, pager, next, jumper",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.$set(e.page,"page",t)}}}):e._e()],1)],1)],1),a("el-dialog",{attrs:{title:"上传excel",visible:e.showExcelUplod,width:"50%","close-on-click-modal":!1},on:{"update:visible":function(t){e.showExcelUplod=t}}},[a("el-form",{attrs:{"label-width":"120px"}},[a("el-form-item",[a("el-upload",{attrs:{action:"",accept:".xls","on-change":e.uploadFile,"auto-upload":!1,"show-file-list":!0,"file-list":e.excelFileList}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[e._v("请选择上传文件")])],1)],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.excelUplodQx()}}},[e._v("取 消")])],1)],1)],1)},It=[];a("28a5");function St(e,t){return J({url:"".concat(G["c"],"respScoreInput/findByPage/").concat(t.page,"/").concat(t.size),method:"post",data:e})}function kt(e){return J({url:"".concat(G["c"],"respScoreInput/findById/").concat(e),method:"get"})}function Tt(e){return J({url:"".concat(G["c"],"respScoreInput/updateZCity"),method:"post",data:e})}function _t(e){return J({url:"".concat(G["c"],"respScoreInput/updateCitySubmit/").concat(e),method:"get"})}function zt(e){return J({url:"".concat(G["c"],"examinationExcel/downloadCityExcel"),method:"post",data:e})}function $t(e,t){return J({url:"".concat(G["c"],"respScoreInput/findByIsSubmit/").concat(t,"/").concat(e),method:"get"})}function Et(e,t){return J({url:"".concat(G["c"],"respSummary/findBySelect/").concat(e,"/").concat(t),method:"get"})}function Dt(e,t){return J({url:"".concat(G["c"],"respSummary/findCityByPage/").concat(t.page,"/").concat(t.size),method:"post",data:e})}function Rt(e,t){return J({url:"".concat(G["c"],"respScoreInput/findByQtbmInfo/").concat(e,"/").concat(t),method:"get"})}var jt={data:function(){return{isSub:"",weightMessage:"",submitButton:!0,showExcelUplod:!1,excelFileList:[],weight:{},excelDownloadDataFile:"".concat(G["d"]),formInline:{year:"",source:"10"},dateyear:[],tableList:[],loading:!0,listLoading:!1,paginationShow:!0,page:{page:1,size:10,total:0}}},methods:{isSubmit:function(e,t){var a=this;$t(e,t).then((function(e){200==e.infoCode&&("yes"==e.data?a.submitButton=!1:a.submitButton=!0)}))},search:function(){this.loading=!0,this.paginationShow=!1,this.handleCurrentChange(1),this.$nextTick((function(){this.paginationShow=!0}))},handleSubmit:function(){var e=this;_t(this.formInline.year).then((function(t){200==t.infoCode?(e.$message.success(t.msg),e.getTabList()):e.$message.error(t.msg)}))},excelDownload:function(){var e=JSON.parse(window.localStorage.getItem("userInfo"));window.location.href=this.excelDownloadDataFile+"/exportCityExcel?year="+this.formInline.year+"&areaCode="+e.areaCode},theImport:function(){this.showExcelUplod=!0,this.excelFileList=[]},excelUplodQx:function(){this.showExcelUplod=!1,this.excelFileList=[]},uploadFile:function(e){var t=this,a=new FormData;a.append("file",e.raw),zt(a).then((function(e){200==e.infoCode?(t.$message.success("上传成功"),t.getTabList()):t.$message.error(e.msg)}))},handleSee:function(e){this.$router.push({path:"/supervisionCheck/headResponsibility/cityEntrySee",query:{id:e.ID,year:e.YEAR,isDisabled:"1"}})},handleModify:function(e){"yes"==e.result?this.$router.push({path:"/supervisionCheck/headResponsibility/cityEntryAdd",query:{id:e.ID}}):this.$message({message:"当前考核任务时间,不在盟市考核起止时间之内!",type:"info"})},handleSizeChange:function(e){this.page.size=e,this.getTabList()},handleCurrentChange:function(e){this.page.page=e,this.getTabList()},getTabList:function(){var e=this;St(this.formInline,this.page).then((function(t){e.loading=!1,200==t.infoCode&&(e.tableList=t.data.list,e.page.total=t.data.total,e.isSubmit(e.formInline.year,"10"))})),this.findByYearAndStatus(this.formInline.year,1)},findByYear:function(e){var t=this;tt(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data,null!=t.dateyear&&(t.formInline.year=t.dateyear[0],t.search()))}))},findByYearAndStatus:function(e,t){var a=this;le(e,t).then((function(e){if(200==e.infoCode){a.weight=e.data;var t=a.weight.zsStartTime.split("T"),s=a.weight.zsEndTime.split("T"),n=t[0],o=s[0];a.weightMessage="盟市考核起止时间:"+n+"---"+o}}))}},created:function(){this.findByYear("page")}},qt=jt,Mt=(a("0b88"),Object(c["a"])(qt,Ct,It,!1,null,null,null)),Bt=Mt.exports,At=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container cityEntryAdd"},[a("h3",{staticClass:"tit"},[e._v("首长责任制考核评分")]),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"140px"}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"年度考核目标任务"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.taskName,callback:function(t){e.$set(e.form,"taskName",t)},expression:"form.taskName"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"考核指标"}},[a("el-input",{attrs:{type:"textarea",resize:"none",disabled:""},model:{value:e.form.quotaName,callback:function(t){e.$set(e.form,"quotaName",t)},expression:"form.quotaName"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"分值"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.totalScore,callback:function(t){e.$set(e.form,"totalScore",t)},expression:"form.totalScore"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"评分标准"}},[a("el-input",{attrs:{type:"textarea",rows:4,resize:"none",disabled:""},model:{value:e.form.scoreStandard,callback:function(t){e.$set(e.form,"scoreStandard",t)},expression:"form.scoreStandard"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("自评部门评分")])])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"自评部门",prop:"zpbm"}},[a("el-input",{attrs:{type:"text"},model:{value:e.form.zpbm,callback:function(t){e.$set(e.form,"zpbm",t)},expression:"form.zpbm"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"自评部门分值",prop:"zpbmScore"}},[a("el-input",{attrs:{type:"text"},model:{value:e.form.zpbmScore,callback:function(t){e.$set(e.form,"zpbmScore",t)},expression:"form.zpbmScore"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"自评部门说明",prop:"zpbmExplain"}},[a("el-input",{attrs:{type:"textarea",autosize:{minRows:6,maxRows:10},resize:"none"},model:{value:e.form.zpbmExplain,callback:function(t){e.$set(e.form,"zpbmExplain",t)},expression:"form.zpbmExplain"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"扣分原因"}},[a("el-input",{attrs:{type:"textarea",autosize:{minRows:3,maxRows:10},resize:"none"},model:{value:e.form.zpbmKfyy,callback:function(t){e.$set(e.form,"zpbmKfyy",t)},expression:"form.zpbmKfyy"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"整改措施"}},[a("el-input",{attrs:{type:"textarea",autosize:{minRows:3,maxRows:10},resize:"none"},model:{value:e.form.zpbmZgcs,callback:function(t){e.$set(e.form,"zpbmZgcs",t)},expression:"form.zpbmZgcs"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"填报人",prop:"zpbmTbr"}},[a("el-input",{attrs:{type:"text"},model:{value:e.form.zpbmTbr,callback:function(t){e.$set(e.form,"zpbmTbr",t)},expression:"form.zpbmTbr"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"审核人",prop:"zpbmShr"}},[a("el-input",{attrs:{type:"text"},model:{value:e.form.zpbmShr,callback:function(t){e.$set(e.form,"zpbmShr",t)},expression:"form.zpbmShr"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("牵头部门评分")])])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"牵头部门",prop:"qtbm"}},[a("el-input",{attrs:{type:"text"},model:{value:e.form.qtbm,callback:function(t){e.$set(e.form,"qtbm",t)},expression:"form.qtbm"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"牵头部门分值",prop:"qtbmScore"}},[a("el-input",{attrs:{type:"text"},model:{value:e.form.qtbmScore,callback:function(t){e.$set(e.form,"qtbmScore",t)},expression:"form.qtbmScore"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"牵头部门说明",prop:"qtbmExplain"}},[a("el-input",{attrs:{type:"textarea",autosize:{minRows:6,maxRows:10},resize:"none"},model:{value:e.form.qtbmExplain,callback:function(t){e.$set(e.form,"qtbmExplain",t)},expression:"form.qtbmExplain"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"扣分原因"}},[a("el-input",{attrs:{type:"textarea",autosize:{minRows:3,maxRows:10},resize:"none"},model:{value:e.form.qtbmKfyy,callback:function(t){e.$set(e.form,"qtbmKfyy",t)},expression:"form.qtbmKfyy"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"填报人",prop:"qtbmTbr"}},[a("el-input",{attrs:{type:"text"},model:{value:e.form.qtbmTbr,callback:function(t){e.$set(e.form,"qtbmTbr",t)},expression:"form.qtbmTbr"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"审核人",prop:"qtbmShr"}},[a("el-input",{attrs:{type:"text"},model:{value:e.form.qtbmShr,callback:function(t){e.$set(e.form,"qtbmShr",t)},expression:"form.qtbmShr"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("配合部门意见")])])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"配合部门意见"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.form.phbm,border:""}},[a("el-table-column",{attrs:{label:"配合部门",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbm,callback:function(a){e.$set(t.row,"phbm",a)},expression:"scope.row.phbm"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbm))])]}}])}),a("el-table-column",{attrs:{label:"配合部门说明",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbmExplain,callback:function(a){e.$set(t.row,"phbmExplain",a)},expression:"scope.row.phbmExplain"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbmExplain))])]}}])}),a("el-table-column",{attrs:{label:"填报人",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbmTbr,callback:function(a){e.$set(t.row,"phbmTbr",a)},expression:"scope.row.phbmTbr"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbmTbr))])]}}])}),a("el-table-column",{attrs:{label:"审核人",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbmShr,callback:function(a){e.$set(t.row,"phbmShr",a)},expression:"scope.row.phbmShr"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbmShr))])]}}])}),a("el-table-column",{attrs:{label:"操作","render-header":e.renderHeader},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}],attrs:{type:"text",size:"mini"},on:{click:function(a){e.handleEdit(t.$index,t.row)}}},[e._v("编辑")]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{type:"text",size:"mini"},on:{click:function(a){e.handleSave(t.$index,t.row)}}},[e._v("保存")]),a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(a){e.handleDelete(t.$index,t.row)}}},[e._v("删除")])]}}])})],1)],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"文件"}},[a("el-upload",{staticClass:"upload-demo",attrs:{action:e.file,"on-change":e.handleChange,"on-remove":e.handleRemove,"file-list":e.fileList,"on-exceed":e.handleExceed,"on-success":e.handleSuccess,"on-preview":e.handlePreview,limit:1}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"}},[e._v("点击上传")])],1)],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",staticStyle:{margin:"0 50px"},attrs:{type:"primary",loading:e.loading},on:{click:function(t){e.save()}}},[e._v("提交")]),a("el-button",{staticClass:"outCancelButton",staticStyle:{margin:"0 50px"},attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")])],1)])],1)],1)],1)},Pt=[],Lt={data:function(){var e;return{form:(e={taskName:"",quotaName:"",totalScore:""},Object(b["a"])(e,"totalScore",""),Object(b["a"])(e,"scoreStandard",""),Object(b["a"])(e,"zpbm",""),Object(b["a"])(e,"zpbmScore",""),Object(b["a"])(e,"zpbmExplain",""),Object(b["a"])(e,"zpbmTbr",""),Object(b["a"])(e,"zpbmShr",""),Object(b["a"])(e,"qtbm",""),Object(b["a"])(e,"qtbmScore",""),Object(b["a"])(e,"qtbmExplain",""),Object(b["a"])(e,"qtbmTbr",""),Object(b["a"])(e,"qtbmShr",""),Object(b["a"])(e,"fileId",""),Object(b["a"])(e,"phbm",[]),e),rules:{zpbm:[{required:!0,message:"请输入自评部门",trigger:"blur"}],zpbmScore:[{required:!0,message:"请输入自评部门评分",trigger:"blur"},{trigger:["blur","change"],validator:ve}],zpbmExplain:[{required:!0,message:"请输入自评部门说明",trigger:"blur"}],zpbmTbr:[{required:!0,message:"请输入自评部门填报人",trigger:"blur"}],zpbmShr:[{required:!0,message:"请输入自评部门审核人",trigger:"blur"}],qtbm:[{required:!0,message:"请输牵头部门",trigger:"blur"}],qtbmScore:[{required:!0,message:"请输入牵头部门评分",trigger:"blur"},{trigger:["blur","change"],validator:ve}],qtbmExplain:[{required:!0,message:"请输入牵头部门说明",trigger:"blur"}],qtbmTbr:[{required:!0,message:"请输入牵头部门填报人",trigger:"blur"}],qtbmShr:[{required:!0,message:"请输入牵头部门审核人",trigger:"blur"}]},file:"".concat(G["e"]),fileDownload:"".concat(G["f"]),maxlength:20,loading:!1,flagNum:0,fileList:[]}},methods:{renderHeader:function(e){var t=this;return e("div",{class:"tabBtnBox"},[e("span",null,"操作"),e("i",{class:"el-icon-circle-plus-outline",on:{click:function(){0==t.flagNum?(t.form.phbm.unshift({phbm:"",phbmExplain:"",phbmTbr:"",phbmShr:"",show:1}),t.flagNum++):t.$message.warning("请填写完上一条新增数据在进行新增")}}})])},handleEdit:function(e,t){t.show=1},handleDelete:function(e,t){this.form.phbm.splice(e,1),this.flagNum=0},handleSave:function(e,t){""==t.phbm||""==t.phbmExplain||""==t.phbmTbr||""==t.phbmShr?this.$message({message:"表格填写信息不能为空",type:"warning"}):(console.log(t),0==e&&(this.flagNum=0),t.show=0)},handleExceed:function(e,t){this.$message.warning("上传文件超出最大个数,当前只允许上传有1个文件")},handleChange:function(e,t){console.log(e)},handleRemove:function(e,t){this.form.fileId=""},handleSuccess:function(e,t){this.form.fileId=e.data.id},handlePreview:function(e){location.href=e.url},back:function(){this.$router.back(-1)},save:function(){var e=this;console.log(this.form.phbm),this.$refs["form"].validate((function(t){if(!t)return!1;e.loading=!0,e.form.id=e.$route.query.id,0!=e.flagNum&&e.handleDelete(0);var a=e.form.totalScore,s=e.form.zpbmScore,n=e.form.qtbmScore;return s>a?(e.loading=!1,e.$message({message:"自评部门分值不能大于年度考核目标任务分值",type:"error"})):n>a?(e.loading=!1,e.$message({message:"牵头部门分值不能大于年度考核目标任务分值",type:"error"})):void Tt(e.form).then((function(t){e.loading=!1,200==t.infoCode?(e.$message.success(t.msg),e.$router.push({path:"/supervisionCheck/headResponsibility/cityEntry"})):e.$message.error(t.msg)}))}))},getPfb:function(e){var t=this;kt(e).then((function(e){"200"==e.infoCode&&(null!=e.data.fileMap&&(t.fileList=[{name:e.data.fileMap.name,url:"".concat(G["f"],"?id=").concat(e.data.fileMap.id)}]),t.form=e.data)}))}},created:function(){this.getPfb(this.$route.query.id)}},Nt=Lt,Ot=(a("43a2"),Object(c["a"])(Nt,At,Pt,!1,null,null,null)),Ft=Ot.exports,Zt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container cityEntryAdd"},[a("h3",{staticClass:"tit"},[e._v("首长责任制考核评分")]),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"140px"}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"年度考核目标任务"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.taskName,callback:function(t){e.$set(e.form,"taskName",t)},expression:"form.taskName"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"考核指标"}},[a("el-input",{attrs:{type:"textarea",resize:"none",disabled:""},model:{value:e.form.quotaName,callback:function(t){e.$set(e.form,"quotaName",t)},expression:"form.quotaName"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"分值"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.totalScore,callback:function(t){e.$set(e.form,"totalScore",t)},expression:"form.totalScore"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"评分标准"}},[a("el-input",{attrs:{type:"textarea",rows:4,resize:"none",disabled:""},model:{value:e.form.scoreStandard,callback:function(t){e.$set(e.form,"scoreStandard",t)},expression:"form.scoreStandard"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("自评部门评分")])])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"自评部门",prop:"zpbm"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.zpbm,callback:function(t){e.$set(e.form,"zpbm",t)},expression:"form.zpbm"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"自评部门分值",prop:"zpbmScore"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.zpbmScore,callback:function(t){e.$set(e.form,"zpbmScore",t)},expression:"form.zpbmScore"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"自评部门说明",prop:"zpbmExplain"}},[a("el-input",{attrs:{disabled:"",type:"textarea",autosize:{minRows:6,maxRows:10},resize:"none"},model:{value:e.form.zpbmExplain,callback:function(t){e.$set(e.form,"zpbmExplain",t)},expression:"form.zpbmExplain"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"扣分原因"}},[a("el-input",{attrs:{disabled:"",type:"textarea",autosize:{minRows:3,maxRows:10},resize:"none"},model:{value:e.form.zpbmKfyy,callback:function(t){e.$set(e.form,"zpbmKfyy",t)},expression:"form.zpbmKfyy"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"整改措施"}},[a("el-input",{attrs:{disabled:"",type:"textarea",autosize:{minRows:3,maxRows:10},resize:"none"},model:{value:e.form.zpbmZgcs,callback:function(t){e.$set(e.form,"zpbmZgcs",t)},expression:"form.zpbmZgcs"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"填报人",prop:"zpbmTbr"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.zpbmTbr,callback:function(t){e.$set(e.form,"zpbmTbr",t)},expression:"form.zpbmTbr"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"审核人",prop:"zpbmShr"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.zpbmShr,callback:function(t){e.$set(e.form,"zpbmShr",t)},expression:"form.zpbmShr"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("牵头部门评分")])])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"牵头部门",prop:"qtbm"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.qtbm,callback:function(t){e.$set(e.form,"qtbm",t)},expression:"form.qtbm"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"牵头部门分值",prop:"qtbmScore"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.qtbmScore,callback:function(t){e.$set(e.form,"qtbmScore",t)},expression:"form.qtbmScore"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"牵头部门说明",prop:"qtbmExplain"}},[a("el-input",{attrs:{disabled:"",type:"textarea",autosize:{minRows:6,maxRows:10},resize:"none"},model:{value:e.form.qtbmExplain,callback:function(t){e.$set(e.form,"qtbmExplain",t)},expression:"form.qtbmExplain"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"扣分原因"}},[a("el-input",{attrs:{disabled:"",type:"textarea",autosize:{minRows:3,maxRows:10},resize:"none"},model:{value:e.form.qtbmKfyy,callback:function(t){e.$set(e.form,"qtbmKfyy",t)},expression:"form.qtbmKfyy"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"填报人",prop:"qtbmTbr"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.qtbmTbr,callback:function(t){e.$set(e.form,"qtbmTbr",t)},expression:"form.qtbmTbr"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"审核人",prop:"qtbmShr"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.qtbmShr,callback:function(t){e.$set(e.form,"qtbmShr",t)},expression:"form.qtbmShr"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("配合部门意见")])])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"配合部门意见"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.form.phbm,border:""}},[a("el-table-column",{attrs:{label:"配合部门",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbm,callback:function(a){e.$set(t.row,"phbm",a)},expression:"scope.row.phbm"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbm))])]}}])}),a("el-table-column",{attrs:{label:"配合部门说明",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbmExplain,callback:function(a){e.$set(t.row,"phbmExplain",a)},expression:"scope.row.phbmExplain"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbmExplain))])]}}])}),a("el-table-column",{attrs:{label:"填报人",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbmTbr,callback:function(a){e.$set(t.row,"phbmTbr",a)},expression:"scope.row.phbmTbr"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbmTbr))])]}}])}),a("el-table-column",{attrs:{label:"审核人",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbmShr,callback:function(a){e.$set(t.row,"phbmShr",a)},expression:"scope.row.phbmShr"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbmShr))])]}}])})],1)],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"文件"}},[e.form.fileMap.name?a("el-upload",{ref:"upload",attrs:{action:e.uploadUrl,"file-list":e.fileList,disabled:""}},[a("el-button",{staticClass:"button",attrs:{size:"small",type:"primary",disabled:""}},[e._v("文件下载")])],1):e._e()],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",staticStyle:{margin:"0 50px"},attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")])],1)])],1)],1)],1)},Qt=[],Kt={data:function(){var e;return{form:(e={taskName:"",quotaName:"",totalScore:""},Object(b["a"])(e,"totalScore",""),Object(b["a"])(e,"scoreStandard",""),Object(b["a"])(e,"zpbm",""),Object(b["a"])(e,"zpbmScore",""),Object(b["a"])(e,"zpbmExplain",""),Object(b["a"])(e,"zpbmTbr",""),Object(b["a"])(e,"zpbmShr",""),Object(b["a"])(e,"qtbm",""),Object(b["a"])(e,"qtbmScore",""),Object(b["a"])(e,"qtbmExplain",""),Object(b["a"])(e,"qtbmTbr",""),Object(b["a"])(e,"qtbmShr",""),Object(b["a"])(e,"fileId",""),Object(b["a"])(e,"phbm",[]),Object(b["a"])(e,"fileMap",{}),e),rules:{zpbm:[{required:!0,message:"请输入自评部门",trigger:"blur"}],zpbmScore:[{required:!0,message:"请输入自评部门评分",trigger:"blur"},{trigger:["blur","change"],validator:ve}],zpbmExplain:[{required:!0,message:"请输入自评部门说明",trigger:"blur"}],zpbmTbr:[{required:!0,message:"请输入自评部门填报人",trigger:"blur"}],zpbmShr:[{required:!0,message:"请输入自评部门审核人",trigger:"blur"}],qtbm:[{required:!0,message:"请输牵头部门",trigger:"blur"}],qtbmScore:[{required:!0,message:"请输入牵头部门评分",trigger:"blur"},{trigger:["blur","change"],validator:ve}],qtbmExplain:[{required:!0,message:"请输入牵头部门说明",trigger:"blur"}],qtbmTbr:[{required:!0,message:"请输入牵头部门填报人",trigger:"blur"}],qtbmShr:[{required:!0,message:"请输入牵头部门审核人",trigger:"blur"}]},file:"".concat(G["e"]),fileDownload:"".concat(G["f"]),maxlength:20,loading:!1,flagNum:0,uploadUrl:"".concat(G["e"]),fileList:[]}},methods:{uploadFile:function(e){},renderHeader:function(e){var t=this;return e("div",{class:"tabBtnBox"},[e("span",null,"操作"),e("i",{class:"el-icon-circle-plus-outline",on:{click:function(){0==t.flagNum?(t.form.phbm.unshift({phbm:"",phbmExplain:"",phbmTbr:"",phbmShr:"",show:1}),t.flagNum++):t.$message.warning("请填写完上一条新增数据在进行新增")}}})])},handleEdit:function(e,t){t.show=1},handleDelete:function(e,t){this.form.phbm.splice(e,1),this.flagNum=0},handleSave:function(e,t){""==t.phbm||""==t.phbmExplain||""==t.phbmTbr||""==t.phbmShr?this.$message({message:"表格填写信息不能为空",type:"warning"}):(0==e&&(this.flagNum=0),t.show=0)},handleExceed:function(e,t){this.$message.warning("上传文件超出最大个数,当前只允许上传有1个文件")},handleChange:function(e,t){},handleRemove:function(e,t){this.form.fileId=""},handleSuccess:function(e,t){this.form.fileId=e.data.id},handlePreview:function(e){location.href=e.url},back:function(){this.$router.back(-1)},save:function(){var e=this;this.$refs["form"].validate((function(t){if(!t)return!1;e.loading=!0,e.form.id=e.$route.query.id,0!=e.flagNum&&e.handleDelete(0);var a=e.form.totalScore,s=e.form.zpbmScore,n=e.form.qtbmScore;return s>a?(e.loading=!1,e.$message({message:"自评部门分值不能大于年度考核目标任务分值",type:"error"})):n>a?(e.loading=!1,e.$message({message:"牵头部门分值不能大于年度考核目标任务分值",type:"error"})):void Tt(e.form).then((function(t){e.loading=!1,200==t.infoCode?(e.$message.success(t.msg),e.$router.push({path:"/supervisionCheck/headResponsibility/cityEntry"})):e.$message.error(t.msg)}))}))},downMethod:function(e,t){e.$el.getElementsByTagName("a")[0].setAttribute("title","点击下载"),e.$el.getElementsByTagName("a")[0].setAttribute("href","".concat(G["f"],"?id=").concat(t))},getPfb:function(e){var t=this;kt(e).then((function(e){"200"==e.infoCode&&(null!=e.data.fileMap&&(t.fileList=[{name:e.data.fileMap.name,url:"".concat(G["f"],"?id=").concat(e.data.fileMap.id)}],setTimeout((function(){t.downMethod(t.$refs.upload,e.data.fileMap.id)}),10)),t.form=e.data)}))}},created:function(){this.getPfb(this.$route.query.id)}},Ut=Kt,Yt=(a("6f70"),Object(c["a"])(Ut,Zt,Qt,!1,null,null,null)),Wt=Yt.exports,Ht=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementList"},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"考核年度:"}},[a("el-select",{staticClass:"wdh",attrs:{placeholder:"年度考核目标任务:"},model:{value:e.formInline.year,callback:function(t){e.$set(e.formInline,"year",t)},expression:"formInline.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:4}},[a("el-form-item",[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.search}},[e._v("查询")])],1)],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-top":"0"},attrs:{data:e.tableList,border:"",stripe:"","highlight-current-row":""}},[a("el-table-column",{attrs:{align:"center",label:"序号",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核年度",width:"120",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.YEAR))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"盟市名称",width:"140",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.ZHOUSHI))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"填报进度",width:"120",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-progress",{attrs:{percentage:Number(t.row.TBJD),color:e.customColor}})]}}])}),a("el-table-column",{attrs:{label:"操作",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small",icon:"el-icon-zoom-in"},on:{click:function(a){a.stopPropagation(),e.handleSee(t.row)}}})],1)]}}])})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.listLoading,expression:"!listLoading"}],staticClass:"pag-right clearFix"},[e.paginationShow?a("el-pagination",{staticClass:"right",attrs:{"current-page":e.page.page,"page-sizes":[10,20,30,50],"page-size":e.page.size,layout:"total, sizes, prev, pager, next, jumper",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.$set(e.page,"page",t)}}}):e._e()],1)],1)],1),a("el-dialog",{staticClass:"lsjbhyj",attrs:{title:"修改评价",visible:e.dialogFormVisible,width:"30%"},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("el-form",{ref:"lsjform",attrs:{model:e.lsjform,size:"mini",rules:e.rules}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{prop:"pj",label:"评价"}},[a("el-input",{attrs:{type:"text"},model:{value:e.lsjform.pj,callback:function(t){e.$set(e.lsjform,"pj",t)},expression:"lsjform.pj"}})],1)],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{prop:"pjExplain",label:"评价说明"}},[a("el-input",{attrs:{type:"textarea",resize:"none",autofocus:"",autosize:{minRows:6,maxRows:4}},model:{value:e.lsjform.pjExplain,callback:function(t){e.$set(e.lsjform,"pjExplain",t)},expression:"lsjform.pjExplain"}})],1)],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"text-align":"center"}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.submitForm("lsjform")}}},[e._v("确定")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.resetForm("lsjform")}}},[e._v("取消")])],1)],1)],1)],1)],1)],1)},Vt=[];function Xt(e,t){return J({url:"".concat(G["c"],"respSummary/findByPage/").concat(t.page,"/").concat(t.size),method:"post",data:e})}function Jt(e){return J({url:"".concat(G["c"],"respSummary/update"),method:"post",data:e})}var Gt={data:function(){return{formInline:{year:"",source:"20"},dateyear:[],tableList:[],loading:!0,listLoading:!1,paginationShow:!0,page:{page:1,size:10,total:0},customColor:"#409eff",dialogFormVisible:!1,lsjform:{id:"",pj:"",pjExplain:""},rules:{pj:[{required:!0,message:"请输入评价",trigger:"change"},{min:0,max:2e3,message:"输入文字个数最小2位,最大2000位",trigger:"change"}],pjExplain:[{required:!0,message:"请输入评价说明",trigger:"change"},{min:0,max:2e3,message:"输入文字个数最小2位,最大2000位",trigger:"change"}]}}},methods:{handleSee:function(e){console.log("row",e),this.$router.push({path:"/supervisionCheck/headResponsibility/cityList",query:{areaCode:e.SHI_AREA_CODE,year:e.YEAR,billityId:e.BIZ_RESP_RESPONSIBILITY_ID}})},search:function(){this.loading=!0,this.paginationShow=!1,this.handleCurrentChange(1),this.$nextTick((function(){this.paginationShow=!0}))},handleSizeChange:function(e){this.page.size=e,this.getTabList()},handleCurrentChange:function(e){this.page.page=e,this.getTabList()},getTabList:function(){var e=this;Xt(this.formInline,this.page).then((function(t){e.loading=!1,200==t.infoCode&&(e.tableList=t.data.list,e.page.total=t.data.total),console.log(t)}))},handleEdit:function(e){this.dialogFormVisible=!0,this.lsjform.id=e.ID},submitForm:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;Jt(t.lsjform).then((function(e){200==e.infoCode?(t.resetForm("lsjform"),t.$message.success(e.msg),t.getTabList()):t.$message.error(e.msg)}))}))},resetForm:function(e){this.$refs[e].resetFields(),this.dialogFormVisible=!1},findByYear:function(e){var t=this;tt(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data,null!=t.dateyear&&(t.formInline.year=t.dateyear[0],t.search()))}))}},created:function(){this.findByYear("page")}},ea=Gt,ta=(a("2533"),Object(c["a"])(ea,Ht,Vt,!1,null,null,null)),aa=ta.exports,sa=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementList"},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"考核内容"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},on:{change:function(t){e.contentSelect(e.formInline)}},model:{value:e.formInline.khnrId,callback:function(t){e.$set(e.formInline,"khnrId",t)},expression:"formInline.khnrId"}},e._l(e.contentList,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"重点考核事项"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},on:{change:function(t){e.itemSelect(e.formInline)}},model:{value:e.formInline.khsxId,callback:function(t){e.$set(e.formInline,"khsxId",t)},expression:"formInline.khsxId"}},e._l(e.itemList,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"考核指标"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.formInline.khzbId,callback:function(t){e.$set(e.formInline,"khzbId",t)},expression:"formInline.khzbId"}},e._l(e.qutaList,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"考核目标任务"}},[a("el-input",{attrs:{type:"text"},model:{value:e.formInline.khrw,callback:function(t){e.$set(e.formInline,"khrw",t)},expression:"formInline.khrw"}})],1)],1),a("el-col",{attrs:{span:9}},[a("el-form-item",[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.search}},[e._v("查询")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-refresh"},on:{click:e.relect}},[e._v("重置")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.back}},[e._v("返回")])],1)],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-top":"0"},attrs:{data:e.tableList,border:"",stripe:"","highlight-current-row":""}},[a("el-table-column",{attrs:{align:"center",label:"序号",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核目标任务"}},[a("el-table-column",{attrs:{align:"center",label:"任务名称",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.TASK_NAME))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"分值",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.TOTAL_SCORE))])]}}])})],1),a("el-table-column",{attrs:{align:"center",label:"盟市考核"}},[a("el-table-column",{attrs:{align:"center",label:"自评分值",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.ZPBM_SCORE))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"牵头部门分值",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.QTBM_SCORE))])]}}])})],1),a("el-table-column",{attrs:{align:"center",label:"省级复核"}},[a("el-table-column",{attrs:{prop:"",align:"center",label:"配合意见",sortable:"","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{align:"center",label:"牵头部门分值",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.SJ_QTBM_SCORE))])]}}])})],1),a("el-table-column",{attrs:{label:"操作",width:"80",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small",icon:"el-icon-zoom-in"},on:{click:function(a){a.stopPropagation(),e.handleSee(t.row)}}})],1)]}}])})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.listLoading,expression:"!listLoading"}],staticClass:"pag-right clearFix"},[e.paginationShow?a("el-pagination",{staticClass:"right",attrs:{"current-page":e.page.page,"page-sizes":[10,20,30,50],"page-size":e.page.size,layout:"total, sizes, prev, pager, next, jumper",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.$set(e.page,"page",t)}}}):e._e()],1)],1)],1)],1)},na=[],oa={data:function(){return{isSub:"",weightMessage:"",submitButton:!0,showExcelUplod:!1,excelFileList:[],weight:{},contentList:{},itemList:{},qutaList:{},excelDownloadDataFile:"".concat(G["d"]),formInline:{year:"",source:"10",areaCode:"",billityId:"",khnrId:"",khsxId:"",khzbId:"",khrw:""},dateyear:[],tableList:[],loading:!0,listLoading:!1,paginationShow:!0,page:{page:1,size:10,total:0}}},methods:{back:function(){this.$router.back(-1)},relect:function(){this.formInline.khnrId="",this.formInline.khsxId="",this.formInline.khzbId="",this.formInline.khrw=""},contentSelect:function(e){for(var t=0;t<this.contentList.length;t++){var a=this.contentList[t];(e.khnrId=a.ID)&&(this.itemList=a.itemList)}},itemSelect:function(e){for(var t=0;t<this.itemList.length;t++){var a=this.itemList[t];(e.khsxId=a.ID)&&(this.qutaList=a.qutaList)}},search:function(){this.loading=!0,this.paginationShow=!1,this.handleCurrentChange(1),this.$nextTick((function(){this.paginationShow=!0}))},handleSubmit:function(){var e=this;_t(this.formInline.year).then((function(t){200==t.infoCode?(e.$message.success(t.msg),e.getTabList()):e.$message.error(t.msg)}))},excelUplodQx:function(){this.showExcelUplod=!1,this.excelFileList=[]},handleSee:function(e){console.log("row",e),this.$router.push({path:"/supervisionCheck/headResponsibility/cityInfoSee",query:{id:e.INPUTID,year:this.$route.query.year,isDisabled:"1"}})},handleModify:function(e){"yes"==e.result?this.$router.push({path:"/supervisionCheck/headResponsibility/cityEntryAdd",query:{id:e.ID}}):this.$message({message:"当前考核任务时间,不在盟市考核起止时间之内!",type:"info"})},handleSizeChange:function(e){this.page.size=e,this.getTabList()},handleCurrentChange:function(e){this.page.page=e,this.getTabList()},getTabList:function(){var e=this;Dt(this.formInline,this.page).then((function(t){e.loading=!1,200==t.infoCode&&(e.tableList=t.data.list,e.page.total=t.data.total)}))},findBySelect:function(e,t,a){var s=this;this.formInline.year=t,this.formInline.areaCode=e,this.formInline.billityId=a,Et(t,a).then((function(e){console.log("res.data",e.data),s.contentList=e.data})),this.search()}},created:function(){this.findBySelect(this.$route.query.areaCode,this.$route.query.year,this.$route.query.billityId)}},ra=oa,ia=(a("6923"),Object(c["a"])(ra,sa,na,!1,null,null,null)),la=ia.exports,ca=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container cityEntryAdd"},[a("h3",{staticClass:"tit"},[e._v("首长责任制考核评分")]),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"140px"}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"年度考核目标任务"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.taskName,callback:function(t){e.$set(e.form,"taskName",t)},expression:"form.taskName"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"考核指标"}},[a("el-input",{attrs:{type:"textarea",resize:"none",disabled:""},model:{value:e.form.quotaName,callback:function(t){e.$set(e.form,"quotaName",t)},expression:"form.quotaName"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"分值"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.totalScore,callback:function(t){e.$set(e.form,"totalScore",t)},expression:"form.totalScore"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"评分标准"}},[a("el-input",{attrs:{type:"textarea",rows:4,resize:"none",disabled:""},model:{value:e.form.scoreStandard,callback:function(t){e.$set(e.form,"scoreStandard",t)},expression:"form.scoreStandard"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("自评部门评分")])])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"自评部门",prop:"zpbm"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.zpbm,callback:function(t){e.$set(e.form,"zpbm",t)},expression:"form.zpbm"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"自评部门分值",prop:"zpbmScore"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.zpbmScore,callback:function(t){e.$set(e.form,"zpbmScore",t)},expression:"form.zpbmScore"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"自评部门说明",prop:"zpbmExplain"}},[a("el-input",{attrs:{disabled:"",type:"textarea",autosize:{minRows:6,maxRows:10},resize:"none"},model:{value:e.form.zpbmExplain,callback:function(t){e.$set(e.form,"zpbmExplain",t)},expression:"form.zpbmExplain"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"扣分原因"}},[a("el-input",{attrs:{disabled:"",type:"textarea",autosize:{minRows:3,maxRows:10},resize:"none"},model:{value:e.form.zpbmKfyy,callback:function(t){e.$set(e.form,"zpbmKfyy",t)},expression:"form.zpbmKfyy"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"整改措施"}},[a("el-input",{attrs:{disabled:"",type:"textarea",autosize:{minRows:3,maxRows:10},resize:"none"},model:{value:e.form.zpbmZgcs,callback:function(t){e.$set(e.form,"zpbmZgcs",t)},expression:"form.zpbmZgcs"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"填报人",prop:"zpbmTbr"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.zpbmTbr,callback:function(t){e.$set(e.form,"zpbmTbr",t)},expression:"form.zpbmTbr"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"审核人",prop:"zpbmShr"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.zpbmShr,callback:function(t){e.$set(e.form,"zpbmShr",t)},expression:"form.zpbmShr"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("牵头部门评分")])])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"牵头部门",prop:"qtbm"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.qtbm,callback:function(t){e.$set(e.form,"qtbm",t)},expression:"form.qtbm"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"牵头部门分值",prop:"qtbmScore"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.qtbmScore,callback:function(t){e.$set(e.form,"qtbmScore",t)},expression:"form.qtbmScore"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"牵头部门说明",prop:"qtbmExplain"}},[a("el-input",{attrs:{disabled:"",type:"textarea",autosize:{minRows:6,maxRows:10},resize:"none"},model:{value:e.form.qtbmExplain,callback:function(t){e.$set(e.form,"qtbmExplain",t)},expression:"form.qtbmExplain"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"扣分原因"}},[a("el-input",{attrs:{disabled:"",type:"textarea",autosize:{minRows:3,maxRows:10},resize:"none"},model:{value:e.form.qtbmKfyy,callback:function(t){e.$set(e.form,"qtbmKfyy",t)},expression:"form.qtbmKfyy"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"填报人",prop:"qtbmTbr"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.qtbmTbr,callback:function(t){e.$set(e.form,"qtbmTbr",t)},expression:"form.qtbmTbr"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"审核人",prop:"qtbmShr"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.qtbmShr,callback:function(t){e.$set(e.form,"qtbmShr",t)},expression:"form.qtbmShr"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("配合部门意见")])])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"配合部门意见"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.form.phbm,border:""}},[a("el-table-column",{attrs:{label:"配合部门",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbm,callback:function(a){e.$set(t.row,"phbm",a)},expression:"scope.row.phbm"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbm))])]}}])}),a("el-table-column",{attrs:{label:"配合部门说明",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbmExplain,callback:function(a){e.$set(t.row,"phbmExplain",a)},expression:"scope.row.phbmExplain"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbmExplain))])]}}])}),a("el-table-column",{attrs:{label:"填报人",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbmTbr,callback:function(a){e.$set(t.row,"phbmTbr",a)},expression:"scope.row.phbmTbr"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbmTbr))])]}}])}),a("el-table-column",{attrs:{label:"审核人",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbmShr,callback:function(a){e.$set(t.row,"phbmShr",a)},expression:"scope.row.phbmShr"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbmShr))])]}}])})],1)],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"文件"}},[e.form.fileMap.name?a("el-upload",{ref:"upload",attrs:{action:e.uploadUrl,"file-list":e.fileList,disabled:""}},[a("el-button",{staticClass:"button",attrs:{size:"small",type:"primary",disabled:""}},[e._v("文件下载")])],1):e._e()],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("省级配合部门意见")])])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"配合部门意见"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.sjphbmList.phbmList,border:""}},[a("el-table-column",{attrs:{label:"配合部门",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbm,callback:function(a){e.$set(t.row,"phbm",a)},expression:"scope.row.phbm"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbm))])]}}])}),a("el-table-column",{attrs:{label:"配合部门说明",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.phbmExplain,callback:function(a){e.$set(t.row,"phbmExplain",a)},expression:"scope.row.phbmExplain"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.phbmExplain))])]}}])}),a("el-table-column",{attrs:{label:"填报人",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.tbr,callback:function(a){e.$set(t.row,"tbr",a)},expression:"scope.row.tbr"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.tbr))])]}}])}),a("el-table-column",{attrs:{label:"审核人",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-input",{directives:[{name:"show",rawName:"v-show",value:1==t.row.show,expression:"scope.row.show==1"}],attrs:{clearable:"",maxlength:e.maxlength},model:{value:t.row.shr,callback:function(a){e.$set(t.row,"shr",a)},expression:"scope.row.shr"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:1!=t.row.show,expression:"scope.row.show!=1"}]},[e._v(e._s(t.row.shr))])]}}])})],1)],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("省级牵头部门评分")])])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"牵头部门",prop:"qtbm"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.sjphbmList.qtbm,callback:function(t){e.$set(e.sjphbmList,"qtbm",t)},expression:"sjphbmList.qtbm"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"牵头部门分值",prop:"qtbmScore"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.sjphbmList.qtbmScore,callback:function(t){e.$set(e.sjphbmList,"qtbmScore",t)},expression:"sjphbmList.qtbmScore"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"牵头部门说明",prop:"qtbmExplain"}},[a("el-input",{attrs:{disabled:"",type:"textarea",autosize:{minRows:6,maxRows:10},resize:"none"},model:{value:e.sjphbmList.qtbmExplain,callback:function(t){e.$set(e.sjphbmList,"qtbmExplain",t)},expression:"sjphbmList.qtbmExplain"}})],1)],1),a("el-col",{attrs:{span:20}},[a("el-form-item",{attrs:{label:"扣分原因"}},[a("el-input",{attrs:{disabled:"",type:"textarea",autosize:{minRows:3,maxRows:10},resize:"none"},model:{value:e.sjphbmList.qtbmKfyy,callback:function(t){e.$set(e.sjphbmList,"qtbmKfyy",t)},expression:"sjphbmList.qtbmKfyy"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"填报人",prop:"qtbmTbr"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.sjphbmList.tbr,callback:function(t){e.$set(e.sjphbmList,"tbr",t)},expression:"sjphbmList.tbr"}})],1)],1),a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"审核人",prop:"qtbmShr"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.sjphbmList.shr,callback:function(t){e.$set(e.sjphbmList,"shr",t)},expression:"sjphbmList.shr"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",staticStyle:{margin:"0 50px"},attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")])],1)])],1)],1)],1)},ma=[],ua={data:function(){var e;return{sjphbmList:{},form:(e={taskName:"",quotaName:"",totalScore:""},Object(b["a"])(e,"totalScore",""),Object(b["a"])(e,"scoreStandard",""),Object(b["a"])(e,"zpbm",""),Object(b["a"])(e,"zpbmScore",""),Object(b["a"])(e,"zpbmExplain",""),Object(b["a"])(e,"zpbmTbr",""),Object(b["a"])(e,"zpbmShr",""),Object(b["a"])(e,"qtbm",""),Object(b["a"])(e,"qtbmScore",""),Object(b["a"])(e,"qtbmExplain",""),Object(b["a"])(e,"qtbmTbr",""),Object(b["a"])(e,"qtbmShr",""),Object(b["a"])(e,"fileId",""),Object(b["a"])(e,"phbm",[]),Object(b["a"])(e,"fileMap",{name:""}),e),rules:{zpbm:[{required:!0,message:"请输入自评部门",trigger:"blur"}],zpbmScore:[{required:!0,message:"请输入自评部门评分",trigger:"blur"},{trigger:["blur","change"],validator:ve}],zpbmExplain:[{required:!0,message:"请输入自评部门说明",trigger:"blur"}],zpbmTbr:[{required:!0,message:"请输入自评部门填报人",trigger:"blur"}],zpbmShr:[{required:!0,message:"请输入自评部门审核人",trigger:"blur"}],qtbm:[{required:!0,message:"请输牵头部门",trigger:"blur"}],qtbmScore:[{required:!0,message:"请输入牵头部门评分",trigger:"blur"},{trigger:["blur","change"],validator:ve}],qtbmExplain:[{required:!0,message:"请输入牵头部门说明",trigger:"blur"}],qtbmTbr:[{required:!0,message:"请输入牵头部门填报人",trigger:"blur"}],qtbmShr:[{required:!0,message:"请输入牵头部门审核人",trigger:"blur"}]},file:"".concat(G["e"]),fileDownload:"".concat(G["f"]),maxlength:20,loading:!1,flagNum:0,uploadUrl:"".concat(G["e"]),fileList:[]}},methods:{uploadFile:function(e){console.log("item",e)},renderHeader:function(e){var t=this;return e("div",{class:"tabBtnBox"},[e("span",null,"操作"),e("i",{class:"el-icon-circle-plus-outline",on:{click:function(){0==t.flagNum?(t.form.phbm.unshift({phbm:"",phbmExplain:"",phbmTbr:"",phbmShr:"",show:1}),t.flagNum++):t.$message.warning("请填写完上一条新增数据在进行新增")}}})])},handleEdit:function(e,t){t.show=1},handleDelete:function(e,t){this.form.phbm.splice(e,1),this.flagNum=0},handleSave:function(e,t){""==t.phbm||""==t.phbmExplain||""==t.phbmTbr||""==t.phbmShr?this.$message({message:"表格填写信息不能为空",type:"warning"}):(console.log(t),0==e&&(this.flagNum=0),t.show=0)},handleExceed:function(e,t){this.$message.warning("上传文件超出最大个数,当前只允许上传有1个文件")},handleChange:function(e,t){console.log(e)},handleRemove:function(e,t){this.form.fileId=""},handleSuccess:function(e,t){this.form.fileId=e.data.id},handlePreview:function(e){location.href=e.url},back:function(){this.$router.back(-1)},save:function(){var e=this;console.log(this.form.phbm),this.$refs["form"].validate((function(t){if(!t)return!1;e.loading=!0,e.form.id=e.$route.query.id,0!=e.flagNum&&e.handleDelete(0);var a=e.form.totalScore,s=e.form.zpbmScore,n=e.form.qtbmScore;return s>a?(e.loading=!1,e.$message({message:"自评部门分值不能大于年度考核目标任务分值",type:"error"})):n>a?(e.loading=!1,e.$message({message:"牵头部门分值不能大于年度考核目标任务分值",type:"error"})):void Tt(e.form).then((function(t){e.loading=!1,200==t.infoCode?(e.$message.success(t.msg),e.$router.push({path:"/supervisionCheck/headResponsibility/cityEntry"})):e.$message.error(t.msg)}))}))},downMethod:function(e,t){e.$el.getElementsByTagName("a")[0].setAttribute("title","点击下载"),e.$el.getElementsByTagName("a")[0].setAttribute("href","".concat(G["f"],"?id=").concat(t))},getPfb:function(e){var t=this;kt(e).then((function(e){"200"==e.infoCode&&(null!=e.data.fileMap&&(t.fileList=[{name:e.data.fileMap.name,url:"".concat(G["f"],"?id=").concat(e.data.fileMap.id)}],setTimeout((function(){t.downMethod(t.$refs.upload,e.data.fileMap.id)}),10)),t.form=e.data)}))},findByQtbmInfo:function(e,t){var a=this;Rt(e,t).then((function(e){"200"==e.infoCode&&(a.sjphbmList=e.data,console.log("sjphbmList",a.sjphbmList))}))}},created:function(){this.getPfb(this.$route.query.id),this.findByQtbmInfo(this.$route.query.id,"city")}},pa=ua,fa=(a("4308"),Object(c["a"])(pa,ca,ma,!1,null,null,null)),da=fa.exports,ha=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementList",staticStyle:{margin:"10px"}},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"考核年度"}},[a("el-select",{staticClass:"wdh",attrs:{placeholder:"考核年度:"},model:{value:e.formInline.year,callback:function(t){e.$set(e.formInline,"year",t)},expression:"formInline.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"考核等级"}},[a("el-select",{staticClass:"wdh",attrs:{placeholder:"考核等级:"},model:{value:e.formInline.khdj,callback:function(t){e.$set(e.formInline,"khdj",t)},expression:"formInline.khdj"}},e._l(e.khdjList,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:30}},[a("el-form-item",{staticClass:"fourLabel searchRadio",staticStyle:{"margin-bottom":"10px"},attrs:{label:"盟市名称"}},[a("el-radio-group",{on:{change:e.onRadioChange},model:{value:e.formInline.shiAreaCode,callback:function(t){e.$set(e.formInline,"shiAreaCode",t)},expression:"formInline.shiAreaCode"}},e._l(e.radioList,(function(t){return a("el-radio",{key:t.areaCode,attrs:{label:t.areaCode}},[e._v(e._s(t.orgName))])})))],1)],1),a("el-col",{attrs:{span:4}},[a("el-form-item",[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.search}},[e._v("查询")])],1)],1)],1)],1),a("el-row",{staticStyle:{height:"60px"}},[a("el-col",{attrs:{span:2}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:e.theImport}},[a("i",{staticClass:"iconfont icon-daochu",staticStyle:{"margin-right":"5px"}}),e._v("导出")])],1)],1),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-top":"0"},attrs:{data:e.tableList,border:"",stripe:"","highlight-current-row":""}},[a("el-table-column",{attrs:{align:"center",label:"序号",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核年度",width:"120",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.YEAR))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"盟市名称",width:"140",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.ZHOUSHI))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核评分"}},[a("el-table-column",{attrs:{align:"center",label:"盟市自评分值","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.ZPBM_SCORE))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"省级牵头分值","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.QTBM_SCORE))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"总分值",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.TOTAL_SCORE))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"等级",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.PJ))])]}}])})],1),a("el-table-column",{attrs:{label:"操作",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small",icon:"el-icon-zoom-in"},on:{click:function(a){a.stopPropagation(),e.handleSee(t.row)}}})],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"修改",placement:"top"}},[100==t.row.TBJD?a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.handleEdit(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-edit"})]):e._e()],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"导出",placement:"top"}},[100==t.row.TBJD?a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.handleEdit(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-daochu"})]):e._e()],1)]}}])})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.listLoading,expression:"!listLoading"}],staticClass:"pag-right clearFix"},[e.paginationShow?a("el-pagination",{staticClass:"right",attrs:{"current-page":e.page.page,"page-sizes":[10,20,30,50],"page-size":e.page.size,layout:"total, sizes, prev, pager, next, jumper",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.$set(e.page,"page",t)}}}):e._e()],1)],1)],1),a("el-dialog",{staticClass:"lsjbhyj",attrs:{title:"修改",visible:e.dialogFormVisible,width:"30%"},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("el-form",{ref:"lsjform",attrs:{model:e.lsjform,size:"mini",rules:e.rules}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{prop:"pj",label:"考核等级"}},[a("el-select",{staticClass:"wdh",attrs:{placeholder:"考核等级:"},model:{value:e.lsjform.pj,callback:function(t){e.$set(e.lsjform,"pj",t)},expression:"lsjform.pj"}},e._l(e.khdjList,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{prop:"pjExplain",label:"等级说明"}},[a("el-input",{attrs:{type:"textarea",resize:"none",autofocus:"",autosize:{minRows:6,maxRows:4}},model:{value:e.lsjform.pjExplain,callback:function(t){e.$set(e.lsjform,"pjExplain",t)},expression:"lsjform.pjExplain"}})],1)],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"text-align":"center"}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.submitForm("lsjform")}}},[e._v("确定")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.resetForm("lsjform")}}},[e._v("取消")])],1)],1)],1)],1)],1),a("el-dialog",{staticClass:"lsjbhyj",attrs:{title:"查看",visible:e.dialogFormFind,width:"30%"},on:{"update:visible":function(t){e.dialogFormFind=t}}},[a("el-form",{ref:"lsjform",attrs:{model:e.lsjform,size:"mini",rules:e.rules}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"考核等级"}},[a("el-input",{attrs:{disabled:"",type:"text"},model:{value:e.lsjform.pj,callback:function(t){e.$set(e.lsjform,"pj",t)},expression:"lsjform.pj"}})],1)],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"等级说明"}},[a("el-input",{attrs:{disabled:"",type:"textarea",resize:"none",autofocus:"",autosize:{minRows:6,maxRows:4}},model:{value:e.lsjform.pjExplain,callback:function(t){e.$set(e.lsjform,"pjExplain",t)},expression:"lsjform.pjExplain"}})],1)],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"text-align":"center"}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:e.resetQx}},[e._v("取消")])],1)],1)],1)],1)],1)],1)},ga=[],ba={data:function(){return{excelDownloadDataFile:"".concat(G["d"]),radioList:{},formInline:{year:"",source:"20",shiAreaCode:"",khdj:""},dateyear:[],khdjList:[],tableList:[],loading:!0,listLoading:!1,paginationShow:!0,page:{page:1,size:10,total:0},customColor:"#409eff",dialogFormVisible:!1,dialogFormFind:!1,lsjform:{id:"",pj:"",pjExplain:""},rules:{pj:[{required:!0,message:"请输入评价",trigger:"change"},{min:0,max:2e3,message:"输入文字个数最小2位,最大2000位",trigger:"change"}],pjExplain:[{required:!0,message:"请输入评价说明",trigger:"change"},{min:0,max:2e3,message:"输入文字个数最小2位,最大2000位",trigger:"change"}]}}},methods:{onRadioChange:function(){this.search()},theImport:function(){var e=JSON.parse(window.localStorage.getItem("userInfo"));window.location.href=this.excelDownloadDataFile+"/downloadSummary?year="+this.formInline.year+"&areaCode="+e.areaCode+"&source="+this.formInline.source+"&shiAreaCode="+this.formInline.shiAreaCode+"&khdj="+encodeURI(this.formInline.khdj)},handleSee:function(e){this.dialogFormFind=!0,this.lsjform.pj=e.PJ,this.lsjform.pjExplain=e.PJ_EXPLAIN},resetQx:function(){this.dialogFormFind=!1},search:function(){this.loading=!0,this.paginationShow=!1,this.handleCurrentChange(1),this.$nextTick((function(){this.paginationShow=!0}))},handleSizeChange:function(e){this.page.size=e,this.getTabList()},handleCurrentChange:function(e){this.page.page=e,this.getTabList()},getTabList:function(){var e=this;Xt(this.formInline,this.page).then((function(t){e.loading=!1,200==t.infoCode&&(e.tableList=t.data.list,e.page.total=t.data.total),console.log(t)}))},handleEdit:function(e){this.dialogFormVisible=!0,this.lsjform.id=e.ID,this.lsjform.pj=e.PJ,this.lsjform.pjExplain=e.PJ_EXPLAIN},submitForm:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;Jt(t.lsjform).then((function(e){200==e.infoCode?(t.resetForm("lsjform"),t.$message.success(e.msg),t.getTabList()):t.$message.error(e.msg)}))}))},resetForm:function(e){this.$refs[e].resetFields(),this.dialogFormVisible=!1},findByYear:function(e){var t=this;tt(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data,null!=t.dateyear&&(t.formInline.year=t.dateyear[0],t.search()))}))},getShengShiList:function(){var e=this;st().then((function(t){e.radioList=t.data,e.radioList[0].orgName="全部",console.log("获取省市",e.radioList)}))}},created:function(){this.findByYear("page"),this.getShengShiList(),this.khdjList.push("优秀"),this.khdjList.push("良好"),this.khdjList.push("合格"),this.khdjList.push("不合格")}},ya=ba,wa=(a("7e1e"),Object(c["a"])(ya,ha,ga,!1,null,null,null)),va=wa.exports,xa=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementList",staticStyle:{margin:"10px"}},[a("el-form",{attrs:{model:e.formInline,"label-width":"68px"}},[a("el-row",[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"考核年度"}},[a("el-select",{attrs:{placeholder:"请选择考核年度"},model:{value:e.formInline.year,callback:function(t){e.$set(e.formInline,"year",t)},expression:"formInline.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:4,offset:1}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.search}},[e._v("查询")])],1)],1)],1),a("el-row",[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:e.add}},[e._v("新增")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:e.copyClick}},[e._v("复制评分表")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:e.uploadClick}},[e._v("导入评分表")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:e.excelDownload}},[e._v("下载模板")])],1),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-top":"10px"},attrs:{data:e.tableList,border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick}},[a("el-table-column",{attrs:{align:"center",label:"序号",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核年度",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.YEAR))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"评分表名称",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.PFBMC))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"发布时间",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.PFB_TIME))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"状态",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.STATUS_VALUE))])]}}])}),a("el-table-column",{attrs:{label:"操作",width:"260",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small",icon:"el-icon-zoom-in"},on:{click:function(a){a.stopPropagation(),e.handleSee(t.row)}}})],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"编辑",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{disabled:"1"==t.row.STATUS||"2"==t.row.STATUS,type:"primary",size:"small",icon:"el-icon-edit-outline"},on:{click:function(a){a.stopPropagation(),e.handleModify(t.row)}}})],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"发布",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{disabled:"NO"==t.row.ISFB||"1"==t.row.STATUS||"2"==t.row.STATUS,type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.handlePublish(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-fabu"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"导出",placement:"top"}},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.exportClick(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-daochu"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"删除",placement:"top"}},[a("el-button",{staticClass:"difStateDelBtn",attrs:{disabled:"1"==t.row.STATUS||"2"==t.row.STATUS,type:"danger",size:"small",icon:"el-icon-delete"},on:{click:function(a){a.stopPropagation(),e.handleDetail(t.row)}}})],1)]}}])})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.listLoading,expression:"!listLoading"}],staticClass:"pag-right clearFix"},[e.paginationShow?a("el-pagination",{staticClass:"right",attrs:{"current-page":e.page.page,"page-sizes":[10,20,30,50],"page-size":e.page.size,layout:"total, sizes, prev, pager, next, jumper",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.$set(e.page,"page",t)}}}):e._e()],1)],1)],1)],1)},Ca=[],Ia={data:function(){return{curServer:"".concat(G["c"]),formInline:{year:"",source:"20"},dateyear:[],tableList:[],loading:!0,listLoading:!1,paginationShow:!0,page:{page:1,size:10,total:0}}},methods:{search:function(){this.loading=!0,this.paginationShow=!1,this.handleCurrentChange(1),this.$nextTick((function(){this.paginationShow=!0}))},add:function(){this.$router.push({path:"/accountability/managementSave"})},copyClick:function(){this.$router.push({path:"/accountability/managementCopy"})},uploadClick:function(){this.$router.push({path:"/accountability/managementUpload"})},handleModify:function(e){this.$router.push({path:"/accountability/managementEdit",query:{id:e.ID,year:e.YEAR,isDisabled:"2"}})},handlePublish:function(e){var t=this;Je(e.ID).then((function(e){200==e.infoCode?(t.$message.success(e.msg),t.search()):t.$message.error(e.msg)}))},exportClick:function(e){window.location.href="".concat(this.curServer,"examinationExcel/exportKhpfbExcel/").concat(e.ID)},excelDownload:function(){window.location.href="".concat(this.curServer,"examinationExcel/downloadKhpfbExcel/").concat(this.formInline.year)},theImport:function(){this.$router.push({path:"/accountability/managementAdd"})},tableRowClick:function(e,t,a){"操作"!=a.label&&this.handleSee(e)},handleSee:function(e){this.$router.push({path:"/accountability/managementSee",query:{id:e.ID,year:e.YEAR,isDisabled:"1"}})},handleDetail:function(e){var t=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Qe(e.ID).then((function(e){200==e.infoCode?(t.$message({message:"删除成功!",type:"success"}),t.getTabList()):t.$message({message:e.msg,type:"error"})}))})).catch((function(){t.$message({type:"info",message:"已取消删除"})}))},findByYear:function(e){var t=this;tt(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data,null!=t.dateyear&&(t.formInline.year=t.dateyear[0],t.search()))}))},handleSizeChange:function(e){this.page.size=e,this.getTabList()},handleCurrentChange:function(e){this.page.page=e,this.getTabList()},getTabList:function(){var e=this;Oe(this.formInline,this.page).then((function(t){e.loading=!1,200==t.infoCode&&(e.tableList=t.data.list,e.page.total=t.data.total),console.log(t)}))}},created:function(){this.findByYear("page")}},Sa=Ia,ka=(a("5f3a"),Object(c["a"])(Sa,xa,Ca,!1,null,null,null)),Ta=ka.exports,_a=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementAdd"},[a("h3",{staticClass:"tit"},[e._v("导入评分表")]),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"100px"}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"考核年度",prop:"year"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:""},model:{value:e.form.year,callback:function(t){e.$set(e.form,"year",t)},expression:"form.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"总分"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.weightDO.totalScore,callback:function(t){e.$set(e.weightDO,"totalScore",t)},expression:"weightDO.totalScore"}})],1)],1),a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"评分表名称",prop:"pfbmc"}},[a("el-input",{attrs:{type:"text"},model:{value:e.form.pfbmc,callback:function(t){e.$set(e.form,"pfbmc",t)},expression:"form.pfbmc"}})],1)],1),a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"文件"}},[a("el-row",[a("el-col",{attrs:{span:12}},[a("el-upload",{staticClass:"upload-demo",attrs:{action:"","on-change":e.handleChange,"on-remove":e.handleRemove,"file-list":e.fileList,"auto-upload":!1,"on-exceed":e.handleExceed,limit:1}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"}},[e._v("点击上传")])],1)],1)],1)],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",staticStyle:{margin:"0 50px"},attrs:{type:"primary",loading:e.loading},on:{click:function(t){e.save()}}},[e._v("确定")]),a("el-button",{staticClass:"outCancelButton",staticStyle:{margin:"0 50px"},attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")])],1)])],1)],1)],1)},za=[],$a={data:function(){var e=this,t=function(t,a,s){if(!a)return s();var n={pfbmc:a,year:e.form.year};Fe(n).then((function(e){if(200!=e.infoCode)return s(new Error(e.msg));s()}))};return{form:{year:"",file:"",source:20},weightDO:{},dateyear:[],rules:{year:[{required:!0,message:"请选择考核年度",trigger:"change"}],totalScore:[{required:!0,message:"请输入总分",trigger:"blur"},{validator:ye,trigger:"blur"}],pfbmc:[{required:!0,message:"请输入评分表名称",trigger:"blur"},{trigger:["blur","change"],validator:t},{validator:he,trigger:"blur"}]},fileList:[],loading:!1}},methods:{handleExceed:function(e,t){this.$message.warning("上传文件超出最大个数,当前只允许上传1个文件")},handleChange:function(e,t){this.form.file=e.raw},handleRemove:function(e,t){this.form.file=""},back:function(){this.$router.back(-1)},save:function(){var e=this;this.$refs["form"].validate((function(t){if(!t)return!1;if(e.loading=!0,""==e.form.file)e.$message.warning("请选择上传文件!"),e.loading=!1;else{e.form.totalScore=e.weightDO.totalScore;var a=new FormData;a.append("file",e.form.file),Ke(e.form,a).then((function(t){e.loading=!1,200==t.infoCode?(e.$message.success(t.msg),e.$router.push({path:"/accountability/management"})):504==t.infoCode?e.$message.warning(t.msg):e.$message.error(t.msg)}))}}))},findByYearAndStatus:function(e,t){var a=this;le(e,t).then((function(e){200==e.infoCode&&(a.weightDO=e.data,console.log("this.weightDO",a.weightDO))}))},findByYear:function(e){var t=this;tt(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data,null!=t.dateyear&&(t.form.year=t.dateyear[0],t.findByYearAndStatus(t.form.year,1)))}))}},created:function(){this.findByYear("page")}},Ea=$a,Da=(a("8659"),Object(c["a"])(Ea,_a,za,!1,null,null,null)),Ra=Da.exports,ja=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementAdd",staticStyle:{"overflow-x":"hidden"}},[a("h3",{staticClass:"tit"},[e._v("复制评分表")]),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"120px"}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"考核年度",prop:"year"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:""},on:{change:e.yearChange},model:{value:e.form.year,callback:function(t){e.$set(e.form,"year",t)},expression:"form.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"原评分表名称",prop:"idNew"}},[a("el-select",{attrs:{clearable:""},model:{value:e.form.idNew,callback:function(t){e.$set(e.form,"idNew",t)},expression:"form.idNew"}},e._l(e.pfbmcList,(function(e){return a("el-option",{key:e.index,attrs:{label:e.PFBMC,value:e.PFBMC}})})))],1)],1),a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"新考核年度",prop:"yearNew"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:""},model:{value:e.form.yearNew,callback:function(t){e.$set(e.form,"yearNew",t)},expression:"form.yearNew"}},e._l(e.dateyearNew,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"新评分表名称",prop:"id"}},[a("el-input",{attrs:{type:"text",clearable:""},model:{value:e.form.id,callback:function(t){e.$set(e.form,"id",t)},expression:"form.id"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary",loading:e.loading},on:{click:e.save}},[e._v("保存")]),a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")])],1)])],1)],1)],1)},qa=[],Ma={data:function(){var e=this,t=function(t,a,s){if(!a)return s();var n={pfbmc:a,year:e.form.yearNew};e.form.yearNew&&Fe(n).then((function(e){if(200!=e.infoCode)return s(new Error(e.msg));s()}))};return{pfbmcList:[],form:{year:"",id:"",yearNew:"",idNew:""},dateyear:[],dateyearNew:[],rules:{year:[{required:!0,message:"请选择考核年度",trigger:"change"}],yearNew:[{required:!0,message:"请选择考核年度",trigger:"change"}],idNew:[{required:!0,message:"请选择评分表名称",trigger:"blur"}],id:[{required:!0,message:"请输入评分表名称",trigger:"change"},{trigger:["blur","change"],validator:t},{validator:he,trigger:"blur"}]},fileList:[],loading:!1}},methods:{handleExceed:function(e,t){this.$message.warning("上传文件超出最大个数,当前只允许上传有1个文件")},handleChange:function(e,t){this.form.file=e.raw},handleRemove:function(e,t){this.form.file=""},back:function(){this.$router.back(-1)},yearChange:function(){this.form.idNew="",this.form.id="",this.form.yearNew="",this.getpfbmcList(this.form.year),this.findNewYear(this.form.year)},getpfbmcList:function(e){var t=this,a={source:20,year:e,type:"copy"};We(a).then((function(e){200==e.infoCode&&(t.pfbmcList=e.data.pfbList)}))},save:function(){var e=this;this.$refs["form"].validate((function(t){if(!t)return!1;var a={oldPfbmc:e.form.idNew,newYear:e.form.yearNew,newPfbmc:e.form.id,oldYear:e.form.year};e.loading=!0,nt(a).then((function(t){200==t.infoCode?(e.$message.success(t.msg),e.$router.push({path:"/accountability/management"})):504==t.infoCode?(e.$message.warning(t.msg),e.loading=!1):(e.$message.error(t.msg),e.loading=!1)}))}))},findByYear:function(e){var t=this;tt(e).then((function(e){200==e.infoCode?(t.dateyear=e.data,null!=t.dateyear&&(t.form.year=t.dateyear[0],t.getpfbmcList(t.form.year),t.findNewYear(t.form.year))):t.$message({type:"error",message:e.msg,duration:2e3})}))},findNewYear:function(e){var t=this;at(e).then((function(e){200==e.infoCode?t.dateyearNew=e.data:t.$message({type:"error",message:e.msg,duration:2e3})}))}},created:function(){this.findByYear("page")}},Ba=Ma,Aa=(a("37c0"),Object(c["a"])(Ba,ja,qa,!1,null,null,null)),Pa=Aa.exports,La=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementAdd",staticStyle:{"overflow-x":"hidden"}},[a("h3",{staticClass:"tit"},[e._v("导入评分表")]),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"100px"}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"考核年度",prop:"year"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:""},model:{value:e.form.year,callback:function(t){e.$set(e.form,"year",t)},expression:"form.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"评分表名称",prop:"pfbmc"}},[a("el-input",{attrs:{type:"text",clearable:""},model:{value:e.form.pfbmc,callback:function(t){e.$set(e.form,"pfbmc",t)},expression:"form.pfbmc"}})],1)],1),a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"文件",prop:""}},[a("el-upload",{staticClass:"upload-demo",attrs:{action:"","on-change":e.handleChange,"on-remove":e.handleRemove,"file-list":e.fileList,"auto-upload":!1,"on-exceed":e.handleExceed,limit:1}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"}},[e._v("点击上传")])],1)],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary",loading:e.loading},on:{click:function(t){e.save()}}},[e._v("保存")]),a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")])],1)])],1)],1)],1)},Na=[],Oa={data:function(){var e=this,t=function(t,a,s){if(!a)return s();var n={pfbmc:a,year:e.form.year};Fe(n).then((function(e){if(200!=e.infoCode)return s(new Error(e.msg));s()}))};return{form:{year:"",file:"",source:20},dateyear:[],rules:{year:[{required:!0,message:"请选择考核年度",trigger:"change"}],totalScore:[{required:!0,message:"请输入总分",trigger:"blur"},{validator:ye,trigger:"blur"}],pfbmc:[{required:!0,message:"请输入评分表名称",trigger:"blur"},{trigger:["blur","change"],validator:t},{validator:he,trigger:"blur"}]},fileList:[],loading:!1}},methods:{handleExceed:function(e,t){this.$message.warning("上传文件超出最大个数,当前只允许上传有1个文件")},handleChange:function(e,t){this.form.file=e.raw},handleRemove:function(e,t){this.form.file=""},back:function(){this.$router.back(-1)},save:function(){var e=this;this.$refs["form"].validate((function(t){if(!t)return!1;if(e.loading=!0,""==e.form.file)e.$message.warning("请选择上传文件!"),e.loading=!1;else{var a=new FormData;a.append("file",e.form.file),Ue(e.form,a).then((function(t){e.loading=!1,200==t.infoCode?(e.$message.success(t.msg),e.$router.push({path:"/accountability/management"})):504==t.infoCode?e.$message.warning(t.msg):e.$message.error(t.msg)}))}}))},findByYear:function(e){var t=this;tt(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data,null!=t.dateyear&&(t.form.year=t.dateyear[0]))}))}},created:function(){this.findByYear("page")}},Fa=Oa,Za=(a("4889"),Object(c["a"])(Fa,La,Na,!1,null,null,null)),Qa=Za.exports,Ka=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementSee",staticStyle:{padding:"10px"}},[a("h3",{staticClass:"tit"},[e._v("查看评分表")]),a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"100px"}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"评分表名称"}},[a("el-input",{attrs:{type:"text",disabled:""},model:{value:e.form.pfbmc,callback:function(t){e.$set(e.form,"pfbmc",t)},expression:"form.pfbmc"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{staticClass:"curStyle",attrs:{label:"评分表内容:"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("el-tabs",{staticStyle:{"margin-left":"14px"},attrs:{type:"border-card"},on:{"tab-click":e.handleClickScore},model:{value:e.activeNameScore,callback:function(t){e.activeNameScore=t},expression:"activeNameScore"}},[a("el-tab-pane",{attrs:{name:"first",label:"考核内容"}},[a("el-row",{staticStyle:{"padding-bottom":"10px"}},[a("el-button",{staticClass:"outButton",attrs:{isdisabled:"",disabled:e.isdisabled,type:"primary",icon:"el-icon-plus"},on:{click:e.changeExaminationContentInfo}},[e._v("新增")])],1),a("el-row",[a("el-col",[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.examinationContentTable,"tooltip-effect":"dark",border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick,"selection-change":e.examinationContentChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),a("el-table-column",{attrs:{type:"index",label:"序号",align:"center",width:"60"}}),a("el-table-column",{attrs:{prop:"NAME",label:"考核内容",sortable:"",align:"center","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{width:"180",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeExaminationContentInfo(t.row,"show")}}},[a("i",{staticClass:"el-icon-zoom-in"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"编辑",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{disabled:"N"==t.row.isEidt||e.isdisabled,size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeExaminationContentInfo(t.row,"update")}}},[a("i",{staticClass:"el-icon-edit"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"删除",placement:"top"}},[a("el-button",{staticClass:"difStateDelBtn",attrs:{disabled:"N"==t.row.isDelete||e.isdisabled,size:"mini",type:"primary"},nativeOn:{click:function(a){a.preventDefault(),a.stopPropagation(),e.examinationContentDeleteRow(t.$index,e.examinationContentTable)}}},[a("i",{staticClass:"el-icon-delete"})])],1)]}}])})],1),a("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[a("el-pagination",{attrs:{"current-page":e.examinationContentPage.page,"page-sizes":[10,20,30,40],"page-size":e.examinationContentPage.size,layout:"total, sizes, prev, pager, next, jumper",total:e.examinationContentPage.total},on:{"size-change":e.examinationContentSizeChange,"current-change":e.examinationContentCurrentChange}})],1)],1)],1),a("el-dialog",{attrs:{title:"考核内容",visible:e.showExaminationContent,width:"50%","close-on-click-modal":!1},on:{"update:visible":function(t){e.showExaminationContent=t}}},[a("el-form",{ref:"examinationContentRef",attrs:{model:e.examinationContentInfo,rules:e.examinationContentRules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"考核内容",prop:"NAME"}},[a("el-input",{attrs:{type:"textarea",disabled:e.examinationContentDisabled,resize:"none",rows:4},model:{value:e.examinationContentInfo.NAME,callback:function(t){e.$set(e.examinationContentInfo,"NAME",t)},expression:"examinationContentInfo.NAME"}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"show",rawName:"v-show",value:"show"!=e.examinationContentType,expression:"examinationContentType != 'show'"}],staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.saveExaminationContent("examinationContentRef")}}},[e._v("确 定")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.examinationContentClose("examinationContentRef")}}},[e._v("取 消")])],1)],1)],1),a("el-tab-pane",{attrs:{name:"second",label:"重点考核事项"}},[a("el-row",{staticStyle:{"padding-bottom":"10px"}},[a("el-button",{staticClass:"outButton",attrs:{disabled:e.isdisabled,type:"primary",icon:"el-icon-plus"},on:{click:e.changeAssessmentMattersInfo}},[e._v("新增")])],1),a("el-row",[a("el-col",[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.assessmentMattersTable,"tooltip-effect":"dark",border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick2,"selection-change":e.assessmentMattersChange}},[a("el-table-column",{attrs:{align:"center",type:"selection",width:"55"}}),a("el-table-column",{attrs:{align:"center",type:"index",label:"序号",width:"60"}}),a("el-table-column",{attrs:{align:"center",prop:"ZDKSSX",sortable:"",label:"重点考核事项","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{align:"center",prop:"KHNR",sortable:"",label:"考核内容","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{width:"180",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeAssessmentMattersInfo(t.row,"show")}}},[a("i",{staticClass:"el-icon-zoom-in"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"编辑",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{disabled:"N"==t.row.isEidt||e.isdisabled,size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeAssessmentMattersInfo(t.row,"update")}}},[a("i",{staticClass:"el-icon-edit"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"删除",placement:"top"}},[a("el-button",{staticClass:"difStateDelBtn",attrs:{disabled:"N"==t.row.isDelete||e.isdisabled,size:"mini",type:"primary"},nativeOn:{click:function(a){a.preventDefault(),a.stopPropagation(),e.assessmentMattersDeleteRow(t.$index,e.assessmentMattersTable)}}},[a("i",{staticClass:"el-icon-delete"})])],1)]}}])})],1),a("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[a("el-pagination",{attrs:{"current-page":e.assessmentMattersPage.page,"page-sizes":[10,20,30,40],"page-size":e.assessmentMattersPage.size,layout:"total, sizes, prev, pager, next, jumper",total:e.assessmentMattersPage.total},on:{"size-change":e.assessmentMattersSizeChange,"current-change":e.assessmentMattersCurrentChange}})],1)],1)],1),a("el-dialog",{attrs:{title:"重点考核事项",visible:e.showAssessmentMatters,width:"50%","close-on-click-modal":!1},on:{"update:visible":function(t){e.showAssessmentMatters=t}}},[a("el-form",{ref:"assessmentMattersRef",attrs:{model:e.assessmentMattersInfo,rules:e.assessmentMattersRules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"考核内容",prop:"bizRespContentId"}},[a("el-select",{attrs:{disabled:e.assessmentMattersDisabled},model:{value:e.assessmentMattersInfo.bizRespContentId,callback:function(t){e.$set(e.assessmentMattersInfo,"bizRespContentId",t)},expression:"assessmentMattersInfo.bizRespContentId"}},e._l(e.assessmentMattersOptions,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1),a("el-form-item",{attrs:{label:"重点考核事项",prop:"ZDKSSX"}},[a("el-input",{attrs:{type:"textarea",disabled:e.assessmentMattersDisabled,rows:4,resize:"none"},model:{value:e.assessmentMattersInfo.ZDKSSX,callback:function(t){e.$set(e.assessmentMattersInfo,"ZDKSSX",t)},expression:"assessmentMattersInfo.ZDKSSX"}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"show",rawName:"v-show",value:"show"!=e.assessmentMattersType,expression:"assessmentMattersType != 'show'"}],staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.saveAssessmentMatters("assessmentMattersRef")}}},[e._v("确 定")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.assessmentMattersClose("assessmentMattersRef")}}},[e._v("取 消")])],1)],1)],1),a("el-tab-pane",{attrs:{name:"third",label:"考核指标"}},[a("el-row",{staticStyle:{"padding-bottom":"10px"}},[a("el-button",{staticClass:"outButton",attrs:{disabled:e.isdisabled,type:"primary",icon:"el-icon-plus"},on:{click:e.changeAssessmentIndexInfo}},[e._v("新增")])],1),a("el-row",[a("el-col",[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.assessmentIndexTable,"tooltip-effect":"dark",border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick3,"selection-change":e.assessmentIndexChange}},[a("el-table-column",{attrs:{align:"center",type:"selection",width:"55"}}),a("el-table-column",{attrs:{align:"center",type:"index",label:"序号",width:"60"}}),a("el-table-column",{attrs:{align:"center",prop:"KHZB",sortable:"",label:"考核指标","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{align:"center",prop:"ZDKSSX",sortable:"",label:"重点考核事项","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{width:"180",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeAssessmentIndexInfo(t.row,"show")}}},[a("i",{staticClass:"el-icon-zoom-in"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"编辑",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{disabled:"N"==t.row.isEidt||e.isdisabled,size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeAssessmentIndexInfo(t.row,"update")}}},[a("i",{staticClass:"el-icon-edit"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"删除",placement:"top"}},[a("el-button",{staticClass:"difStateDelBtn",attrs:{disabled:"N"==t.row.isDelete||e.isdisabled,size:"mini",type:"primary"},nativeOn:{click:function(a){a.preventDefault(),a.stopPropagation(),e.assessmentIndexDeleteRow(t.$index,e.assessmentIndexTable)}}},[a("i",{staticClass:"el-icon-delete"})])],1)]}}])})],1),a("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[a("el-pagination",{attrs:{"current-page":e.assessmentIndexPage.page,"page-sizes":[10,20,30,40],"page-size":e.assessmentIndexPage.size,layout:"total, sizes, prev, pager, next, jumper",total:e.assessmentIndexPage.total},on:{"size-change":e.assessmentIndexSizeChange,"current-change":e.assessmentIndexCurrentChange}})],1)],1)],1),a("el-dialog",{attrs:{title:"考核指标",visible:e.showAssessmentIndex,width:"50%","close-on-click-modal":!1},on:{"update:visible":function(t){e.showAssessmentIndex=t}}},[a("el-form",{ref:"assessmentIndexRef",attrs:{model:e.assessmentIndexInfo,rules:e.assessmentIndexRules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"重点考核事项",prop:"bizRespExaminationItemId"}},[a("el-select",{attrs:{disabled:e.assessmentIndexDisabled},model:{value:e.assessmentIndexInfo.bizRespExaminationItemId,callback:function(t){e.$set(e.assessmentIndexInfo,"bizRespExaminationItemId",t)},expression:"assessmentIndexInfo.bizRespExaminationItemId"}},e._l(e.assessmentIndexOptions,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.ZDKSSX.length>33?e.ZDKSSX.substring(0,33)+"...":e.ZDKSSX,value:e.ID}})})))],1),a("el-form-item",{attrs:{label:"考核指标",prop:"KHZB"}},[a("el-input",{attrs:{type:"textarea",disabled:e.assessmentIndexDisabled,rows:4,resize:"none"},model:{value:e.assessmentIndexInfo.KHZB,callback:function(t){e.$set(e.assessmentIndexInfo,"KHZB",t)},expression:"assessmentIndexInfo.KHZB"}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"show",rawName:"v-show",value:"show"!=e.assessmentIndexType,expression:"assessmentIndexType != 'show'"}],staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.saveAssessmentIndex("assessmentIndexRef")}}},[e._v("确 定")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.assessmentIndexClose("assessmentIndexRef")}}},[e._v("取 消")])],1)],1)],1),a("el-tab-pane",{attrs:{name:"fourth",label:"考核目标任务"}},[a("el-row",[a("el-form",{ref:"peopleform",attrs:{model:e.assessmentTargetSearchInfo,"label-width":"76px"}},[a("el-col",{attrs:{span:8}},[a("el-form-item",{staticClass:"fourLabel",attrs:{label:"牵头部门"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.assessmentTargetSearchInfo.leadDepartment,callback:function(t){e.$set(e.assessmentTargetSearchInfo,"leadDepartment",t)},expression:"assessmentTargetSearchInfo.leadDepartment"}},e._l(e.assessmentTargetDeptName2,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1)],1),a("el-col",{attrs:{span:8,offset:1}},[a("el-form-item",{staticClass:"fourLabel",attrs:{label:"配合部门"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.assessmentTargetSearchInfo.coordinationDepartment,callback:function(t){e.$set(e.assessmentTargetSearchInfo,"coordinationDepartment",t)},expression:"assessmentTargetSearchInfo.coordinationDepartment"}},e._l(e.assessmentTargetDeptName2,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1)],1),a("el-col",{staticStyle:{"margin-left":"20px"},attrs:{span:2}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.assessmentTargetQuery}},[e._v("查询")])],1)],1)],1),a("el-row",{staticStyle:{"padding-bottom":"10px"}},[a("el-button",{staticClass:"outButton",attrs:{disabled:e.isdisabled,type:"primary",icon:"el-icon-plus"},on:{click:e.changeAssessmentTargetInfo}},[e._v("新增")])],1),a("el-row",[a("el-col",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.assessmentTargetTable,"tooltip-effect":"dark",border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick4,"selection-change":e.assessmentTargetChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center",selectable:e.assessmentTargetCheckSelectable}}),a("el-table-column",{attrs:{align:"center",type:"index",label:"序号",width:"60"}}),a("el-table-column",{attrs:{align:"center",prop:"KHZB",sortable:"",label:"考核指标","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{align:"center",prop:"KHMBRU",sortable:"",label:"年度考核任务评分标准","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{align:"center",prop:"QTBM",sortable:"",label:"牵头部门","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{align:"center",prop:"PHBM",sortable:"",label:"配合部门","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"操作",width:"180",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeAssessmentTargetInfo(t.row,"show")}}},[a("i",{staticClass:"el-icon-zoom-in"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"编辑",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{disabled:e.isdisabled,size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeAssessmentTargetInfo(t.row,"update")}}},[a("i",{staticClass:"el-icon-edit"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"删除",placement:"top"}},[a("el-button",{staticClass:"difStateDelBtn",attrs:{disabled:e.isdisabled,size:"mini",type:"primary"},nativeOn:{click:function(a){a.preventDefault(),a.stopPropagation(),e.assessmentTargetDeleteRow(t.$index,e.assessmentTargetTable)}}},[a("i",{staticClass:"el-icon-delete"})])],1)]}}])})],1),a("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[e.paginationShow?a("el-pagination",{attrs:{"current-page":e.assessmentTargetPage.page,"page-sizes":[10,20,30,40],"page-size":e.assessmentTargetPage.size,layout:"total, sizes, prev, pager, next, jumper",total:e.assessmentTargetPage.total},on:{"size-change":e.assessmentTargetSizeChange,"current-change":e.assessmentTargetCurrentChange}}):e._e()],1)],1)],1),a("el-dialog",{staticStyle:{"text-align":"center"},attrs:{title:"考核目标任务",visible:e.showAssessmentTarget,width:"50%","close-on-click-modal":!1},on:{"update:visible":function(t){e.showAssessmentTarget=t}}},[a("el-form",{ref:"assessmentTargetRef",attrs:{model:e.assessmentTargetInfo,rules:e.assessmentTargetRules,"label-width":"140px"}},[a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"牵头部门",prop:"leadDepartment"}},[a("el-select",{attrs:{disabled:e.assessmentTargetDisabled},model:{value:e.assessmentTargetInfo.leadDepartment,callback:function(t){e.$set(e.assessmentTargetInfo,"leadDepartment",t)},expression:"assessmentTargetInfo.leadDepartment"}},e._l(e.assessmentTargetDeptName2,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"配合部门"}},[a("el-select",{attrs:{multiple:"",disabled:e.assessmentTargetDisabled},model:{value:e.assessmentTargetInfo.coordinationDepartment,callback:function(t){e.$set(e.assessmentTargetInfo,"coordinationDepartment",t)},expression:"assessmentTargetInfo.coordinationDepartment"}},e._l(e.assessmentTargetDeptName2,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1)],1)],1),a("el-row",[a("el-col",[a("el-form-item",{attrs:{label:"考核指标",prop:"bizRespExaminationQuotaId"}},[a("el-select",{attrs:{disabled:e.assessmentTargetDisabled},on:{change:function(t){e.assessmentTargetInfoScore(e.assessmentTargetInfo.bizRespExaminationQuotaId)}},model:{value:e.assessmentTargetInfo.bizRespExaminationQuotaId,callback:function(t){e.$set(e.assessmentTargetInfo,"bizRespExaminationQuotaId",t)},expression:"assessmentTargetInfo.bizRespExaminationQuotaId"}},e._l(e.assessmentTargetOptions,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.KHZB.length>33?e.KHZB.substring(0,33)+"...":e.KHZB,value:e.ID}})})))],1)],1)],1),a("el-row",[a("el-col",[a("el-form-item",{staticClass:"lastDialog",attrs:{label:"年度考核任务评分标准",prop:"scoreStandard"}},[a("el-input",{attrs:{type:"textarea",disabled:e.assessmentTargetDisabled,resize:"none",rows:4},model:{value:e.assessmentTargetInfo.scoreStandard,callback:function(t){e.$set(e.assessmentTargetInfo,"scoreStandard",t)},expression:"assessmentTargetInfo.scoreStandard"}})],1)],1)],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"show",rawName:"v-show",value:"show"!=e.assessmentTargetType,expression:"assessmentTargetType != 'show'"}],staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.saveAssessmentTarget("assessmentTargetRef")}}},[e._v("确 定")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.assessmentTargetClose("assessmentTargetRef")}}},[e._v("取 消")])],1)],1)],1),a("el-dialog",{attrs:{title:"上传excel",visible:e.showExcelUplod,width:"50%","close-on-click-modal":!1},on:{"update:visible":function(t){e.showExcelUplod=t}}},[a("el-form",{attrs:{"label-width":"120px"}},[a("el-form-item",[a("el-upload",{attrs:{action:"",accept:".xls","on-change":e.uploadFile,"auto-upload":!1,"show-file-list":!0,"file-list":e.excelFileList}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[e._v("请选择上传文件")])],1)],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.excelUplodQx()}}},[e._v("取 消")])],1)],1)],1)],1)],1),a("div",{staticStyle:{"text-align":"center",padding:"10px 0"}},[a("el-button",{attrs:{type:"primary"},on:{click:e.back}},[e._v("返回")])],1)],1)},Ua=[];function Ya(e,t){return J({url:"".concat(G["c"],"responsibility/findById/").concat(e,"/").concat(t),method:"get"})}function Wa(e,t,a){return J({url:"".concat(G["c"],"examinationContent/findByPage/").concat(t,"/").concat(a),method:"post",data:e})}function Ha(e){return J({url:"".concat(G["c"],"examinationContent/save"),method:"post",data:e})}function Va(e){return J({url:"".concat(G["c"],"examinationContent/update"),method:"post",data:e})}function Xa(e){return J({url:"".concat(G["c"],"examinationContent/deletes"),method:"delete",data:e})}function Ja(e,t){return J({url:"".concat(G["c"],"examinationContent/findByYearAndOrgId/").concat(e,"/").concat(t),method:"get"})}function Ga(e,t,a){return J({url:"".concat(G["c"],"examinationItem/findByPage/").concat(t,"/").concat(a),method:"post",data:e})}function es(e){return J({url:"".concat(G["c"],"examinationItem/save"),method:"post",data:e})}function ts(e){return J({url:"".concat(G["c"],"examinationItem/update"),method:"post",data:e})}function as(e){return J({url:"".concat(G["c"],"examinationItem/deletes"),method:"delete",data:e})}function ss(e,t){return J({url:"".concat(G["c"],"examinationItem/findByYearAndOrgId/").concat(e,"/").concat(t),method:"get"})}function ns(e,t,a){return J({url:"".concat(G["c"],"examinationQuota/findByPage/").concat(t,"/").concat(a),method:"post",data:e})}function os(e){return J({url:"".concat(G["c"],"examinationQuota/save"),method:"post",data:e})}function rs(e){return J({url:"".concat(G["c"],"examinationQuota/update"),method:"post",data:e})}function is(e){return J({url:"".concat(G["c"],"examinationQuota/deletes"),method:"delete",data:e})}function ls(e,t){return J({url:"".concat(G["c"],"examinationQuota/findByYearAndOrgId/").concat(e,"/").concat(t),method:"get"})}function cs(e,t,a){return J({url:"".concat(G["c"],"examinationTask/findByPage/").concat(t,"/").concat(a),method:"post",data:e})}function ms(e){return J({url:"".concat(G["c"],"examinationTask/save"),method:"post",data:e})}function us(e,t){return J({url:"".concat(G["c"],"examinationTask/findBySorce/").concat(e,"/").concat(t),method:"get"})}function ps(e){return J({url:"".concat(G["c"],"examinationTask/update"),method:"post",data:e})}function fs(e){return J({url:"".concat(G["c"],"examinationTask/deletes"),method:"delete",data:e})}function ds(e){return J({url:"".concat(G["c"],"examinationTask/findById/").concat(e),method:"get"})}function hs(e){return J({url:"".concat(G["c"],"respUser/findByDeptName/").concat(e),method:"post"})}function gs(e){return J({url:"".concat(G["c"],"examinationTask/updateTaskStatus?responsibilityId=").concat(e.responsibilityId,"&status=").concat(e.status),method:"get"})}function bs(e){return J({url:"".concat(G["c"],"examinationTask/getIfShowButtonTask/").concat(e.responsibilityId),method:"get"})}function ys(e){return J({url:"".concat(G["c"],"respUser/findByDeptName/").concat(e),method:"post"})}function ws(e){return J({url:"".concat(G["c"],"examinationTask/findById/").concat(e),method:"get"})}function vs(e,t){return J({url:"".concat(G["c"],"examinationExcel/upload/").concat(e.year,"/").concat(e.responsibilityId),method:"post",data:t})}var xs={data:function(){var e;return e={isdisabled:"",form:{},activeNameScore:"first",examinationContentPage:{page:1,size:10,total:0},examinationContentTable:[],showExaminationContent:!1,examinationContentInfo:{NAME:null,SCORE:null},examinationContentRules:{NAME:[{required:!0,message:"请输入考核内容",trigger:"blur"},{validator:ge,trigger:"blur"}],SCORE:[{required:!0,pattern:/^[1-9][0-9]*([.][0-9]+)?$/,message:"请输入数字格式",trigger:"blur"},{validator:we,trigger:"blur"}]},examinationContentDisabled:!1,ruleTime:{value6:[],value7:[],ids:null,totalScore:""},examinationContentScore:"",examinationContentFxzf:0,examinationContentType:"",assessmentMattersTable:[],assessmentMattersPage:{page:1,size:10,total:0},showAssessmentMatters:!1,assessmentMattersInfo:{ids:null,ZDKSSX:null,bizRespContentId:null,SCORE:null},assessmentMattersRules:{ZDKSSX:[{required:!0,message:"请输入重点考核事项",trigger:"blur"},{validator:ge,trigger:"blur"}],bizRespContentId:[{required:!0,message:"请选择考核内容",trigger:"change"}],SCORE:[{required:!0,pattern:/^[1-9][0-9]*([.][0-9]+)?$/,message:"请输入数字格式",trigger:"blur"},{validator:we,trigger:"blur"}]},assessmentMattersDisabled:!1,assessmentMattersType:"",assessmentMattersOptions:[],assessmentMattersScore:{total:null,score:null},assessmentMattersFXZFScore:"0",assessmentIndexTable:[],assessmentIndexPage:{page:1,size:10,total:0},showAssessmentIndex:!1,assessmentIndexInfo:{ids:null,KHZB:null,bizRespExaminationItemId:null,SCORE:null},assessmentIndexRules:{KHZB:[{required:!0,message:"请输入考核指标",trigger:"blur"},{validator:ge,trigger:"blur"}],bizRespExaminationItemId:[{required:!0,message:"请选择重点考核事项",trigger:"change"}],SCORE:[{required:!0,pattern:/^[1-9][0-9]*([.][0-9]+)?$/,message:"请输入数字格式",trigger:"blur"},{validator:we,trigger:"blur"}]},assessmentIndexDisabled:!1,assessmentIndexOptions:[],assessmentIndexScore:{total:null,score:null,fxzf:"0"},assessmentIndexFXZFScore:"0",assessmentIndexType:"",assessmentTargetSearchInfo:{leadDepartment:null,coordinationDepartment:null},assessmentTargetDeptName2:[],reportProgressSearchInfo:{leadDepartment:null,coordinationDepartment:null,statusType:""},reportProgressOptions:[{value:"0",label:"编辑中"},{value:"10",label:"已发布"},{value:"20",label:"已完成"}],loading:!1,assessmentTargetTable:[],assessmentTargetIds:[],assessmentTargetOptions:[],assessmentTargetDeptName1:[]},Object(b["a"])(e,"assessmentTargetDeptName2",[]),Object(b["a"])(e,"assessmentTargetSearchInfo",{leadDepartment:null,coordinationDepartment:null}),Object(b["a"])(e,"paginationShow",!0),Object(b["a"])(e,"assessmentTargetPage",{page:1,size:10,total:0}),Object(b["a"])(e,"showAssessmentTarget",!1),Object(b["a"])(e,"assessmentTargetInfo",{ids:null,taskName:null,bizRespExaminationQuotaId:null,selfEvaluationDepartment:null,leadDepartment:null,coordinationDepartment:[],scoreStandard:null,totalScore:null}),Object(b["a"])(e,"assessmentTargetRules",{KHZB:[{required:!0,message:"请输入考核指标",trigger:"blur"}],bizRespExaminationItemId:[{required:!0,message:"请选择重点考核事项",trigger:"change"}],bizRespExaminationQuotaId:[{required:!0,message:"此项为必填项",trigger:"blur"}],taskName:[{required:!0,message:"此项为必填项",trigger:"blur"},{validator:ge,trigger:"blur"}],selfEvaluationDepartment:[{required:!0,message:"此项为必填项",trigger:"blur"}],leadDepartment:[{required:!0,message:"此项为必填项",trigger:"blur"}],scoreStandard:[{required:!0,message:"此项为必填项",trigger:"blur"},{validator:ge,trigger:"blur"}],totalScore:[{required:!0,pattern:/^[0-9][0-9]*([.][0-9]+)?$/,message:"请输入数字格式",trigger:"blur"},{validator:we,trigger:"blur"}]}),Object(b["a"])(e,"assessmentTargetDisabled",!1),Object(b["a"])(e,"assessmentTargetScore",{total:null,score:null}),Object(b["a"])(e,"selfTargetDisable",!0),Object(b["a"])(e,"assessmentTargetType",""),Object(b["a"])(e,"showExcelUplod",!1),Object(b["a"])(e,"excelFileList",[]),Object(b["a"])(e,"peopleform",{peopleYear:null}),e},methods:{back:function(){this.$router.back(-1)},getData:function(){var e=this;Ye(this.$route.query.id).then((function(t){200==t.infoCode&&(e.form=t.data)}))},handleClickScore:function(e,t){var a=this;switch(e.name){case"first":this.getExaminationContentInfo();break;case"second":this.getAssessmentMattersInfo();break;case"third":this.getAssessmentIndexInfo();break;case"fourth":this.getAssessmentTargetInfo(),hs(1).then((function(e){a.assessmentTargetDeptName1=e.data})),hs(0).then((function(e){a.assessmentTargetDeptName2=e.data}));break}},getAssessmentTargetInfo:function(){var e=this;this.loading=!0;var t={year:this.peopleform.peopleYear,source:1,statusType:"0,1,10,20",bizRespResponsibilityId:this.$route.query.id},a=this.assessmentTargetPage.page,s=this.assessmentTargetPage.size;cs(t,a,s).then((function(t){e.assessmentTargetTable=t.data.list,e.assessmentTargetPage.total=t.data.total,e.loading=!1}))},saveAssessmentTarget:function(e){var t=this;this.$refs[e].validate((function(a){if(!a)return!1;var s=t.assessmentTargetInfo.coordinationDepartment;t.assessmentTargetInfo.coordinationDepartment&&(s=t.assessmentTargetInfo.coordinationDepartment.join(","));var n={taskName:t.assessmentTargetInfo.taskName,selfEvaluationDepartment:t.assessmentTargetInfo.selfEvaluationDepartment,leadDepartment:t.assessmentTargetInfo.leadDepartment,coordinationDepartment:s,scoreStandard:t.assessmentTargetInfo.scoreStandard,totalScore:t.assessmentTargetInfo.totalScore,ids:t.assessmentTargetInfo.ID,bizRespExaminationQuotaId:t.assessmentTargetInfo.bizRespExaminationQuotaId,bizRespResponsibilityId:t.ruleTime.ids,year:t.peopleform.peopleYear},o=t.assessmentTargetInfo.totalScore,r=t.assessmentTargetScore.score;if(Number(o)>Number(r))return t.$message({message:"考核目标任务分数不能大于可填分数!",type:"info"});"update"==t.assessmentTargetType?(n.status=t.assessmentTargetInfo.status,ps(n).then((function(a){200==a.infoCode?(t.$message({message:"修改成功!",type:"success"}),t.getAssessmentTargetInfo(),t.$refs[e].resetFields(),t.showAssessmentTarget=!1):t.$message({message:a.msg,type:"error"})}))):(n.status=0,ms(n).then((function(a){200==a.infoCode?(t.$message({message:"保存成功!",type:"success"}),t.getAssessmentTargetInfo(),t.$refs[e].resetFields(),t.showAssessmentTarget=!1):t.$message({message:a.msg,type:"error"})})))}))},assessmentTargetClose:function(e){this.$refs[e].resetFields(),this.showAssessmentTarget=!1,this.assessmentTargetScore=[]},getAssessmentMattersInfo:function(){var e=this,t={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},a=this.assessmentMattersPage.page,s=this.assessmentMattersPage.size;Ga(t,a,s).then((function(t){e.assessmentMattersTable=t.data.list,e.assessmentMattersPage.total=t.data.total}))},assessmentMattersClose:function(e){this.$refs[e].resetFields(),this.showAssessmentMatters=!1,this.assessmentMattersScore=[]},saveAssessmentMatters:function(e){var t=this;this.$refs[e].validate((function(a){if(!a)return!1;var s={name:t.assessmentMattersInfo.ZDKSSX,ids:t.assessmentMattersInfo.ID,bizRespContentId:t.assessmentMattersInfo.bizRespContentId,bizRespResponsibilityId:t.ruleTime.ids,year:t.peopleform.peopleYear,score:t.assessmentMattersInfo.SCORE};"update"==t.assessmentMattersType?ts(s).then((function(a){200==a.infoCode?(t.$message({message:"修改成功!",type:"success"}),t.getAssessmentMattersInfo(),t.$refs[e].resetFields(),t.showAssessmentMatters=!1):t.$message({message:a.msg,type:"error"})})):es(s).then((function(a){200==a.infoCode?(t.$message({message:"保存成功!",type:"success"}),t.getAssessmentMattersInfo(),t.$refs[e].resetFields(),t.showAssessmentMatters=!1):t.$message({message:a.msg,type:"error"})}))}))},assessmentTargetDeleteRow:function(e,t){var a=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var s=[];s.push(t[e].ID),fs(s).then((function(e){200==e.infoCode?(a.getAssessmentTargetInfo(),a.$message({message:e.msg,type:"success"})):a.$message({message:e.msg,type:"error"})}))})).catch((function(){a.$message({type:"info",message:"已取消删除"})}))},getAssessmentIndexInfo:function(){var e=this,t={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},a=this.assessmentIndexPage.page,s=this.assessmentIndexPage.size;ns(t,a,s).then((function(t){e.assessmentIndexTable=t.data.list,e.assessmentIndexPage.total=t.data.total}))},assessmentIndexClose:function(e){this.$refs[e].resetFields(),this.showAssessmentIndex=!1,this.assessmentIndexScore=[]},getExaminationContentInfo:function(){var e=this,t={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},a=this.examinationContentPage.page,s=this.examinationContentPage.size;Wa(t,a,s).then((function(t){e.examinationContentTable=t.data.list,e.examinationContentPage.total=t.data.total}))},saveAssessmentIndex:function(e){var t=this;this.$refs[e].validate((function(a){if(!a)return!1;var s={name:t.assessmentIndexInfo.KHZB,ids:t.assessmentIndexInfo.ID,score:t.assessmentIndexInfo.SCORE,bizRespExaminationItemId:t.assessmentIndexInfo.bizRespExaminationItemId,bizRespResponsibilityId:t.ruleTime.ids,year:t.peopleform.peopleYear};"update"==t.assessmentIndexType?rs(s).then((function(a){200==a.infoCode?(t.$message({message:"修改成功!",type:"success"}),t.getAssessmentIndexInfo(),t.getExaminationContentInfo(),t.$refs[e].resetFields(),t.showAssessmentIndex=!1):t.$message({message:a.msg,type:"error"})})):os(s).then((function(a){200==a.infoCode?(t.$message({message:"保存成功!",type:"success"}),t.getAssessmentIndexInfo(),t.$refs[e].resetFields(),t.showAssessmentIndex=!1):t.$message({message:a.msg,type:"error"})}))}))},tableRowClick:function(e,t,a){"操作"!=a.label&&this.changeExaminationContentInfo(e,"show")},changeExaminationContentInfo:function(e,t){"show"==t?(this.examinationContentInfo.SCORE=e.SCORE,this.examinationContentInfo.NAME=e.NAME,this.examinationContentInfo.ID=e.ID,this.examinationContentDisabled=!0,this.examinationContentType="show"):"update"==t?(this.examinationContentInfo.SCORE=e.SCORE,this.examinationContentInfo.NAME=e.NAME,this.examinationContentInfo.ID=e.ID,this.examinationContentDisabled=!1,this.examinationContentType="update",this.showExaminationContent=!0):(this.examinationContentDisabled=!1,this.examinationContentType="",this.examinationContentInfo.NAME=null,this.examinationContentInfo.SCORE=null),"update"==t||(this.showExaminationContent=!0)},saveExaminationContent:function(e){var t=this;this.$refs[e].validate((function(a){if(!a)return!1;var s={name:t.examinationContentInfo.NAME,ids:t.examinationContentInfo.ID,score:t.examinationContentInfo.SCORE,bizRespResponsibilityId:t.ruleTime.ids};"update"==t.examinationContentType?Va(s).then((function(a){200==a.infoCode?(t.$message({message:"修改成功!",type:"success"}),t.getExaminationContentInfo(),t.showExaminationContent=!1,t.$refs[e].resetFields()):t.$message({message:a.msg,type:"error"})})):Ha(s).then((function(a){200==a.infoCode?(t.$message({message:"保存成功!",type:"success"}),t.getExaminationContentInfo(),t.showExaminationContent=!1,t.$refs[e].resetFields()):t.$message({message:a.msg,type:"error"})}))}))},examinationContentDeleteRow:function(e,t){var a=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var s=[];s.push(t[e].ID),Xa(s).then((function(e){200==e.infoCode?(a.getExaminationContentInfo(),a.$message({message:"删除成功!",type:"success"})):a.$message({message:e.msg,type:"error"})}))})).catch((function(){a.$message({type:"info",message:"已取消删除"})}))},examinationContentClose:function(e){this.$refs[e].resetFields(),this.showExaminationContent=!1},examinationContentBatchDelete:function(){var e=this;this.assessmentMattersIds.length>0?this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){for(var t=[],a=0;a<e.assessmentMattersIds.length;a++)t.push(e.assessmentMattersIds[a].ID);Xa(t).then((function(t){200==t.infoCode?(e.getExaminationContentInfo(),e.$message({message:t.msg,type:"success"})):e.$message({message:t.msg,type:"error"})}))})).catch((function(){e.$message({type:"info",message:"已取消删除"})})):this.$message({type:"warning",message:"请选择删除项"})},examinationContentChange:function(e){this.assessmentMattersIds=e},examinationContentSizeChange:function(e){var t=this,a={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},s=this.examinationContentPage.page,n=this.examinationContentPage.size=e;Wa(a,s,n).then((function(e){t.examinationContentTable=e.data.list,t.examinationContentPage.total=e.data.total}))},examinationContentCurrentChange:function(e){var t=this,a={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},s=this.examinationContentPage.page=e,n=this.examinationContentPage.size;Wa(a,s,n).then((function(e){t.examinationContentTable=e.data.list,t.examinationContentPage.total=e.data.total}))},assessmentMattersDeleteRow:function(e,t){var a=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var s=[];s.push(t[e].ID),as(s).then((function(e){200==e.infoCode?(a.getAssessmentMattersInfo(),a.$message({message:e.msg,type:"success"})):a.$message({message:e.msg,type:"error"})}))})).catch((function(){a.$message({type:"info",message:"已取消删除"})}))},changeAssessmentMattersInfo:function(e,t){var a=this;this.assessmentMattersFXZFScore="0",this.assessmentMattersScore=[];var s=this.peopleform.peopleYear;Ja(s,this.$route.query.id).then((function(t){a.assessmentMattersOptions=t.data,t.data.forEach((function(t){t.NAME==e.KHNR&&(a.assessmentMattersInfo.bizRespContentId=t.ID)}))})),"show"==t?(this.assessmentMattersInfo.SCORE=e.SCORE,this.assessmentMattersInfo.ZDKSSX=e.ZDKSSX,this.assessmentMattersInfo.ID=e.ID,this.assessmentMattersType="show",this.assessmentMattersDisabled=!0):"update"==t?(this.assessmentMattersInfo.SCORE=e.SCORE,this.assessmentMattersInfo.ZDKSSX=e.ZDKSSX,this.assessmentMattersInfo.ID=e.ID,this.assessmentMattersDisabled=!1,this.assessmentMattersType="update",this.showAssessmentMatters=!0):(this.assessmentMattersDisabled=!1,this.assessmentMattersInfo.ZDKSSX=null,this.assessmentMattersInfo.SCORE=null,this.assessmentMattersType="",this.assessmentMattersInfo.bizRespContentId=null,this.assessmentMattersInfo.SCORE=null),"update"==t||(this.showAssessmentMatters=!0)},assessmentMattersBatchDelete:function(){var e=this;this.assessmentMattersIds.length>0?this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){as(e.assessmentMattersIds).then((function(t){200==t.infoCode?(e.getAssessmentMattersInfo(),e.$message({message:"删除成功!",type:"success"})):e.$message({message:t.msg,type:"error"})}))})).catch((function(){e.$message({type:"info",message:"已取消删除"})})):this.$message({type:"warning",message:"请选择删除项"})},tableRowClick2:function(e,t,a){"操作"!=a.label&&this.changeAssessmentMattersInfo(e,"show")},assessmentMattersChange:function(e){var t=[];e.forEach((function(e){t.push(e.ID)})),this.assessmentMattersIds=t},assessmentMattersSizeChange:function(e){var t=this,a={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},s=this.assessmentMattersPage.page,n=this.assessmentMattersPage.size=e;Ga(a,s,n).then((function(e){t.assessmentMattersTable=e.data.list,t.assessmentMattersPage.total=e.data.total}))},assessmentMattersCurrentChange:function(e){var t=this,a={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},s=this.assessmentMattersPage.page=e,n=this.assessmentMattersPage.size;Ga(a,s,n).then((function(e){t.assessmentMattersTable=e.data.list,t.assessmentMattersPage.total=e.data.total}))},tableRowClick3:function(e,t,a){"操作"!=a.label&&this.changeAssessmentIndexInfo(e,"show")},changeAssessmentIndexInfo:function(e,t){var a=this;this.assessmentIndexFXZFScore="0",this.assessmentIndexScore=[];var s=this.peopleform.peopleYear;ss(s,this.$route.query.id).then((function(s){a.assessmentIndexOptions=s.data,s.data.forEach((function(s){s.ZDKSSX==e.ZDKSSX&&(a.assessmentIndexInfo.bizRespExaminationItemId=s.ID,"update"==t&&a.assessmentIndexInfoEditScore(s.ID,e.SCORE,e.FXZF))}))})),"show"==t?(this.assessmentIndexInfo.KHZB=e.KHZB,this.assessmentIndexInfo.SCORE=e.SCORE,this.assessmentIndexInfo.ID=e.ID,this.assessmentIndexInfo.bizRespExaminationItemId=e.ITEMID,this.assessmentIndexDisabled=!0,this.assessmentIndexType="show"):"update"==t?(this.assessmentIndexInfo.KHZB=e.KHZB,this.assessmentIndexInfo.SCORE=e.SCORE,this.assessmentIndexInfo.bizRespExaminationItemId=e.ITEMID,this.assessmentIndexInfo.ID=e.ID,this.assessmentIndexDisabled=!1,this.assessmentIndexType="update",this.showAssessmentIndex=!0):(this.assessmentIndexInfo.bizRespExaminationItemId=e.ITEMID,this.assessmentIndexDisabled=!1,this.assessmentIndexInfo.KHZB=null,this.assessmentIndexType="",this.assessmentIndexInfo.SCORE=null),"update"==t||(this.showAssessmentIndex=!0)},assessmentIndexDeleteRow:function(e,t){var a=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var s=[];s.push(t[e].ID),is(s).then((function(e){200==e.infoCode?(a.getAssessmentIndexInfo(),a.$message({message:"删除成功!",type:"success"})):a.$message({message:e.msg,type:"error"})}))})).catch((function(){a.$message({type:"info",message:"已取消删除"})}))},assessmentIndexBatchDelete:function(){var e=this;this.assessmentIndexIds.length>0?this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){is(e.assessmentIndexIds).then((function(t){200==t.infoCode?(e.getAssessmentIndexInfo(),e.$message({message:"删除成功!",type:"success"})):e.$message({message:t.msg,type:"error"})}))})).catch((function(){e.$message({type:"info",message:"已取消删除"})})):this.$message({type:"warning",message:"请选择删除项"})},assessmentIndexChange:function(e){var t=[];e.forEach((function(e){t.push(e.ID)})),this.assessmentIndexIds=t},assessmentIndexSizeChange:function(e){var t=this,a={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},s=this.assessmentIndexPage.page,n=this.assessmentIndexPage.size=e;ns(a,s,n).then((function(e){t.assessmentIndexTable=e.data.list,t.assessmentIndexPage.total=e.data.total}))},assessmentIndexCurrentChange:function(e){var t=this,a={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},s=this.assessmentIndexPage.page=e,n=this.assessmentIndexPage.size;ns(a,s,n).then((function(e){t.assessmentIndexTable=e.data.list,t.assessmentIndexPage.total=e.data.total}))},assessmentTargetQuery:function(){var e=this;this.loading=!0,this.paginationShow=!1,this.$nextTick((function(){this.paginationShow=!0}));var t={bizRespResponsibilityId:this.$route.query.id,year:this.peopleform.peopleYear,leadDepartment:this.assessmentTargetSearchInfo.leadDepartment,coordinationDepartment:this.assessmentTargetSearchInfo.coordinationDepartment,source:1,statusType:this.reportProgressSearchInfo.statusType},a=this.assessmentTargetPage.page,s=this.assessmentTargetPage.size;cs(t,a,s).then((function(t){e.assessmentTargetTable=t.data.list,e.assessmentTargetPage.total=t.data.total,e.loading=!1}))},tableRowClick4:function(e,t,a){"操作"!=a.label&&this.changeAssessmentTargetInfo(e,"show")},changeAssessmentTargetInfo:function(e,t){var a=this;this.assessmentTargetScore=[],0===e.ZT?(this.zhuangt=!1,this.selfTargetDisable=!0):(this.zhuangt=!0,this.selfTargetDisable=!1);var s=this.peopleform.peopleYear;ls(s,this.$route.query.id).then((function(t){a.assessmentTargetOptions=t.data,t.data.forEach((function(t){t.KHZB==e.KHZB&&(a.assessmentTargetInfo.bizRespExaminationQuotaId=t.ID)}))})),t&&ds(e.ID).then((function(t){a.assessmentTargetInfo=t.data,a.assessmentTargetInfo.ID=e.ID,null==a.assessmentTargetInfo.coordinationDepartment?a.assessmentTargetInfo.coordinationDepartment=[]:a.assessmentTargetInfo.coordinationDepartment=a.assessmentTargetInfo.coordinationDepartment.split(",")})),"show"==t?(this.assessmentTargetDisabled=!0,this.assessmentTargetType="show",this.assessmentTargetInfoScore(e.QUOTAID)):"update"==t?(this.selfTargetDisable=!0,this.assessmentTargetDisabled=!1,this.assessmentTargetType="update",this.assessmentTargetInfoScore(e.QUOTAID)):(this.selfTargetDisable=!0,this.assessmentTargetDisabled=!1,this.assessmentTargetType="",this.assessmentTargetInfo.ids=null,this.assessmentTargetInfo.taskName=null,this.assessmentTargetInfo.bizRespExaminationQuotaId=null,this.assessmentTargetInfo.selfEvaluationDepartment=null,this.assessmentTargetInfo.leadDepartment=null,this.assessmentTargetInfo.coordinationDepartment=[],this.assessmentTargetInfo.scoreStandard=null,this.assessmentTargetInfo.totalScore=null);var n=e.ID;ws(n).then((function(e){if(200===e.infoCode){var t={},s=[];a.taskTarget=e.data,e.data.fileName&&e.data.fileId&&(t.name=e.data.fileName,t.id=e.data.fileId,s.push(t),a.fileList=s,a.downloadFileId=a.fileList[0].id)}})),this.showAssessmentTarget=!0},assessmentTargetInfoScore:function(e){var t=this;this.assessmentTargetInfo.totalScore=null,us(e,this.ruleTime.ids).then((function(e){200==e.infoCode&&(t.assessmentTargetScore=e.data)}))},assessmentTargetBatchDelete:function(){var e=this;this.assessmentTargetIds.length>0?this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){fs(e.assessmentTargetIds).then((function(t){200==t.infoCode?(e.getAssessmentTargetInfo(),e.$message({message:t.msg,type:"success"})):e.$message({message:t.msg,type:"error"})}))})).catch((function(){e.$message({type:"info",message:"已取消删除"})})):this.$message({type:"warning",message:"请选择删除项"})},assessmentTargetChange:function(e){var t=[];e.forEach((function(e){t.push(e.ID)})),this.assessmentTargetIds=t},assessmentTargetCheckSelectable:function(e){return 0==e.ZT},assessmentTargetSizeChange:function(e){var t=this;this.loading=!0;var a={bizRespResponsibilityId:this.$route.query.id,year:this.peopleform.peopleYear,leadDepartment:this.assessmentTargetSearchInfo.leadDepartment,coordinationDepartment:this.assessmentTargetSearchInfo.coordinationDepartment,statusType:"0,10,20",source:1},s=this.assessmentTargetPage.page,n=this.assessmentTargetPage.size=e;cs(a,s,n).then((function(e){t.assessmentTargetTable=e.data.list,t.assessmentTargetPage.total=e.data.total,t.loading=!1}))},assessmentTargetCurrentChange:function(e){var t=this;this.loading=!0;var a={bizRespResponsibilityId:this.$route.query.id,year:this.peopleform.peopleYear,leadDepartment:this.assessmentTargetSearchInfo.leadDepartment,coordinationDepartment:this.assessmentTargetSearchInfo.coordinationDepartment,statusType:this.reportProgressSearchInfo.statusType,source:1},s=e,n=this.assessmentTargetPage.size;cs(a,s,n).then((function(e){t.assessmentTargetTable=e.data.list,t.assessmentTargetPage.total=e.data.total,t.loading=!1}))},uploadFile:function(e){var t=this;this.excelData.year=this.peopleform.peopleYear,this.excelData.responsibilityId=this.ruleTime.ids;var a=new FormData;a.append("file",e.raw),vs(this.excelData,a).then((function(e){200==e.infoCode?(t.$message({message:"上传成功!",type:"success"}),t.getYearTime(t.$route.query.year,t.$route.query.id)):t.$message({message:e.msg,type:"error"})}))},getYearTime:function(e,t){var a=this;this.showAssessmentTargetMessage="",Ya(e,t).then((function(e){if(e.data){var t=[],s=[];t.push(e.data.selfEvaluationStartTime),t.push(e.data.selfEvaluationEndTime),s.push(e.data.examinationStartTime),s.push(e.data.examinationEndTime),a.ruleTime.value6=t,a.ruleTime.value7=s,a.ruleTime.ids=e.data.ids,a.ruleTime.totalScore=e.data.totalScore}else a.activeName="first",a.ruleTime={value6:[],value7:[],totalScore:""},a.startInfo=!0,a.$message({message:"请填写填报日期!",type:"warning"});a.getExaminationContentInfo(),a.getAssessmentMattersInfo(),a.getAssessmentIndexInfo(),a.getAssessmentTargetInfo()}))},showAssessmentTargetedit:function(e){var t=this,a={responsibilityId:e};bs(a).then((function(e){200==e.infoCode&&(0==e.data&&(t.showButtonTBSZZF=!1,t.showButtonFB=!0),2==e.data&&(t.showButtonTBSZZF=!0,t.showButtonFB=!1),3==e.data&&(t.showButtonTBSZZF=!0,t.showButtonFB=!0,t.showExcelUpload=!0),4==e.data&&(t.showButtonTBSZZF=!1,t.showButtonFB=!0,t.showExcelUpload=!1))}))},assessmentTargetedit:function(e){var t=this,a={status:e,responsibilityId:this.ruleTime.ids};gs(a).then((function(e){200==e.infoCode?(t.getAssessmentTargetInfo(),t.showAssessmentTargetMessage=null):t.showAssessmentTargetMessage=e.msg}))}},created:function(){this.getData(),this.peopleform.peopleYear=this.$route.query.year,this.getYearTime(this.$route.query.year,this.$route.query.id);var e=this.$route.query.isDisabled;1==e&&(this.isdisabled=!0),2==e&&(this.isdisabled=!1)}},Cs=xs,Is=(a("a3ce"),Object(c["a"])(Cs,Ka,Ua,!1,null,null,null)),Ss=Is.exports,ks=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementSee",staticStyle:{padding:"10px"}},[a("h3",{staticClass:"tit"},[e._v("编辑评分表")]),a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"100px",rules:e.rulesForm}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{attrs:{label:"评分表名称",prop:"pfbmc"}},[a("el-input",{attrs:{type:"text",clearable:""},model:{value:e.form.pfbmc,callback:function(t){e.$set(e.form,"pfbmc",t)},expression:"form.pfbmc"}})],1)],1),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.editName("form")}}},[e._v("修改名称")])],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10}},[a("el-form-item",{staticClass:"curStyle",attrs:{label:"评分表内容:"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("el-tabs",{staticStyle:{"margin-left":"14px"},attrs:{type:"border-card"},on:{"tab-click":e.handleClickScore},model:{value:e.activeNameScore,callback:function(t){e.activeNameScore=t},expression:"activeNameScore"}},[a("el-tab-pane",{attrs:{name:"first",label:"考核内容"}},[a("el-row",{staticStyle:{"padding-bottom":"10px"}},[a("el-button",{staticClass:"outButton",attrs:{isdisabled:"",disabled:e.isdisabled,type:"primary",icon:"el-icon-plus"},on:{click:e.changeExaminationContentInfo}},[e._v("新增")])],1),a("el-row",[a("el-col",[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.examinationContentTable,"tooltip-effect":"dark",border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick,"selection-change":e.examinationContentChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),a("el-table-column",{attrs:{type:"index",label:"序号",align:"center",width:"60"}}),a("el-table-column",{attrs:{prop:"NAME",label:"考核内容",sortable:"",align:"center","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{width:"180",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeExaminationContentInfo(t.row,"show")}}},[a("i",{staticClass:"el-icon-zoom-in"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"编辑",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{disabled:"N"==t.row.isEidt||e.isdisabled,size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeExaminationContentInfo(t.row,"update")}}},[a("i",{staticClass:"el-icon-edit"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"删除",placement:"top"}},[a("el-button",{staticClass:"difStateDelBtn",attrs:{disabled:"N"==t.row.isDelete||e.isdisabled,size:"mini",type:"primary"},nativeOn:{click:function(a){a.preventDefault(),a.stopPropagation(),e.examinationContentDeleteRow(t.$index,e.examinationContentTable)}}},[a("i",{staticClass:"el-icon-delete"})])],1)]}}])})],1),a("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[a("el-pagination",{attrs:{"current-page":e.examinationContentPage.page,"page-sizes":[10,20,30,40],"page-size":e.examinationContentPage.size,layout:"total, sizes, prev, pager, next, jumper",total:e.examinationContentPage.total},on:{"size-change":e.examinationContentSizeChange,"current-change":e.examinationContentCurrentChange}})],1)],1)],1),a("el-dialog",{attrs:{title:"考核内容",visible:e.showExaminationContent,width:"50%","close-on-click-modal":!1},on:{"update:visible":function(t){e.showExaminationContent=t}}},[a("el-form",{ref:"examinationContentRef",attrs:{model:e.examinationContentInfo,rules:e.examinationContentRules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"考核内容",prop:"NAME"}},[a("el-input",{attrs:{type:"textarea",disabled:e.examinationContentDisabled,resize:"none",rows:4},model:{value:e.examinationContentInfo.NAME,callback:function(t){e.$set(e.examinationContentInfo,"NAME",t)},expression:"examinationContentInfo.NAME"}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"show",rawName:"v-show",value:"show"!=e.examinationContentType,expression:"examinationContentType != 'show'"}],staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.saveExaminationContent("examinationContentRef")}}},[e._v("确 定")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.examinationContentClose("examinationContentRef")}}},[e._v("取 消")])],1)],1)],1),a("el-tab-pane",{attrs:{name:"second",label:"重点考核事项"}},[a("el-row",{staticStyle:{"padding-bottom":"10px"}},[a("el-button",{staticClass:"outButton",attrs:{disabled:e.isdisabled,type:"primary",icon:"el-icon-plus"},on:{click:e.changeAssessmentMattersInfo}},[e._v("新增")])],1),a("el-row",[a("el-col",[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.assessmentMattersTable,"tooltip-effect":"dark",border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick2,"selection-change":e.assessmentMattersChange}},[a("el-table-column",{attrs:{align:"center",type:"selection",width:"55"}}),a("el-table-column",{attrs:{align:"center",type:"index",label:"序号",width:"60"}}),a("el-table-column",{attrs:{align:"center",prop:"ZDKSSX",sortable:"",label:"重点考核事项","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{align:"center",prop:"KHNR",sortable:"",label:"考核内容","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{width:"180",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeAssessmentMattersInfo(t.row,"show")}}},[a("i",{staticClass:"el-icon-zoom-in"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"编辑",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{disabled:"N"==t.row.isEidt||e.isdisabled,size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeAssessmentMattersInfo(t.row,"update")}}},[a("i",{staticClass:"el-icon-edit"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"删除",placement:"top"}},[a("el-button",{staticClass:"difStateDelBtn",attrs:{disabled:"N"==t.row.isDelete||e.isdisabled,size:"mini",type:"primary"},nativeOn:{click:function(a){a.preventDefault(),a.stopPropagation(),e.assessmentMattersDeleteRow(t.$index,e.assessmentMattersTable)}}},[a("i",{staticClass:"el-icon-delete"})])],1)]}}])})],1),a("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[a("el-pagination",{attrs:{"current-page":e.assessmentMattersPage.page,"page-sizes":[10,20,30,40],"page-size":e.assessmentMattersPage.size,layout:"total, sizes, prev, pager, next, jumper",total:e.assessmentMattersPage.total},on:{"size-change":e.assessmentMattersSizeChange,"current-change":e.assessmentMattersCurrentChange}})],1)],1)],1),a("el-dialog",{attrs:{title:"重点考核事项",visible:e.showAssessmentMatters,width:"50%","close-on-click-modal":!1},on:{"update:visible":function(t){e.showAssessmentMatters=t}}},[a("el-form",{ref:"assessmentMattersRef",attrs:{model:e.assessmentMattersInfo,rules:e.assessmentMattersRules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"考核内容",prop:"bizRespContentId"}},[a("el-select",{attrs:{disabled:e.assessmentMattersDisabled},model:{value:e.assessmentMattersInfo.bizRespContentId,callback:function(t){e.$set(e.assessmentMattersInfo,"bizRespContentId",t)},expression:"assessmentMattersInfo.bizRespContentId"}},e._l(e.assessmentMattersOptions,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1),a("el-form-item",{attrs:{label:"重点考核事项",prop:"ZDKSSX"}},[a("el-input",{attrs:{type:"textarea",disabled:e.assessmentMattersDisabled,rows:4,resize:"none"},model:{value:e.assessmentMattersInfo.ZDKSSX,callback:function(t){e.$set(e.assessmentMattersInfo,"ZDKSSX",t)},expression:"assessmentMattersInfo.ZDKSSX"}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"show",rawName:"v-show",value:"show"!=e.assessmentMattersType,expression:"assessmentMattersType != 'show'"}],staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.saveAssessmentMatters("assessmentMattersRef")}}},[e._v("确 定")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.assessmentMattersClose("assessmentMattersRef")}}},[e._v("取 消")])],1)],1)],1),a("el-tab-pane",{attrs:{name:"third",label:"考核指标"}},[a("el-row",{staticStyle:{"padding-bottom":"10px"}},[a("el-button",{staticClass:"outButton",attrs:{disabled:e.isdisabled,type:"primary",icon:"el-icon-plus"},on:{click:e.changeAssessmentIndexInfo}},[e._v("新增")])],1),a("el-row",[a("el-col",[a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.assessmentIndexTable,"tooltip-effect":"dark",border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick3,"selection-change":e.assessmentIndexChange}},[a("el-table-column",{attrs:{align:"center",type:"selection",width:"55"}}),a("el-table-column",{attrs:{align:"center",type:"index",label:"序号",width:"60"}}),a("el-table-column",{attrs:{align:"center",prop:"KHZB",sortable:"",label:"考核指标","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{align:"center",prop:"ZDKSSX",sortable:"",label:"重点考核事项","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{width:"180",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeAssessmentIndexInfo(t.row,"show")}}},[a("i",{staticClass:"el-icon-zoom-in"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"编辑",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{disabled:"N"==t.row.isEidt||e.isdisabled,size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeAssessmentIndexInfo(t.row,"update")}}},[a("i",{staticClass:"el-icon-edit"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"删除",placement:"top"}},[a("el-button",{staticClass:"difStateDelBtn",attrs:{disabled:"N"==t.row.isDelete||e.isdisabled,size:"mini",type:"primary"},nativeOn:{click:function(a){a.preventDefault(),a.stopPropagation(),e.assessmentIndexDeleteRow(t.$index,e.assessmentIndexTable)}}},[a("i",{staticClass:"el-icon-delete"})])],1)]}}])})],1),a("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[a("el-pagination",{attrs:{"current-page":e.assessmentIndexPage.page,"page-sizes":[10,20,30,40],"page-size":e.assessmentIndexPage.size,layout:"total, sizes, prev, pager, next, jumper",total:e.assessmentIndexPage.total},on:{"size-change":e.assessmentIndexSizeChange,"current-change":e.assessmentIndexCurrentChange}})],1)],1)],1),a("el-dialog",{attrs:{title:"考核指标",visible:e.showAssessmentIndex,width:"50%","close-on-click-modal":!1},on:{"update:visible":function(t){e.showAssessmentIndex=t}}},[a("el-form",{ref:"assessmentIndexRef",attrs:{model:e.assessmentIndexInfo,rules:e.assessmentIndexRules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"重点考核事项",prop:"bizRespExaminationItemId"}},[a("el-select",{attrs:{disabled:e.assessmentIndexDisabled},model:{value:e.assessmentIndexInfo.bizRespExaminationItemId,callback:function(t){e.$set(e.assessmentIndexInfo,"bizRespExaminationItemId",t)},expression:"assessmentIndexInfo.bizRespExaminationItemId"}},e._l(e.assessmentIndexOptions,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.ZDKSSX.length>33?e.ZDKSSX.substring(0,33)+"...":e.ZDKSSX,value:e.ID}})})))],1),a("el-form-item",{attrs:{label:"考核指标",prop:"KHZB"}},[a("el-input",{attrs:{type:"textarea",disabled:e.assessmentIndexDisabled,resize:"none",rows:4},model:{value:e.assessmentIndexInfo.KHZB,callback:function(t){e.$set(e.assessmentIndexInfo,"KHZB",t)},expression:"assessmentIndexInfo.KHZB"}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"show",rawName:"v-show",value:"show"!=e.assessmentIndexType,expression:"assessmentIndexType != 'show'"}],staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.saveAssessmentIndex("assessmentIndexRef")}}},[e._v("确 定")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.assessmentIndexClose("assessmentIndexRef")}}},[e._v("取 消")])],1)],1)],1),a("el-tab-pane",{attrs:{name:"fourth",label:"考核目标任务"}},[a("el-row",[a("el-form",{ref:"peopleform",attrs:{model:e.assessmentTargetSearchInfo,"label-width":"70px"}},[a("el-col",{attrs:{span:8}},[a("el-form-item",{staticClass:"fourLabel",attrs:{label:"牵头部门"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.assessmentTargetSearchInfo.leadDepartment,callback:function(t){e.$set(e.assessmentTargetSearchInfo,"leadDepartment",t)},expression:"assessmentTargetSearchInfo.leadDepartment"}},e._l(e.assessmentTargetDeptName2,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1)],1),a("el-col",{attrs:{span:8,offset:1}},[a("el-form-item",{staticClass:"fourLabel",attrs:{label:"配合部门"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.assessmentTargetSearchInfo.coordinationDepartment,callback:function(t){e.$set(e.assessmentTargetSearchInfo,"coordinationDepartment",t)},expression:"assessmentTargetSearchInfo.coordinationDepartment"}},e._l(e.assessmentTargetDeptName2,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1)],1),a("el-col",{staticStyle:{"margin-left":"20px"},attrs:{span:2}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.assessmentTargetQuery}},[e._v("查询")])],1)],1)],1),a("el-row",{staticStyle:{"padding-bottom":"10px"}},[a("el-button",{staticClass:"outButton",attrs:{disabled:e.isdisabled,type:"primary",icon:"el-icon-plus"},on:{click:e.changeAssessmentTargetInfo}},[e._v("新增")])],1),a("el-row",[a("el-col",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.assessmentTargetTable,"tooltip-effect":"dark",border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick4,"selection-change":e.assessmentTargetChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center",selectable:e.assessmentTargetCheckSelectable}}),a("el-table-column",{attrs:{align:"center",type:"index",label:"序号",width:"60"}}),a("el-table-column",{attrs:{align:"center",prop:"KHZB",sortable:"",label:"考核指标","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{align:"center",prop:"KHMBRU",sortable:"",label:"年度考核任务评分标准","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{align:"center",prop:"QTBM",sortable:"",label:"牵头部门","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{align:"center",prop:"PHBM",sortable:"",label:"配合部门","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"操作",width:"180",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeAssessmentTargetInfo(t.row,"show")}}},[a("i",{staticClass:"el-icon-zoom-in"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"编辑",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{disabled:e.isdisabled,size:"mini",type:"primary"},on:{click:function(a){a.stopPropagation(),e.changeAssessmentTargetInfo(t.row,"update")}}},[a("i",{staticClass:"el-icon-edit"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"删除",placement:"top"}},[a("el-button",{staticClass:"difStateDelBtn",attrs:{disabled:e.isdisabled,size:"mini",type:"primary"},nativeOn:{click:function(a){a.preventDefault(),a.stopPropagation(),e.assessmentTargetDeleteRow(t.$index,e.assessmentTargetTable)}}},[a("i",{staticClass:"el-icon-delete"})])],1)]}}])})],1),a("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[e.paginationShow?a("el-pagination",{attrs:{"current-page":e.assessmentTargetPage.page,"page-sizes":[10,20,30,40],"page-size":e.assessmentTargetPage.size,layout:"total, sizes, prev, pager, next, jumper",total:e.assessmentTargetPage.total},on:{"size-change":e.assessmentTargetSizeChange,"current-change":e.assessmentTargetCurrentChange}}):e._e()],1)],1)],1),a("el-dialog",{staticClass:"taskDialog",attrs:{title:"考核目标任务",visible:e.showAssessmentTarget,width:"50%",center:"","close-on-click-modal":!1},on:{"update:visible":function(t){e.showAssessmentTarget=t}}},[a("el-form",{ref:"assessmentTargetRef",attrs:{model:e.assessmentTargetInfo,rules:e.assessmentTargetRules,"label-width":"140px"}},[a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"牵头部门",prop:"leadDepartment"}},[a("el-select",{attrs:{disabled:e.assessmentTargetDisabled,multiple:""},model:{value:e.assessmentTargetInfo.leadDepartment,callback:function(t){e.$set(e.assessmentTargetInfo,"leadDepartment",t)},expression:"assessmentTargetInfo.leadDepartment"}},e._l(e.assessmentTargetDeptName2,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"配合部门"}},[a("el-select",{attrs:{multiple:"",disabled:e.assessmentTargetDisabled},model:{value:e.assessmentTargetInfo.coordinationDepartment,callback:function(t){e.$set(e.assessmentTargetInfo,"coordinationDepartment",t)},expression:"assessmentTargetInfo.coordinationDepartment"}},e._l(e.assessmentTargetDeptName2,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME.length>33?e.NAME.substring(0,33)+"...":e.NAME,value:e.ID}})})))],1)],1)],1),a("el-row",[a("el-col",[a("el-form-item",{attrs:{label:"考核指标",prop:"bizRespExaminationQuotaId"}},[a("el-select",{attrs:{disabled:e.assessmentTargetDisabled},on:{change:function(t){e.assessmentTargetInfoScore(e.assessmentTargetInfo)}},model:{value:e.assessmentTargetInfo.bizRespExaminationQuotaId,callback:function(t){e.$set(e.assessmentTargetInfo,"bizRespExaminationQuotaId",t)},expression:"assessmentTargetInfo.bizRespExaminationQuotaId"}},e._l(e.assessmentTargetOptions,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.KHZB.length>33?e.KHZB.substring(0,33)+"...":e.KHZB,value:e.ID}})})))],1)],1)],1),a("el-row",[a("el-col",[a("el-form-item",{staticClass:"lastDialog",attrs:{label:"年度考核任务评分标准",prop:"scoreStandard"}},[a("el-input",{attrs:{type:"textarea",disabled:e.assessmentTargetDisabled,resize:"none",rows:4},model:{value:e.assessmentTargetInfo.scoreStandard,callback:function(t){e.$set(e.assessmentTargetInfo,"scoreStandard",t)},expression:"assessmentTargetInfo.scoreStandard"}})],1)],1)],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"show",rawName:"v-show",value:"show"!=e.assessmentTargetType,expression:"assessmentTargetType != 'show'"}],staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.saveAssessmentTarget("assessmentTargetRef")}}},[e._v("确 定")]),a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.assessmentTargetClose("assessmentTargetRef")}}},[e._v("取 消")])],1)],1)],1),a("el-dialog",{attrs:{title:"上传excel",visible:e.showExcelUplod,width:"50%","close-on-click-modal":!1},on:{"update:visible":function(t){e.showExcelUplod=t}}},[a("el-form",{attrs:{"label-width":"120px"}},[a("el-form-item",[a("el-upload",{attrs:{action:"",accept:".xls","on-change":e.uploadFile,"auto-upload":!1,"show-file-list":!0,"file-list":e.excelFileList}},[a("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[e._v("请选择上传文件")])],1)],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.excelUplodQx()}}},[e._v("取 消")])],1)],1)],1)],1)],1),a("div",{staticStyle:{"text-align":"center",padding:"10px 0"}},[a("el-button",{attrs:{type:"primary"},on:{click:e.back}},[e._v("返回")])],1)],1)},Ts=[],_s={data:function(){var e,t=this,a=function(e,a,s){if(!a)return s();var n={pfbmc:a,year:t.form.year,id:t.$route.query.id};Fe(n).then((function(e){if(200!=e.infoCode)return s(new Error(e.msg));s()}))};return e={isdisabled:"",form:{},activeNameScore:"first",examinationContentPage:{page:1,size:10,total:0},examinationContentTable:[],showExaminationContent:!1,examinationContentInfo:{NAME:null,SCORE:null},rulesForm:{pfbmc:[{required:!0,message:"请输入评分表名称",trigger:"blur"},{trigger:["blur","change"],validator:a},{validator:he,trigger:"blur"}]},examinationContentRules:{NAME:[{required:!0,message:"请输入考核内容",trigger:"blur"},{validator:be,trigger:"blur"}],SCORE:[{required:!0,pattern:/^[1-9][0-9]*([.][0-9]+)?$/,message:"请输入数字格式",trigger:"blur"},{validator:we,trigger:"blur"}]},examinationContentDisabled:!1,ruleTime:{value6:[],value7:[],ids:null,totalScore:""},examinationContentScore:"",examinationContentFxzf:0,examinationContentType:"",assessmentMattersTable:[],assessmentMattersPage:{page:1,size:10,total:0},showAssessmentMatters:!1,assessmentMattersInfo:{ids:null,ZDKSSX:null,bizRespContentId:null,SCORE:null},assessmentMattersRules:{ZDKSSX:[{required:!0,message:"请输入重点考核事项",trigger:"blur"},{validator:be,trigger:"blur"}],bizRespContentId:[{required:!0,message:"请选择考核内容",trigger:"change"}],SCORE:[{required:!0,pattern:/^[1-9][0-9]*([.][0-9]+)?$/,message:"请输入数字格式",trigger:"blur"},{validator:we,trigger:"blur"}]},assessmentMattersDisabled:!1,assessmentMattersType:"",assessmentMattersOptions:[],assessmentMattersScore:{total:null,score:null},assessmentMattersFXZFScore:"0",assessmentIndexTable:[],assessmentIndexPage:{page:1,size:10,total:0},showAssessmentIndex:!1,assessmentIndexInfo:{ids:null,KHZB:null,bizRespExaminationItemId:null,SCORE:null},assessmentIndexRules:{KHZB:[{required:!0,message:"请输入考核指标",trigger:"blur"},{validator:be,trigger:"blur"}],bizRespExaminationItemId:[{required:!0,message:"请选择重点考核事项",trigger:"change"}],SCORE:[{required:!0,pattern:/^[1-9][0-9]*([.][0-9]+)?$/,message:"请输入数字格式",trigger:"blur"},{validator:we,trigger:"blur"}]},assessmentIndexDisabled:!1,assessmentIndexOptions:[],assessmentIndexScore:{total:null,score:null,fxzf:"0"},assessmentIndexFXZFScore:"0",assessmentIndexType:"",assessmentTargetSearchInfo:{leadDepartment:null,coordinationDepartment:null},assessmentTargetDeptName2:[],reportProgressSearchInfo:{leadDepartment:null,coordinationDepartment:null,statusType:""},reportProgressOptions:[{value:"0",label:"编辑中"},{value:"10",label:"已发布"},{value:"20",label:"已完成"}],loading:!1,assessmentTargetTable:[],assessmentTargetIds:[],assessmentTargetOptions:[],assessmentTargetDeptName1:[]},Object(b["a"])(e,"assessmentTargetDeptName2",[]),Object(b["a"])(e,"assessmentTargetSearchInfo",{leadDepartment:null,coordinationDepartment:null}),Object(b["a"])(e,"paginationShow",!0),Object(b["a"])(e,"assessmentTargetPage",{page:1,size:10,total:0}),Object(b["a"])(e,"showAssessmentTarget",!1),Object(b["a"])(e,"assessmentTargetInfo",{ids:null,bizRespExaminationQuotaId:null,selfEvaluationDepartment:null,leadDepartment:null,coordinationDepartment:[],scoreStandard:null}),Object(b["a"])(e,"assessmentTargetRules",{KHZB:[{required:!0,message:"请输入考核指标",trigger:"blur"}],bizRespExaminationItemId:[{required:!0,message:"请选择重点考核事项",trigger:"change"}],bizRespExaminationQuotaId:[{required:!0,message:"此项为必填项",trigger:"blur"}],selfEvaluationDepartment:[{required:!0,message:"此项为必填项",trigger:"blur"}],leadDepartment:[{required:!0,message:"此项为必填项",trigger:"blur"}],scoreStandard:[{required:!0,message:"此项为必填项",trigger:"blur"},{validator:be,trigger:"blur"}]}),Object(b["a"])(e,"assessmentTargetDisabled",!1),Object(b["a"])(e,"assessmentTargetType",""),Object(b["a"])(e,"showExcelUplod",!1),Object(b["a"])(e,"excelFileList",[]),Object(b["a"])(e,"peopleform",{peopleYear:null}),e},methods:{back:function(){this.$router.back(-1)},getData:function(){var e=this;Ye(this.$route.query.id).then((function(t){200==t.infoCode&&(e.form=t.data)}))},handleClickScore:function(e,t){var a=this;switch(e.name){case"first":this.getExaminationContentInfo();break;case"second":this.getAssessmentMattersInfo();break;case"third":this.getAssessmentIndexInfo();break;case"fourth":this.getAssessmentTargetInfo(),hs(1).then((function(e){a.assessmentTargetDeptName1=e.data})),hs(0).then((function(e){a.assessmentTargetDeptName2=e.data}));break}},getAssessmentTargetInfo:function(){var e=this;this.loading=!0;var t={year:this.peopleform.peopleYear,source:1,bizRespResponsibilityId:this.$route.query.id},a=this.assessmentTargetPage.page,s=this.assessmentTargetPage.size;cs(t,a,s).then((function(t){e.assessmentTargetTable=t.data.list,e.assessmentTargetPage.total=t.data.total,e.loading=!1}))},saveAssessmentTarget:function(e){var t=this;this.$refs[e].validate((function(a){if(!a)return!1;var s=t.assessmentTargetInfo.coordinationDepartment;t.assessmentTargetInfo.coordinationDepartment&&(s=t.assessmentTargetInfo.coordinationDepartment.join(","));var n="";if(t.assessmentTargetInfo.leadDepartment)for(var o in t.assessmentTargetInfo.leadDepartment)n+=t.assessmentTargetInfo.leadDepartment[o]+",";n=n.substring(0,n.length-1);var r={selfEvaluationDepartment:t.assessmentTargetInfo.selfEvaluationDepartment,leadDepartment:n,coordinationDepartment:s,scoreStandard:t.assessmentTargetInfo.scoreStandard,ids:t.assessmentTargetInfo.ID,bizRespExaminationQuotaId:t.assessmentTargetInfo.bizRespExaminationQuotaId,bizRespResponsibilityId:t.ruleTime.ids,year:t.peopleform.peopleYear};"update"==t.assessmentTargetType?(r.status=t.assessmentTargetInfo.status,ps(r).then((function(a){200==a.infoCode?(t.$message({message:"修改成功!",type:"success"}),t.getAssessmentTargetInfo(),t.$refs[e].resetFields(),t.showAssessmentTarget=!1):t.$message({message:a.msg,type:"error"})}))):(r.status=0,ms(r).then((function(a){200==a.infoCode?(t.$message({message:"保存成功!",type:"success"}),t.getAssessmentTargetInfo(),t.$refs[e].resetFields(),t.showAssessmentTarget=!1):t.$message({message:a.msg,type:"error"})})))}))},assessmentTargetClose:function(e){this.$refs[e].resetFields(),this.showAssessmentTarget=!1},getAssessmentMattersInfo:function(){var e=this,t={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},a=this.assessmentMattersPage.page,s=this.assessmentMattersPage.size;Ga(t,a,s).then((function(t){e.assessmentMattersTable=t.data.list,e.assessmentMattersPage.total=t.data.total}))},assessmentMattersClose:function(e){this.$refs[e].resetFields(),this.showAssessmentMatters=!1,this.assessmentMattersScore=[]},saveAssessmentMatters:function(e){var t=this;this.$refs[e].validate((function(a){if(!a)return!1;var s={name:t.assessmentMattersInfo.ZDKSSX,ids:t.assessmentMattersInfo.ID,bizRespContentId:t.assessmentMattersInfo.bizRespContentId,bizRespResponsibilityId:t.ruleTime.ids,year:t.peopleform.peopleYear,score:t.assessmentMattersInfo.SCORE};"update"==t.assessmentMattersType?ts(s).then((function(a){200==a.infoCode?(t.$message({message:"修改成功!",type:"success"}),t.getAssessmentMattersInfo(),t.$refs[e].resetFields(),t.showAssessmentMatters=!1):t.$message({message:a.msg,type:"error"})})):es(s).then((function(a){200==a.infoCode?(t.$message({message:"保存成功!",type:"success"}),t.getAssessmentMattersInfo(),t.$refs[e].resetFields(),t.showAssessmentMatters=!1):t.$message({message:a.msg,type:"error"})}))}))},assessmentTargetDeleteRow:function(e,t){var a=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var s=[];s.push(t[e].ID),fs(s).then((function(e){200==e.infoCode?(a.getAssessmentTargetInfo(),a.$message({message:e.msg,type:"success"})):a.$message({message:e.msg,type:"error"})}))})).catch((function(){a.$message({type:"info",message:"已取消删除"})}))},editName:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return console.log("error submit!!"),!1;var a={ids:t.$route.query.id,pfbmc:t.form.pfbmc,year:t.form.year};ot(a).then((function(e){200==e.infoCode?t.$message.success(e.msg):504==e.infoCode?t.$message.warning(e.msg):t.$message.error(e.msg)}))}))},getAssessmentIndexInfo:function(){var e=this,t={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},a=this.assessmentIndexPage.page,s=this.assessmentIndexPage.size;ns(t,a,s).then((function(t){e.assessmentIndexTable=t.data.list,e.assessmentIndexPage.total=t.data.total}))},assessmentIndexClose:function(e){this.$refs[e].resetFields(),this.showAssessmentIndex=!1,this.assessmentIndexScore=[]},getExaminationContentInfo:function(){var e=this,t={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},a=this.examinationContentPage.page,s=this.examinationContentPage.size;Wa(t,a,s).then((function(t){e.examinationContentTable=t.data.list,e.examinationContentPage.total=t.data.total}))},saveAssessmentIndex:function(e){var t=this;this.$refs[e].validate((function(a){if(!a)return!1;var s={name:t.assessmentIndexInfo.KHZB,ids:t.assessmentIndexInfo.ID,score:t.assessmentIndexInfo.SCORE,bizRespExaminationItemId:t.assessmentIndexInfo.bizRespExaminationItemId,bizRespResponsibilityId:t.ruleTime.ids,year:t.peopleform.peopleYear};"update"==t.assessmentIndexType?rs(s).then((function(a){200==a.infoCode?(t.$message({message:"修改成功!",type:"success"}),t.getAssessmentIndexInfo(),t.getExaminationContentInfo(),t.$refs[e].resetFields(),t.showAssessmentIndex=!1):t.$message({message:a.msg,type:"error"})})):os(s).then((function(a){200==a.infoCode?(t.$message({message:"保存成功!",type:"success"}),t.getAssessmentIndexInfo(),t.$refs[e].resetFields(),t.showAssessmentIndex=!1):t.$message({message:a.msg,type:"error"})}))}))},tableRowClick:function(e,t,a){"操作"!=a.label&&this.changeExaminationContentInfo(e,"show")},changeExaminationContentInfo:function(e,t){this.showExaminationContent=!0,"show"==t?(this.examinationContentInfo.SCORE=e.SCORE,this.examinationContentInfo.NAME=e.NAME,this.examinationContentInfo.ID=e.ID,this.examinationContentDisabled=!0,this.examinationContentType="show"):"update"==t?(this.examinationContentInfo.SCORE=e.SCORE,this.examinationContentInfo.NAME=e.NAME,this.examinationContentInfo.ID=e.ID,this.examinationContentDisabled=!1,this.examinationContentType="update"):(this.examinationContentDisabled=!1,this.examinationContentType="",this.examinationContentInfo.NAME=null,this.examinationContentInfo.SCORE=null)},saveExaminationContent:function(e){var t=this;this.$refs[e].validate((function(a){if(!a)return console.log("error submit!!"),!1;var s={name:t.examinationContentInfo.NAME,ids:t.examinationContentInfo.ID,score:t.examinationContentInfo.SCORE,bizRespResponsibilityId:t.ruleTime.ids};"update"==t.examinationContentType?Va(s).then((function(a){200==a.infoCode?(t.$message({message:"修改成功!",type:"success"}),t.getExaminationContentInfo(),t.showExaminationContent=!1,t.$refs[e].resetFields()):t.$message({message:a.msg,type:"error"})})):Ha(s).then((function(a){200==a.infoCode?(t.$message({message:"保存成功!",type:"success"}),t.getExaminationContentInfo(),t.showExaminationContent=!1,t.$refs[e].resetFields()):t.$message({message:a.msg,type:"error"})}))}))},examinationContentDeleteRow:function(e,t){var a=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var s=[];s.push(t[e].ID),Xa(s).then((function(e){200==e.infoCode?(a.getExaminationContentInfo(),a.$message({message:"删除成功!",type:"success"})):a.$message({message:e.msg,type:"error"})}))})).catch((function(){a.$message({type:"info",message:"已取消删除"})}))},examinationContentClose:function(e){this.$refs[e].resetFields(),this.showExaminationContent=!1},examinationContentBatchDelete:function(){var e=this;this.assessmentMattersIds.length>0?this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){for(var t=[],a=0;a<e.assessmentMattersIds.length;a++)t.push(e.assessmentMattersIds[a].ID);Xa(t).then((function(t){200==t.infoCode?(e.getExaminationContentInfo(),e.$message({message:t.msg,type:"success"})):e.$message({message:t.msg,type:"error"})}))})).catch((function(){e.$message({type:"info",message:"已取消删除"})})):this.$message({type:"warning",message:"请选择删除项"})},examinationContentChange:function(e){this.assessmentMattersIds=e},examinationContentSizeChange:function(e){var t=this,a={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},s=this.examinationContentPage.page,n=this.examinationContentPage.size=e;Wa(a,s,n).then((function(e){t.examinationContentTable=e.data.list,t.examinationContentPage.total=e.data.total}))},examinationContentCurrentChange:function(e){var t=this,a={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},s=this.examinationContentPage.page=e,n=this.examinationContentPage.size;Wa(a,s,n).then((function(e){t.examinationContentTable=e.data.list,t.examinationContentPage.total=e.data.total}))},assessmentMattersDeleteRow:function(e,t){var a=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var s=[];s.push(t[e].ID),as(s).then((function(e){200==e.infoCode?(a.getAssessmentMattersInfo(),a.$message({message:e.msg,type:"success"})):a.$message({message:e.msg,type:"error"})}))})).catch((function(){a.$message({type:"info",message:"已取消删除"})}))},changeAssessmentMattersInfo:function(e,t){var a=this;this.showAssessmentMatters=!0,this.assessmentMattersFXZFScore="0",this.assessmentMattersScore=[];var s=this.peopleform.peopleYear;Ja(s,this.$route.query.id).then((function(t){a.assessmentMattersOptions=t.data,t.data.forEach((function(t){t.NAME==e.KHNR&&(a.assessmentMattersInfo.bizRespContentId=t.ID)}))})),"show"==t?(this.assessmentMattersInfo.SCORE=e.SCORE,this.assessmentMattersInfo.ZDKSSX=e.ZDKSSX,this.assessmentMattersInfo.ID=e.ID,this.assessmentMattersType="show",this.assessmentMattersDisabled=!0):"update"==t?(this.assessmentMattersInfo.SCORE=e.SCORE,this.assessmentMattersInfo.ZDKSSX=e.ZDKSSX,this.assessmentMattersInfo.ID=e.ID,this.assessmentMattersDisabled=!1,this.assessmentMattersType="update"):(this.assessmentMattersDisabled=!1,this.assessmentMattersInfo.ZDKSSX=null,this.assessmentMattersInfo.SCORE=null,this.assessmentMattersType="",this.assessmentMattersInfo.bizRespContentId=null,this.assessmentMattersInfo.SCORE=null)},assessmentMattersBatchDelete:function(){var e=this;this.assessmentMattersIds.length>0?this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){as(e.assessmentMattersIds).then((function(t){200==t.infoCode?(e.getAssessmentMattersInfo(),e.$message({message:"删除成功!",type:"success"})):e.$message({message:t.msg,type:"error"})}))})).catch((function(){e.$message({type:"info",message:"已取消删除"})})):this.$message({type:"warning",message:"请选择删除项"})},tableRowClick2:function(e,t,a){"操作"!=a.label&&this.changeAssessmentMattersInfo(e,"show")},assessmentMattersChange:function(e){var t=[];e.forEach((function(e){t.push(e.ID)})),this.assessmentMattersIds=t},assessmentMattersSizeChange:function(e){var t=this,a={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},s=this.assessmentMattersPage.page,n=this.assessmentMattersPage.size=e;Ga(a,s,n).then((function(e){t.assessmentMattersTable=e.data.list,t.assessmentMattersPage.total=e.data.total}))},assessmentMattersCurrentChange:function(e){var t=this,a={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},s=this.assessmentMattersPage.page=e,n=this.assessmentMattersPage.size;Ga(a,s,n).then((function(e){t.assessmentMattersTable=e.data.list,t.assessmentMattersPage.total=e.data.total}))},tableRowClick3:function(e,t,a){"操作"!=a.label&&this.changeAssessmentIndexInfo(e,"show")},changeAssessmentIndexInfo:function(e,t){var a=this;this.showAssessmentIndex=!0,this.assessmentIndexFXZFScore="0",this.assessmentIndexScore=[];var s=this.peopleform.peopleYear;ss(s,this.$route.query.id).then((function(e){a.assessmentIndexOptions=e.data})),"show"==t?(this.assessmentIndexInfo.KHZB=e.KHZB,this.assessmentIndexInfo.SCORE=e.SCORE,this.assessmentIndexInfo.ID=e.ID,this.assessmentIndexInfo.bizRespExaminationItemId=e.ITEMID,this.assessmentIndexDisabled=!0,this.assessmentIndexType="show"):"update"==t?(this.assessmentIndexInfo.KHZB=e.KHZB,this.assessmentIndexInfo.SCORE=e.SCORE,this.assessmentIndexInfo.ID=e.ID,this.assessmentIndexInfo.bizRespExaminationItemId=e.ITEMID,this.assessmentIndexDisabled=!1,this.assessmentIndexType="update"):(this.assessmentIndexDisabled=!1,this.assessmentIndexInfo.KHZB=null,this.assessmentIndexInfo.bizRespExaminationItemId=e.ITEMID,this.assessmentIndexType="",this.assessmentIndexInfo.SCORE=null)},assessmentIndexDeleteRow:function(e,t){var a=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var s=[];s.push(t[e].ID),is(s).then((function(e){200==e.infoCode?(a.getAssessmentIndexInfo(),a.$message({message:"删除成功!",type:"success"})):a.$message({message:e.msg,type:"error"})}))})).catch((function(){a.$message({type:"info",message:"已取消删除"})}))},assessmentIndexBatchDelete:function(){var e=this;this.assessmentIndexIds.length>0?this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){is(e.assessmentIndexIds).then((function(t){200==t.infoCode?(e.getAssessmentIndexInfo(),e.$message({message:"删除成功!",type:"success"})):e.$message({message:t.msg,type:"error"})}))})).catch((function(){e.$message({type:"info",message:"已取消删除"})})):this.$message({type:"warning",message:"请选择删除项"})},assessmentIndexChange:function(e){var t=[];e.forEach((function(e){t.push(e.ID)})),this.assessmentIndexIds=t},assessmentIndexSizeChange:function(e){var t=this,a={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},s=this.assessmentIndexPage.page,n=this.assessmentIndexPage.size=e;ns(a,s,n).then((function(e){t.assessmentIndexTable=e.data.list,t.assessmentIndexPage.total=e.data.total}))},assessmentIndexCurrentChange:function(e){var t=this,a={year:this.peopleform.peopleYear,bizRespResponsibilityId:this.$route.query.id},s=this.assessmentIndexPage.page=e,n=this.assessmentIndexPage.size;ns(a,s,n).then((function(e){t.assessmentIndexTable=e.data.list,t.assessmentIndexPage.total=e.data.total}))},assessmentTargetQuery:function(){var e=this;this.loading=!0,this.paginationShow=!1,this.$nextTick((function(){this.paginationShow=!0}));var t={bizRespResponsibilityId:this.$route.query.id,year:this.peopleform.peopleYear,leadDepartment:this.assessmentTargetSearchInfo.leadDepartment,coordinationDepartment:this.assessmentTargetSearchInfo.coordinationDepartment,source:1,statusType:this.reportProgressSearchInfo.statusType},a=this.assessmentTargetPage.page,s=this.assessmentTargetPage.size;cs(t,a,s).then((function(t){e.assessmentTargetTable=t.data.list,e.assessmentTargetPage.total=t.data.total,e.loading=!1}))},tableRowClick4:function(e,t,a){"操作"!=a.label&&this.changeAssessmentTargetInfo(e,"show")},changeAssessmentTargetInfo:function(e,t){var a=this;0===e.ZT?this.zhuangt=!1:this.zhuangt=!0;var s=this.peopleform.peopleYear;ls(s,this.$route.query.id).then((function(e){a.assessmentTargetOptions=e.data})),t&&ds(e.ID).then((function(t){a.assessmentTargetInfo=t.data,a.assessmentTargetInfo.ID=e.ID,null==a.assessmentTargetInfo.coordinationDepartment?a.assessmentTargetInfo.coordinationDepartment=[]:a.assessmentTargetInfo.coordinationDepartment=a.assessmentTargetInfo.coordinationDepartment.split(","),null==a.assessmentTargetInfo.leadDepartment?a.assessmentTargetInfo.leadDepartment=[]:a.assessmentTargetInfo.leadDepartment=a.assessmentTargetInfo.leadDepartment.split(",")})),"show"==t?(this.assessmentTargetDisabled=!0,this.assessmentTargetType="show",this.assessmentTargetInfoScore(e)):"update"==t?(this.assessmentTargetDisabled=!1,this.assessmentTargetType="update",this.assessmentTargetInfoScore(e)):(this.assessmentTargetDisabled=!1,this.assessmentTargetType="",this.assessmentTargetInfo.ids=null,this.assessmentTargetInfo.bizRespExaminationQuotaId=null,this.assessmentTargetInfo.selfEvaluationDepartment=null,this.assessmentTargetInfo.leadDepartment=null,this.assessmentTargetInfo.coordinationDepartment=[],this.assessmentTargetInfo.scoreStandard=null);var n=e.ID;ws(n).then((function(e){if(200===e.infoCode){var t={},s=[];a.taskTarget=e.data,e.data.fileName&&e.data.fileId&&(t.name=e.data.fileName,t.id=e.data.fileId,s.push(t),a.fileList=s,a.downloadFileId=a.fileList[0].id)}})),this.showAssessmentTarget=!0},assessmentTargetInfoScore:function(e){},assessmentTargetBatchDelete:function(){var e=this;this.assessmentTargetIds.length>0?this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){fs(e.assessmentTargetIds).then((function(t){200==t.infoCode?(e.getAssessmentTargetInfo(),e.$message({message:t.msg,type:"success"})):e.$message({message:t.msg,type:"error"})}))})).catch((function(){e.$message({type:"info",message:"已取消删除"})})):this.$message({type:"warning",message:"请选择删除项"})},assessmentTargetChange:function(e){var t=[];e.forEach((function(e){t.push(e.ID)})),this.assessmentTargetIds=t},assessmentTargetCheckSelectable:function(e){return 0==e.ZT},assessmentTargetSizeChange:function(e){var t=this;this.loading=!0;var a={bizRespResponsibilityId:this.$route.query.id,year:this.peopleform.peopleYear,leadDepartment:this.assessmentTargetSearchInfo.leadDepartment,coordinationDepartment:this.assessmentTargetSearchInfo.coordinationDepartment,statusType:"0,10,20",source:1},s=this.assessmentTargetPage.page,n=this.assessmentTargetPage.size=e;cs(a,s,n).then((function(e){t.assessmentTargetTable=e.data.list,t.assessmentTargetPage.total=e.data.total,t.loading=!1}))},assessmentTargetCurrentChange:function(e){var t=this;this.loading=!0;var a={bizRespResponsibilityId:this.$route.query.id,year:this.peopleform.peopleYear,leadDepartment:this.assessmentTargetSearchInfo.leadDepartment,coordinationDepartment:this.assessmentTargetSearchInfo.coordinationDepartment,statusType:this.reportProgressSearchInfo.statusType,source:1},s=e,n=this.assessmentTargetPage.size;cs(a,s,n).then((function(e){t.assessmentTargetTable=e.data.list,t.assessmentTargetPage.total=e.data.total,t.loading=!1}))},uploadFile:function(e){var t=this;this.excelData.year=this.peopleform.peopleYear,this.excelData.responsibilityId=this.ruleTime.ids;var a=new FormData;a.append("file",e.raw),vs(this.excelData,a).then((function(e){200==e.infoCode?(t.$message({message:"上传成功!",type:"success"}),t.getYearTime(t.$route.query.year,t.$route.query.id)):t.$message({message:e.msg,type:"error"})}))},getYearTime:function(e,t){var a=this;this.showAssessmentTargetMessage="",Ya(e,t).then((function(e){if(e.data){var t=[],s=[];t.push(e.data.selfEvaluationStartTime),t.push(e.data.selfEvaluationEndTime),s.push(e.data.examinationStartTime),s.push(e.data.examinationEndTime),a.ruleTime.value6=t,a.ruleTime.value7=s,a.ruleTime.ids=e.data.ids,a.ruleTime.totalScore=e.data.totalScore}else a.activeName="first",a.ruleTime={value6:[],value7:[],totalScore:""},a.startInfo=!0,a.$message({message:"请填写填报日期!",type:"warning"});a.getExaminationContentInfo(),a.getAssessmentMattersInfo(),a.getAssessmentIndexInfo(),a.getAssessmentTargetInfo()}))},showAssessmentTargetedit:function(e){var t=this,a={responsibilityId:e};bs(a).then((function(e){200==e.infoCode&&(0==e.data&&(t.showButtonTBSZZF=!1,t.showButtonFB=!0),2==e.data&&(t.showButtonTBSZZF=!0,t.showButtonFB=!1),3==e.data&&(t.showButtonTBSZZF=!0,t.showButtonFB=!0,t.showExcelUpload=!0),4==e.data&&(t.showButtonTBSZZF=!1,t.showButtonFB=!0,t.showExcelUpload=!1))}))},assessmentTargetedit:function(e){var t=this,a={status:e,responsibilityId:this.ruleTime.ids};gs(a).then((function(e){200==e.infoCode?(t.getAssessmentTargetInfo(),t.showAssessmentTargetMessage=null):t.showAssessmentTargetMessage=e.msg}))}},created:function(){this.getData(),this.peopleform.peopleYear=this.$route.query.year,this.getYearTime(this.$route.query.year,this.$route.query.id);var e=this.$route.query.isDisabled;1==e&&(this.isdisabled=!0),2==e&&(this.isdisabled=!1)}},zs=_s,$s=(a("119e"),Object(c["a"])(zs,ks,Ts,!1,null,null,null)),Es=$s.exports,Ds=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementAdd",staticStyle:{"overflow-x":"hidden"}},[a("h3",{staticClass:"tit"},[e._v("新增评分表")]),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"100px"}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"考核年度",prop:"year"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:""},model:{value:e.form.year,callback:function(t){e.$set(e.form,"year",t)},expression:"form.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"评分表名称",prop:"pfbmc"}},[a("el-input",{attrs:{type:"text",clearable:""},model:{value:e.form.pfbmc,callback:function(t){e.$set(e.form,"pfbmc",t)},expression:"form.pfbmc"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary",loading:e.loading},on:{click:function(t){e.save()}}},[e._v("保存")]),a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")])],1)])],1)],1)],1)},Rs=[],js={data:function(){var e=this,t=function(t,a,s){if(!a)return s();var n={pfbmc:a,year:e.form.year};Fe(n).then((function(e){if(200!=e.infoCode)return s(new Error(e.msg));s()}))};return{form:{year:"",totalScore:100,file:"",source:20},dateyear:[],rules:{year:[{required:!0,message:"请选择考核年度",trigger:"change"}],totalScore:[{required:!0,message:"请输入总分",trigger:"blur"},{validator:ye,trigger:"blur"}],pfbmc:[{required:!0,message:"请输入评分表名称",trigger:"blur"},{trigger:["blur","change"],validator:t},{validator:he,trigger:"blur"}]},fileList:[],loading:!1}},methods:{handleExceed:function(e,t){this.$message.warning("上传文件超出最大个数,当前只允许上传有1个文件")},handleChange:function(e,t){this.form.file=e.raw},handleRemove:function(e,t){this.form.file=""},back:function(){this.$router.back(-1)},save:function(){var e=this;this.$refs["form"].validate((function(t){if(!t)return!1;e.loading=!0,Ze(e.form).then((function(t){e.loading=!1,200==t.infoCode?(e.$message.success(t.msg),e.$router.push({path:"/accountability/management"})):504==t.infoCode?e.$message.warning(t.msg):e.$message.error(t.msg)}))}))},findByYear:function(e){var t=this;tt(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data,null!=t.dateyear&&(t.form.year=t.dateyear[0]))}))}},created:function(){this.findByYear("page")}},qs=js,Ms=(a("aff6"),Object(c["a"])(qs,Ds,Rs,!1,null,null,null)),Bs=Ms.exports,As=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementList",staticStyle:{margin:"10px"}},[a("el-form",{attrs:{model:e.formInline,"label-width":"68px"}},[a("el-row",[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"考核年度"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:""},model:{value:e.formInline.year,callback:function(t){e.$set(e.formInline,"year",t)},expression:"formInline.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:4,offset:1}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.search}},[e._v("查询")])],1)],1)],1),a("el-row",[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:e.add}},[e._v("下发评分表")])],1),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-top":"10px"},attrs:{data:e.tableList,border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick}},[a("el-table-column",{attrs:{align:"center",label:"序号",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核年度",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.YEAR))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"评分表名称",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.PFBMC))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核盟市个数",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.NUMBER))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"发布时间",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.KHRM_TIME))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"状态",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.STATUS_VALUE))])]}}])}),a("el-table-column",{attrs:{label:"操作",width:"250",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small",icon:"el-icon-zoom-in"},on:{click:function(a){a.stopPropagation(),e.handleSee(t.row)}}})],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"修改",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{disabled:"2"==t.row.STATUS,type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.handleUpdate(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-edit"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"发布",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{disabled:"2"==t.row.STATUS,type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.handleModify(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-fabu"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"删除",placement:"top"}},[a("el-button",{staticClass:"difStateDelBtn",attrs:{disabled:"2"==t.row.STATUS,type:"danger",size:"small",icon:"el-icon-delete"},on:{click:function(a){a.stopPropagation(),e.handleDetail(t.row)}}})],1)]}}])})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.listLoading,expression:"!listLoading"}],staticClass:"pag-right clearFix"},[e.paginationShow?a("el-pagination",{staticClass:"right",attrs:{"current-page":e.page.page,"page-sizes":[10,20,30,50],"page-size":e.page.size,layout:"total, sizes, prev, pager, next, jumper",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.$set(e.page,"page",t)}}}):e._e()],1)],1)],1)],1)},Ps=[],Ls={data:function(){return{formInline:{year:"",type:"2",source:"20"},dateyear:[],tableList:[],loading:!0,listLoading:!1,paginationShow:!0,page:{page:1,size:10,total:0}}},methods:{search:function(){this.loading=!0,this.paginationShow=!1,this.handleCurrentChange(1),this.$nextTick((function(){this.paginationShow=!0}))},add:function(){this.$router.push({path:"/accountability/assessmentOfCityAdd"})},handleUpdate:function(e){this.$router.push({path:"/accountability/assessmentOfCityEdit",query:{id:e.ID}})},tableRowClick:function(e,t,a){"操作"!=a.label&&this.handleSee(e)},handleSee:function(e){this.$router.push({path:"/accountability/assessmentOfCitySee",query:{id:e.ID}})},handleDetail:function(e){var t=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Xe(e.ID).then((function(e){200==e.infoCode?(t.$message({message:"删除成功!",type:"success"}),t.getTabList()):t.$message({message:e.msg,type:"error"})}))})).catch((function(){t.$message({type:"info",message:"已取消删除"})}))},handleModify:function(e){var t=this;Ge(e.ID).then((function(e){200==e.infoCode?(t.$message.success(e.msg),t.search()):t.$message.error(e.msg)}))},handleSizeChange:function(e){this.page.size=e,this.getTabList()},handleCurrentChange:function(e){this.page.page=e,this.getTabList()},getTabList:function(){var e=this;et(this.formInline,this.page).then((function(t){e.loading=!1,200==t.infoCode&&(e.tableList=t.data.list,e.page.total=t.data.total)}))},findByYear:function(e){var t=this;tt(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data,null!=t.dateyear&&(t.formInline.year=t.dateyear[0],t.search()))}))}},created:function(){this.findByYear("page")}},Ns=Ls,Os=(a("b736"),Object(c["a"])(Ns,As,Ps,!1,null,null,null)),Fs=Os.exports,Zs=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container taskQueryPage",staticStyle:{margin:"10px"}},[a("el-form",{attrs:{model:e.formInline}},[a("el-row",[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"考核年度","label-width":"68px"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:""},model:{value:e.formInline.year,callback:function(t){e.$set(e.formInline,"year",t)},expression:"formInline.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:4,offset:1}},[a("el-form-item",[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.search}},[e._v("查询")])],1)],1)],1),a("el-row",[a("el-form-item",{attrs:{label:"区域","label-width":"40px"}},[a("el-radio-group",{on:{change:function(t){e.search()}},model:{value:e.formInline.areaCode,callback:function(t){e.$set(e.formInline,"areaCode",t)},expression:"formInline.areaCode"}},e._l(e.cityList,(function(t){return a("el-radio",{key:t.areaCode,attrs:{label:t.areaCode}},[e._v(e._s(t.orgName))])})))],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-top":"0"},attrs:{data:e.tableList,border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick}},[a("el-table-column",{attrs:{align:"center",label:"序号",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"区域"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.shiAreaCodeName))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核年度","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.year))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"未上报","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.wsb))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"未上报占比","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.wsbZb)+"%")])]}}])}),a("el-table-column",{attrs:{align:"center",label:"已提交","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.ysb))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"已提交占比","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.ysbZb)+"%")])]}}])}),a("el-table-column",{attrs:{align:"center",label:"总评分","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.zpf))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核等级","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.khdj))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"状态","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.statusValue))])]}}])}),a("el-table-column",{attrs:{label:"操作",width:"110",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small",icon:"el-icon-zoom-in"},on:{click:function(a){a.stopPropagation(),e.handleSee(t.row)}}})],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"导出",placement:"top"}},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.exportClick(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-daochu"})])],1)]}}])})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.listLoading,expression:"!listLoading"}],staticClass:"pag-right clearFix"},[e.paginationShow?a("el-pagination",{staticClass:"right",attrs:{"current-page":e.page.page,"page-sizes":[10,20,30,50],"page-size":e.page.size,layout:"total, sizes, prev, pager, next, jumper",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.$set(e.page,"page",t)}}}):e._e()],1)],1)],1)],1)},Qs=[];function Ks(e,t){return J({url:"".concat(G["c"],"provinceTask/findByPage/").concat(t.page,"/").concat(t.size),method:"post",data:e})}function Us(e){return J({url:"".concat(G["c"],"respUser/findDataShiTree"),method:"get",data:e})}function Ys(e,t){return J({url:"".concat(G["c"],"provinceTask/findCityByPage/").concat(t.page,"/").concat(t.size),method:"post",data:e})}function Ws(e){return J({url:"".concat(G["c"],"provinceTask/publish"),method:"post",data:e})}function Hs(e){return J({url:"".concat(G["c"],"provinceTask/saveReappraisal/").concat(e.taskId,"/").concat(e.shiAreaCode),method:"get",data:e})}function Vs(e){return J({url:"".concat(G["c"],"provinceTask/findByProvinceQtbmAndPhbm/").concat(e.taskId,"/").concat(e.shiAreaCode),method:"get",data:e})}function Xs(e){return J({url:"".concat(G["c"],"respScoreInput/findByQtbmAndPhbmAndZpbm/").concat(e.taskId,"/").concat(e.shiAreaCode),method:"get",data:e})}var Js={data:function(){return{formInline:{year:"",areaCode:""},dateyear:[],excelDownloadDataFile:"".concat(G["d"]),tableList:[],loading:!1,listLoading:!1,paginationShow:!0,page:{page:1,size:10,total:0},cityList:[]}},methods:{search:function(){this.loading=!0,this.paginationShow=!1,this.handleCurrentChange(1),this.$nextTick((function(){this.paginationShow=!0}))},submit:function(e){var t=this,a={areaCode:e.shiAreaCode,bizRespResponsibilityId:e.bizRespResponsibilityId,year:e.year};Ws(a).then((function(e){200==e.infoCode?(t.$message.success(e.msg),t.search()):t.$message.error(e.msg)}))},exportClick:function(e){window.location.href=this.excelDownloadDataFile+"/"+e.year+"/"+e.shiAreaCode+"/"+e.bizRespResponsibilityId},tableRowClick:function(e,t,a){"操作"!=a.label&&this.handleSee(e)},handleSee:function(e){this.$router.push({path:"/accountability/assessmentQuerySee",query:{id:e.bizRespResponsibilityId,year:e.year,shiAreaCode:e.shiAreaCode}})},handleDetail:function(e){var t=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){(void 0)(e.ID).then((function(e){200==e.infoCode?(t.$message({message:"删除成功!",type:"success"}),t.getTabList()):t.$message({message:e.msg,type:"error"})}))})).catch((function(){t.$message({type:"info",message:"已取消删除"})}))},handleModify:function(e){var t=this;(void 0)(e.ID).then((function(e){200==e.infoCode?(t.$message.success(e.msg),t.search()):t.$message.error(e.msg)}))},handleSizeChange:function(e){this.page.size=e,this.getTabList()},handleCurrentChange:function(e){this.page.page=e,this.getTabList()},getTabList:function(){var e=this;Ks(this.formInline,this.page).then((function(t){e.loading=!1,200==t.infoCode&&(e.tableList=t.data.list,e.page.total=t.data.total)}))},getCityList:function(){var e=this;Us("code").then((function(t){e.loading=!1,200==t.infoCode&&(e.cityList=t.data,e.cityList.unshift({orgName:"全部",areaCode:""}))}))}},created:function(){var e=new Date;this.year=e.getFullYear();for(var t=0;t<10;t++)this.dateyear.push(this.year),this.year=this.year-1;this.formInline.year=e.getFullYear(),this.getCityList(),this.search()}},Gs=Js,en=(a("42b7"),Object(c["a"])(Gs,Zs,Qs,!1,null,null,null)),tn=en.exports,an=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container",staticStyle:{margin:"10px"}},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-top":"0"},attrs:{data:e.tableList,border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick}},[a("el-table-column",{attrs:{align:"center",label:"序号",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核年度","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.year))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"年度考核任务评分标准","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.khrwpfbz))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核指标","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.khzb))])]}}])}),a("el-table-column",{attrs:{label:"省级",align:"center"}},[a("el-table-column",{attrs:{align:"center",label:"牵头部门","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.provinceQtbm))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"牵头部门分值","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.provinceQtbmFz))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"配合部门","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.provincePhbm))])]}}])})],1),a("el-table-column",{attrs:{label:"盟市",align:"center"}},[a("el-table-column",{attrs:{align:"center",label:"自评部门","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.cityZpbm))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"牵头部门","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.cityQtbm))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"牵头部门分值","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.cityQtbmFz))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"配合部门","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.cityPhbm))])]}}])})],1),a("el-table-column",{attrs:{align:"center",label:"状态","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.cityStatusValue))])]}}])}),a("el-table-column",{attrs:{label:"操作",width:"60",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small",icon:"el-icon-zoom-in"},on:{click:function(a){a.stopPropagation(),e.handleSee(t.row)}}})],1)]}}])})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.listLoading,expression:"!listLoading"}],staticClass:"pag-right clearFix"},[e.paginationShow?a("el-pagination",{staticClass:"right",attrs:{"current-page":e.page.page,"page-sizes":[10,20,30,50],"page-size":e.page.size,layout:"total, sizes, prev, pager, next, jumper",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.$set(e.page,"page",t)}}}):e._e()],1)],1)],1),a("div",{staticStyle:{"text-align":"center",padding:"10px"}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:function(t){e.goBack()}}},[e._v("返回")])],1)],1)},sn=[],nn={data:function(){return{formInline:{year:"",bizRespResponsibilityId:"",areaCode:""},dateyear:[],tableList:[{},{}],loading:!1,listLoading:!1,paginationShow:!0,page:{page:1,size:10,total:0}}},methods:{goBack:function(){this.$router.push({path:"/accountability/assessmentQuery"})},reject:function(e){var t=this,a={shiAreaCode:e.shiAreaCode,taskId:e.taskId};Hs(a).then((function(e){200==e.infoCode?(t.$message.success(e.msg),t.search()):t.$message.error(e.msg)}))},tableRowClick:function(e,t,a){"操作"!=a.label&&this.handleSee(e)},handleSee:function(e){this.$router.push({path:"/accountability/assessmentQueryDetail",query:{taskId:e.taskId,shiAreaCode:e.shiAreaCode}})},handleModify:function(e){var t=this;management.publish(e.ID).then((function(e){200==e.infoCode?(t.$message.success(e.msg),t.search()):t.$message.error(e.msg)}))},handleSizeChange:function(e){this.page.size=e,this.getTabList()},handleCurrentChange:function(e){this.page.page=e,this.getTabList()},getTabList:function(){var e=this;this.loading=!0,Ys(this.formInline,this.page).then((function(t){200==t.infoCode?(e.tableList=t.data.list,e.page.total=t.data.total):e.$message({type:"error",message:t.msg,duration:2e3}),e.loading=!1}))},search:function(){this.getTabList()}},created:function(){this.formInline.year=this.$route.query.year,this.formInline.bizRespResponsibilityId=this.$route.query.id,this.formInline.areaCode=this.$route.query.shiAreaCode,this.search()}},on=nn,rn=(a("7dce"),Object(c["a"])(on,an,sn,!1,null,null,null)),ln=rn.exports,cn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container assessmentOfCityAdd",staticStyle:{padding:"10px"}},[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"100px"}},[a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"考核年度"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form.taskInfo.year,callback:function(t){e.$set(e.form.taskInfo,"year",t)},expression:"form.taskInfo.year"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{staticClass:"lastDialog",attrs:{label:"年度考核任务评分标准"}},[a("el-input",{attrs:{type:"textarea",rows:4,disabled:"disabled",resize:"none"},model:{value:e.form.taskInfo.pfbz,callback:function(t){e.$set(e.form.taskInfo,"pfbz",t)},expression:"form.taskInfo.pfbz"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"考核指标"}},[a("el-input",{attrs:{type:"textarea",disabled:"disabled",rows:4,resize:"none"},model:{value:e.form.taskInfo.khzb,callback:function(t){e.$set(e.form.taskInfo,"khzb",t)},expression:"form.taskInfo.khzb"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"重点考核事项"}},[a("el-input",{attrs:{type:"textarea",rows:4,disabled:"",resize:"none"},model:{value:e.form.taskInfo.khsx,callback:function(t){e.$set(e.form.taskInfo,"khsx",t)},expression:"form.taskInfo.khsx"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"考核内容"}},[a("el-input",{attrs:{type:"textarea",rows:4,disabled:"",resize:"none"},model:{value:e.form.taskInfo.khnr,callback:function(t){e.$set(e.form.taskInfo,"khnr",t)},expression:"form.taskInfo.khnr"}})],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("市级自评部门评分")])])],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"自评部门"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form.zpbm.zpbm,callback:function(t){e.$set(e.form.zpbm,"zpbm",t)},expression:"form.zpbm.zpbm"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"评分意见"}},[a("el-input",{attrs:{type:"textarea",disabled:"disabled",rows:4,resize:"none"},model:{value:e.form.zpbm.scoreReason,callback:function(t){e.$set(e.form.zpbm,"scoreReason",t)},expression:"form.zpbm.scoreReason"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{staticClass:"margStyle",attrs:{label:"填报人"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form.zpbm.bmtbr,callback:function(t){e.$set(e.form.zpbm,"bmtbr",t)},expression:"form.zpbm.bmtbr"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{staticClass:"margStyle",attrs:{label:"审核人"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form.zpbm.bmshr,callback:function(t){e.$set(e.form.zpbm,"bmshr",t)},expression:"form.zpbm.bmshr"}})],1)],1),a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{staticStyle:{"margin-bottom":"0px"},attrs:{label:"文件下载"}},e._l(e.form.zpbm.fileVOList,(function(t,s){return a("a",{key:s,staticStyle:{"margin-left":"20px"},attrs:{href:e.fileDownload+"?id="+t.fileId,title:"下载"}},[e._v(e._s(t.fileName))])})))],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("市级配合部门意见")])])],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:""}},[a("el-table",{staticStyle:{"margin-top":"0"},attrs:{data:e.form.phbmVOList,border:"",stripe:"","highlight-current-row":""}},[a("el-table-column",{attrs:{align:"center",label:"配合部门",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.phbm))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"配合部门意见"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.scoreReason))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"填报人"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.bmtbr))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"审核人"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.bmshr))])]}}])})],1)],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("市级牵头部门评分")])])],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"牵头部门"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form.qtbmVO.qtbm,callback:function(t){e.$set(e.form.qtbmVO,"qtbm",t)},expression:"form.qtbmVO.qtbm"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"分值"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form.qtbmVO.score,callback:function(t){e.$set(e.form.qtbmVO,"score",t)},expression:"form.qtbmVO.score"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"评分意见"}},[a("el-input",{attrs:{type:"textarea",disabled:"disabled",rows:4,resize:"none"},model:{value:e.form.qtbmVO.scoreReason,callback:function(t){e.$set(e.form.qtbmVO,"scoreReason",t)},expression:"form.qtbmVO.scoreReason"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"扣分原因"}},[a("el-input",{attrs:{type:"textarea",disabled:"disabled",rows:4,resize:"none"},model:{value:e.form.qtbmVO.kfyy,callback:function(t){e.$set(e.form.qtbmVO,"kfyy",t)},expression:"form.qtbmVO.kfyy"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"填报人"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form.qtbmVO.bmtbr,callback:function(t){e.$set(e.form.qtbmVO,"bmtbr",t)},expression:"form.qtbmVO.bmtbr"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"审核人"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form.qtbmVO.bmshr,callback:function(t){e.$set(e.form.qtbmVO,"bmshr",t)},expression:"form.qtbmVO.bmshr"}})],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("省级配合部门意见")])])],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:""}},[a("el-table",{staticStyle:{"margin-top":"0"},attrs:{data:e.form2.phbmVOList,border:"",stripe:"","highlight-current-row":""}},[a("el-table-column",{attrs:{align:"center",label:"配合部门",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.phbm))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"配合部门意见"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.scoreReason))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"填报人"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.bmtbr))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"审核人"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.bmshr))])]}}])})],1)],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("省级牵头部门评分")])])],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"牵头部门"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form2.qtbm.qtbm,callback:function(t){e.$set(e.form2.qtbm,"qtbm",t)},expression:"form2.qtbm.qtbm"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"分值"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form2.qtbm.score,callback:function(t){e.$set(e.form2.qtbm,"score",t)},expression:"form2.qtbm.score"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"评分意见"}},[a("el-input",{attrs:{type:"textarea",disabled:"disabled",rows:4,resize:"none"},model:{value:e.form2.qtbm.scoreReason,callback:function(t){e.$set(e.form2.qtbm,"scoreReason",t)},expression:"form2.qtbm.scoreReason"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"扣分原因"}},[a("el-input",{attrs:{type:"textarea",disabled:"disabled",rows:4,resize:"none"},model:{value:e.form2.qtbm.kfyy,callback:function(t){e.$set(e.form2.qtbm,"kfyy",t)},expression:"form2.qtbm.kfyy"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"填报人"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form2.qtbm.bmtbr,callback:function(t){e.$set(e.form2.qtbm,"bmtbr",t)},expression:"form2.qtbm.bmtbr"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"审核人"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form2.qtbm.bmshr,callback:function(t){e.$set(e.form2.qtbm,"bmshr",t)},expression:"form2.qtbm.bmshr"}})],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("省级平时配合部门意见")])])],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:""}},[a("el-table",{staticStyle:{"margin-top":"0"},attrs:{data:e.form2.phbmPsVOList,border:"",stripe:"","highlight-current-row":""}},[a("el-table-column",{attrs:{align:"center",label:"配合部门",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.phbm))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"配合部门意见"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.scoreReason))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"填报人"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.bmtbr))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"审核人"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.bmshr))])]}}])})],1)],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("省级平时牵头部门评分")])])],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"牵头部门"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form2.qtbmPs.qtbm,callback:function(t){e.$set(e.form2.qtbmPs,"qtbm",t)},expression:"form2.qtbmPs.qtbm"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"分值"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form2.qtbmPs.score,callback:function(t){e.$set(e.form2.qtbmPs,"score",t)},expression:"form2.qtbmPs.score"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"评分意见"}},[a("el-input",{attrs:{type:"textarea",disabled:"disabled",rows:4,resize:"none"},model:{value:e.form2.qtbmPs.scoreReason,callback:function(t){e.$set(e.form2.qtbmPs,"scoreReason",t)},expression:"form2.qtbmPs.scoreReason"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"扣分原因"}},[a("el-input",{attrs:{type:"textarea",disabled:"disabled",rows:4,resize:"none"},model:{value:e.form2.qtbmPs.kfyy,callback:function(t){e.$set(e.form2.qtbmPs,"kfyy",t)},expression:"form2.qtbmPs.kfyy"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"填报人"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form2.qtbmPs.bmtbr,callback:function(t){e.$set(e.form2.qtbmPs,"bmtbr",t)},expression:"form2.qtbmPs.bmtbr"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"审核人"}},[a("el-input",{attrs:{disabled:"disabled"},model:{value:e.form2.qtbmPs.bmshr,callback:function(t){e.$set(e.form2.qtbmPs,"bmshr",t)},expression:"form2.qtbmPs.bmshr"}})],1)],1)],1)],1),a("div",{staticStyle:{"text-align":"center"}},[a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("返回")])],1)],1)},mn=[],un={data:function(){return{fileDownload:"".concat(G["f"]),form:{taskInfo:{},phbmVOList:[],zpbm:{},qtbmVO:{}},form2:{phbmVOList:[],qtbm:{},phbmPsVOList:[],qtbmPs:{}}}},methods:{back:function(){this.$router.back(-1)},detail:function(){var e=this,t={shiAreaCode:this.$route.query.shiAreaCode,taskId:this.$route.query.taskId};Xs(t).then((function(t){200==t.infoCode?e.form=t.data:e.$message({message:t.msg,type:"error",duration:2e3})})),Vs(t).then((function(t){200==t.infoCode?e.form2=t.data:e.$message({message:t.msg,type:"error",duration:2e3})}))}},created:function(){this.detail()}},pn=un,fn=(a("abbc"),Object(c["a"])(pn,cn,mn,!1,null,null,null)),dn=fn.exports,hn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementList",staticStyle:{margin:"10px"}},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline}},[a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"考核年度"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:""},model:{value:e.formInline.year,callback:function(t){e.$set(e.formInline,"year",t)},expression:"formInline.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:4}},[a("el-form-item",[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.search}},[e._v("查询")])],1)],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-top":"0"},attrs:{data:e.tableList,border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick}},[a("el-table-column",{attrs:{align:"center",label:"序号",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核年度",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.YEAR))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"修改时间",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.UPDATE_TIME))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"发布时间",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.FB_TIME))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"状态",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.STATUS_VALUE))])]}}])}),a("el-table-column",{attrs:{label:"操作",width:"250",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small",icon:"el-icon-zoom-in"},on:{click:function(a){a.stopPropagation(),e.handleSee(t.row)}}})],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"修改",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{disabled:"2"==t.row.STATUS,type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.handleUpdate(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-edit"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"发布",placement:"top"}},["已发布"!=t.row.STATUS_VALUE?a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.handleModify(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-fabu"})]):e._e()],1)]}}])})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.listLoading,expression:"!listLoading"}],staticClass:"pag-right clearFix"},[e.paginationShow?a("el-pagination",{staticClass:"right",attrs:{"current-page":e.page.page,"page-sizes":[10,20,30,50],"page-size":e.page.size,layout:"total, sizes, prev, pager, next, jumper",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.$set(e.page,"page",t)}}}):e._e()],1)],1)],1)],1)},gn=[];function bn(e,t){return J({url:"".concat(G["c"],"scoringCity/findByPage/").concat(t.page,"/").concat(t.size),method:"post",data:e})}function yn(e){return J({url:"".concat(G["c"],"scoringCity/findById/").concat(e),method:"get"})}function wn(e){return J({url:"".concat(G["c"],"scoringCity/publish/").concat(e),method:"get"})}function vn(e){return J({url:"".concat(G["c"],"scoringCity/update"),method:"post",data:e})}var xn,Cn,In,Sn,kn={data:function(){return{formInline:{year:"",areaCode:sessionStorage.getItem("areaCode")},dateyear:[],tableList:[{}],loading:!1,listLoading:!1,paginationShow:!0,page:{page:1,size:10,total:0}}},methods:{search:function(){this.loading=!0,this.paginationShow=!1,this.handleCurrentChange(1),this.$nextTick((function(){this.paginationShow=!0}))},handleUpdate:function(e){this.$router.push({path:"/accountability/taskReportingAdd",query:{id:e.ID,type:"edit"}})},tableRowClick:function(e,t,a){"操作"!=a.label&&this.handleSee(e)},handleSee:function(e){this.$router.push({path:"/accountability/taskReportingAdd",query:{id:e.ID,type:"see"}})},handleDetail:function(e){var t=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){(void 0)(e.ID).then((function(e){200==e.infoCode?(t.$message({message:"删除成功!",type:"success"}),t.getTabList()):t.$message({message:e.msg,type:"error"})}))})).catch((function(){t.$message({type:"info",message:"已取消删除"})}))},handleModify:function(e){var t=this;wn(e.ID).then((function(e){200==e.infoCode?(t.$message.success(e.msg),t.search()):t.$message.error(e.msg)}))},handleSizeChange:function(e){this.page.size=e,this.getTabList()},handleCurrentChange:function(e){this.page.page=e,this.getTabList()},getTabList:function(){var e=this;bn(this.formInline,this.page).then((function(t){e.loading=!1,200==t.infoCode&&(e.tableList=t.data.list,e.page.total=t.data.total)}))}},created:function(){var e=new Date;this.year=e.getFullYear();for(var t=0;t<10;t++)this.dateyear.push(this.year),this.year=this.year-1;this.formInline.year=e.getFullYear(),this.search()}},Tn=kn,_n=(a("b72f"),Object(c["a"])(Tn,hn,gn,!1,null,null,null)),zn=_n.exports,$n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container assessmentOfCityAdd",staticStyle:{margin:"0 10px"}},[a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核年度")])])],1),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"195px"}},[a("el-row",[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"考核年度",prop:"year"}},[a("el-select",{attrs:{disabled:"disabled",placeholder:"请选择考核年度",clearable:""},on:{change:e.yearClick},model:{value:e.form.year,callback:function(t){e.$set(e.form,"year",t)},expression:"form.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1)],1),a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核时间设置")])])],1),a("el-row",[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"省级牵头部门考核起止时间"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",disabled:"disabled"},model:{value:e.sjQtTime,callback:function(t){e.sjQtTime=t},expression:"sjQtTime"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"省级配合部门考核起止时间"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",disabled:"disabled"},model:{value:e.sjPhTime,callback:function(t){e.sjPhTime=t},expression:"sjPhTime"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"盟市自评部门考核起止时间",prop:"sjZpbmTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",disabled:"see"==e.type},model:{value:e.form.sjZpbmTime,callback:function(t){e.$set(e.form,"sjZpbmTime",t)},expression:"form.sjZpbmTime"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"盟市牵头部门考核起止时间",prop:"sjQtbmTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",disabled:"see"==e.type},model:{value:e.form.sjQtbmTime,callback:function(t){e.$set(e.form,"sjQtbmTime",t)},expression:"form.sjQtbmTime"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:10,offset:7}},[a("el-form-item",{attrs:{label:"盟市配合部门考核起止时间",prop:"sjPhbmTime"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期",disabled:"see"==e.type,"end-placeholder":"结束日期"},model:{value:e.form.sjPhbmTime,callback:function(t){e.$set(e.form,"sjPhbmTime",t)},expression:"form.sjPhbmTime"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center"}},["see"!=e.type?a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary",loading:e.loading},on:{click:e.save}},[e._v("保存")]):e._e(),"see"!=e.type?a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")]):e._e(),"see"==e.type?a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("返回")]):e._e()],1)])],1)],1)],1)},En=[],Dn={data:function(){var e=this,t=function(t,a,s){if(e.sjPhTime.length>0){var n=new Date(e.sjPhTime[0].substring(0,10)).getTime(),o=new Date(a[0]).getTime(),r=new Date(e.sjPhTime[1].substring(0,10)).getTime(),i=new Date(a[1]).getTime();n>o?s(new Error("盟市自评部门考核开始时间不能小于省级配合部门考核开始时间")):r<i?s(new Error("盟市自评部门考核结束时间不能大于省级配合部门考核结束时间")):s()}},a=function(t,a,s){if(e.sjPhTime.length>0){var n=new Date(e.sjPhTime[0].substring(0,10)).getTime(),o=new Date(a[0]).getTime(),r=new Date(e.sjPhTime[1].substring(0,10)).getTime(),i=new Date(a[1]).getTime();n>o?s(new Error("盟市牵头部门考核开始时间不能小于省级配合部门考核开始时间")):r<i?s(new Error("盟市牵头部门考核结束时间不能大于省级配合部门考核结束时间")):s()}},s=function(t,a,s){if(e.sjPhTime.length>0){var n=new Date(e.sjPhTime[0].substring(0,10)).getTime(),o=new Date(a[0]).getTime(),r=new Date(e.sjPhTime[1].substring(0,10)).getTime(),i=new Date(a[1]).getTime();n>o?s(new Error("盟市配合部门考核开始时间不能小于省级配合部门考核开始时间")):r<i?s(new Error("盟市配合部门考核结束时间不能大于省级配合部门考核结束时间")):s()}};return{sjQtTime:[],sjPhTime:[],totalScore:"",form:{year:"",file:"",source:20,areaCodeList:[],status:"",sjQtbmWeight:"",weightRankList:{},zsTime:[],sjPhbmTime:[],sjQtbmTime:[],sjZpbmTime:[]},dateyear:[],rules:{year:[{required:!0,message:"请选择考核年度",trigger:"change"}],sjZpbmTime:[{required:!0,message:"请选择盟市自评部门考核起止时间",trigger:"change"},{validator:t,trigger:"change"}],sjPhbmTime:[{required:!0,message:"请选择盟市配合部门考核起止时间",trigger:"change"},{validator:s,trigger:"change"}],sjQtbmTime:[{required:!0,message:"请选择盟市牵头部门考核起止时间",trigger:"change"},{validator:a,trigger:"change"}]},loading:!1,pfbmcList:[],cities:[],id:"",type:""}},methods:{back:function(){this.$router.back(-1)},save:function(){var e=this;this.$refs["form"].validate((function(t){if(!t)return!1;e.loading=!0,e.form.sjZpbmStartTime=e.form.sjZpbmTime[0],e.form.sjZpbmEndTime=e.form.sjZpbmTime[1],e.form.sjPhbmStartTime=e.form.sjPhbmTime[0],e.form.sjPhbmEndTime=e.form.sjPhbmTime[1],e.form.sjQtbmStartTime=e.form.sjQtbmTime[0],e.form.sjQtbmEndTime=e.form.sjQtbmTime[1],vn(e.form).then((function(t){200==t.infoCode?(e.$message.success(t.msg),e.$router.push({path:"/accountability/taskReporting"})):(e.$message.error(t.msg),e.loading=!1)}))}))},quxiao:function(){this.$router.push({path:"/accountability/taskReporting"})},findByYear:function(e){var t=this;ae(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data)}))},findByWeightRank:function(e,t){var a=this;se(e,t).then((function(e){200==e.infoCode&&(a.form.weightRankList=e.data)}))},detail:function(){var e=this;yn(this.id).then((function(t){e.loading=!1,200==t.infoCode?(e.form=t.data,le(t.data.year,1).then((function(t){200==t.infoCode?(t.data.sjQtbmStartTime&&(e.sjQtTime.push(t.data.sjQtbmStartTime),e.sjQtTime.push(t.data.sjQtbmEndTime)),t.data.sjPhbmStartTime&&(e.sjPhTime.push(t.data.sjPhbmStartTime),e.sjPhTime.push(t.data.sjPhbmEndTime))):e.$message.error(t.msg)}))):e.$message.error(t.msg)}))},yearClick:function(e){}},created:function(){this.form.totalScore=100,this.$route.query.id&&(this.id=this.$route.query.id),this.$route.query.type&&(this.type=this.$route.query.type),this.findByYear("save"),this.detail()}},Rn=Dn,jn=(a("56c2"),Object(c["a"])(Rn,$n,En,!1,null,null,null)),qn=jn.exports,Mn={},Bn=Object(c["a"])(Mn,xn,Cn,!1,null,null,null),An=Bn.exports,Pn={},Ln=Object(c["a"])(Pn,In,Sn,!1,null,null,null),Nn=Ln.exports,On=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container managementList",staticStyle:{margin:"10px"}},[a("el-form",{attrs:{model:e.formInline}},[a("el-row",[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"考核年度","label-width":"68px"}},[a("el-select",{attrs:{placeholder:"请选择考核年度"},model:{value:e.formInline.year,callback:function(t){e.$set(e.formInline,"year",t)},expression:"formInline.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:6,offset:1}},[a("el-form-item",{attrs:{label:"状态","label-width":"40px"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",clearable:""},model:{value:e.formInline.status,callback:function(t){e.$set(e.formInline,"status",t)},expression:"formInline.status"}},e._l(e.type,(function(e){return a("el-option",{key:e.index,attrs:{label:e.label,value:e.value}})})))],1)],1),a("el-col",{attrs:{span:6,offset:1}},[a("el-form-item",{staticClass:"itemStyle",attrs:{label:"年度考核任务评分标准","label-width":"100px"}},[a("el-input",{attrs:{clearable:""},model:{value:e.formInline.taskName,callback:function(t){e.$set(e.formInline,"taskName",t)},expression:"formInline.taskName"}})],1)],1),a("el-col",{attrs:{span:2,offset:1}},[a("el-form-item",[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.search}},[e._v("查询")])],1)],1)],1)],1),a("el-row",[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:e.releaseAll}},[e._v("批量发布")])],1),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-top":"10px"},attrs:{data:e.tableList,border:"",stripe:"","highlight-current-row":""},on:{"row-click":e.tableRowClick}},[a("el-table-column",{attrs:{align:"center",label:"序号",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核年度","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.year))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"年度考核任务评分标准","show-overflow-tooltip":!0,"min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.khrwpfbz))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核指标","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.khzb))])]}}])}),a("el-table-column",{attrs:{prop:"zpbm",align:"center",label:"市自评部门","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{align:"center",label:"市牵头部门","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.qtbm))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"市配合部门","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.phbm))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"更新时间","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.updateTime))])]}}])}),a("el-table-column",{attrs:{prop:"statusValue",align:"center",label:"状态","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"操作",width:"250",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{type:"primary",size:"small",icon:"el-icon-zoom-in"},on:{click:function(a){a.stopPropagation(),e.handleSee(t.row)}}})],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"修改",placement:"top"}},[a("el-button",{staticClass:"difStateEditBtn",attrs:{disabled:"2"==t.row.status||"3"==t.row.status,type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.handleUpdate(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-edit"})])],1),a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"发布",placement:"top"}},[a("el-button",{staticClass:"button",attrs:{disabled:!("1"==t.row.status),type:"primary",size:"small"},on:{click:function(a){a.stopPropagation(),e.handleModify(t.row)}}},[a("i",{staticClass:"tableIcon iconfont icon-fabu"})])],1)]}}])})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.listLoading,expression:"!listLoading"}],staticClass:"pag-right clearFix"},[e.paginationShow?a("el-pagination",{staticClass:"right",attrs:{"current-page":e.page.page,"page-sizes":[10,20,30,50],"page-size":e.page.size,layout:"total, sizes, prev, pager, next, jumper",total:e.page.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){e.$set(e.page,"page",t)}}}):e._e()],1)],1)],1)],1)},Fn=[];function Zn(e,t){return J({url:"".concat(G["c"],"cityTaskDistribution/findByPage/").concat(t.page,"/").concat(t.size),method:"post",data:e})}function Qn(e){return J({url:"".concat(G["c"],"cityTaskDistribution/publish/").concat(e),method:"post",data:e})}function Kn(e){return J({url:"".concat(G["c"],"cityTaskDistribution/publishALL/").concat(e),method:"post",data:e})}function Un(e){return J({url:"".concat(G["c"],"cityTaskDistribution/findById/").concat(e),method:"get"})}function Yn(e){return J({url:"".concat(G["c"],"/cityTaskDistribution/update"),method:"post",data:e})}var Wn={data:function(){return{type:[{label:"未分配",value:"0"},{label:"已分配",value:"1"},{label:"已发布",value:"2"},{label:"上报省级",value:"3"}],formInline:{year:"",areaCode:sessionStorage.getItem("areaCode"),status:"",taskName:""},dateyear:[],tableList:[{}],loading:!1,listLoading:!1,paginationShow:!0,page:{page:1,size:10,total:0}}},methods:{search:function(){this.paginationShow=!1,this.handleCurrentChange(1),this.$nextTick((function(){this.paginationShow=!0}))},add:function(){this.$router.push({path:"/accountability/taskAuditEdit"})},handleUpdate:function(e){this.$router.push({path:"/accountability/taskAuditEdit",query:{id:e.id,type:"edit"}})},tableRowClick:function(e,t,a){"操作"!=a.label&&this.handleSee(e)},releaseAll:function(){var e=this;Kn(this.formInline.year).then((function(t){200==t.infoCode?(e.$message.success(t.msg),e.search()):e.$message.error(t.msg)}))},handleSee:function(e){this.$router.push({path:"/accountability/taskAuditEdit",query:{id:e.id,type:"see"}})},handleDetail:function(e){var t=this;this.$confirm("您确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){management.scoringWeightDelete(e.ID).then((function(e){200==e.infoCode?(t.$message({message:"删除成功!",type:"success"}),t.getTabList()):t.$message({message:e.msg,type:"error"})}))})).catch((function(){t.$message({type:"info",message:"已取消删除"})}))},handleModify:function(e){var t=this;Qn(e.id).then((function(e){200==e.infoCode?(t.$message.success(e.msg),t.search()):t.$message.error(e.msg)}))},handleSizeChange:function(e){this.page.size=e,this.getTabList()},handleCurrentChange:function(e){this.page.page=e,this.getTabList()},getTabList:function(){var e=this;this.loading=!0,Zn(this.formInline,this.page).then((function(t){200==t.infoCode?(e.tableList=t.data.list,e.page.total=t.data.total):e.$message({type:"error",message:t.msg,duration:2e3}),e.loading=!1}))}},created:function(){var e=new Date;this.year=e.getFullYear();for(var t=0;t<10;t++)this.dateyear.push(this.year),this.year=this.year-1;this.formInline.year=e.getFullYear(),this.search()}},Hn=Wn,Vn=(a("da20"),Object(c["a"])(Hn,On,Fn,!1,null,null,null)),Xn=Vn.exports,Jn=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container assessmentOfCityAdd",staticStyle:{margin:"0 10px"}},[a("el-row",{staticClass:"title-box clearable h3Parent"},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle"},[e._v("考核年度")])])],1),a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"100px"}},[a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"考核年度",prop:"year"}},[a("el-select",{attrs:{disabled:"disabled",placeholder:"请选择考核年度",clearable:""},on:{change:e.yearClick},model:{value:e.form.year,callback:function(t){e.$set(e.form,"year",t)},expression:"form.year"}},e._l(e.dateyear,(function(e){return a("el-option",{key:e.index,attrs:{label:e,value:e}})})))],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{staticClass:"lastDialog",attrs:{label:"年度考核任务评分标准",prop:"khrwpfbz"}},[a("el-input",{attrs:{type:"textarea",rows:4,disabled:"disabled",resize:"none"},model:{value:e.form.khrwpfbz,callback:function(t){e.$set(e.form,"khrwpfbz",t)},expression:"form.khrwpfbz"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"考核指标",prop:"khzb"}},[a("el-input",{attrs:{type:"textarea",disabled:"disabled",rows:4,resize:"none"},model:{value:e.form.khzb,callback:function(t){e.$set(e.form,"khzb",t)},expression:"form.khzb"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"重点考核事项"}},[a("el-input",{attrs:{type:"textarea",rows:4,disabled:"",resize:"none"},model:{value:e.form.khsx,callback:function(t){e.$set(e.form,"khsx",t)},expression:"form.khsx"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"考核内容"}},[a("el-input",{attrs:{type:"textarea",rows:4,disabled:"",resize:"none"},model:{value:e.form.khnr,callback:function(t){e.$set(e.form,"khnr",t)},expression:"form.khnr"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"自评部门",prop:"zpbm"}},[a("el-select",{attrs:{placeholder:"请选择",disabled:"see"==e.type},model:{value:e.form.zpbm,callback:function(t){e.$set(e.form,"zpbm",t)},expression:"form.zpbm"}},e._l(e.bmList,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME,value:e.ID}})})))],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"牵头部门",prop:"qtbm"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",multiple:"",disabled:"see"==e.type},model:{value:e.form.qtbm,callback:function(t){e.$set(e.form,"qtbm",t)},expression:"form.qtbm"}},e._l(e.zpbmList,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME,value:e.ID}})})))],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"配合部门"}},[a("el-select",{attrs:{placeholder:"请选择考核年度",multiple:"",disabled:"see"==e.type},model:{value:e.form.phbm,callback:function(t){e.$set(e.form,"phbm",t)},expression:"form.phbm"}},e._l(e.zpbmList,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME,value:e.ID}})})))],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("div",{staticStyle:{width:"80%",margin:"0 auto","text-align":"center","padding-bottom":"55px"}},["see"!=e.type?a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary",loading:e.loading},on:{click:function(t){e.save(0)}}},[e._v("保存")]):e._e(),"see"!=e.type?a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("取消")]):e._e(),"see"==e.type?a("el-button",{staticClass:"outCancelButton",attrs:{type:"primary"},on:{click:e.back}},[e._v("返回")]):e._e()],1)])],1)],1)],1)},Gn=[],eo={data:function(){return{totalScore:"",form:{year:"",ids:"",khzb:"",khrwpfbz:"",phbm:[],qtbm:[],zpbm:"",khsx:"",khnr:""},dateyear:[],rules:{totalScore:[{required:!0,message:"请输入",trigger:"blur"}],zpbm:[{required:!0,message:"请选择自评部门",trigger:"change"}],qtbm:[{required:!0,message:"请选择牵头部门",trigger:"change"}]},loading:!1,pfbmcList:[],cities:[],id:"",type:"",zpbmList:[],bmList:[]}},methods:{back:function(){this.$router.back(-1)},save:function(e){var t=this,a="",s="";for(var n in this.form.qtbm)a+=this.form.qtbm[n]+",";for(var o in this.form.phbm)s+=this.form.phbm[o]+",";var r={ids:this.form.ids,phbm:s.substring(0,s.length-1),qtbm:a.substring(0,a.length-1),zpbm:this.form.zpbm,year:this.form.year};this.$refs["form"].validate((function(e){if(!e)return!1;t.loading=!0,Yn(r).then((function(e){t.loading=!1,200==e.infoCode?(t.$message.success(e.msg),t.$router.push({path:"/accountability/taskAudit"})):t.$message.error(e.msg)}))}))},findByYear:function(e){var t=this;ae(e).then((function(e){200==e.infoCode&&(t.dateyear=e.data,null!=t.dateyear&&(t.form.year=t.dateyear[0]))}))},sumWeight:function(){var e=this.form.zsZpbmWeight;e<=100&&e>0&&(this.form.sjQtbmWeight=100-e)},findByWeightRank:function(e,t){var a=this;se(e,t).then((function(e){200==e.infoCode&&(a.form.weightRankList=e.data)}))},detail:function(){var e=this;Un(this.id).then((function(t){200==t.infoCode?(e.form=t.data,e.form.qtbm=e.form.qtbm?e.form.qtbm.split(","):[],e.form.phbm=e.form.phbm?e.form.phbm.split(","):[],e.form.zpbm=e.form.zpbm?e.form.zpbm:""):e.$message({type:"error",message:t.msg,duration:2e3})}))},getBmList:function(){var e=this;ys("1").then((function(t){200==t.infoCode&&(e.bmList=t.data)})),ys("0").then((function(t){200==t.infoCode&&(e.zpbmList=t.data)}))},yearClick:function(e){}},created:function(){this.$route.query.id&&(this.id=this.$route.query.id),this.$route.query.type&&(this.type=this.$route.query.type),this.getBmList(),this.detail()}},to=eo,ao=(a("c7a1"),Object(c["a"])(to,Jn,Gn,!1,null,null,null)),so=ao.exports,no=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container selfAuditList",staticStyle:{padding:"10px"}},[a("el-form",{attrs:{model:e.formInline}},[a("el-row",[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"考核年度","label-width":"68px"}},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.formInline.year,callback:function(t){e.$set(e.formInline,"year",t)},expression:"formInline.year"}},e._l(e.years,(function(e,t){return a("el-option",{key:t,attrs:{label:e,value:e}})})))],1)],1),a("el-col",{attrs:{span:6,offset:1}},[a("el-form-item",{attrs:{label:"状态","label-width":"40px"}},[a("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.formInline.status,callback:function(t){e.$set(e.formInline,"status",t)},expression:"formInline.status"}},e._l(e.zt,(function(e){return a("el-option",{key:e.ID,attrs:{label:e.NAME,value:e.ID}})})))],1)],1),a("el-col",{attrs:{span:6,offset:1}},[a("el-form-item",{staticClass:"itemStyle",attrs:{label:"年度考核任务评分标准","label-width":"100px"}},[a("el-input",{attrs:{clearable:""},model:{value:e.formInline.taskName,callback:function(t){e.$set(e.formInline,"taskName",t)},expression:"formInline.taskName"}})],1)],1),a("el-col",{attrs:{span:2,offset:1}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.search}},[e._v("查询")])],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:6}},[a("el-button",{staticClass:"outButton",attrs:{type:"primary"},on:{click:e.allReport}},[e._v("批量上报")])],1)],1),a("div",{staticStyle:{color:"red","font-size":"14px","margin-top":"10px"}},[a("span",[e._v("考核任务总数:")]),a("span",[e._v(e._s(e.totalhz.totalNumber))]),a("span",{staticClass:"pad10"},[e._v("未录入:")]),a("span",[e._v(e._s(e.totalhz.wlr))]),a("span",{staticClass:"pad10"},[e._v("已录入:")]),a("span",[e._v(e._s(e.totalhz.ylr))]),a("span",{staticClass:"pad10"},[e._v("已提交:")]),a("span",[e._v(e._s(e.totalhz.ytj))])]),a("div",{staticStyle:{color:"red","font-size":"14px"}},[a("span",[e._v("省级牵头部门考核截止时间:")]),a("span",[e._v(e._s(e.timedata[0]))]),a("span",[e._v(" 至 ")]),a("span",[e._v(e._s(e.timedata[1]))])]),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"margin-top":"10px"},attrs:{data:e.list,border:"",stripe:"","highlight-current-row":""}},[a("el-table-column",{attrs:{align:"center",label:"序号",width:"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核年度",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.year))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"年度考核任务评分标准",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.khrwpfbz))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"考核指标",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.khzb))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"市自评部门",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.zpbm))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"更新时间",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.updateTime))])]}}])}),a("el-table-column",{attrs:{align:"center",label:"状态",sortable:"","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.statusValue))])]}}])}),a("el-table-column",{attrs:{label:"操作",width:"150",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"查看",placement:"top"}},[a("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-zoom-in"},on:{click:function(a){a.stopPropagation(),e.go_details(t.row)}}})],1),10==t.row.status||20==t.row.status?a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"编辑",placement:"top"}},[a("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-edit"},on:{click:function(a){a.stopPropagation(),e.go_edit(t.row)}}})],1):e._e(),20==t.row.status?a("el-tooltip",{staticClass:"item",attrs:{effect:"light",content:"上报",placement:"top"}},[a("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-document"},on:{click:function(a){a.stopPropagation(),e.btn_commits(t.row)}}})],1):e._e()]}}])})],1),e.paginationShow?a("div",{staticClass:"pag-right clearFix"},[e.paginationShow?a("el-pagination",{staticClass:"right",attrs:{"current-page":e.limit.page,"page-size":e.limit.size,"page-sizes":[10,20,30,40],total:e.limit.total,layout:"total, sizes, prev, pager, next, jumper"},on:{"update:currentPage":function(t){e.$set(e.limit,"page",t)},"current-change":e.handleCurrentChange,"size-change":e.handleSizeChangeTask}}):e._e()],1):e._e()],1)},oo=[];function ro(e,t){return J({url:"".concat(G["c"],"/cityZpbm/findByPage/").concat(t.page,"/").concat(t.size),method:"post",data:e})}function io(e){return J({url:"".concat(G["c"],"cityZpbm/findById/").concat(e.id),method:"get",data:e})}function lo(e){return J({url:"".concat(G["c"],"cityZpbm/update"),method:"post",data:e})}function co(e){return J({url:"".concat(G["c"],"cityZpbm/publish/").concat(e.id),method:"get",data:e})}function mo(e){return J({url:"".concat(G["c"],"/cityZpbm/publishALL/").concat(e),method:"get"})}function uo(e){return J({url:"".concat(G["c"],"scoringWeight/findByYear/").concat(e.page),method:"get",data:e})}function po(e){return J({url:"".concat(G["c"],"responsibility/findByCityStatus"),method:"get",data:e})}function fo(e){return J({url:"".concat(G["c"],"cityZpbm/findByTaskDistributionRatio/").concat(e.year),method:"get",data:e})}function ho(e){return J({url:"".concat(G["c"],"scoringCity/findByYear/").concat(e.year),method:"get",data:e})}var go={data:function(){return{formInline:{year:"",status:"",taskName:""},timedata:[],zt:[],years:[],list:[],totalhz:{},loading:!1,paginationShow:!0,limit:{page:1,size:10,total:0}}},created:function(){this.ksjstime(),this.get_year(),this.get_status(),this.get_total()},methods:{ksjstime:function(){var e=this,t={year:2019};ho(t).then((function(t){200==t.infoCode&&(e.timedata=t.data.sjZpbmTime)}))},get_total:function(){var e=this,t={year:2019};fo(t).then((function(t){200==t.infoCode&&(e.totalhz=t.data)}))},get_status:function(){var e=this;po().then((function(t){200==t.infoCode&&(e.zt=t.data)})).catch((function(e){console.log(e)}))},search:function(){this.ksjstime(),this.get_total(),this.paginationShow=!1,this.handleCurrentChange(1),this.$nextTick((function(){this.paginationShow=!0}))},get_year:function(){var e=this,t={page:"page"};uo(t).then((function(t){200==t.infoCode&&(e.years=t.data,e.formInline.year=t.data[0],e.get_List())}))},btn_commits:function(e){var t=this,a={id:e.id};co(a).then((function(e){200==e.infoCode?(t.$message({message:e.msg,type:"success",duration:2e3}),t.get_total(),t.get_List()):t.$message({type:"error",message:e.msg,duration:2e3})}))},get_List:function(){var e=this;this.loading=!0,ro(this.formInline,this.limit).then((function(t){200==t.infoCode?(e.list=t.data.list,e.limit.total=t.data.total):e.$message({type:"error",message:t.msg,duration:2e3}),e.loading=!1}))},go_details:function(e){console.log,this.$router.push({path:"/accountability/selfAuditDetail",query:{areaCode:e.areaCode,id:e.id}})},go_edit:function(e){"yes"==e.ifPf?this.$router.push({path:"/accountability/selfAuditEdit",query:{id:e.id}}):this.$message({message:"不在考核起始时间范围内",type:"warning",duration:2e3})},allReport:function(){var e=this;mo(this.formInline.year).then((function(t){200==t.infoCode?(e.$message({message:t.msg,type:"success",duration:2e3}),e.get_total(),e.get_List()):e.$message({message:t.msg,type:"error",duration:2e3})}))},handleCurrentChange:function(e){this.limit.page=e,this.get_List()},handleSizeChangeTask:function(e){this.limit.size=e,this.get_List()}}},bo=go,yo=(a("c68c"),Object(c["a"])(bo,no,oo,!1,null,null,null)),wo=yo.exports,vo=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container selfAuditDetail",staticStyle:{padding:"10px"}},[a("el-form",{ref:"zpbmlist",attrs:{model:e.zpbmlist,"label-width":"100px"}},[a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"考核年度"}},[a("el-input",{attrs:{disabled:""},model:{value:e.taskInfo.year,callback:function(t){e.$set(e.taskInfo,"year",t)},expression:"taskInfo.year"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{staticClass:"lastDialog",attrs:{label:"年度考核任务评分标准"}},[a("el-input",{attrs:{type:"textarea",rows:4,disabled:"",resize:"none"},model:{value:e.taskInfo.pfbz,callback:function(t){e.$set(e.taskInfo,"pfbz",t)},expression:"taskInfo.pfbz"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"考核指标"}},[a("el-input",{attrs:{type:"textarea",rows:4,placeholder:"",disabled:"",resize:"none"},model:{value:e.taskInfo.khzb,callback:function(t){e.$set(e.taskInfo,"khzb",t)},expression:"taskInfo.khzb"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"重点考核事项"}},[a("el-input",{attrs:{type:"textarea",rows:4,placeholder:"",disabled:"",resize:"none"},model:{value:e.taskInfo.khsx,callback:function(t){e.$set(e.taskInfo,"khsx",t)},expression:"taskInfo.khsx"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"考核内容"}},[a("el-input",{attrs:{type:"textarea",rows:4,placeholder:"",disabled:"",resize:"none"},model:{value:e.taskInfo.khnr,callback:function(t){e.$set(e.taskInfo,"khnr",t)},expression:"taskInfo.khnr"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("自评部门评分")])])],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"自评部门"}},[a("el-input",{attrs:{disabled:""},model:{value:e.zpbmlist.zpbm,callback:function(t){e.$set(e.zpbmlist,"zpbm",t)},expression:"zpbmlist.zpbm"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"评分意见"}},[a("el-input",{attrs:{type:"textarea",rows:4,placeholder:"请输入内容",resize:"none",disabled:""},model:{value:e.zpbmlist.scoreReason,callback:function(t){e.$set(e.zpbmlist,"scoreReason",t)},expression:"zpbmlist.scoreReason"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"填报人"}},[a("el-input",{attrs:{placeholder:"请输入",disabled:""},model:{value:e.zpbmlist.bmtbr,callback:function(t){e.$set(e.zpbmlist,"bmtbr",t)},expression:"zpbmlist.bmtbr"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"审核人"}},[a("el-input",{attrs:{placeholder:"请输入",disabled:""},model:{value:e.zpbmlist.bmshr,callback:function(t){e.$set(e.zpbmlist,"bmshr",t)},expression:"zpbmlist.bmshr"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{staticStyle:{"margin-bottom":"0px"},attrs:{label:"文件下载"}},e._l(e.zpbmlist.fileVOList,(function(t,s){return a("a",{key:s,staticStyle:{"margin-left":"20px"},attrs:{href:e.fileDownload+"?id="+t.fileId,title:"下载"}},[e._v(e._s(t.fileName))])})))],1)],1)],1),a("div",{staticStyle:{"text-align":"center"}},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.go_index()}}},[e._v("返回")])],1)],1)},xo=[],Co={data:function(){return{taskInfo:{},fileDownload:"".concat(G["f"]),zpbmlist:{}}},created:function(){this.get_detailList()},methods:{go_index:function(){this.$router.push("/accountability/selfAudit")},get_detailList:function(){var e=this,t={id:this.$route.query.id};io(t).then((function(t){200==t.infoCode?(e.taskInfo=t.data.taskInfo,e.zpbmlist=t.data.zpbm):e.$message({message:t.msg,type:"error",duration:2e3})}))}}},Io=Co,So=(a("4fce"),Object(c["a"])(Io,vo,xo,!1,null,null,null)),ko=So.exports,To=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container selfAuditPage",staticStyle:{padding:"10px"}},[a("el-form",{ref:"zpbmlist",attrs:{model:e.zpbmlist,"label-width":"100px",rules:e.rulesForm}},[a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"考核年度"}},[a("el-input",{attrs:{disabled:""},model:{value:e.taskInfo.year,callback:function(t){e.$set(e.taskInfo,"year",t)},expression:"taskInfo.year"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{staticClass:"lastDialog",attrs:{label:"年度考核任务评分标准"}},[a("el-input",{attrs:{type:"textarea",rows:4,disabled:"",resize:"none"},model:{value:e.taskInfo.pfbz,callback:function(t){e.$set(e.taskInfo,"pfbz",t)},expression:"taskInfo.pfbz"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"考核指标"}},[a("el-input",{attrs:{type:"textarea",rows:4,placeholder:"",disabled:"",resize:"none"},model:{value:e.taskInfo.khzb,callback:function(t){e.$set(e.taskInfo,"khzb",t)},expression:"taskInfo.khzb"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"重点考核事项"}},[a("el-input",{attrs:{type:"textarea",rows:4,placeholder:"",disabled:"",resize:"none"},model:{value:e.taskInfo.khsx,callback:function(t){e.$set(e.taskInfo,"khsx",t)},expression:"taskInfo.khsx"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"考核内容"}},[a("el-input",{attrs:{type:"textarea",rows:4,placeholder:"",disabled:"",resize:"none"},model:{value:e.taskInfo.khnr,callback:function(t){e.$set(e.taskInfo,"khnr",t)},expression:"taskInfo.khnr"}})],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:24}},[a("h3",{staticClass:"titleUseStyle_1"},[e._v("自评部门评分")])])],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"自评部门"}},[a("el-input",{attrs:{disabled:""},model:{value:e.zpbmlist.zpbm,callback:function(t){e.$set(e.zpbmlist,"zpbm",t)},expression:"zpbmlist.zpbm"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:16,offset:4}},[a("el-form-item",{attrs:{label:"评分意见",prop:"scoreReason"}},[a("el-input",{attrs:{type:"textarea",rows:4,placeholder:"请输入内容",resize:"none"},model:{value:e.zpbmlist.scoreReason,callback:function(t){e.$set(e.zpbmlist,"scoreReason",t)},expression:"zpbmlist.scoreReason"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"填报人",prop:"bmtbr"}},[a("el-input",{attrs:{placeholder:"请输入",clearable:""},model:{value:e.zpbmlist.bmtbr,callback:function(t){e.$set(e.zpbmlist,"bmtbr",t)},expression:"zpbmlist.bmtbr"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"审核人",prop:"bmshr"}},[a("el-input",{attrs:{placeholder:"请输入",clearable:""},model:{value:e.zpbmlist.bmshr,callback:function(t){e.$set(e.zpbmlist,"bmshr",t)},expression:"zpbmlist.bmshr"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:8,offset:4}},[a("el-form-item",{attrs:{label:"文件上传"}},[a("el-upload",{ref:"upload",attrs:{action:e.file,"on-success":e.onSuccess,"on-error":e.onError,"on-remove":e.handleRemove,multiple:"","file-list":e.fileList,"on-preview":e.handlePreview,"auto-upload":!0}},[a("el-button",{staticClass:"button",attrs:{size:"small",type:"primary"}},[e._v("点击上传")])],1)],1)],1)],1)],1),a("div",{staticStyle:{"text-align":"center"}},[a("el-button",{attrs:{type:"primary",loading:e.loadingSave},on:{click:function(t){e.btn_save("zpbmlist")}}},[e._v("保存")]),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.go_index()}}},[e._v("取消")])],1)],1)},_o=[],zo={data:function(){return{taskInfo:{},loadingSave:!1,file:"".concat(G["e"]),fileList:[],fileDownload:"".concat(G["f"]),zpbmlist:{},needArr:[],rulesForm:{scoreReason:[{validator:be,trigger:"blur"}],bmtbr:[{required:!0,message:"请输入填报人",trigger:"blur"},{validator:he,trigger:"blur"}],bmshr:[{required:!0,message:"请输入审核人",trigger:"blur"},{validator:he,trigger:"blur"}]}}},created:function(){this.get_detailList()},methods:{btn_save:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;t.loadingSave=!0,t.zpbmlist.fileId=0==t.needArr.length?"":t.needArr.join(","),lo(t.zpbmlist).then((function(e){200==e.infoCode?(t.$message({message:e.msg,type:"success",duration:2e3}),t.$router.push("/accountability/selfAudit")):(t.$message({message:e.msg,type:"error",duration:2e3}),t.loadingSave=!1)}))}))},go_index:function(){this.$router.push("/accountability/selfAudit")},get_detailList:function(){var e=this,t={id:this.$route.query.id};io(t).then((function(t){200==t.infoCode?(e.taskInfo=t.data.taskInfo,e.zpbmlist=t.data.zpbm,t.data.zpbm.fileVOList&&t.data.zpbm.fileVOList.map((function(t){e.fileList.push({name:t.fileName,response:{data:{id:t.fileId}}})})),t.data.zpbm.fileId&&(e.needArr=t.data.zpbm.fileId.split(","))):e.$message({message:t.msg,type:"error",duration:2e3})}))},onSuccess:function(e,t,a){200==e.infoCode?(this.$message({message:e.msg,type:"success",duration:2e3}),this.needArr.push(e.data.id)):this.$message({message:"".concat(e.msg),type:"error",duration:2e3})},onError:function(e,t,a){this.$message({message:"上传失败",type:"error",duration:2e3})},handleRemove:function(e,t){var a=[];t.map((function(e){a.push(e.response.data.id)})),this.needArr=a},handlePreview:function(e){window.location.href="".concat(G["f"],"?id=").concat(e.response.data.id)}}},$o=zo,Eo=(a("d05e"),Object(c["a"])($o,To,_o,!1,null,null,null)),Do=Eo.exports;s["default"].use(p["a"]);var Ro="/accountability",jo=function(){return a.e("chunk-347dfc47").then(a.bind(null,"dd7b"))},qo=new p["a"]({history:!0,routes:[{path:"/login",component:jo,hidden:!0},{path:"/",component:F,redirect:"/accountability",hidden:!0,meta:{title:"安全行政盟市长责任制",icon:"example"},children:[{path:"".concat(Ro),component:{render:function(e){return e("router-view")}},name:"安全行政盟市长责任制1",meta:{title:"安全行政盟市长责任制1",icon:"example"},children:[{path:"".concat(Ro,"/management"),name:"评分表管理",component:Ta,meta:{title:"评分表管理",icon:"form"}},{path:"".concat(Ro,"/managementAdd"),name:"导入评分表",component:Ra,meta:{title:"导入评分表",icon:"form"}},{path:"".concat(Ro,"/managementCopy"),name:"复制评分表",component:Pa,meta:{title:"复制评分表",icon:"form"}},{path:"".concat(Ro,"/managementUpload"),name:"上传评分表",component:Qa,meta:{title:"导入评分表",icon:"form"}},{path:"".concat(Ro,"/managementSee"),name:"导入评分表",component:Ss,meta:{title:"导入评分表",icon:"form"}},{path:"".concat(Ro,"/managementEdit"),name:"编辑评分表",component:Es,meta:{title:"编辑评分表",icon:"form"}},{path:"".concat(Ro,"/managementSave"),name:"新增评分表",component:Bs,meta:{title:"新增评分表",icon:"form"}},{path:"".concat(Ro,"/assessmentOfCity"),name:"制定盟市考核任务",component:Fs,meta:{title:"制定盟市考核任务",icon:"form"}},{path:"".concat(Ro,"/scoringWeight"),name:"省级任务填报设置",component:pe,meta:{title:"省级任务填报设置",icon:"form"}},{path:"".concat(Ro,"/scoringWeightAdd"),name:"省级任务填报新增",component:Te,meta:{title:"省级任务填报新增",icon:"form"}},{path:"".concat(Ro,"/scoringWeightEdit"),name:"省级任务填报新增",component:Re,meta:{title:"省级任务填报修改",icon:"form"}},{path:"".concat(Ro,"/scoringWeightSee"),name:"省级任务填报新增",component:Pe,meta:{title:"省级任务填报查看",icon:"form"}},{path:"".concat(Ro,"/assessmentOfCityAdd"),name:"制定盟市考核任务新增",component:ct,meta:{title:"制定盟市考核任务新增",icon:"form"}},{path:"".concat(Ro,"/assessmentOfCityEdit"),name:"制定盟市考核任务修改",component:ht,meta:{title:"制定盟市考核任务修改",icon:"form"}},{path:"".concat(Ro,"/assessmentOfCitySee"),name:"制定盟市考核任务新增查看",component:xt,meta:{title:"制定盟市考核任务查看",icon:"form"}},{path:"".concat(Ro,"/cityEntry"),name:"盟市评分表结果录入",component:Bt,meta:{title:"盟市评分表结果录入",icon:"form"}},{path:"".concat(Ro,"/cityEntryAdd"),name:"盟市评分表结果录入",component:Ft,meta:{title:"盟市评分表结果录入",icon:"form"}},{path:"".concat(Ro,"/cityEntrySee"),name:"盟市评分表结果录入查询",component:Wt,meta:{title:"盟市评分表结果录入查询",icon:"form"}},{path:"".concat(Ro,"/cityKhjdList"),name:"盟市考核进度",component:aa,meta:{title:"盟市考核进度列表",icon:"form"}},{path:"".concat(Ro,"/cityList"),name:"盟市考核进度明细列表",component:la,meta:{title:"盟市考核进度明细列表",icon:"form"}},{path:"".concat(Ro,"/cityInfoSee"),name:"盟市考核进度明细信怎",component:da,meta:{title:"盟市考核进度明细信怎",icon:"form"}},{path:"".concat(Ro,"/assessmentList"),name:"考核领导小组列表",component:va,meta:{title:"盟市考核进度明细信怎",icon:"form"}},{path:"".concat(Ro,"/assessmentQuery"),name:"省级任务考核查询(省考核办)",component:tn,meta:{title:"省级任务考核查询(省考核办)",icon:"form"}},{path:"".concat(Ro,"/assessmentQuerySee"),name:"盟市考核明细",component:ln,meta:{title:"盟市考核明细",icon:"form"}},{path:"".concat(Ro,"/assessmentQueryDetail"),name:"盟市考核明细-查看",component:dn,meta:{title:"盟市考核明细-查看",icon:"form"}},{path:"".concat(Ro,"/taskReporting"),name:"盟市任务填报设置",component:zn,meta:{title:"盟市任务填报设置",icon:"form"}},{path:"".concat(Ro,"/taskReportingAdd"),name:"盟市任务填报设置-添加",component:qn,meta:{title:"盟市任务填报设置-添加",icon:"form"}},{path:"".concat(Ro,"/taskReportingEdit"),name:"盟市任务填报设置-修改",component:An,meta:{title:"盟市任务填报设置-修改",icon:"form"}},{path:"".concat(Ro,"/taskReportingSee"),name:"盟市任务填报设置-查看",component:Nn,meta:{title:"盟市任务填报设置-查看",icon:"form"}},{path:"".concat(Ro,"/taskAudit"),name:"盟市任务分配管理",component:Xn,meta:{title:"盟市任务分配管理",icon:"form"}},{path:"".concat(Ro,"/taskAuditEdit"),name:"盟市任务分配管理-查看",component:so,meta:{title:"盟市任务分配管理-查看",icon:"form"}},{path:"".concat(Ro,"/selfAudit"),name:"盟市自评部门审核",component:wo,meta:{title:"盟市自评部门审核",icon:"form"}},{path:"".concat(Ro,"/selfAuditDetail"),name:"盟市自评部门审核",component:ko,meta:{title:"盟市自评部门审核-详细",icon:"form"}},{path:"".concat(Ro,"/selfAuditEdit"),name:"盟市自评部门审核",component:Do,meta:{title:"盟市自评部门审核-编辑",icon:"form"}}]}]}]}),Mo=(a("0fae"),a("6672"),a("6418"),a("be35"),a("323e")),Bo=a.n(Mo),Ao=(a("a5d8"),a("27ae"),["/login"]);qo.beforeEach((function(e,t,a){Bo.a.start(),sessionStorage.getItem("TOKENL")?"/login"===e.path?(a({path:"/"}),Bo.a.done()):H["a"].dispatch("GetInfo").then((function(e){localStorage.setItem("userInfo",JSON.stringify(e)),Object(r["a"])(e.userId).then((function(e){var t=e.data[0].children[0].children;sessionStorage.setItem("leftMenuList",JSON.stringify(t)),a()}))})).catch((function(e){H["a"].dispatch("FedLogOut").then((function(){Y["Message"].error(e||"Verification failed, please login again"),"/login"!=t.path&&a({path:"/"})}))})):-1!==Ao.indexOf(e.path)?a():(a("/login"),Bo.a.done())})),qo.afterEach((function(){Bo.a.done()})),s["default"].config.productionTip=!1,s["default"].use(W.a),new s["default"]({router:qo,store:H["a"],render:function(e){return e(u)}}).$mount("#app")},5856:function(e,t,a){"use strict";var s=a("971b"),n=a.n(s);n.a},"5e78":function(e,t,a){},"5f3a":function(e,t,a){"use strict";var s=a("0b84"),n=a.n(s);n.a},"5f87":function(e,t,a){"use strict";a.d(t,"b",(function(){return l})),a.d(t,"c",(function(){return c})),a.d(t,"a",(function(){return m})),a.d(t,"g",(function(){return u})),a.d(t,"e",(function(){return p})),a.d(t,"f",(function(){return f})),a.d(t,"d",(function(){return d}));var s=a("a78e"),n=a.n(s),o="TOKENL",r="idBusiness",i="photo";function l(){return localStorage.getItem("token")}function c(){return n.a.get(r)}function m(){return n.a.get(i)}function u(e){return localStorage.setItem("token",e)}function p(){return n.a.remove(o)}function f(){return n.a.remove(r)}function d(){return n.a.remove(i)}},6418:function(e,t,a){},"64a9":function(e,t,a){},"64e4":function(e,t,a){},6672:function(e,t,a){},6923:function(e,t,a){"use strict";var s=a("edd0"),n=a.n(s);n.a},"69bc":function(e,t,a){},"6cbf":function(e,t,a){},"6f70":function(e,t,a){"use strict";var s=a("0584"),n=a.n(s);n.a},"7dce":function(e,t,a){"use strict";var s=a("fcb9"),n=a.n(s);n.a},"7e1e":function(e,t,a){"use strict";var s=a("503a"),n=a.n(s);n.a},"7e35":function(e,t,a){},8659:function(e,t,a){"use strict";var s=a("2f8a"),n=a.n(s);n.a},"87d8":function(e,t,a){},"8b08":function(e,t,a){},"8b6e":function(e,t,a){"use strict";var s=a("9ad1"),n=a.n(s);n.a},"8e0f":function(e,t,a){},"92d3":function(e,t,a){"use strict";var s=a("497c"),n=a.n(s);n.a},"938c":function(e,t,a){"use strict";var s=a("bc3a"),n=a.n(s),o=a("5c96"),r=a("4360"),i=a("5f87"),l=n.a.create({headers:{"Content-Type":"application/json;charset=utf-8"}});window.flag||l.interceptors.request.use((function(e){window.localStorage.getItem("token");return sessionStorage.getItem("TOKENL")&&(e.headers["token"]=sessionStorage.getItem("TOKENL")),e}),(function(e){Promise.reject(e)})),n.a.defaults.withCredentials=!0,l.interceptors.response.use((function(e){window.localStorage.getItem("token");e.headers.token&&(window.flag=!0,window.localStorage.removeItem("token"),window.localStorage.setItem("token",e.headers.token),Object(i["g"])(e.headers.token),window.flag=!1);var t=e.data;return 200===t.infoCode?t:(401===t.infoCode&&(window.location.href="http://localhost:9000/login.html"),50008!==t.code&&50012!==t.code&&50014!==t.code||o["MessageBox"].confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",type:"warning"}).then((function(){r["a"].dispatch("FedLogOut").then((function(){location.reload()}))})),t)}),(function(e){var t=e.message.substr(e.message.length-3);if("401"===t)return o["MessageBox"].confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then((function(){r["a"].dispatch("FedLogOut").then((function(){location.reload()}))})),Promise.reject("error");Object(o["Message"])({message:e.message,type:"error",duration:1e3})}));var c=l,m=a("365c");function u(e){return c({url:"".concat(m["a"],"/roleResources/findRoleResourcesTreeByUID?userId=").concat(e),method:"post"})}function p(e){return c({url:"".concat(m["h"],"/user/logout"),method:"post",params:{token:e}})}function f(e,t){return c({url:"".concat(m["b"],"/auth/login/1/").concat(e,"/").concat(t),method:"post",data:""})}a.d(t,"a",(function(){return u})),a.d(t,"b",(function(){return p})),a.d(t,"c",(function(){return f}))},"968b":function(e,t,a){},"971b":function(e,t,a){},"9ad1":function(e,t,a){},"9bd9":function(e,t,a){},a332:function(e,t,a){},a3ce:function(e,t,a){"use strict";var s=a("c899"),n=a.n(s);n.a},a8c8:function(e,t,a){"use strict";var s=a("4ddc"),n=a.n(s);n.a},abbc:function(e,t,a){"use strict";var s=a("1839"),n=a.n(s);n.a},aff6:function(e,t,a){"use strict";var s=a("9bd9"),n=a.n(s);n.a},b72f:function(e,t,a){"use strict";var s=a("12f5"),n=a.n(s);n.a},b736:function(e,t,a){"use strict";var s=a("69bc"),n=a.n(s);n.a},be35:function(e,t,a){},c687:function(e,t,a){"use strict";var s=a("cea9"),n=a.n(s);n.a},c68c:function(e,t,a){"use strict";var s=a("46306"),n=a.n(s);n.a},c7a1:function(e,t,a){"use strict";var s=a("2373"),n=a.n(s);n.a},c899:function(e,t,a){},cc9b:function(e,t,a){},cea9:function(e,t,a){},cede:function(e,t,a){"use strict";var s=a("6cbf"),n=a.n(s);n.a},d05e:function(e,t,a){"use strict";var s=a("38a9"),n=a.n(s);n.a},d0e7:function(e,t,a){"use strict";var s=a("cc9b"),n=a.n(s);n.a},da20:function(e,t,a){"use strict";var s=a("3d4d"),n=a.n(s);n.a},de35:function(e,t,a){},edd0:function(e,t,a){},f98e:function(e,t,a){"use strict";var s=a("1e60"),n=a.n(s);n.a},fcb9:function(e,t,a){}});
|