fix: BUG修改

This commit is contained in:
kun 2024-04-22 21:27:47 +08:00
parent d76faa8ed7
commit 274e363fb9
41 changed files with 182 additions and 21 deletions

View File

@ -1,4 +1,4 @@
<!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.585badbd582a78d5c1e686f02e59d520.css rel=stylesheet></head><body><div id=app></div><script>var host = window.location.origin;
<!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.e320c040463cd6c03f75e0fa425eb96a.css rel=stylesheet></head><body><div id=app></div><script>var host = window.location.origin;
var rootURL = host + "/";
var locationURL = window.location.href;
if (
@ -8,9 +8,6 @@
host.indexOf("192.168") != -1
) {
// rootURL = "http://183.95.84.34:8081/"; //恩施
// rootURL = "http://192.168.34.125:6023/" //本地
// rootURL = "http://192.168.34.221:9111/" //本地
rootURL = "http://192.168.34.155:19111/" //本地
// locationURL=rootURL+'doc/h5/index.html?userId=4&projectSn=a2ef0238b59146aa814b93f47710dbf2#/'
locationURL=rootURL+'doc/h5/index.html?userId=1779721457571291137&projectSn=BD3137498CB84BF0969979E0342CDBCA&educationId=1666278624304615426#/'
}</script><script type=text/javascript src=/doc/h5/static/js/manifest.ae3151821b5d19605a1b.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.8c1a3bfdc0f0fe08ad2f.js></script></body></html>
rootURL = "http://192.168.34.125:6023/" //本地
locationURL=rootURL+'doc/h5/index.html?userId=4&projectSn=a2ef0238b59146aa814b93f47710dbf2#/'
}</script><script type=text/javascript src=/doc/h5/static/js/manifest.38e68b5061ba56c67000.js></script><script type=text/javascript src=/doc/h5/static/js/vendor.2b2e4862d1235531f9c5.js></script><script type=text/javascript src=/doc/h5/static/js/app.f402f1e6c47adcb8f5d0.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

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

View File

@ -0,0 +1,2 @@
webpackJsonp([5],{"4ml/":function(e,t){},NGWz:function(e,t){!function(e,t){const n=e.documentElement;function o(){const e=Math.min(n.getBoundingClientRect().width,768);n.style.fontSize=e/7.5+"px"}o(),t.addEventListener("resize",o)}(document,window)},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("7+uW"),i={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},staticRenderFns:[]};var a=n("VU/8")({name:"App"},i,!1,function(e){n("RvT9")},null,null).exports,u=n("mtWM"),l=n.n(u),r=n("/ocq");o.a.use(r.a);var c=new r.a({routes:[{path:"/",name:"home",component:function(){return Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"vkyI"))},meta:{title:"人员录入"}},{path:"/submitPage",name:"submitPage",component:function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"SHNa"))},meta:{title:"人员录入"}},{path:"/blockDetails",name:"blockDetails",component:function(){return Promise.all([n.e(0),n.e(3)]).then(n.bind(null,"A4ZW"))},meta:{title:"试块详情"}}]}),m=n("Fd2+"),s=(n("4ml/"),n("NGWz"),n("nrAE")),p=n.n(s);o.a.use(p.a),o.a.use(m.a),o.a.prototype.$axios=l.a,o.a.config.productionTip=!1,c.beforeEach(function(e,t,n){e.meta.title&&(document.title=e.meta.title),n()}),new o.a({el:"#app",router:c,components:{App:a},template:"<App/>"})},RvT9:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.f402f1e6c47adcb8f5d0.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,i,u,s=0,l=[];s<r.length;s++)i=r[s],t[i]&&l.push(t[i][0]),t[i]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)u=o(o.s=a[s]);return u};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:"5f9acc5ee38bdae3f176",2:"b40a0ecff2f58dd786e6",3:"449ffb4931df1be7cafc",4:"cc318b807ecd505f3946",5:"ef7329314c5270b36976"}[e]+".js";var f=setTimeout(i,12e4);function i(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=i,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.a31449019acf5e21802d.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,18 @@
<!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.963d31083cb2afe080771f8370b149f7.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 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://192.168.34.155:19111/" //本地
// locationURL=rootURL+'doc/h5/index.html?userId=4&projectSn=a2ef0238b59146aa814b93f47710dbf2#/'
locationURL=rootURL+'doc/h5/index.html?userId=1779721457571291137&projectSn=BD3137498CB84BF0969979E0342CDBCA&educationId=1666278624304615426#/'
}</script><script type=text/javascript src=/doc/h5/static/js/manifest.a31449019acf5e21802d.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.8c1a3bfdc0f0fe08ad2f.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 KiB

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

