Your Name
2022-03-25 6cd2002bb0fe95c69d894d6c1bbbe152b747b786
1
(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-b7b4"],{ICZW:function(t,e,n){"use strict";n.r(e);var r=n("cLjf"),o=n.n(r),a=n("hDQ3"),i=n.n(a),c=n("sZnh"),u={props:["basicInformation"],name:"index",data:function(){return{currentPage:0,pageSize:1e3,tasksecurity:[],safetyActionData:[]}},methods:{getSafeTyAction:function(){var t=this;return i()(o.a.mark(function e(){var n,r;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(n={}).pageIndex=t.currentPage,n.pageSize=t.pageSize,n.type="动火作业负责检查项",t.safetyActionData=[],t.tasksecurity=[],e.next=8,Object(c.g)(n);case 8:"200"===(r=e.sent).data.code?(t.safetyActionData=r.data.result,t.tasksecurity=t.safetyActionData.map(function(e){return{id:e.id,taskcode:t.basicInformation.code,content:e.content,checked:e.check,num:e.number,confirmedby:"test",checktype:e.checktype}})):t.$message({message:r.data.message,type:"warning"});case 10:case"end":return e.stop()}},e,t)}))()},getConstructionAction:function(){var t=this;return i()(o.a.mark(function e(){var n,r;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(n={}).pageIndex=t.currentPage,n.pageSize=t.pageSize,n.type="施工单位负责检查项",t.safetyActionData=[],t.tasksecurity=[],e.next=8,Object(c.g)(n);case 8:"200"===(r=e.sent).data.code?(t.safetyActionData=r.data.result,t.tasksecurity=t.safetyActionData.map(function(e){return{id:e.id,taskcode:t.basicInformation.code,content:e.content,checked:e.check,num:e.number,confirmedby:"test",checktype:e.checktype}})):t.$message({message:r.data.message,type:"warning"});case 10:case"end":return e.stop()}},e,t)}))()}}},s=(n("tM2b"),n("ZrdR")),h=Object(s.a)(u,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tasksecurity,border:"",fit:"","highlight-current-row":"","header-cell-style":{"text-align":"center"}}},[n("el-table-column",{attrs:{type:"index",label:"序号",align:"center",width:"60"}}),t._v(" "),n("el-table-column",{attrs:{prop:"content",label:"安全措施",align:"left"},scopedSlots:t._u([{key:"default",fn:function(e){return["判断"===e.row.checktype?n("div",[t._v("\n                    "+t._s(e.row.content)+"\n                ")]):t._e(),t._v(" "),"填空"===e.row.checktype?n("div",[n("span",[t._v(t._s(e.row.content.split("_")[0]))]),t._v(" "),n("el-input",{staticStyle:{width:"50px"},model:{value:e.row.num,callback:function(n){t.$set(e.row,"num",n)},expression:"scope.row.num"}}),t._v(" "),n("span",[t._v(t._s(e.row.content.split("_")[1]))])],1):t._e()]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"checked",label:"选项",align:"center",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-radio",{attrs:{label:1},model:{value:e.row.checked,callback:function(n){t.$set(e.row,"checked",n)},expression:"scope.row.checked"}},[t._v("是")]),t._v(" "),n("el-radio",{attrs:{label:0},model:{value:e.row.checked,callback:function(n){t.$set(e.row,"checked",n)},expression:"scope.row.checked"}},[t._v("否")]),t._v(" "),n("el-radio",{attrs:{label:2},model:{value:e.row.checked,callback:function(n){t.$set(e.row,"checked",n)},expression:"scope.row.checked"}},[t._v("不涉及")])]}}])})],1)],1)},[],!1,null,"7b16ea91",null);h.options.__file="index.vue";e.default=h.exports},PUO8:function(t,e,n){},cLjf:function(t,e,n){t.exports=n("xOJF")},hDQ3:function(t,e,n){"use strict";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n("Asgo"));e.default=function(t){return function(){var e=t.apply(this,arguments);return new r.default(function(t,n){return function o(a,i){try{var c=e[a](i),u=c.value}catch(t){return void n(t)}if(!c.done)return r.default.resolve(u).then(function(t){o("next",t)},function(t){o("throw",t)});t(u)}("next")})}}},k4Ii:function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",s="object"==typeof t,h=e.regeneratorRuntime;if(h)s&&(t.exports=h);else{(h=e.regeneratorRuntime=s?t.exports:{}).wrap=w;var f="suspendedStart",l="suspendedYield",d="executing",p="completed",y={},v={};v[i]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(S([])));g&&g!==r&&o.call(g,i)&&(v=g);var b=x.prototype=O.prototype=Object.create(v);j.prototype=b.constructor=x,x.constructor=j,x[u]=j.displayName="GeneratorFunction",h.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===j||"GeneratorFunction"===(e.displayName||e.name))},h.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(b),t},h.awrap=function(t){return{__await:t}},_(A.prototype),A.prototype[c]=function(){return this},h.AsyncIterator=A,h.async=function(t,e,n,r){var o=new A(w(t,e,n,r));return h.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},_(b),b[u]="Generator",b[i]=function(){return this},b.toString=function(){return"[object Generator]"},h.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},h.values=S,q.prototype={constructor:q,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(z),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},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 r(r,o){return c.type="throw",c.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):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),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),z(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;z(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),y}}}function w(t,e,n,r){var o=e&&e.prototype instanceof O?e:O,a=Object.create(o.prototype),i=new q(r||[]);return a._invoke=function(t,e,n){var r=f;return function(o,a){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===o)throw a;return P()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var c=L(i,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var u=k(t,e,n);if("normal"===u.type){if(r=n.done?p:l,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=p,n.method="throw",n.arg=u.arg)}}}(t,n,i),a}function k(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function O(){}function j(){}function x(){}function _(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function A(t){var e;this._invoke=function(n,r){function a(){return new Promise(function(e,a){!function e(n,r,a,i){var c=k(t[n],t,r);if("throw"!==c.type){var u=c.arg,s=u.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,a,i)},function(t){e("throw",t,a,i)}):Promise.resolve(s).then(function(t){u.value=t,a(u)},i)}i(c.arg)}(n,r,e,a)})}return e=e?e.then(a,a):a()}}function L(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,L(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=k(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,y):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function E(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 z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function q(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function S(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 r=-1,a=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return a.next=a}}return{next:P}}function P(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},sZnh:function(t,e,n){"use strict";n.d(e,"h",function(){return a}),n.d(e,"j",function(){return i}),n.d(e,"a",function(){return c}),n.d(e,"b",function(){return u}),n.d(e,"p",function(){return s}),n.d(e,"q",function(){return h}),n.d(e,"g",function(){return f}),n.d(e,"f",function(){return l}),n.d(e,"e",function(){return d}),n.d(e,"o",function(){return p}),n.d(e,"n",function(){return y}),n.d(e,"k",function(){return v}),n.d(e,"i",function(){return m}),n.d(e,"m",function(){return g}),n.d(e,"c",function(){return b}),n.d(e,"d",function(){return w}),n.d(e,"l",function(){return k});var r=n("X4fA"),o=n("t3Un");function a(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/info/review",method:"get",params:t||{}})}function i(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/info/viewable",method:"get",params:t||{}})}function c(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/create",method:"post",data:t})}function u(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/create/second",method:"post",data:t})}function s(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/update",method:"post",data:t})}function h(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/update/second",method:"post",data:t})}function f(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/getSelfCheck",method:"get",params:t||{}})}function l(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/getFiles",method:"post",params:t||{}})}function d(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/deleteFile",method:"post",params:t||{}})}function p(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/submit",method:"post",params:t||{}})}function y(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/construction/review",method:"post",data:t})}function v(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/part/review",method:"post",data:t})}function m(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/involve/review",method:"post",data:t})}function g(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/security/review",method:"post",data:t})}function b(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/changeSupervisor",method:"post",data:t})}function w(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/changeWorker",method:"post",data:t})}function k(t){return Object(o.a)({headers:{Authorization:Object(r.a)()},url:"https://sinanoaq.cn:8100/task/workCert-regenerate?code="+t,method:"get"})}},tM2b:function(t,e,n){"use strict";var r=n("PUO8");n.n(r).a},xOJF:function(t,e,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,a=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n("k4Ii"),o)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}}}]);