flx:h5人员录入新增考勤组
This commit is contained in:
parent
e2b760ef33
commit
7073b3b28b
@ -1,22 +1,24 @@
|
||||
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>人员录入</title><link href=/doc/h5/static/css/app.65aa7064852f35ebb1a4e087de7565b6.css rel=stylesheet></head><body><div id=app></div><script>var host = window.location.origin;
|
||||
var rootURL = host + "/";
|
||||
// var rootURL = "http://192.168.34.221:28888/";
|
||||
// var rootURL = "http://192.168.34.221:9111/"; //本地
|
||||
// var rootURL = "http://42.180.188.17:11211/"; //测试
|
||||
var locationURL = window.location.href;
|
||||
// ||
|
||||
// host.indexOf("192.168") != -1
|
||||
if (
|
||||
host.indexOf("localhost") != -1 ||
|
||||
host.indexOf("10.0") != -1 ||
|
||||
host.indexOf("127.0") != -1
|
||||
) {
|
||||
// rootURL = "http://183.95.84.34:8081/"; //恩施
|
||||
// rootURL = "http://192.168.34.125:6023/" //本地
|
||||
// rootURL = "http://192.168.34.221:9111/" //本地
|
||||
rootURL = "http://42.180.188.17:11211/" //测试环境
|
||||
// rootURL = "http://182.90.224.237:51234/" //雄远程
|
||||
// rootURL = "http://192.168.34.155:19111/" //本地
|
||||
// locationURL=rootURL+'doc/h5Entry/index.html?userId=4&projectSn=a2ef0238b59146aa814b93f47710dbf2#/'
|
||||
locationURL=rootURL+'doc/h5Entry/index.html?userId=1779721457571291137&projectSn=BD3137498CB84BF0969979E0342CDBCA&educationId=1666278624304615426#/'
|
||||
}</script><script type=text/javascript src=/doc/h5/static/js/manifest.52d3b6ec1d2a4df7c917.js></script><script type=text/javascript src=/doc/h5/static/js/vendor.08fb8d13d88c906352f9.js></script><script type=text/javascript src=/doc/h5/static/js/app.32b25aec93f7512b6eff.js></script></body></html>
|
||||
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>人员录入</title><link href=/doc/h5Entry/static/css/app.6f1f86e2d35220ddf43847990261bcb6.css rel=stylesheet></head><body><div id=app></div><script>var host = window.location.origin;
|
||||
var rootURL = host + "/";
|
||||
// var rootURL = "http://192.168.34.221:28888/";
|
||||
// var rootURL = "http://192.168.34.221:9111/"; //本地
|
||||
// var rootURL = "http://42.180.188.17:11211/"; //测试
|
||||
var locationURL = window.location.href;
|
||||
// ||
|
||||
// host.indexOf("192.168") != -1
|
||||
if (
|
||||
host.indexOf("localhost") != -1 ||
|
||||
host.indexOf("10.0") != -1 ||
|
||||
host.indexOf("127.0") != -1
|
||||
) {
|
||||
// rootURL = "http://183.95.84.34:8081/"; //恩施
|
||||
// rootURL = "http://192.168.34.125:6023/" //本地
|
||||
// rootURL = "http://192.168.34.221:9111/" //本地
|
||||
// rootURL = "http://42.180.188.17:11211/" //测试环境
|
||||
rootURL = "http://jxj.zhgdyun.com:9500/" //测试环境
|
||||
|
||||
// rootURL = "http://182.90.224.237:51234/" //雄远程
|
||||
// rootURL = "http://192.168.34.155:19111/" //本地
|
||||
// locationURL=rootURL+'doc/h5Entry/index.html?userId=4&projectSn=a2ef0238b59146aa814b93f47710dbf2#/'
|
||||
locationURL = rootURL + 'doc/h5Entry/index.html?userId=1779721457571291137&projectSn=BD3137498CB84BF0969979E0342CDBCA&educationId=1666278624304615426#/'
|
||||
}</script><script type=text/javascript src=/doc/h5Entry/static/js/manifest.af7fe646fc40a93364d3.js></script><script type=text/javascript src=/doc/h5Entry/static/js/vendor.08fb8d13d88c906352f9.js></script><script type=text/javascript src=/doc/h5Entry/static/js/app.cbd48d14cc99d1dcbb34.js></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,2 +0,0 @@
|
||||
webpackJsonp([1],{"2NXm":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mvHQ"),o=n.n(i),a=n("woOf"),r=n.n(a),s=n("bOdI"),c=n.n(s),l={data:function(){return{userData:{}}},created:function(){this.httpUrl=rootURL;var t=locationURL,e=t.split("?")[1];console.log(t);var n={};e.split("&").forEach(function(t,e){if(console.log(t),2==e){var i=t.split("=")[0],o=t.split("=")[1].split("#")[0],a=c()({},i,o);r()(n,a)}else{var s=t.split("=")[0],l=t.split("=")[1],u=c()({},s,l);r()(n,u)}}),console.log(n,777888),localStorage.setItem("userData",o()(n)),this.userData=n},methods:{memberRegister:function(){this.$router.push({path:"/infoInput"})},educationEnter:function(){window.open(window.location.origin+"#/authentication?eduId="+this.userData.educationId+"&projectSn="+this.userData.projectSn)},entryCodeEnter:function(){window.open(window.location.origin+"#/entryCode?projectSn="+this.userData.projectSn)}}},u={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"home"},[n("div",{staticClass:"content-part"},[n("div",{staticClass:"part-title"},[t._v("人员登记考试系统")]),t._v(" "),n("div",{staticClass:"part-alarm"},[t._v("请先进行人员登记,再进行考试")]),t._v(" "),n("div",{staticClass:"btn member",on:{click:t.memberRegister}},[t._v("人员登记")]),t._v(" "),n("div",{staticClass:"btn education",on:{click:t.educationEnter}},[t._v("教育培训")]),t._v(" "),n("div",{staticClass:"btn entry",on:{click:t.entryCodeEnter}},[t._v("准入二维码")])])])},staticRenderFns:[]};var d=n("VU/8")(l,u,!1,function(t){n("hxHY")},"data-v-aafdc6ca",null);e.default=d.exports},"9bBU":function(t,e,n){n("mClu");var i=n("FeBl").Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},C4MV:function(t,e,n){t.exports={default:n("9bBU"),__esModule:!0}},bOdI:function(t,e,n){"use strict";e.__esModule=!0;var i,o=n("C4MV"),a=(i=o)&&i.__esModule?i:{default:i};e.default=function(t,e,n){return e in t?(0,a.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},hxHY:function(t,e){},mClu:function(t,e,n){var i=n("kM2E");i(i.S+i.F*!n("+E39"),"Object",{defineProperty:n("evD5").f})}});
|
||||
//# sourceMappingURL=1.75a3aa4283927f4b1b27.js.map
|
||||
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@
|
||||
webpackJsonp([2],{"9bBU":function(t,a,s){s("mClu");var e=s("FeBl").Object;t.exports=function(t,a,s){return e.defineProperty(t,a,s)}},A4ZW:function(t,a,s){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=s("woOf"),i=s.n(e),r=s("bOdI"),n=s.n(r),o={data:function(){return{formData:{laboratoryName:"",laboratoryDirector:"",sampleName:"",concreteLabel:"",putStorageTime:"",standardCycleType:1,curingPeriod:""},userId:"",detailId:""}},created:function(){this.httpUrl=rootURL;var t={};window.location.href.split("?")[1].split("&").forEach(function(a,s){if(1==s){var e=a.split("=")[0],r=a.split("=")[1].split("#")[0],o=n()({},e,r);i()(t,o)}else{var l=a.split("=")[0],d=a.split("=")[1],c=n()({},l,d);i()(t,c)}}),this.userId=t.userId,this.detailId=t.id,console.log(t),this.getToken()},methods:{getToken:function(){var t=this,a=this.httpUrl+"xmgl/base/getToken",s={userId:this.userId};this.$axios.post(a,s).then(function(a){200==a.data.code?(t.token="Bearer "+a.data.result.token,t.getDetailData()):t.$toast(a.message)})},getDetailData:function(){var t=this,a=this.httpUrl+"xmgl/massReboundSampleStorageRecord/queryById",s={id:this.detailId};this.$axios.post(a,s,{headers:{Authorization:this.token}}).then(function(a){200==a.data.code?(console.log(a),t.formData=a.data.result):t.$toast(a.data.message)})}}},l={render:function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"pages"},[s("div",{staticClass:"title"},[t._v("\n 试块详情\n ")]),t._v(" "),s("div",{staticClass:"content"},[s("div",{staticClass:"form_box"},[s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 实验室:\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(t.formData.laboratoryName)+"\n ")])]),t._v(" "),s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 实验负责人:\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(t.formData.laboratoryDirector)+"\n ")])]),t._v(" "),s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 试块/组名称:\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(t.formData.sampleName)+"\n ")])]),t._v(" "),s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 混凝土标号:\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(t.formData.concreteLabel)+"\n ")])]),t._v(" "),s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 入库时间:\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(t.formData.putStorageTime)+"\n ")])]),t._v(" "),s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 是否需要按照标准28天养护周期:\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(1==t.formData.standardCycleType?"否":2==t.formData.standardCycleType?"是":"")+"\n ")])]),t._v(" "),1==t.formData.standardCycleType?s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 养护周期(天):\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(t.formData.curingPeriod)+"\n ")])]):t._e()])])])},staticRenderFns:[]};var d=s("VU/8")(o,l,!1,function(t){s("JsSh")},"data-v-60bdc46d",null);a.default=d.exports},C4MV:function(t,a,s){t.exports={default:s("9bBU"),__esModule:!0}},JsSh:function(t,a){},bOdI:function(t,a,s){"use strict";a.__esModule=!0;var e,i=s("C4MV"),r=(e=i)&&e.__esModule?e:{default:e};a.default=function(t,a,s){return a in t?(0,r.default)(t,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[a]=s,t}},mClu:function(t,a,s){var e=s("kM2E");e(e.S+e.F*!s("+E39"),"Object",{defineProperty:s("evD5").f})}});
|
||||
//# sourceMappingURL=2.b40a0ecff2f58dd786e6.js.map
|
||||
webpackJsonp([1],{"9bBU":function(t,a,s){s("mClu");var e=s("FeBl").Object;t.exports=function(t,a,s){return e.defineProperty(t,a,s)}},A4ZW:function(t,a,s){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=s("woOf"),i=s.n(e),r=s("bOdI"),n=s.n(r),o={data:function(){return{formData:{laboratoryName:"",laboratoryDirector:"",sampleName:"",concreteLabel:"",putStorageTime:"",standardCycleType:1,curingPeriod:""},userId:"",detailId:""}},created:function(){this.httpUrl=rootURL;var t={};window.location.href.split("?")[1].split("&").forEach(function(a,s){if(1==s){var e=a.split("=")[0],r=a.split("=")[1].split("#")[0],o=n()({},e,r);i()(t,o)}else{var l=a.split("=")[0],d=a.split("=")[1],c=n()({},l,d);i()(t,c)}}),this.userId=t.userId,this.detailId=t.id,console.log(t),this.getToken()},methods:{getToken:function(){var t=this,a=this.httpUrl+"xmgl/base/getToken",s={userId:this.userId};this.$axios.post(a,s).then(function(a){200==a.data.code?(t.token="Bearer "+a.data.result.token,t.getDetailData()):t.$toast(a.message)})},getDetailData:function(){var t=this,a=this.httpUrl+"xmgl/massReboundSampleStorageRecord/queryById",s={id:this.detailId};this.$axios.post(a,s,{headers:{Authorization:this.token}}).then(function(a){200==a.data.code?(console.log(a),t.formData=a.data.result):t.$toast(a.data.message)})}}},l={render:function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"pages"},[s("div",{staticClass:"title"},[t._v("\n 试块详情\n ")]),t._v(" "),s("div",{staticClass:"content"},[s("div",{staticClass:"form_box"},[s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 实验室:\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(t.formData.laboratoryName)+"\n ")])]),t._v(" "),s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 实验负责人:\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(t.formData.laboratoryDirector)+"\n ")])]),t._v(" "),s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 试块/组名称:\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(t.formData.sampleName)+"\n ")])]),t._v(" "),s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 混凝土标号:\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(t.formData.concreteLabel)+"\n ")])]),t._v(" "),s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 入库时间:\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(t.formData.putStorageTime)+"\n ")])]),t._v(" "),s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 是否需要按照标准28天养护周期:\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(1==t.formData.standardCycleType?"否":2==t.formData.standardCycleType?"是":"")+"\n ")])]),t._v(" "),1==t.formData.standardCycleType?s("div",{staticClass:"form_item"},[s("div",{staticClass:"form_label"},[t._v("\n 养护周期(天):\n ")]),t._v(" "),s("div",{staticClass:"form_input"},[t._v("\n "+t._s(t.formData.curingPeriod)+"\n ")])]):t._e()])])])},staticRenderFns:[]};var d=s("VU/8")(o,l,!1,function(t){s("JsSh")},"data-v-60bdc46d",null);a.default=d.exports},C4MV:function(t,a,s){t.exports={default:s("9bBU"),__esModule:!0}},JsSh:function(t,a){},bOdI:function(t,a,s){"use strict";a.__esModule=!0;var e,i=s("C4MV"),r=(e=i)&&e.__esModule?e:{default:e};a.default=function(t,a,s){return a in t?(0,r.default)(t,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[a]=s,t}},mClu:function(t,a,s){var e=s("kM2E");e(e.S+e.F*!s("+E39"),"Object",{defineProperty:s("evD5").f})}});
|
||||
//# sourceMappingURL=1.ccd257de0f1c95c9724a.js.map
|
||||
File diff suppressed because one or more lines are too long
2
public/doc/h5/static/js/2.bb4ba581dde97a93f1c2.js
Normal file
2
public/doc/h5/static/js/2.bb4ba581dde97a93f1c2.js
Normal file
@ -0,0 +1,2 @@
|
||||
webpackJsonp([2],{"2NXm":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("mvHQ"),o=n.n(i),a=n("woOf"),r=n.n(a),s=n("bOdI"),c=n.n(s),u={data:function(){return{userData:{}}},created:function(){this.httpUrl=rootURL;var t=window.location.href.split("?")[1];console.log(222,window.location);var e={};t.split("&").forEach(function(t,n){if(console.log(t),2==n){var i=t.split("=")[0],o=t.split("=")[1].split("#")[0],a=c()({},i,o);r()(e,a)}else{var s=t.split("=")[0],u=t.split("=")[1],l=c()({},s,u);r()(e,l)}}),console.log(e,777888),localStorage.setItem("userData",o()(e)),this.userData=e},methods:{memberRegister:function(){this.$router.push({path:"/infoInput"})},educationEnter:function(){window.open(window.location.origin+"#/authentication?eduId="+this.userData.educationId+"&projectSn="+this.userData.projectSn)},entryCodeEnter:function(){window.open(window.location.origin+"#/entryCode?projectSn="+this.userData.projectSn)}}},l={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"home"},[n("div",{staticClass:"content-part"},[n("div",{staticClass:"part-title"},[t._v("人员登记考试系统")]),t._v(" "),n("div",{staticClass:"part-alarm"},[t._v("请先进行人员登记,再进行考试")]),t._v(" "),n("div",{staticClass:"btn member",on:{click:t.memberRegister}},[t._v("人员登记")]),t._v(" "),n("div",{staticClass:"btn education",on:{click:t.educationEnter}},[t._v("教育培训")]),t._v(" "),n("div",{staticClass:"btn entry",on:{click:t.entryCodeEnter}},[t._v("准入二维码")])])])},staticRenderFns:[]};var d=n("VU/8")(u,l,!1,function(t){n("tuUy")},"data-v-222e1d39",null);e.default=d.exports},"9bBU":function(t,e,n){n("mClu");var i=n("FeBl").Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},C4MV:function(t,e,n){t.exports={default:n("9bBU"),__esModule:!0}},bOdI:function(t,e,n){"use strict";e.__esModule=!0;var i,o=n("C4MV"),a=(i=o)&&i.__esModule?i:{default:i};e.default=function(t,e,n){return e in t?(0,a.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},mClu:function(t,e,n){var i=n("kM2E");i(i.S+i.F*!n("+E39"),"Object",{defineProperty:n("evD5").f})},tuUy:function(t,e){}});
|
||||
//# sourceMappingURL=2.bb4ba581dde97a93f1c2.js.map
|
||||
1
public/doc/h5/static/js/2.bb4ba581dde97a93f1c2.js.map
Normal file
1
public/doc/h5/static/js/2.bb4ba581dde97a93f1c2.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
public/doc/h5/static/js/3.3254bf313ab8d5e7642d.js
Normal file
2
public/doc/h5/static/js/3.3254bf313ab8d5e7642d.js
Normal file
File diff suppressed because one or more lines are too long
1
public/doc/h5/static/js/3.3254bf313ab8d5e7642d.js.map
Normal file
1
public/doc/h5/static/js/3.3254bf313ab8d5e7642d.js.map
Normal file
File diff suppressed because one or more lines are too long
2
public/doc/h5/static/js/4.c52430ef4f6e74b5b49a.js
Normal file
2
public/doc/h5/static/js/4.c52430ef4f6e74b5b49a.js
Normal file
File diff suppressed because one or more lines are too long
1
public/doc/h5/static/js/4.c52430ef4f6e74b5b49a.js.map
Normal file
1
public/doc/h5/static/js/4.c52430ef4f6e74b5b49a.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,2 +0,0 @@
|
||||
webpackJsonp([7],{"4ml/":function(e,n){},NGWz:function(e,n){!function(e,n){const t=e.documentElement;function i(){const e=Math.min(t.getBoundingClientRect().width,768);t.style.fontSize=e/7.5+"px"}i(),n.addEventListener("resize",i)}(document,window)},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=t("7+uW"),o={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},staticRenderFns:[]};var a=t("VU/8")({name:"App"},o,!1,function(e){t("RvT9")},null,null).exports,l=t("mtWM"),u=t.n(l),r=t("/ocq");i.a.use(r.a);var c=new r.a({routes:[{path:"/",name:"index",component:function(){return Promise.all([t.e(0),t.e(1)]).then(t.bind(null,"2NXm"))},meta:{title:"人员录入"}},{path:"/infoInput",name:"home",component:function(){return Promise.all([t.e(0),t.e(5)]).then(t.bind(null,"vkyI"))},meta:{title:"人员录入"}},{path:"/submitPage",name:"submitPage",component:function(){return Promise.all([t.e(0),t.e(3)]).then(t.bind(null,"SHNa"))},meta:{title:"人员录入"}},{path:"/blockDetails",name:"blockDetails",component:function(){return Promise.all([t.e(0),t.e(2)]).then(t.bind(null,"A4ZW"))},meta:{title:"试块详情"}},{path:"/finish",name:"finish",component:function(){return t.e(4).then(t.bind(null,"66ch"))},meta:{title:""}}]}),m=t("Fd2+"),p=(t("4ml/"),t("NGWz"),t("nrAE")),s=t.n(p);i.a.use(s.a),i.a.use(m.a),i.a.prototype.$axios=u.a,i.a.config.productionTip=!1,c.beforeEach(function(e,n,t){e.meta.title&&(document.title=e.meta.title),t()}),new i.a({el:"#app",router:c,components:{App:a},template:"<App/>"})},RvT9:function(e,n){}},["NHnr"]);
|
||||
//# sourceMappingURL=app.32b25aec93f7512b6eff.js.map
|
||||
File diff suppressed because one or more lines are too long
2
public/doc/h5/static/js/app.cbd48d14cc99d1dcbb34.js
Normal file
2
public/doc/h5/static/js/app.cbd48d14cc99d1dcbb34.js
Normal file
@ -0,0 +1,2 @@
|
||||
webpackJsonp([7],{"4ml/":function(e,n){},NGWz:function(e,n){!function(e,n){const t=e.documentElement;function i(){const e=Math.min(t.getBoundingClientRect().width,768);t.style.fontSize=e/7.5+"px"}i(),n.addEventListener("resize",i)}(document,window)},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=t("7+uW"),o={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},staticRenderFns:[]};var a=t("VU/8")({name:"App"},o,!1,function(e){t("RvT9")},null,null).exports,l=t("mtWM"),u=t.n(l),r=t("/ocq");i.a.use(r.a);var c=new r.a({routes:[{path:"/",name:"index",component:function(){return Promise.all([t.e(0),t.e(2)]).then(t.bind(null,"2NXm"))},meta:{title:"尾矿固废资源综合利用项目"}},{path:"/infoInput",name:"home",component:function(){return Promise.all([t.e(0),t.e(4)]).then(t.bind(null,"vkyI"))},meta:{title:"人员录入"}},{path:"/submitPage",name:"submitPage",component:function(){return Promise.all([t.e(0),t.e(3)]).then(t.bind(null,"SHNa"))},meta:{title:"人员录入"}},{path:"/blockDetails",name:"blockDetails",component:function(){return Promise.all([t.e(0),t.e(1)]).then(t.bind(null,"A4ZW"))},meta:{title:"试块详情"}},{path:"/finish",name:"finish",component:function(){return t.e(5).then(t.bind(null,"66ch"))},meta:{title:""}}]}),m=t("Fd2+"),p=(t("4ml/"),t("NGWz"),t("nrAE")),s=t.n(p);i.a.use(s.a),i.a.use(m.a),i.a.prototype.$axios=u.a,i.a.config.productionTip=!1,c.beforeEach(function(e,n,t){e.meta.title&&(document.title=e.meta.title),t()}),new i.a({el:"#app",router:c,components:{App:a},template:"<App/>"})},RvT9:function(e,n){}},["NHnr"]);
|
||||
//# sourceMappingURL=app.cbd48d14cc99d1dcbb34.js.map
|
||||
1
public/doc/h5/static/js/app.cbd48d14cc99d1dcbb34.js.map
Normal file
1
public/doc/h5/static/js/app.cbd48d14cc99d1dcbb34.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@
|
||||
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={8:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"fbf64467c6abbbc1eb98",1:"75a3aa4283927f4b1b27",2:"b40a0ecff2f58dd786e6",3:"21c1fca60bbc109fdd55",4:"127f93cd6c3a53156c1d",5:"8c9bba5b9663510699cb"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/doc/h5/",o.oe=function(e){throw console.error(e),e}}([]);
|
||||
//# sourceMappingURL=manifest.52d3b6ec1d2a4df7c917.js.map
|
||||
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={8:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"fbf64467c6abbbc1eb98",1:"ccd257de0f1c95c9724a",2:"bb4ba581dde97a93f1c2",3:"3254bf313ab8d5e7642d",4:"c52430ef4f6e74b5b49a",5:"ef7329314c5270b36976"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/doc/h5Entry/",o.oe=function(e){throw console.error(e),e}}([]);
|
||||
//# sourceMappingURL=manifest.af7fe646fc40a93364d3.js.map
|
||||
File diff suppressed because one or more lines are too long
@ -341,4 +341,7 @@ export const getCountWorkerDailyAttendanceByDateApi = data => post('/xmgl/worker
|
||||
// 考勤总览
|
||||
export const getCountWorkerDailyAttendanceStatisticsV2Api = data => post('/xmgl/workerDailyAttendanceStatisticsV2/countWorkerDailyAttendanceStatisticsV2', data);
|
||||
// 查询打卡详情
|
||||
export const getWorkerAttendanceViewDayAttendanceListApi = data => post('/xmgl/workerAttendance/viewDayAttendanceList', data);
|
||||
export const getWorkerAttendanceViewDayAttendanceListApi = data => post('/xmgl/workerAttendance/viewDayAttendanceList', data);
|
||||
|
||||
// 获取广播设备列表
|
||||
export const getSmartBroadcastDevListApi = data => get('/xmgl/smartBroadcastDev/list', data);
|
||||
@ -207,7 +207,7 @@ if (process.env.NODE_ENV == "development") {
|
||||
// // axios.defaults.baseURL = "http://121.37.106.37:9809";
|
||||
// axios.defaults.baseURL = "http://139.9.66.234:20628";
|
||||
// axios.defaults.baseURL = "http://jxj.zhgdyun.com:9500";
|
||||
// axios.defaults.baseURL = "http://jxj.zhgdyun.com:21000";
|
||||
// axios.defaults.baseURL = "http://jxj.zhgdyun.com:21000"; // 潮州
|
||||
|
||||
} else if (process.env.NODE_ENV == "debug") {
|
||||
axios.defaults.baseURL = "https://www.ceshi.com";
|
||||
|
||||
@ -503,6 +503,12 @@ const routes2 = [{
|
||||
component: () =>
|
||||
import ("@/views/projectFront/configManage/smsConfig.vue"),
|
||||
},
|
||||
{
|
||||
path: "/project/configManage/notificationRuleSet",
|
||||
name: "通知规则设置",
|
||||
component: () =>
|
||||
import ("@/views/projectFront/configManage/notificationRuleSet.vue"),
|
||||
},
|
||||
{
|
||||
path: "/project/labor/unidentification",
|
||||
name: "劳务管理_人脸未识别记录",
|
||||
|
||||
@ -47,34 +47,37 @@
|
||||
<!-- <el-button @click="importBtnDialog(1)" size="mini" type="primary" plain
|
||||
>导入清单</el-button
|
||||
> -->
|
||||
<el-upload
|
||||
class="upload-demo"
|
||||
name="excelFile"
|
||||
:action="
|
||||
$http.defaults.baseURL + 'xmgl/riskListLibrary/importExcel'
|
||||
"
|
||||
:on-change="handleChangeE"
|
||||
:on-success="handleSuccessE"
|
||||
:on-error="handleErrorE"
|
||||
:show-file-list="false"
|
||||
:headers="headers"
|
||||
:data="{ sn: $store.state.userInfo.sn }"
|
||||
:limit="1"
|
||||
accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"
|
||||
:auto-upload="true"
|
||||
>
|
||||
<!-- 批量导入 -->
|
||||
<el-button
|
||||
size="mini"
|
||||
type="primary"
|
||||
plain
|
||||
class="border-radius_3"
|
||||
>导入清单</el-button
|
||||
<el-upload
|
||||
class="upload-demo"
|
||||
name="excelFile"
|
||||
:action="
|
||||
$http.defaults.baseURL + 'xmgl/riskListLibrary/importExcel'
|
||||
"
|
||||
:on-change="handleChangeE"
|
||||
:on-success="handleSuccessE"
|
||||
:on-error="handleErrorE"
|
||||
:show-file-list="false"
|
||||
:headers="headers"
|
||||
:data="{ sn: $store.state.userInfo.sn }"
|
||||
:limit="1"
|
||||
accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"
|
||||
:auto-upload="true"
|
||||
>
|
||||
</el-upload>
|
||||
<!-- 批量导入 -->
|
||||
<el-button
|
||||
size="mini"
|
||||
type="primary"
|
||||
plain
|
||||
class="border-radius_3"
|
||||
>导入清单</el-button
|
||||
>
|
||||
</el-upload>
|
||||
<el-button
|
||||
@click="
|
||||
exportBtnTemplate('xmgl/riskListLibrary/exportXls', '导出风险清单库.xlsx')
|
||||
exportBtnTemplate(
|
||||
'xmgl/riskListLibrary/exportXls',
|
||||
'导出风险清单库.xlsx'
|
||||
)
|
||||
"
|
||||
size="mini"
|
||||
type="primary"
|
||||
@ -106,11 +109,17 @@
|
||||
display: inline-block;
|
||||
"
|
||||
class="videoName projectName"
|
||||
:class="{'color_333 font-bold': data.ancestors.split(',').length < 3}"
|
||||
:class="{
|
||||
'color_333 font-bold':
|
||||
data.ancestors.split(',').length < 3,
|
||||
}"
|
||||
:title="data.nodeName"
|
||||
>{{ data.nodeName }}</span
|
||||
>
|
||||
<span class="operateBtns" v-if="data.ancestors.split(',').length > 1">
|
||||
<span
|
||||
class="operateBtns"
|
||||
v-if="data.ancestors.split(',').length > 1"
|
||||
>
|
||||
<i
|
||||
v-if="data.hasChild == 1"
|
||||
style="color: #5181f6"
|
||||
@ -139,10 +148,20 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="sidebar_btn2">
|
||||
<el-button @click="setCheckedNodes" style="color: #B3B3B3" size="mini" type="text" plain
|
||||
<el-button
|
||||
@click="setCheckedNodes"
|
||||
style="color: #b3b3b3"
|
||||
size="mini"
|
||||
type="text"
|
||||
plain
|
||||
>全部展开</el-button
|
||||
>
|
||||
<el-button @click="setCheckedKeys" style="color: #B3B3B3" size="mini" type="text" plain
|
||||
<el-button
|
||||
@click="setCheckedKeys"
|
||||
style="color: #b3b3b3"
|
||||
size="mini"
|
||||
type="text"
|
||||
plain
|
||||
>全部关闭</el-button
|
||||
>
|
||||
</div>
|
||||
@ -161,10 +180,20 @@
|
||||
class="border-radius_3"
|
||||
>导出风险评估项</el-button
|
||||
>
|
||||
<el-button class="border-radius_3" @click="exportBtnTemplateDetail" size="mini" type="primary" plain
|
||||
<el-button
|
||||
class="border-radius_3"
|
||||
@click="exportBtnTemplateDetail"
|
||||
size="mini"
|
||||
type="primary"
|
||||
plain
|
||||
>下载模版</el-button
|
||||
>
|
||||
<el-button class="border-radius_3" @click="importBtnDialog(2)" size="mini" type="primary" plain
|
||||
<el-button
|
||||
class="border-radius_3"
|
||||
@click="importBtnDialog(2)"
|
||||
size="mini"
|
||||
type="primary"
|
||||
plain
|
||||
>导入风险评估项</el-button
|
||||
>
|
||||
</div>
|
||||
@ -173,8 +202,16 @@
|
||||
<el-form-item>
|
||||
<el-button @click="addRiskList(1)" type="primary">新增</el-button>
|
||||
<el-button
|
||||
:disabled="$refs.multipleTable && $refs.multipleTable.selection.length == 0"
|
||||
:type="$refs.multipleTable && $refs.multipleTable.selection.length == 0 ? 'info' : 'danger'"
|
||||
:disabled="
|
||||
$refs.multipleTable &&
|
||||
$refs.multipleTable.selection.length == 0
|
||||
"
|
||||
:type="
|
||||
$refs.multipleTable &&
|
||||
$refs.multipleTable.selection.length == 0
|
||||
? 'info'
|
||||
: 'danger'
|
||||
"
|
||||
class="delete_btn"
|
||||
plain
|
||||
@click="deleteAttendanceBatch"
|
||||
@ -193,7 +230,11 @@
|
||||
<el-button @click="toggleSelection(true)" type="text">全选</el-button>
|
||||
</div> -->
|
||||
<el-table class="tables" ref="multipleTable" :data="riskListDetailList">
|
||||
<el-table-column type="selection" align="center" width="55"></el-table-column>
|
||||
<el-table-column
|
||||
type="selection"
|
||||
align="center"
|
||||
width="55"
|
||||
></el-table-column>
|
||||
<el-table-column
|
||||
prop="riskDescription"
|
||||
align="center"
|
||||
@ -214,25 +255,44 @@
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="accidentTypeId" label="潜在事故类型" align="center">
|
||||
<el-table-column
|
||||
prop="accidentTypeId"
|
||||
label="潜在事故类型"
|
||||
align="center"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ accidentTypeUp(scope.row.accidentTypeId) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="riskFactorType" label="风险因素类型" align="center">
|
||||
<el-table-column
|
||||
prop="riskFactorType"
|
||||
label="风险因素类型"
|
||||
align="center"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ riskFactorTypeUp(scope.row.riskFactorType) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column :label="$t('message.deviceManage.operation')" align="center">
|
||||
<el-table-column
|
||||
:label="$t('message.deviceManage.operation')"
|
||||
align="center"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<div class="operation-style">
|
||||
<div @click="addRiskList(2, scope.row)" class="operationText">
|
||||
<img src="@/assets/images/icon-edit.png" width="15px" height="15px" />
|
||||
<img
|
||||
src="@/assets/images/icon-edit.png"
|
||||
width="15px"
|
||||
height="15px"
|
||||
/>
|
||||
<span>{{ $t("message.deviceManage.edit") }}</span>
|
||||
</div>
|
||||
<div @click="deleteRiskList(scope.row)" class="operationText">
|
||||
<img src="@/assets/images/icon-delete.png" width="15px" height="15px" />
|
||||
<img
|
||||
src="@/assets/images/icon-delete.png"
|
||||
width="15px"
|
||||
height="15px"
|
||||
/>
|
||||
<span>{{ $t("message.deviceManage.delete") }}</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -303,14 +363,18 @@
|
||||
:title="riskListDetailTitle"
|
||||
>
|
||||
<el-form
|
||||
class="new-form"
|
||||
class="new-form"
|
||||
ref="riskListDetailForm"
|
||||
:model="riskListDetailForm"
|
||||
:rules="riskListDetailFormRules"
|
||||
size="medium"
|
||||
>
|
||||
<div class="risk_detail_top">
|
||||
<el-form-item label-width="120px" label="风险描述" prop="riskDescription">
|
||||
<el-form-item
|
||||
label-width="120px"
|
||||
label="风险描述"
|
||||
prop="riskDescription"
|
||||
>
|
||||
<el-input
|
||||
v-model="riskListDetailForm.riskDescription"
|
||||
placeholder="请输入内容"
|
||||
@ -347,9 +411,14 @@
|
||||
</div>
|
||||
<div class="risk_detail_main">
|
||||
<div class="risk_detail_main_title">评价信息</div>
|
||||
<el-form-item label="风险评估计算器" prop="riskAssessmentCalculator">
|
||||
<el-form-item
|
||||
label="风险评估计算器"
|
||||
prop="riskAssessmentCalculator"
|
||||
>
|
||||
<div class="detail_flex">
|
||||
<el-radio-group v-model="riskListDetailForm.riskAssessmentCalculator">
|
||||
<el-radio-group
|
||||
v-model="riskListDetailForm.riskAssessmentCalculator"
|
||||
>
|
||||
<template v-if="riskListDetailInfo.dynamicType == 1">
|
||||
<el-radio :label="1">LECD</el-radio>
|
||||
<el-radio :label="2">直接判定法</el-radio>
|
||||
@ -384,18 +453,28 @@
|
||||
"
|
||||
>
|
||||
<div>
|
||||
<div class="box1"><span>L</span>(事故或危害事件发生的可能性)</div>
|
||||
<div class="box1">
|
||||
<span>L</span>(事故或危害事件发生的可能性)
|
||||
</div>
|
||||
<div class="box2">x</div>
|
||||
<template v-if="riskListDetailForm.riskAssessmentCalculator == 1">
|
||||
<div class="box1"><span>E</span>(暴露于危害事件环境的频率)</div>
|
||||
<template
|
||||
v-if="riskListDetailForm.riskAssessmentCalculator == 1"
|
||||
>
|
||||
<div class="box1">
|
||||
<span>E</span>(暴露于危害事件环境的频率)
|
||||
</div>
|
||||
<div class="box2">x</div>
|
||||
</template>
|
||||
<div class="box1"><span>C</span>(事故或危害事件发生的可能结果)</div>
|
||||
<div class="box1">
|
||||
<span>C</span>(事故或危害事件发生的可能结果)
|
||||
</div>
|
||||
<div class="box2">=</div>
|
||||
<div class="box1"><span>D</span></div>
|
||||
</div>
|
||||
<div>
|
||||
<template v-if="riskListDetailForm.riskAssessmentCalculator == 1">
|
||||
<template
|
||||
v-if="riskListDetailForm.riskAssessmentCalculator == 1"
|
||||
>
|
||||
<el-select
|
||||
v-model="riskListDetailForm.lecdData.lNumber"
|
||||
clearable
|
||||
@ -433,7 +512,9 @@
|
||||
></el-option>
|
||||
</el-select>
|
||||
</template>
|
||||
<template v-else-if="riskListDetailForm.riskAssessmentCalculator == 3">
|
||||
<template
|
||||
v-else-if="riskListDetailForm.riskAssessmentCalculator == 3"
|
||||
>
|
||||
<!-- <el-select
|
||||
v-model="riskListDetailForm.lcdData.lNumber"
|
||||
clearable
|
||||
@ -469,14 +550,18 @@
|
||||
<el-input disabled :value="lecdDataUp"></el-input>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="riskListDetailForm.riskAssessmentCalculator == 4">
|
||||
<template
|
||||
v-else-if="riskListDetailForm.riskAssessmentCalculator == 4"
|
||||
>
|
||||
<div>
|
||||
<div class="box1">
|
||||
<span>L</span>(危害事件或事故在当前环境和条件下发生的频率或概率)
|
||||
<span>L</span
|
||||
>(危害事件或事故在当前环境和条件下发生的频率或概率)
|
||||
</div>
|
||||
<!-- <div class="box2">x</div> -->
|
||||
<div class="box1">
|
||||
<span>S</span>(风险事件发生后的后果严重程度(如“轻微伤害”“重伤”“死亡”)
|
||||
<span>S</span
|
||||
>(风险事件发生后的后果严重程度(如“轻微伤害”“重伤”“死亡”)
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
@ -573,7 +658,9 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="item in riskList7" :key="item.id">
|
||||
<td>{{ item.score }}({{ item.name.replace(/\([^)]*\)/g, "") }})</td>
|
||||
<td>
|
||||
{{ item.score }}({{ item.name.replace(/\([^)]*\)/g, "") }})
|
||||
</td>
|
||||
<td
|
||||
@click="onClickLevel(item, ele)"
|
||||
style="cursor: pointer"
|
||||
@ -623,31 +710,51 @@
|
||||
</span>
|
||||
</el-form-item>
|
||||
<div class="risk_detail_main_title">管控措施</div>
|
||||
<el-form-item label="工程措施" label-width="120px" prop="engineeringMeasure">
|
||||
<el-form-item
|
||||
label="工程措施"
|
||||
label-width="120px"
|
||||
prop="engineeringMeasure"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
v-model="riskListDetailForm.engineeringMeasure"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="管理措施" label-width="120px" prop="managementMeasure">
|
||||
<el-form-item
|
||||
label="管理措施"
|
||||
label-width="120px"
|
||||
prop="managementMeasure"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
v-model="riskListDetailForm.managementMeasure"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="个体防护" label-width="120px" prop="personalProtection">
|
||||
<el-form-item
|
||||
label="个体防护"
|
||||
label-width="120px"
|
||||
prop="personalProtection"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
v-model="riskListDetailForm.personalProtection"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="应急措施" label-width="120px" prop="emergencyMeasure">
|
||||
<el-form-item
|
||||
label="应急措施"
|
||||
label-width="120px"
|
||||
prop="emergencyMeasure"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
v-model="riskListDetailForm.emergencyMeasure"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="教育措施" label-width="120px" prop="educationalMeasure">
|
||||
<el-form-item
|
||||
label="教育措施"
|
||||
label-width="120px"
|
||||
prop="educationalMeasure"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
v-model="riskListDetailForm.educationalMeasure"
|
||||
@ -687,7 +794,9 @@
|
||||
accept=".xlsx"
|
||||
>
|
||||
<i class="el-icon-upload"></i>
|
||||
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
||||
<div class="el-upload__text">
|
||||
将文件拖到此处,或<em>点击上传</em>
|
||||
</div>
|
||||
<!-- <div class="el-upload__tip" slot="tip">
|
||||
支持导入200MB以内的ZIP文件:
|
||||
①驾驶证行驶证复印件;
|
||||
@ -769,7 +878,9 @@ export default {
|
||||
hasChild: 3,
|
||||
},
|
||||
riskDialogFormRules: {
|
||||
nodeName: [{ required: true, message: "请输入节点名称", trigger: "blur" }],
|
||||
nodeName: [
|
||||
{ required: true, message: "请输入节点名称", trigger: "blur" },
|
||||
],
|
||||
},
|
||||
riskListDetailList: [],
|
||||
riskListDetailInfo: [],
|
||||
@ -837,7 +948,11 @@ export default {
|
||||
// { required: true, message: "请选择风险因素类型", trigger: "change" },
|
||||
// ],
|
||||
riskAssessmentCalculator: [
|
||||
{ required: true, message: "请选择风险评估计算器", trigger: "change" },
|
||||
{
|
||||
required: true,
|
||||
message: "请选择风险评估计算器",
|
||||
trigger: "change",
|
||||
},
|
||||
],
|
||||
},
|
||||
riskListDetailType: "",
|
||||
@ -867,7 +982,7 @@ export default {
|
||||
if (
|
||||
file.raw.type ==
|
||||
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ||
|
||||
file.raw.type == "application/vnd.ms-excel"
|
||||
file.raw.type == "application/vnd.ms-excel"
|
||||
) {
|
||||
} else {
|
||||
this.$message.error(this.$t("message.laborMange.hint5"));
|
||||
@ -995,12 +1110,17 @@ export default {
|
||||
},
|
||||
sureImport() {
|
||||
console.log("确定导入车辆信息", this.fileList);
|
||||
if (this.fileList.length == 0) this.$message.warning("请上传需要导入的文件!");
|
||||
if (this.fileList.length == 0)
|
||||
this.$message.warning("请上传需要导入的文件!");
|
||||
// uploadZipCarCarInfoApi()
|
||||
const fileInfo = this.fileList[0].response.data[0].fileInfo;
|
||||
var param = new FormData();
|
||||
param.append("sn", this.$store.state.userInfo.sn);
|
||||
param.append("excelFile", this.fileList[0].raw, fileInfo.originalFilename);
|
||||
param.append(
|
||||
"excelFile",
|
||||
this.fileList[0].raw,
|
||||
fileInfo.originalFilename
|
||||
);
|
||||
if (this.sureImportTitle == "导入清单") {
|
||||
param.append("projectType", "");
|
||||
this.$http
|
||||
@ -1042,14 +1162,18 @@ export default {
|
||||
},
|
||||
// 导出模版
|
||||
exportBtnTemplate(url, name) {
|
||||
fetch(this.$http.defaults.baseURL + `${url}?sn=${this.$store.state.userInfo.sn}`, {
|
||||
method: "get",
|
||||
headers: {
|
||||
Authorization: this.$store.state.userInfo.token,
|
||||
"Content-Type": "application/json", // 设置请求头的内容类型为JSON
|
||||
},
|
||||
// body: JSON.stringify(data) // 将data对象转换为JSON字符串并作为请求体发送
|
||||
})
|
||||
fetch(
|
||||
this.$http.defaults.baseURL +
|
||||
`${url}?sn=${this.$store.state.userInfo.sn}`,
|
||||
{
|
||||
method: "get",
|
||||
headers: {
|
||||
Authorization: this.$store.state.userInfo.token,
|
||||
"Content-Type": "application/json", // 设置请求头的内容类型为JSON
|
||||
},
|
||||
// body: JSON.stringify(data) // 将data对象转换为JSON字符串并作为请求体发送
|
||||
}
|
||||
)
|
||||
.then((response) => {
|
||||
// 处理响应
|
||||
if (!response.ok) {
|
||||
@ -1083,7 +1207,8 @@ export default {
|
||||
riskDescription: "",
|
||||
accidentTypeId: "",
|
||||
riskFactorType: "",
|
||||
riskAssessmentCalculator: this.riskListDetailInfo.dynamicType == 1 ? 1 : 4,
|
||||
riskAssessmentCalculator:
|
||||
this.riskListDetailInfo.dynamicType == 1 ? 1 : 4,
|
||||
lecdData: {
|
||||
lNumber: "",
|
||||
eNumber: "",
|
||||
@ -1112,9 +1237,22 @@ export default {
|
||||
if (type == 2) {
|
||||
this.riskListDetailForm = {
|
||||
...row,
|
||||
lecdData: isJSON(row.lecdData) ? JSON.parse(row.lecdData) : {},
|
||||
lcdData: isJSON(row.lcdData) ? JSON.parse(row.lcdData) : {},
|
||||
lsrData: isJSON(row.lsrData) ? JSON.parse(row.lsrData) : {},
|
||||
lecdData:
|
||||
isJSON(row.lecdData) && row.lecdData && row.lecdData != "null"
|
||||
? JSON.parse(row.lecdData)
|
||||
: {
|
||||
lNumber: "",
|
||||
eNumber: "",
|
||||
cNumber: "",
|
||||
},
|
||||
lcdData:
|
||||
isJSON(row.lcdData) && row.lcdData && row.lcdData != "null"
|
||||
? JSON.parse(row.lcdData)
|
||||
: { lNumber: "", cNumber: "" },
|
||||
lsrData:
|
||||
isJSON(row.lsrData) && row.lsrData && row.lsrData != "null"
|
||||
? JSON.parse(row.lsrData)
|
||||
: { lNumber: "", sNumber: "" },
|
||||
};
|
||||
this.riskListDetailTitle = "编辑风险";
|
||||
} else {
|
||||
@ -1210,7 +1348,9 @@ export default {
|
||||
type: "warning",
|
||||
})
|
||||
.then(() => {
|
||||
const ids = this.$refs.multipleTable.selection.map((item) => item.id).join(",");
|
||||
const ids = this.$refs.multipleTable.selection
|
||||
.map((item) => item.id)
|
||||
.join(",");
|
||||
console.log(this.$refs.multipleTable.selection);
|
||||
deleteBatchRiskListDetailApi({ ids }).then((res) => {
|
||||
this.queryBtn();
|
||||
@ -1326,7 +1466,9 @@ export default {
|
||||
sn: this.$store.state.userInfo.headquartersSn,
|
||||
}).then((res) => {
|
||||
if (res.result.length > 0) {
|
||||
this.accidentTypeList = res.result.sort((a, b) => Date.parse(a.createTime) - Date.parse(b.createTime));
|
||||
this.accidentTypeList = res.result.sort(
|
||||
(a, b) => Date.parse(a.createTime) - Date.parse(b.createTime)
|
||||
);
|
||||
}
|
||||
});
|
||||
},
|
||||
@ -1361,10 +1503,10 @@ export default {
|
||||
this.riskDialogTitle = "新增";
|
||||
this.riskDialogVisible = true;
|
||||
},
|
||||
editOrganizationFn(data) {
|
||||
console.log("----------", data);
|
||||
editOrganizationFn(row) {
|
||||
console.log("----------", row);
|
||||
this.riskDialogForm = {
|
||||
...data,
|
||||
...row,
|
||||
};
|
||||
this.riskDialogTitle = "编辑";
|
||||
this.riskDialogVisible = true;
|
||||
@ -1397,7 +1539,8 @@ export default {
|
||||
setCheckedKeys() {
|
||||
this.defaultExpandAll = false;
|
||||
for (var i = 0; i < this.$refs.tree.store._getAllNodes().length; i++) {
|
||||
this.$refs.tree.store._getAllNodes()[i].expanded = this.defaultExpandAll;
|
||||
this.$refs.tree.store._getAllNodes()[i].expanded =
|
||||
this.defaultExpandAll;
|
||||
const { data } = this.$refs.tree.store._getAllNodes()[i];
|
||||
this.handleNodeCollapse(data);
|
||||
}
|
||||
@ -1472,7 +1615,8 @@ export default {
|
||||
},
|
||||
riskListChageLSR() {
|
||||
const countNum = Number(
|
||||
this.riskListDetailForm.lsrData.lNumber * this.riskListDetailForm.lsrData.sNumber
|
||||
this.riskListDetailForm.lsrData.lNumber *
|
||||
this.riskListDetailForm.lsrData.sNumber
|
||||
).toFixed(2);
|
||||
if (countNum > Number(this.riskAssessmentInfo.staticLsrZdMin)) {
|
||||
this.riskListDetailForm.riskLevel = 1;
|
||||
@ -1577,13 +1721,17 @@ export default {
|
||||
},
|
||||
riskFactorTypeUp() {
|
||||
return (riskFactorType) => {
|
||||
const find = this.riskFactorTypeList.find((item) => riskFactorType === item.data);
|
||||
const find = this.riskFactorTypeList.find(
|
||||
(item) => riskFactorType === item.data
|
||||
);
|
||||
return find ? find.name : "";
|
||||
};
|
||||
},
|
||||
accidentTypeUp() {
|
||||
return (accidentTypeId) => {
|
||||
const find = this.accidentTypeList.find((item) => accidentTypeId === item.id);
|
||||
const find = this.accidentTypeList.find(
|
||||
(item) => accidentTypeId === item.id
|
||||
);
|
||||
return find ? find.type : "";
|
||||
};
|
||||
},
|
||||
@ -1612,12 +1760,12 @@ export default {
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.border-radius_3 {
|
||||
border-radius: 3px 3px 3px 3px;
|
||||
border-radius: 3px 3px 3px 3px;
|
||||
}
|
||||
.delete_btn {
|
||||
background-color: transparent;
|
||||
color: #F56C6C;
|
||||
border-color: #F56C6C;
|
||||
background-color: transparent;
|
||||
color: #f56c6c;
|
||||
border-color: #f56c6c;
|
||||
}
|
||||
.risk_detail_main_title {
|
||||
font-size: 16px;
|
||||
@ -1644,17 +1792,17 @@ export default {
|
||||
.detail_table3 {
|
||||
// width: calc(100% - 320px - 120px) !important;
|
||||
.el-select,
|
||||
.el-input{
|
||||
.el-input {
|
||||
width: 320px !important;
|
||||
}
|
||||
.box1 {
|
||||
min-width: 320px;
|
||||
width: initial !important;
|
||||
color: #A2A4AF !important;
|
||||
color: #a2a4af !important;
|
||||
font-size: 12px !important;
|
||||
> span {
|
||||
font-size: 14px !important;
|
||||
color: #272D45 !important;
|
||||
color: #272d45 !important;
|
||||
}
|
||||
}
|
||||
> div:first-child {
|
||||
@ -1850,7 +1998,7 @@ export default {
|
||||
transform: translateY(-50%);
|
||||
width: 1px;
|
||||
height: 90%;
|
||||
background-color: #D9D9D9;
|
||||
background-color: #d9d9d9;
|
||||
}
|
||||
}
|
||||
.el-form-item--mini.el-form-item {
|
||||
|
||||
1713
src/views/projectFront/configManage/notificationRuleSet.vue
Normal file
1713
src/views/projectFront/configManage/notificationRuleSet.vue
Normal file
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
<div class="enterpriseInfoContent">
|
||||
<el-tabs v-model="activeName">
|
||||
<el-tab-pane label="短信配置" name="first"></el-tab-pane>
|
||||
<!-- <el-tab-pane label="平台提示音配置" name="second"></el-tab-pane> -->
|
||||
<el-tab-pane label="平台提示音配置" name="second"></el-tab-pane>
|
||||
</el-tabs>
|
||||
<vue-scroll style="width: 100%">
|
||||
<template v-if="activeName == 'first'">
|
||||
@ -65,16 +65,18 @@
|
||||
:placeholder="$t('message.companyDiagram.PleaseEnter')"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<!-- <div class="form_title">
|
||||
<div class="form_title">
|
||||
<!-- 扬尘推送配置 -->
|
||||
{{ $t("message.projectInfo.RaiseDustConfig") }}
|
||||
</div>
|
||||
<!-- 是否开启发送短信 -->
|
||||
<el-form-item :label="$t('message.projectInfo.isOpenSendMessage')">
|
||||
<el-radio-group v-model="messageFrom.enableDustSend">
|
||||
<el-radio :label="1"
|
||||
>{{ $t("message.projectInfo.is") }}</el-radio
|
||||
><!-- 是 -->{{ $t("message.projectInfo.is") }}</el-radio
|
||||
>
|
||||
<el-radio :label="0"
|
||||
>{{ $t("message.projectInfo.isNot") }}</el-radio
|
||||
><!-- 否 -->{{ $t("message.projectInfo.isNot") }}</el-radio
|
||||
>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
@ -96,10 +98,10 @@
|
||||
<el-form-item :label="$t('message.projectInfo.isOpenSendMessage')">
|
||||
<el-radio-group v-model="messageFrom.enableAiSend">
|
||||
<el-radio :label="1"
|
||||
>{{ $t("message.projectInfo.is") }}</el-radio
|
||||
><!-- 是 -->{{ $t("message.projectInfo.is") }}</el-radio
|
||||
>
|
||||
<el-radio :label="0"
|
||||
>{{ $t("message.projectInfo.isNot") }}</el-radio
|
||||
><!-- 否 -->{{ $t("message.projectInfo.isNot") }}</el-radio
|
||||
>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
@ -116,7 +118,7 @@
|
||||
:placeholder="$t('message.companyDiagram.PleaseEnter')"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="form_title">短信登录系统推送配置</div>
|
||||
<el-form-item :label="$t('message.projectInfo.isOpenSendMessage')">
|
||||
<el-radio-group v-model="messageFrom.enableLoginSend">
|
||||
@ -594,10 +596,6 @@ export default {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 20px;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
transform: translateX(-50%);
|
||||
left: 50%;
|
||||
}
|
||||
.enterpriseInfoContent {
|
||||
padding: 0 0 20px;
|
||||
@ -614,7 +612,7 @@ export default {
|
||||
}
|
||||
}
|
||||
.message-from {
|
||||
padding: 0 20px 20px;
|
||||
padding: 0 20px;
|
||||
width: calc(100% - 40px);
|
||||
.el-input {
|
||||
width: 320px;
|
||||
|
||||
@ -69,6 +69,11 @@
|
||||
{{ row.workerNum }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" prop="isDefault" label="是否设置为默认考勤组">
|
||||
<template v-slot="{ row }">
|
||||
{{ row.isDefault == 1 ? "是" : "否" }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div class="flex2 edit">
|
||||
|
||||
@ -589,7 +589,7 @@
|
||||
width="667px"
|
||||
>
|
||||
<div class="dialog_content">
|
||||
<el-form size="medium">
|
||||
<!-- <el-form size="medium">
|
||||
<el-form-item label="考勤组" prop="attendanceGroupV2Id">
|
||||
<el-select
|
||||
v-model="attendanceGroupV2Id"
|
||||
@ -604,7 +604,7 @@
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-form> -->
|
||||
<el-checkbox
|
||||
:indeterminate="isIndeterminate"
|
||||
v-model="checkAll"
|
||||
@ -825,7 +825,7 @@ export default {
|
||||
registerType: 2,
|
||||
accountType: accountType,
|
||||
ufaceDevId: ids,
|
||||
attendanceGroupV2Id: this.attendanceGroupV2Id,
|
||||
// attendanceGroupV2Id: this.attendanceGroupV2Id,
|
||||
}).then((res) => {
|
||||
this.$message.success(
|
||||
this.$t("message.laborMange.operateSuccessfully")
|
||||
@ -947,12 +947,12 @@ export default {
|
||||
this.itemSelectId = id;
|
||||
if (type == 2) {
|
||||
this.configDevDialog = true;
|
||||
const find = this.workerAttendanceGroupList.find(
|
||||
(item) => item.isDefault == 1
|
||||
);
|
||||
if (find) {
|
||||
this.attendanceGroupV2Id = find.id;
|
||||
}
|
||||
// const find = this.workerAttendanceGroupList.find(
|
||||
// (item) => item.isDefault == 1
|
||||
// );
|
||||
// if (find) {
|
||||
// this.attendanceGroupV2Id = find.id;
|
||||
// }
|
||||
return;
|
||||
}
|
||||
this.$confirm(
|
||||
|
||||
@ -3089,8 +3089,12 @@ export default {
|
||||
this.$nextTick(() => {
|
||||
if (this.recordType == 1) {
|
||||
this.securityDangerListFn(this.addForm1, this.recordType);
|
||||
this.$refs.addForm1.clearValidate(); //清除所有验证
|
||||
} else if (this.recordType == 2) {
|
||||
this.securityDangerListFn(this.addForm2, this.recordType);
|
||||
setTimeout(() => {
|
||||
this.$refs.addForm2.clearValidate(); //清除所有验证
|
||||
}, 100);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user