Your Name
2022-09-29 6f954f70f54e492157b97db314eaaaeb12192580
1
(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-0e5b","chunk-1c22"],{"67O2":function(t,e,r){"use strict";var a=r("eYH8");r.n(a).a},Ja5N:function(t,e,r){"use strict";var a=r("jJIE"),n=r.n(a),o={username:"admin",password:"ahb9014",key:"TwIMUKr3xyjWuvZfgqwb"};r.d(e,"a",function(){return u});var i="hiddenDangerToken",s="hiddenDangerVerify",c="hiddenDangerUsername",l="hiddenDangerPassword";function u(){var t=n.a.get(i),e=n.a.get(s);return null!=t&&""!=t&&"undefined"!=t&&null!=e&&""!=e&&"undefined"!=e||function(){var t=n.a.get(c)?n.a.get(c):o.username,e=n.a.get(l)?n.a.get(l):o.password;$.ajax({url:"/taboi/account/login_do?username="+t+"&password="+e+"&key="+o.key,type:"GET",contentType:"multipart/form-data",async:!1,success:function(t){1==t.ok&&(n.a.set(i,t.data.token),n.a.set(s,t.data.verify))}})}(),{token:n.a.get(i),verify:n.a.get(s)}}},TRqn:function(t,e,r){"use strict";r.d(e,"i",function(){return o}),r.d(e,"b",function(){return i}),r.d(e,"j",function(){return s}),r.d(e,"a",function(){return c}),r.d(e,"c",function(){return l}),r.d(e,"h",function(){return u}),r.d(e,"d",function(){return d}),r.d(e,"e",function(){return f}),r.d(e,"k",function(){return h}),r.d(e,"g",function(){return m}),r.d(e,"f",function(){return p});var a=r("t3Un"),n=r("Ja5N");function o(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_ht_level",method:"GET"})}function i(t){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_check_branch?type="+t,method:"GET"})}function s(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_ht_type",method:"GET"})}function c(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_check_class",method:"GET"})}function l(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_check_type",method:"GET"})}function u(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_branch",method:"GET"})}function d(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/create_by_do",method:"GET"})}function f(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/option_alter_status",method:"GET"})}function h(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/review_do",method:"GET"})}function m(t){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/risk/risk_list_do",method:"POST",data:t})}function p(){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},contentType:"multipart/form-data",url:"/taboi/user/situation_do",method:"GET"})}},cLjf:function(t,e,r){t.exports=r("xOJF")},eYH8:function(t,e,r){},hDQ3:function(t,e,r){"use strict";e.__esModule=!0;var a=function(t){return t&&t.__esModule?t:{default:t}}(r("Asgo"));e.default=function(t){return function(){var e=t.apply(this,arguments);return new a.default(function(t,r){return function n(o,i){try{var s=e[o](i),c=s.value}catch(t){return void r(t)}if(!s.done)return a.default.resolve(c).then(function(t){n("next",t)},function(t){n("throw",t)});t(c)}("next")})}}},k4Ii:function(t,e){!function(e){"use strict";var r,a=Object.prototype,n=a.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag",l="object"==typeof t,u=e.regeneratorRuntime;if(u)l&&(t.exports=u);else{(u=e.regeneratorRuntime=l?t.exports:{}).wrap=_;var d="suspendedStart",f="suspendedYield",h="executing",m="completed",p={},b={};b[i]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(E([])));y&&y!==a&&n.call(y,i)&&(b=y);var v=w.prototype=O.prototype=Object.create(b);j.prototype=v.constructor=w,w.constructor=j,w[c]=j.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===j||"GeneratorFunction"===(e.displayName||e.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(v),t},u.awrap=function(t){return{__await:t}},T(x.prototype),x.prototype[s]=function(){return this},u.AsyncIterator=x,u.async=function(t,e,r,a){var n=new x(_(t,e,r,a));return u.isGeneratorFunction(e)?n:n.next().then(function(t){return t.done?t.value:n.next()})},T(v),v[c]="Generator",v[i]=function(){return this},v.toString=function(){return"[object Generator]"},u.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var a=e.pop();if(a in t)return r.value=a,r.done=!1,r}return r.done=!0,r}},u.values=E,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function a(a,n){return s.type="throw",s.arg=t,e.next=a,n&&(e.method="next",e.arg=r),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var a=r.completion;if("throw"===a.type){var n=a.arg;S(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,a){return this.delegate={iterator:E(t),resultName:e,nextLoc:a},"next"===this.method&&(this.arg=r),p}}}function _(t,e,r,a){var n=e&&e.prototype instanceof O?e:O,o=Object.create(n.prototype),i=new D(a||[]);return o._invoke=function(t,e,r){var a=d;return function(n,o){if(a===h)throw new Error("Generator is already running");if(a===m){if("throw"===n)throw o;return $()}for(r.method=n,r.arg=o;;){var i=r.delegate;if(i){var s=L(i,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===d)throw a=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=h;var c=k(t,e,r);if("normal"===c.type){if(a=r.done?m:f,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(a=m,r.method="throw",r.arg=c.arg)}}}(t,r,i),o}function k(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function O(){}function j(){}function w(){}function T(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function x(t){var e;this._invoke=function(r,a){function o(){return new Promise(function(e,o){!function e(r,a,o,i){var s=k(t[r],t,a);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?Promise.resolve(l.__await).then(function(t){e("next",t,o,i)},function(t){e("throw",t,o,i)}):Promise.resolve(l).then(function(t){c.value=t,o(c)},i)}i(s.arg)}(r,a,e,o)})}return e=e?e.then(o,o):o()}}function L(t,e){var a=t.iterator[e.method];if(a===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,L(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=k(a,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,p;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function E(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function e(){for(;++a<t.length;)if(n.call(t,a))return e.value=t[a],e.done=!1,e;return e.value=r,e.done=!0,e};return o.next=o}}return{next:$}}function $(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},paYM:function(t,e,r){"use strict";r.r(e);var a=r("cLjf"),n=r.n(a),o=r("hDQ3"),i=r.n(o),s=r("NNB3"),c=r("TRqn"),l=r("zY9C"),u=r("7Qib"),d={components:{Titlename:s.a},name:"hiddenDangerList",data:function(){return{radio1:"2022年06月",addShow:!0,id:"",rowIndex:-1,dangerList:[],dangerForm:{},dangerRules:{ht_branch:[{required:!0,message:"不能为空",trigger:"blur"}],address:[{required:!0,message:"不能为空",trigger:"blur"}],ht_content:[{required:!0,message:"不能为空",trigger:"blur"}],ht_typesub:[{required:!0,message:"不能为空",trigger:"blur"}],DTRisk_bankId:[{required:!0,message:"不能为空",trigger:"blur"}],ht_level:[{required:!0,message:"不能为空",trigger:"blur"}],alter_time:[{required:!0,message:"不能为空",trigger:"blur"}],alter_status:[{required:!0,message:"不能为空",trigger:"blur"}],Review:[{required:!0,message:"不能为空",trigger:"blur"}],duty_officer:[{required:!0,message:"不能为空",trigger:"blur"}]},title:"新增",dialogVisible:!1,BCList:[],JCLBList:[],JCDWList:[{label:"众泰煤焦化",value:0},{label:"上级单位",value:1}],YHBMList:[],YHLXList:[],YHJBList:[],JCBMList:[],llrList:[],statusList:[],YWKSList:[],reboundList:[],ruleForm:{},rules:{check_date:[{required:!0,message:"不能为空",trigger:"blur"}],check_class:[{required:!0,message:"不能为空",trigger:"blur"}],check_main_branch:[{required:!0,message:"不能为空",trigger:"blur"}],check_branch:[{required:!0,message:"不能为空",trigger:"blur"}],check_man:[{required:!0,message:"不能为空",trigger:"blur"}],checktype:[{required:!0,message:"不能为空",trigger:"blur"}]},tableData:[]}},mounted:function(){this.initBC(),this.initJCLB(),this.initYHJB(),this.initYHLX(),this.initReformStatus(),this.initYHBM(),this.initYWKS(),this.initWXY(),this.initDangerRebound(),this.id=this.$route.query.id,null!=this.id&&""!=this.id&&(this.initInfo(),this.addShow=!1)},methods:{initInfo:function(){var t=this;return i()(n.a.mark(function e(){var r,a;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(l.f)(t.id);case 2:1==(r=e.sent).data.ok&&(t.ruleForm=r.data.data,t.changeJCDW(r.data.data.check_main_branch),a=Object(u.c)(r.data.data),t.tableData.push(a));case 4:case"end":return e.stop()}},e,t)}))()},initDangerRebound:function(){var t=this;Object(l.h)().then(function(e){1==e.data.ok?t.reboundList=e.data.data:t.$message({type:"error",message:e.data.msg,duration:3e3})})},submitDanger:function(t){var e=this;this.$refs[t].validate(function(t){if(!t)return console.log("error submit!!"),!1;if("新增"==e.title)e.tableData.push(e.dangerForm);else{var r=e.tableData;r.splice(e.rowIndex,1,e.dangerForm),e.tableData=r}e.dialogVisible=!1})},deleteDanger:function(t,e){var r=this;this.$confirm("确认删除吗","提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(function(){for(var t=Object(u.c)(r.tableData),a=[],n=0;n<t.length;n++)n==e||a.push(t[n]);r.tableData=Object(u.c)(a)}).catch(function(t){})},editDanger:function(t,e){this.dangerForm=Object(u.c)(t),this.rowIndex=e,this.dialogVisible=!0,this.title="编辑"},addDanger:function(){this.dangerForm={},this.title="新增",this.dialogVisible=!0},changeWxy:function(t){for(var e=0;e<this.dangerList.length;e++)t==this.dangerList[e].id&&(this.dangerForm.DTRisk_level=this.dangerList[e].mriskLevel,this.dangerForm.dangerousSource=this.dangerList[e].mriskPoint)},initWXY:function(){var t=this;Object(c.g)({page:1,limit:1e3}).then(function(e){1==e.data.ok?t.dangerList=e.data.data.items:t.$message({type:"error",message:e.data.msg,duration:3e3})})},initYWKS:function(){var t=this;Object(c.k)().then(function(e){1==e.data.ok?t.YWKSList=e.data.data:t.$message({type:"error",message:e.data.msg,duration:3e3})})},initYHBM:function(){var t=this;Object(c.h)().then(function(e){1==e.data.ok?t.YHBMList=e.data.data:t.$message({type:"error",message:e.data.msg,duration:3e3})})},initLlr:function(){var t=this;Object(c.d)().then(function(e){1==e.data.ok?t.llrList=e.data.data:t.$message({type:"error",message:e.data.msg,duration:3e3})})},initReformStatus:function(){var t=this;Object(c.e)().then(function(e){1==e.data.ok?t.statusList=e.data.data:t.$message({type:"error",message:e.data.msg,duration:3e3})})},changeJCDW:function(t){var e=this;Object(c.b)(t).then(function(t){1==t.data.ok?e.JCBMList=t.data.data:e.$message({type:"error",message:t.data.msg,duration:3e3})})},initYHLX:function(){var t=this;Object(c.j)().then(function(e){1==e.data.ok?t.YHLXList=e.data.data:t.$message({type:"error",message:e.data.msg,duration:3e3})})},initYHJB:function(){var t=this;Object(c.i)().then(function(e){1==e.data.ok?t.YHJBList=e.data.data:t.$message({type:"error",message:e.data.msg,duration:3e3})})},initBC:function(){var t=this;Object(c.a)().then(function(e){1==e.data.ok?t.BCList=e.data.data:t.$message({type:"error",message:e.data.msg,duration:3e3})})},initJCLB:function(){var t=this;Object(c.c)().then(function(e){1==e.data.ok?t.JCLBList=e.data.data:t.$message({type:"error",message:e.data.msg,duration:3e3})})},returnIndex:function(){this.$router.push({path:"/hiddenDangerRegistration"})},submitForm:function(t){var e=this;this.$refs[t].validate(function(t){if(!t)return console.log("error submit!!"),!1;if(null!=e.tableData&&0!=e.tableData.length||e.$message({type:"error",message:"请添加隐患",duration:2e3}),e.ruleForm.items=e.tableData,e.addShow)Object(l.j)(e.ruleForm).then(function(t){1==t.data.ok?(e.$message({type:"success",message:"新增成功",duration:3e3}),e.$router.push({path:"/hiddenDangerRegistration"})):e.$message({type:"error",message:t.data.msg,duration:3e3})});else{var r=Object(u.c)(e.ruleForm),a=Object(u.c)(e.tableData[0]);r.ht_branch=a.ht_branch,r.address=a.address,r.ht_content=a.ht_content,r.measure=a.measure,r.ht_typesub=a.ht_typesub,r.DTRisk_bankId=a.DTRisk_bankId,r.DTRisk_level=a.mriskLevel,r.dangerousSource=a.mriskPoint,r.ht_level=a.ht_level,r.alter_time=a.alter_time,r.duty_officer=a.duty_officer,r.alter_status=a.alter_status,r.Review=a.Review,r.repeatId=a.repeatId,Object(l.e)(r).then(function(t){1==t.data.ok?(e.$message({type:"success",message:"编辑成功",duration:3e3}),e.$router.push({path:"/hiddenDangerRegistration"})):e.$message({type:"error",message:t.data.msg,duration:3e3})})}})},jump:function(){this.$router.push({path:"/DualbaseLost"})}}},f=(r("67O2"),r("ZrdR")),h=Object(f.a)(d,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"app-container"},[r("div",{},[r("Titlename",{attrs:{title:"双基考核"}}),t._v(" "),r("div",{staticClass:"whole-form"},[r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",staticStyle:{margin:"0 10% 0 10%"},attrs:{model:t.ruleForm,rules:t.rules,"label-width":"150px"}},[r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"年月",prop:"check_date"}},[r("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.ruleForm.check_date,callback:function(e){t.$set(t.ruleForm,"check_date",e)},expression:"ruleForm.check_date"}})],1)],1),t._v(" "),r("el-col",{attrs:{span:9,offset:3}},[r("el-form-item",{attrs:{label:"考核对象",prop:"check_class"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择"},model:{value:t.ruleForm.check_class,callback:function(e){t.$set(t.ruleForm,"check_class",e)},expression:"ruleForm.check_class"}},t._l(t.BCList,function(t){return r("el-option",{key:t.value,attrs:{label:t.value,value:t.value}})}))],1)],1),t._v(" "),r("el-col",{attrs:{span:3}},[r("span",{staticStyle:{"font-size":"14px","text-align":"center",padding:"0px 8px","line-height":"36px"}},[t._v("查看双击考核标准")])])],1),t._v(" "),r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"扣分",prop:"check_man"}},[r("el-input",{model:{value:t.ruleForm.check_man,callback:function(e){t.$set(t.ruleForm,"check_man",e)},expression:"ruleForm.check_man"}})],1)],1)],1),t._v(" "),r("el-row",[r("el-col",{attrs:{span:21}},[r("el-form-item",{attrs:{label:"双击考核标准"}},[r("el-input",{staticClass:"multiline",attrs:{rows:"3",type:"textarea"},model:{value:t.ruleForm.route,callback:function(e){t.$set(t.ruleForm,"route",e)},expression:"ruleForm.route"}})],1)],1)],1),t._v(" "),r("el-row",[r("el-col",{attrs:{span:21}},[r("el-form-item",{attrs:{label:"扣分原因"}},[r("el-input",{staticClass:"multiline",attrs:{rows:"3",type:"textarea"},model:{value:t.ruleForm.route,callback:function(e){t.$set(t.ruleForm,"route",e)},expression:"ruleForm.route"}})],1)],1)],1),t._v(" "),t.addShow?r("el-row",{staticClass:"title-center",staticStyle:{"margin-bottom":"20px"}},[r("el-col",{attrs:{span:14}},[r("el-radio-group",{model:{value:t.radio1,callback:function(e){t.radio1=e},expression:"radio1"}},[r("el-radio-button",{attrs:{label:"2022年06月"}},[t._v("2022年06月")]),t._v(" "),r("el-radio-button",{attrs:{label:"2022年05月"}},[t._v("2022年05月")]),t._v(" "),r("el-radio-button",{attrs:{label:"2022年04月"}},[t._v("2022年04月")]),t._v(" "),r("el-radio-button",{attrs:{label:"2022年03月"}},[t._v("2022年03月")]),t._v(" "),r("el-radio-button",{attrs:{label:"2022年02月"}},[t._v("2022年02月")]),t._v(" "),r("el-radio-button",{attrs:{label:"2022年01月"}},[t._v("2022年01月")])],1)],1),t._v(" "),r("el-col",{attrs:{span:6}},[r("el-row",[r("el-col",{attrs:{span:6}},[r("span",{staticStyle:{"font-size":"14px","font-weight":"bold","line-height":"36px",color:"#606266"}},[t._v("请选择年月")])]),t._v(" "),r("el-col",{attrs:{span:18}},[r("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.ruleForm.check_date,callback:function(e){t.$set(t.ruleForm,"check_date",e)},expression:"ruleForm.check_date"}})],1)],1)],1),t._v(" "),r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:4}},[r("el-button",{staticClass:"btns",attrs:{type:"primary",size:"small"},on:{click:t.addDanger}},[t._v("编辑")]),t._v(" "),r("el-button",{staticClass:"btns",attrs:{type:"primary",size:"small"},on:{click:function(e){t.jump()}}},[t._v("本单位结果")])],1)],1):t._e(),t._v(" "),r("el-row",[r("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData}},[r("el-table-column",{attrs:{type:"index",width:"55",align:"center",label:"序号"}}),t._v(" "),r("el-table-column",{attrs:{prop:"address",align:"center",label:"考核对象"}}),t._v(" "),r("el-table-column",{attrs:{prop:"ht_content",align:"center",label:"双击考核标准"}}),t._v(" "),r("el-table-column",{attrs:{prop:"measure",align:"center",label:"扣分"}}),t._v(" "),r("el-table-column",{attrs:{prop:"ht_typesub",align:"center",label:"扣分原因"}}),t._v(" "),r("el-table-column",{attrs:{prop:"dangerousSource",align:"center",label:"创建日期"}}),t._v(" "),r("el-table-column",{attrs:{prop:"time",label:"操作",align:"center",width:"140"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticStyle:{display:"flex","align-items":"center","flex-direction":"row"}},[r("el-button",{attrs:{size:"mini"},on:{click:function(r){t.editDanger(e.row,e.$index)}}},[t._v("编辑\n                              ")]),t._v(" "),t.addShow?r("el-button",{attrs:{size:"mini"},on:{click:function(r){t.deleteDanger(e.row,e.$index)}}},[t._v("删除\n                              ")]):t._e()],1)]}}])})],1)],1),t._v(" "),r("el-row",{staticStyle:{"margin-top":"20px"}},[r("el-col",{attrs:{span:22}},[r("el-form-item",{staticStyle:{"text-align":"center"}},[r("el-button",{staticClass:"btns",attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("保存")]),t._v(" "),r("el-button",{on:{click:t.returnIndex}},[t._v("关闭")])],1)],1)],1)],1)],1)],1),t._v(" "),r("el-dialog",{attrs:{title:t.title,visible:t.dialogVisible,"close-on-click-modal":!1,width:"40%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[r("el-form",{ref:"form",attrs:{rules:t.dangerRules,model:t.dangerForm,"label-width":"110px"}},[r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"考核对象",prop:"ht_typesub"}},[r("el-input",{model:{value:t.dangerForm.duty_officer,callback:function(e){t.$set(t.dangerForm,"duty_officer",e)},expression:"dangerForm.duty_officer"}})],1)],1),t._v(" "),r("el-col",{attrs:{span:9,offset:4}},[r("el-form-item",{attrs:{label:"扣分",prop:"DTRisk_bankId"}},[r("el-input",{model:{value:t.dangerForm.duty_officer,callback:function(e){t.$set(t.dangerForm,"duty_officer",e)},expression:"dangerForm.duty_officer"}})],1)],1)],1),t._v(" "),r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"创建日期",prop:"alter_time"}},[r("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"选择日期"},model:{value:t.dangerForm.alter_time,callback:function(e){t.$set(t.dangerForm,"alter_time",e)},expression:"dangerForm.alter_time"}})],1)],1),t._v(" "),r("el-col",{attrs:{span:9,offset:4}})],1),t._v(" "),r("el-row",[r("el-col",{attrs:{span:9}},[r("el-form-item",{attrs:{label:"双基考核标准",prop:"ht_content"}},[r("el-input",{staticClass:"multiline",attrs:{rows:"3",type:"textarea"},model:{value:t.dangerForm.ht_content,callback:function(e){t.$set(t.dangerForm,"ht_content",e)},expression:"dangerForm.ht_content"}})],1)],1),t._v(" "),r("el-col",{attrs:{span:9,offset:4}},[r("el-form-item",{attrs:{label:"扣分原因",prop:"measure"}},[r("el-input",{staticClass:"multiline",attrs:{rows:"3",type:"textarea"},model:{value:t.dangerForm.measure,callback:function(e){t.$set(t.dangerForm,"measure",e)},expression:"dangerForm.measure"}})],1)],1)],1),t._v(" "),r("el-row",[r("el-col",{attrs:{span:22}},[r("el-form-item",{staticStyle:{"text-align":"center"}},[r("el-button",{staticClass:"btns",attrs:{type:"primary"},on:{click:function(e){t.submitDanger("form")}}},[t._v("保存")]),t._v(" "),r("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("关闭")])],1)],1)],1)],1)],1)],1)},[],!1,null,"bba5b15c",null);h.options.__file="Dualbase.vue";e.default=h.exports},xOJF:function(t,e,r){var a=function(){return this}()||Function("return this")(),n=a.regeneratorRuntime&&Object.getOwnPropertyNames(a).indexOf("regeneratorRuntime")>=0,o=n&&a.regeneratorRuntime;if(a.regeneratorRuntime=void 0,t.exports=r("k4Ii"),n)a.regeneratorRuntime=o;else try{delete a.regeneratorRuntime}catch(t){a.regeneratorRuntime=void 0}},zY9C:function(t,e,r){"use strict";r.d(e,"g",function(){return o}),r.d(e,"j",function(){return i}),r.d(e,"h",function(){return s}),r.d(e,"e",function(){return c}),r.d(e,"i",function(){return l}),r.d(e,"c",function(){return u}),r.d(e,"f",function(){return d}),r.d(e,"a",function(){return f}),r.d(e,"d",function(){return h}),r.d(e,"b",function(){return m});var a=r("t3Un"),n=r("Ja5N");function o(t){var e=[];return null!=t.form.jyfsId&&""!=t.form.jyfsId&&e.push({field:"jyfsId",value:t.form.jyfsId,type:"OPT"}),null!=t.form.number&&""!=t.form.number&&e.push({field:"number",value:t.form.number,type:"TXT"}),null!=t.form.check_main_branch&&""!=t.form.check_main_branch&&e.push({field:"check_main_branch",value:t.form.check_main_branch,type:"OPT"}),null!=t.form.check_branch&&""!=t.form.check_branch&&e.push({field:"check_branch",value:t.form.check_branch,type:"OPT"}),null!=t.form.check_man&&""!=t.form.check_man&&e.push({field:"check_man",value:t.form.check_man,type:"TXT"}),null!=t.form.ht_community&&""!=t.form.ht_community&&e.push({field:"ht_community",value:t.form.ht_community,type:"TXT"}),null!=t.form.ht_branch&&""!=t.form.ht_branch&&e.push({field:"ht_branch",value:t.form.ht_branch,type:"OPT"}),null!=t.form.ht_typesub&&""!=t.form.ht_typesub&&e.push({field:"ht_typesub",value:t.form.ht_typesub,type:"OPT"}),null!=t.form.ht_level&&""!=t.form.ht_level&&e.push({field:"ht_level",value:t.form.ht_level,type:"OPT"}),null!=t.form.checktype&&""!=t.form.checktype&&e.push({field:"checktype",value:t.form.checktype,type:"OPT"}),null!=t.form.address&&""!=t.form.address&&e.push({field:"address",value:t.form.address,type:"TXT"}),null!=t.form.ht_content&&""!=t.form.ht_content&&e.push({field:"ht_content",value:t.form.ht_content,type:"TXT"}),null!=t.form.check_class&&""!=t.form.check_class&&e.push({field:"check_class",value:t.form.check_class,type:"OPT"}),null!=t.form.DTRisk_bankId&&e.push({field:"DTRisk_bankId",value:t.form.DTRisk_bankId,type:"OPT"}),null!=t.form.createBy&&""!=t.form.createBy&&e.push({field:"Created_by",value:t.form.createBy,type:"OPT"}),null!=t.form.check_dateStart&&""!=t.form.check_dateStart&&null!=t.form.check_dateEnd&&""!=t.form.check_dateEnd&&e.push({field:"check_date",value:t.form.check_dateStart+"至"+t.form.check_dateEnd,type:"DAT"}),null!=t.form.alter_timeStart&&""!=t.form.alter_timeStart&&null!=t.form.alter_timeEnd&&""!=t.form.alter_timeEnd&&e.push({field:"alter_time",value:t.form.alter_timeStart+"至"+t.form.alter_timeEnd,type:"DAT"}),t.query_condition=e,Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/register_list",contentType:"application/json",method:"POST",data:t})}function i(t){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/save_do",contentType:"application/json",method:"POST",data:t})}function s(t){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/danger_rebound",contentType:"application/json",method:"POST",data:t})}function c(t){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/edit_do",contentType:"application/json",method:"POST",data:t})}function l(t){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/next_step_do",contentType:"application/json",method:"POST",data:t})}function u(t){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/del_do?id="+t,contentType:"application/json",method:"POST"})}function d(t){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/danger/danger_info?id="+t,contentType:"application/json",method:"POST"})}function f(t){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/excel/danger_export_do",method:"POST",responseType:"arraybuffer",data:t})}function h(t){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/download/danger_template",method:"GET",contentType:"multipart/form-data",responseType:"blob",params:t||{}})}function m(t){return Object(a.a)({headers:{token:Object(n.a)().token,verify:Object(n.a)().verify},url:"/taboi/excel/danger_import_do",contentType:"multipart/form-data",method:"POST",data:t})}}}]);