View File

@ -0,0 +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

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
webpackJsonp([3],{"2NXm":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("mvHQ"),i=n.n(a),o=n("woOf"),r=n.n(o),s=n("bOdI"),c=n.n(s),u={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 a=t.split("=")[0],i=t.split("=")[1].split("#")[0],o=c()({},a,i);r()(n,o)}else{var s=t.split("=")[0],u=t.split("=")[1],l=c()({},s,u);r()(n,l)}}),console.log(n,777888),localStorage.setItem("userData",i()(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)}}},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("教育培训")])])])},staticRenderFns:[]};var d=n("VU/8")(u,l,!1,function(t){n("xn+K")},"data-v-45721af1",null);e.default=d.exports},"9bBU":function(t,e,n){n("mClu");var a=n("FeBl").Object;t.exports=function(t,e,n){return a.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 a,i=n("C4MV"),o=(a=i)&&a.__esModule?a:{default:a};e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},mClu:function(t,e,n){var a=n("kM2E");a(a.S+a.F*!n("+E39"),"Object",{defineProperty:n("evD5").f})},"xn+K":function(t,e){}});
//# sourceMappingURL=3.449ffb4931df1be7cafc.js.map

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

View 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(3)]).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(1)]).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(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.8c1a3bfdc0f0fe08ad2f.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,i,u,s=0,l=[];s<r.length;s++)i=r[s],t[i]&&l.push(t[i][0]),t[i]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)u=o(o.s=a[s]);return u};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:"5f9acc5ee38bdae3f176",2:"b40a0ecff2f58dd786e6",3:"449ffb4931df1be7cafc",4:"cc318b807ecd505f3946",5:"ef7329314c5270b36976"}[e]+".js";var f=setTimeout(i,12e4);function i(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=i,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.a31449019acf5e21802d.js.map

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

View File

@ -42,8 +42,8 @@ var baseUrl = window.location.protocol + '//' + window.location.host + '/'
var LOGINTYPE = 1 // 1.通用 2.只支持企业账号登录 3.只支持项目账号登录
var showNotBuyMoudle = false //是否展示未解锁产品
var isDockingToWoer = false //是否是和沃尔平台对接
var mqttUrl = 'mqtt://jxj.zhgdyun.com:1883/ws'
// var mqttUrl = 'ws://182.90.224.147:8083/mqtt'
// var mqttUrl = 'mqtt://jxj.zhgdyun.com:1883/ws'
var mqttUrl = 'ws://jxj.zhgdyun.com:8083/mqtt'
// var mqttUrl = 'ws://10.139.72.12:8083/mqtt' //longguang
if (COMPANY == 'longguang') {
// mqttUrl = 'ws://182.90.224.147:8083/mqtt'

View File

@ -84,8 +84,8 @@ if (process.env.NODE_ENV == 'development') {
// axios.defaults.baseURL ='http://101.43.164.214:45011/' //上海优益(上海建工)
// axios.defaults.baseURL = 'http://192.168.34.221:28888/' //郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地
// axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地
axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
// axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程
// axios.defaults.baseURL ='http://101.43.164.214:45020/' //沈阳和盈
// axios.defaults.baseURL ='http://183.249.224.118:9000/' //嘉兴王江泾公用码头

View File

@ -51,9 +51,16 @@
plain
>{{ $t("message.laborMange.refresh") }}</el-button
>
<el-button type="primary" @click="editProjectSettingDialog = true"
>{{ $t("message.laborMange.mobilePersonnelEntryOptions") }}</el-button
<el-button
type="primary"
@click="openCode
"
plain
>人员录入二维码</el-button
>
<!-- <el-button type="primary" @click="editProjectSettingDialog = true"
>{{ $t("message.laborMange.mobilePersonnelEntryOptions") }}</el-button
> -->
</el-form-item>
</el-form>
<div style="float: right; margin-top: -20px">
@ -136,13 +143,13 @@
</div>
</template>
</el-table-column>
<el-table-column prop="sex" label="" align="center">
<!-- <el-table-column prop="sex" label="" align="center">
<template slot-scope="scope">
<div class="flex" style="width: 40%; margin: auto">
<!-- <div class="flex" style="cursor: pointer;" @click="editStaffInfo(scope.row)">
<div class="flex" style="cursor: pointer;" @click="editStaffInfo(scope.row)">
<img src="@/assets/images/icon-edit.png" style="margin-right:8px" />
<span>{{$t('message.laborMange.edit')}}</span>
</div> -->
</div>
<div
class="flex"
style="cursor: pointer"
@ -157,16 +164,16 @@
>
<el-button type="primary" size="medium">{{ $t("message.laborMange.pass") }}</el-button>
</div>
<!-- <div class="flex" style="cursor: pointer;" @click="deteleStaffInfo(scope.row)">
<div class="flex" style="cursor: pointer;" @click="deteleStaffInfo(scope.row)">
<img
src="@/assets/images/icon-delete.png"
style="margin-right:8px;margin-top:-2px"
/>
<span>{{$t('message.laborMange.delete')}}</span>
</div> -->
</div>
</div>
</template>
</el-table-column>
</el-table-column> -->
</el-table>
</vue-scroll>
<!-- <el-pagination
@ -604,6 +611,17 @@
</div>
</div>
</el-dialog>
<!-- 人员录入二维码 -->
<el-dialog
:modal-append-to-body="false"
:title='$t("message.laborMange.selectThePersonnelToIssueTheBrake")'
:visible.sync="qrCodeDialog"
width="667px"
>
<div class="dialog_content">
<div id="qrCode" ref="qrCodeDiv" style="margin: 0 auto;"></div>
</div>
</el-dialog>
</div>
</template>
<script>
@ -615,6 +633,7 @@ import {
ufaceDevList,
getEnterpriseInfoList,
} from "@/assets/js/api/laborPerson";
import QRCode from "qrcodejs2";
import {
getProjectConfigListApi,
editProjectConfigListApi,
@ -624,6 +643,7 @@ export default {
name: "temporary",
data() {
return {
qrCodeDialog: false,
tableData: [],
page: 1,
pageSize: 10,
@ -710,6 +730,35 @@ export default {
this.getProjectSetting();
},
methods: {
//
bindQRCode: function() {
document.getElementById("qrCode").innerHTML = "";
let httpUrl = window.location.origin;
let userId = this.$store.state.userInfo.userId;
let projectSn = this.$store.state.projectSn;
new QRCode(this.$refs.qrCodeDiv, {
text:
httpUrl +
"/doc/h5Entry/index.html?userId=" +
userId +
"&projectSn=" +
projectSn +
"&educationId=" +
this.educationId,
width: 200,
height: 200,
colorDark: "#333333", //
colorLight: "#ffffff", //
correctLevel: QRCode.CorrectLevel.L, //L/M/H
});
},
openCode(){
console.log(666)
this.qrCodeDialog = true;
this.$nextTick(() => {
this.bindQRCode();
})
},
handleCheckAllChange(val) {
let arr = this.allUfaceDev.map((item) => String(item.id));
this.selectCompanyData = val ? arr : [];

View File

@ -124,7 +124,7 @@
<span class="width_35 border_l">
安全教育培训
</span>
<span class="width_65 bg_color">{{ projectDetail.supervisorUnit }}</span>
<span class="width_65 bg_color">{{ projectDetail.eduCourseName }}</span>
</div>
<div class="flex3" style="height: 120px">
<span class=""></span>