1 line
53 KiB
JavaScript
1 line
53 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-apply-subPages-FO-1preShiftMeetingEdit","pages-apply-subPages-BS-delayApply~pages-apply-subPages-BS-plan~pages-apply-subPages-BS-riskSumbit~p~3a87f4fe"],{"12df":function(t,e,n){var i,o,r=n("7037").default;n("99af"),n("ac1f"),n("5319"),n("00b4"),n("466d"),n("d401"),n("d3b7"),n("25f0"),n("fb6a"),n("a9e3"),n("f4b3"),n("bf19"),function(a,u){"object"===r(e)&&"undefined"!==typeof t?t.exports=u():(i=u,o="function"===typeof i?i.call(e,n,e,t):i,void 0===o||(t.exports=o))}(0,(function(){"use strict";var t="millisecond",e="second",n="minute",i="hour",o="day",a="week",u="month",s="quarter",c="year",l="date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(t,e,n){var i=String(t);return!i||i.length>=e?t:"".concat(Array(e+1-i.length).join(n)).concat(t)},m={s:h,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),o=n%60;return"".concat((e<=0?"+":"-")+h(i,2,"0"),":").concat(h(o,2,"0"))},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),o=e.clone().add(i,u),r=n-o<0,a=e.clone().add(i+(r?-1:1),u);return+(-(i+(n-o)/(r?o-a:a-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(r){return{M:u,y:c,w:a,d:o,D:l,h:i,m:n,s:e,ms:t,Q:s}[r]||String(r||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},v="en",g={};g[v]=p;var _=function(t){return t instanceof w},y=function(t,e,n){var i;if(!t)return v;if("string"===typeof t)g[t]&&(i=t),e&&(g[t]=e,i=t);else{var o=t.name;g[o]=t,i=o}return!n&&i&&(v=i),i||!n&&v},b=function(t,e){if(_(t))return t.clone();var n="object"===r(e)?e:{};return n.date=t,n.args=arguments,new w(n)},x=m;x.l=y,x.i=_,x.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var w=function(){function r(t){this.$L=y(t.locale,null,!0),this.parse(t)}var p=r.prototype;return p.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(x.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"===typeof e&&!/Z$/i.test(e)){var i=e.match(d);if(i){var o=i[2]-1||0,r=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],o,i[3]||1,i[4]||0,i[5]||0,i[6]||0,r)):new Date(i[1],o,i[3]||1,i[4]||0,i[5]||0,i[6]||0,r)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},p.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},p.$utils=function(){return x},p.isValid=function(){return!("Invalid Date"===this.$d.toString())},p.isSame=function(t,e){var n=b(t);return this.startOf(e)<=n&&n<=this.endOf(e)},p.isAfter=function(t,e){return b(t)<this.startOf(e)},p.isBefore=function(t,e){return this.endOf(e)<b(t)},p.$g=function(t,e,n){return x.u(t)?this[e]:this.set(n,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,r){var s=this,d=!!x.u(r)||r,f=x.p(t),p=function(t,e){var n=x.w(s.$u?Date.UTC(s.$y,e,t):new Date(s.$y,e,t),s);return d?n:n.endOf(o)},h=function(t,e){return x.w(s.toDate()[t].apply(s.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(e)),s)},m=this.$W,v=this.$M,g=this.$D,_="set".concat(this.$u?"UTC":"");switch(f){case c:return d?p(1,0):p(31,11);case u:return d?p(1,v):p(0,v+1);case a:var y=this.$locale().weekStart||0,b=(m<y?m+7:m)-y;return p(d?g-b:g+(6-b),v);case o:case l:return h("".concat(_,"Hours"),0);case i:return h("".concat(_,"Minutes"),1);case n:return h("".concat(_,"Seconds"),2);case e:return h("".concat(_,"Milliseconds"),3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,!1)},p.$set=function(r,a){var s,d=x.p(r),f="set".concat(this.$u?"UTC":""),p=(s={},s[o]="".concat(f,"Date"),s[l]="".concat(f,"Date"),s[u]="".concat(f,"Month"),s[c]="".concat(f,"FullYear"),s[i]="".concat(f,"Hours"),s[n]="".concat(f,"Minutes"),s[e]="".concat(f,"Seconds"),s[t]="".concat(f,"Milliseconds"),s)[d],h=d===o?this.$D+(a-this.$W):a;if(d===u||d===c){var m=this.clone().set(l,1);m.$d[p](h),m.init(),this.$d=m.set(l,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](h);return this.init(),this},p.set=function(t,e){return this.clone().$set(t,e)},p.get=function(t){return this[x.p(t)]()},p.add=function(t,r){var s,l=this;t=Number(t);var d=x.p(r),f=function(e){var n=b(l);return x.w(n.date(n.date()+Math.round(e*t)),l)};if(d===u)return this.set(u,this.$M+t);if(d===c)return this.set(c,this.$y+t);if(d===o)return f(1);if(d===a)return f(7);var p=(s={},s[n]=6e4,s[i]=36e5,s[e]=1e3,s)[d]||1,h=this.$d.getTime()+t*p;return x.w(h,this)},p.subtract=function(t,e){return this.add(-1*t,e)},p.format=function(t){var e=this;if(!this.isValid())return"Invalid Date";var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=x.z(this),o=this.$locale(),r=this.$H,a=this.$m,u=this.$M,s=o.weekdays,c=o.months,l=function(t,i,o,r){return t&&(t[i]||t(e,n))||o[i].substr(0,r)},d=function(t){return x.s(r%12||12,t,"0")},p=o.meridiem||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:u+1,MM:x.s(u+1,2,"0"),MMM:l(o.monthsShort,u,c,3),MMMM:l(c,u),D:this.$D,DD:x.s(this.$D,2,"0"),d:String(this.$W),dd:l(o.weekdaysMin,this.$W,s,2),ddd:l(o.weekdaysShort,this.$W,s,3),dddd:s[this.$W],H:String(r),HH:x.s(r,2,"0"),h:d(1),hh:d(2),a:p(r,a,!0),A:p(r,a,!1),m:String(a),mm:x.s(a,2,"0"),s:String(this.$s),ss:x.s(this.$s,2,"0"),SSS:x.s(this.$ms,3,"0"),Z:i};return n.replace(f,(function(t,e){return e||h[t]||i.replace(":","")}))},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(t,r,l){var d,f=x.p(r),p=b(t),h=6e4*(p.utcOffset()-this.utcOffset()),m=this-p,v=x.m(this,p);return v=(d={},d[c]=v/12,d[u]=v,d[s]=v/3,d[a]=(m-h)/6048e5,d[o]=(m-h)/864e5,d[i]=m/36e5,d[n]=m/6e4,d[e]=m/1e3,d)[f]||m,l?v:x.a(v)},p.daysInMonth=function(){return this.endOf(u).$D},p.$locale=function(){return g[this.$L]},p.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=y(t,e,!0);return i&&(n.$L=i),n},p.clone=function(){return x.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},r}(),S=w.prototype;return b.prototype=S,[["$ms",t],["$s",e],["$m",n],["$H",i],["$W",o],["$M",u],["$y",c],["$D",l]].forEach((function(t){S[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),b.extend=function(t,e){return t.$i||(t(e,w,b),t.$i=!0),b},b.locale=y,b.isDayjs=_,b.unix=function(t){return b(1e3*t)},b.en=g[v],b.Ls=g,b.p={},b}))},1377:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'.page-wrap[data-v-70fce5c5]{padding:16px 16px 72px}.card[data-v-70fce5c5]{margin-bottom:18px}.sub-form[data-v-70fce5c5]{margin-bottom:16px}.upload-title[data-v-70fce5c5]{color:#303133;font-size:15px;line-height:22px;padding:8px 0}.page-wrap[data-v-70fce5c5] .u-upload__button{margin-bottom:0}\r\n\r\n/* 子表 require 不显示 必填样式\r\n.sub-form-wrap>>>.u-form-item__body__left__content__required{\r\n\tmargin: 0 0 0 10px;\r\n}\r\n.sub-form-wrap>>>.u-form-item__body__left__content__label{\r\n\tmargin: 0 0 0 10px;\r\n} */.subRequired[data-v-70fce5c5]{margin-left:10px}.row-action[data-v-70fce5c5]{display:flex}.row-action uni-text[data-v-70fce5c5]{margin-left:10px}.sub-form-btns[data-v-70fce5c5]{padding:8px 2px}.sub-form-btn[data-v-70fce5c5]{display:flex;align-items:center}.sub-form-btn .icon[data-v-70fce5c5]{margin-right:4px}.btnEnable[data-v-70fce5c5]{background:#e6e6e6;color:#303133}.label-title[data-v-70fce5c5]{color:#303133;font-size:15px;line-height:22px;padding-top:8px}.label-title-red[data-v-70fce5c5]{color:#303133;font-size:15px;line-height:22px;padding-top:8px;color:red}.bottom-button[data-v-70fce5c5]{position:fixed;bottom:0;left:0;width:100%;padding:10px 16px;box-sizing:border-box;background:#fff;z-index:970}.btnSubDel[data-v-70fce5c5]{background-color:#ff8c00;height:100%!important;width:60%!important}.btnSubDel[disabled][data-v-70fce5c5]{background-color:#ff8c00!important;height:100%!important;width:60%!important}\r\n\r\n/*定制折叠面板*/.custom-collapse-title[data-v-70fce5c5]{display:flex;justify-content:space-between;align-items:center;width:100%;padding:6px 2px;font-size:16px;font-weight:700}.custom-collapse-title .down[data-v-70fce5c5]{width:20px;flex:0 0 auto;text-align:center;margin-right:8px}.custom-collapse-title .text[data-v-70fce5c5]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1;width:calc(100% - 60px)}.custom-collapse-title .action[data-v-70fce5c5]{width:40px;flex:0 0 auto;justify-content:flex-end}.custom-collapse-title .action .icon[data-v-70fce5c5]{justify-content:flex-end}\r\n\r\n/*定制表单右边*/.custom-form-item[data-v-70fce5c5] .item__body__right__content__icon{width:100%}.custom-form-item-right[data-v-70fce5c5]{padding-left:15px;display:flex}.custom-form-item-right .item[data-v-70fce5c5]{\r\n\t/*white-space: nowrap;*/\r\n\t/*overflow: hidden;*/justify-content:flex-end!important}.custom-form-item-right .multi[data-v-70fce5c5]{width:100%;flex:1}.custom-form-item-right .icon[data-v-70fce5c5]{width:16px;margin-left:10px}.collapse-title[data-v-70fce5c5]{display:flex;flex-direction:row;\r\n\t\t/* justify-content: space-between; */\r\n\t\t/* align-items: center; */width:100%}.text-num[data-v-70fce5c5]{display:flex;align-items:flex-start;margin-right:3px}\r\n\r\n/*人员多选结果列表*/.tag-view[data-v-70fce5c5]{position:relative;padding-bottom:4px;flex-wrap:wrap;display:flex}.tag-view[data-v-70fce5c5]:after{content:"";position:absolute;bottom:0;width:100%;-webkit-transform:scaleY(.5);left:0;transform:scaleY(.5);border-bottom:1px solid #d6d7d9}.tag-view .tag[data-v-70fce5c5]{margin-right:12px;margin-bottom:10px}\r\n\r\n/* .required {\r\n\r\n\t\t\t\t\t\tleft: -9px;\r\n\t\t\t\t\t\tcolor: red;\r\n\t\t\t\t\t\tline-height: 20px;\r\n\t\t\t\t\t\tfont-size: 20px;\r\n\t\t\t\t\t\ttop: 3px;\r\n\t\t\t\t\t} */\r\n\r\n/*\r\n<u-sticky offset-top="20">\r\n\t<view class="sub-form">\r\n\t\t<view class="sub-form-wrap">\r\n\t\t\t<u--form labelPosition="left" labelWidth="auto" labelAlign="center" errorType="border-bottom"\r\n\t\t\t\tref="sForm">\r\n\t\t\t\t<u-collapse :border="false" accordion :value=\'1\'>\r\n\t\t\t\t\t<uni-card style="margin-bottom: 16px;" margin="0" spacing="0" :is-shadow="false"\r\n\t\t\t\t\t\tv-for="(item, index) in model.Nav_ListRiskSubmitContent" :name="index">\r\n\t\t\t\t\t\t<u-collapse-item :title="index + 1 + \'. \' + item.CHECKCONTENT" name="1">\r\n\r\n\t\t\t\t\t\t\t<u-form-item>\r\n\t\t\t\t\t\t\t</u-form-item>\r\n\r\n\t\t\t\t\t\t</u-collapse-item>\r\n\t\t\t\t\t</uni-card>\r\n\t\t\t\t</u-collapse>\r\n\t\t\t</u--form>\r\n\t\t</view>\r\n\t</view>\r\n</u-sticky> */.todo-page[data-v-70fce5c5]{padding:16px 16px 70px}',""]),t.exports=e},"26f9":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getAllLists=function(t){return new Promise((function(e,n){o.default.post("/FM/User/OrderEntities",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getCertificateLists=function(t){return new Promise((function(e,n){o.default.post("/FO/FOCrucialLicenseJob/GetAnalyzePersonCertificate",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getDepartmentLists=function(t){return new Promise((function(e,n){o.default.post("/FM/Department/OrderPaged",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getDetailLists=function(t){return new Promise((function(e,n){o.default.post("/FO/FOCrucialLicenseJob/GetAnalyzeDetail",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getJobActivityRecordSign=function(t){return t.IgnoreDataRule=!0,new Promise((function(e,n){o.default.post("/FO/FOJobActivityRecord/PersonalAgree",t).then((function(t){t.IsSuccessful&&e(t.Data)})).catch((function(t){n(t)}))}))},e.getJobEventRecordSign=function(t){return t.IgnoreDataRule=!0,new Promise((function(e,n){o.default.post("/FO/FOJobEventRecord/PersonalAgree",t).then((function(t){t.IsSuccessful&&e(t.Data)})).catch((function(t){n(t)}))}))},e.getJobRecordSign=function(t){return t.IgnoreDataRule=!0,new Promise((function(e,n){o.default.post("/FO/FOCrucialLicenseJob/IdentityUpdateNew",t).then((function(t){t.IsSuccessful&&e(t.Data)})).catch((function(t){n(t)}))}))},e.getOperSchRecordSign=function(t){return t.IgnoreDataRule=!0,new Promise((function(e,n){o.default.post("/FO/FOPreOperSch/PersonalAgree",t).then((function(t){t.IsSuccessful&&e(t.Data)})).catch((function(t){n(t)}))}))},e.getRelatedLists=function(t){return new Promise((function(e,n){o.default.post("/OG/Related/OrderPaged",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getRelatedUserLists=function(t){return new Promise((function(e,n){o.default.post("/OG/RelatedUser/OrderPaged",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getRequest=function(t,e){return t.IgnoreDataRule=!0,new Promise((function(n,i){o.default.post(e,t).then((function(t){t.IsSuccessful&&n(t.Data)})).catch((function(t){i(t)}))}))},e.getRequestOrderPage=function(t,e){return t.IgnoreDataRule=!0,new Promise((function(n,i){o.default.post(e,t).then((function(t){t.IsSuccessful&&n(t)})).catch((function(t){i(t)}))}))},e.getStepLists=function(t){return new Promise((function(e,n){o.default.post("/FO/FOCrucialLicenseJob/GetNameList",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getTeamUsers=function(t){return t.IgnoreDataRule=!0,new Promise((function(e,n){o.default.post("/FM/FMTeam/TeamOrderPaged",t).then((function(t){t.IsSuccessful&&e(t.Data)})).catch((function(t){n(t)}))}))},e.getTechRecordSign=function(t){return t.IgnoreDataRule=!0,new Promise((function(e,n){o.default.post("/FO/FOTechDisclosureFrom/PersonalAgree",t).then((function(t){t.IsSuccessful&&e(t.Data)})).catch((function(t){n(t)}))}))},e.getUserLists=function(t){return new Promise((function(e,n){o.default.post("/FM/User/OrderPaged",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.saveJobActivityRecord=function(t){return new Promise((function(e,n){o.default.post("/FO/FOJobActivityRecord/FullUpdate",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.saveJobEventRecord=function(t){return new Promise((function(e,n){o.default.post("/FO/FOJobEventRecord/FullUpdate",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.saveJobOutsourceRecord=function(t){return new Promise((function(e,n){o.default.post("/FO/FOCrucialLicenseJobOutsource/FullUpdate",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.saveJobRecord=function(t){return new Promise((function(e,n){o.default.post("/FO/FOCrucialLicenseJob/FullUpdateNew",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.savePreOperSchRecord=function(t){return new Promise((function(e,n){o.default.post("/FO/FOPreOperSch/FullUpdate",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.saveTechRecord=function(t){return new Promise((function(e,n){o.default.post("/FO/FOTechDisclosureFrom/FullUpdate",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},n("d3b7");var o=i(n("a7f0"))},"2acf":function(t,e,n){"use strict";n.r(e);var i=n("44b1"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},"388c":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("5530"));n("3c65"),n("a434"),n("4de4"),n("d3b7"),n("159b"),n("14d9"),n("d81d");n("26cb");var r=n("05f1"),a=n("26f9"),u=n("c4f1"),s=(i(n("9560")),{data:function(){return{userLists:[],listPropUpload:["PRE_SHIFT_MEETING_RECORD_ID"],listPropValUpload:[],model:{JOB_CONTENT:"",Nav_Users:[],ORG_ID:"",Nav_Files:[]},options:[{text:"删除",style:{backgroundColor:"#f56c6c"}}],rules:{JOB_CONTENT:{type:"string",required:!0,trigger:["blur","change"]}},comPickerInfo:{showSheet:!1,columns:[],title:"",dataIndex:void 0,formIndex:void 0,name:""},currentOperateUser:{},showPopup:!1,tableKey:"0",TaskID:"",isLoadOK:!1,showDelModalIndex:void 0,showCheckDate1:!1,showCheckDate2:!1,isAdd:0,START_TIME:uni.$u.timeFormat(new Date,"yyyy-mm-dd hh:MM:ss"),END_TIME:uni.$u.timeFormat(new Date,"yyyy-mm-dd hh:MM:ss"),ORG_ID:uni.getStorageSync("orgId")}},onLoad:function(t){this.TaskID=t.taskID?t.taskID:"",this.model.ID=t.ID?t.ID:"",this.tableKey=t.tableKey?t.tableKey:"0",1!=t.isAdd?this.loadData():(this.isAdd=1,this.model.START_TIME=uni.$u.timeFormat(Date(),"yyyy-mm-dd hh:MM:ss"),this.model.END_TIME=uni.$u.timeFormat(Date(),"yyyy-mm-dd hh:MM:ss"),this.model.ID=(0,r.guid)(),this.loadTeamUsers())},methods:{handleAdd:function(){this.model.Nav_Users.unshift({PRE_SHIFT_MEETING_RECORD_ID:this.model.ID,ID:(0,r.guid)(),ORG_ID:this.ORG_ID,Nav_User:{NAME:"",CODE:""},USER_ID:"",IS_DELETED:!1,DEAL_STATUS:0})},handleDelRowBefore:function(t,e){""==e.USER_ID?this.model.Nav_Users.splice(t,1):this.showDelModalIndex=t},cancelDel:function(){this.showDelModalIndex=void 0},confirmDel:function(){this.model.Nav_Users.filter((function(t){return!t.IS_DELETED}))[this.showDelModalIndex].IS_DELETED=!0,this.showDelModalIndex=void 0},loadTeamUsers:function(){var t=this,e=uni.getStorageSync("appInfo").User.PERSON_ID,n=(0,r.initFilter)(this.ORG_ID,"","");(0,r.extendRule)(n,"CHARGE_PERSON_ID",1,e),(0,r.extendInclude)(n,"Nav_TeamPersons.Nav_Person.Nav_User"),(0,a.getTeamUsers)(n).then((function(e){if(e&&e.length>0){var n=e[0].Nav_TeamPersons,i=[];n&&n.length>0&&n.forEach((function(e){var n,o,a={Nav_User:{},NAME:"",CODE:""};a.Nav_User.NAME=e.Nav_Person.NAME,a.Nav_User.CODE=e.Nav_Person.CODE,a.ID=(0,r.guid)(),a.PRE_SHIFT_MEETING_RECORD_ID=t.model.ID,a.USER_ID=null===(n=e.Nav_Person)||void 0===n||null===(o=n.Nav_User)||void 0===o?void 0:o.ID,a.DEAL_STATUS=0,a.ORG_ID=t.ORG_ID,i.push(a)})),t.model.Nav_Users=i}}))},loadData:function(){var t=this,e=(0,r.initFilter)(this.ORG_ID,"","");0==this.listPropValUpload.length&&this.listPropValUpload.push(this.model.ID),(0,r.extendInclude)(e,"Nav_Class"),(0,r.extendInclude)(e,"Nav_Department"),(0,r.extendInclude)(e,"Nav_Team"),(0,r.extendInclude)(e,"Nav_User"),(0,r.extendInclude)(e,"Nav_Files.Nav_ImgFile.Nav_File"),(0,r.extendInclude)(e,"Nav_Users.Nav_User.Nav_Person"),(0,r.extendRule)(e,"ID",1,this.model.ID),(0,a.getRequest)(e,"/FO/PreShiftMeetingRecord/Get").then((function(e){t.model=e}))},handleSearchUser:function(t){var e=this,n=(0,r.initFilter)(this.ORG_ID,"","NAME");if((0,r.extendInclude)(n,"Nav_Person.Nav_Post"),(0,r.extendRule)(n,"ENABLE_STATUS",1,"0"),(0,r.extendRule)(n,"DEPARTMENT_ID",1,uni.getStorageSync("appInfo").User.DEPARTMENT_ID),"init"!==t){var i=(0,r.initFilterGroup)(!1);(0,r.extendGroupRule)(i,"NAME",9,t),(0,r.extendFilterGroup)(n,i)}(0,u.getUserLists)(n).then((function(t){t.IsSuccessful&&(e.userLists=t.Data.map((function(t){return(0,o.default)((0,o.default)({},t),{},{name:t.NAME,code:t.CODE})})))}))},handleSelectedUser:function(t){this.showPopup=!1,this.lists=[],this.currentOperateUser.USER_ID=t.ID,this.currentOperateUser.Nav_User.NAME=t.NAME,this.currentOperateUser.Nav_User.CODE=t.CODE},handleClosePopup:function(){this.showPopup=!1},handleChangeUser:function(t){this.currentOperateUser=t,this.showPopup=!0,this.handleSearchUser("init")},onConfirmPicker:function(t){var e=this.comPickerInfo,n=(e.name,e.dataIndex,e.formIndex);if("sForm1"===n){var i=this.model.Nav_Users.map((function(t,e){return t}));this.model.Nav_Users=i}this.comPickerInfo.showSheet=!1},closePicker:function(){this.comPickerInfo={showSheet:!1,columns:[],title:"",name:"",dataIndex:void 0,formIndex:void 0}},submit:function(){var t=this,e=this.$refs;e["wForm"].validate().then((function(e){t.model.RATE="SaveAndNotify",""!=t.TaskID&&(t.model.TaskID=t.TaskID),""==t.model.ORG_ID&&(t.model.ORG_ID=t.ORG_ID),t.model.Nav_Users.forEach((function(t){t.Nav_User=null})),t.model.Nav_Files.forEach((function(e){void 0==e.PRE_SHIFT_MEETING_RECORD_ID&&(e.PRE_SHIFT_MEETING_RECORD_ID=t.model.ID),void 0==e.ORG_ID&&(e.ORG_ID=t.model.ORG_ID)})),(0,a.getRequest)(t.model,"/FO/FOPreShiftMeetingRecord/FullUpdate").then((function(t){t&&uni.$showMsgFunc("操作成功!",(function(){uni.navigateBack()}),"success",1e3)}))})).catch((function(t){uni.$showErrorInfo("请检查必填项,必填项不能为空")}))},handleCheckDate1:function(t){this.showCheckDate1=!1,this.model.START_TIME=uni.$u.timeFormat(t.value,"yyyy-mm-dd hh:MM:ss")},handleCheckDate2:function(t){this.showCheckDate2=!1,this.model.END_TIME=uni.$u.timeFormat(t.value,"yyyy-mm-dd hh:MM:ss")}}});e.default=s},"44b1":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("c7eb")),r=i(n("1da1"));n("2c3e"),n("a9e3");var a=i(n("48c9")),u={name:"u-sticky",mixins:[uni.$u.mpMixin,uni.$u.mixin,a.default],data:function(){return{cssSticky:!1,stickyTop:0,elId:uni.$u.guid(),left:0,width:"auto",height:"auto",fixed:!1}},computed:{style:function(){var t={};return this.disabled?t.position="static":this.cssSticky?(t.position="sticky",t.zIndex=this.uZindex,t.top=uni.$u.addUnit(this.stickyTop)):t.height=this.fixed?this.height+"px":"auto",t.backgroundColor=this.bgColor,uni.$u.deepMerge(uni.$u.addStyle(this.customStyle),t)},stickyContent:function(){var t={};return this.cssSticky||(t.position=this.fixed?"fixed":"static",t.top=this.stickyTop+"px",t.left=this.left+"px",t.width="auto"==this.width?"auto":this.width+"px",t.zIndex=this.uZindex),t},uZindex:function(){return this.zIndex?this.zIndex:uni.$u.zIndex.sticky}},mounted:function(){this.init()},methods:{init:function(){this.getStickyTop(),this.checkSupportCssSticky(),this.cssSticky||!this.disabled&&this.initObserveContent()},initObserveContent:function(){var t=this;this.$uGetRect("#"+this.elId).then((function(e){t.height=e.height,t.left=e.left,t.width=e.width,t.$nextTick((function(){t.observeContent()}))}))},observeContent:function(){var t=this;this.disconnectObserver("contentObserver");var e=uni.createIntersectionObserver({thresholds:[.95,.98,1]});e.relativeToViewport({top:-this.stickyTop}),e.observe("#".concat(this.elId),(function(e){t.setFixed(e.boundingClientRect.top)})),this.contentObserver=e},setFixed:function(t){var e=t<=this.stickyTop;this.fixed=e},disconnectObserver:function(t){var e=this[t];e&&e.disconnect()},getStickyTop:function(){this.stickyTop=uni.$u.getPx(this.offsetTop)+uni.$u.getPx(this.customNavHeight)},checkSupportCssSticky:function(){var t=this;return(0,r.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.checkCssStickyForH5()&&(t.cssSticky=!0),"android"===uni.$u.os()&&Number(uni.$u.sys().system)>8&&(t.cssSticky=!0),"ios"===uni.$u.os()&&(t.cssSticky=!0);case 3:case"end":return e.stop()}}),e)})))()},checkComputedStyle:function(){},checkCssStickyForH5:function(){for(var t=["","-webkit-","-ms-","-moz-","-o-"],e=t.length,n=document.createElement("div"),i=0;i<e;i++)if(n.style.position=t[i]+"sticky",""!==n.style.position)return!0;return!1}},beforeDestroy:function(){this.disconnectObserver("contentObserver")}};e.default=u},"48c9":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3"),n("2c3e");var i={props:{offsetTop:{type:[String,Number],default:uni.$u.props.sticky.offsetTop},customNavHeight:{type:[String,Number],default:44},disabled:{type:Boolean,default:uni.$u.props.sticky.disabled},bgColor:{type:String,default:uni.$u.props.sticky.bgColor},zIndex:{type:[String,Number],default:uni.$u.props.sticky.zIndex},index:{type:[String,Number],default:uni.$u.props.sticky.index}}};e.default=i},"582f":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";@font-face{font-family:iconfont;src:url(/static/iconfont/iconfont.woff?t=1545807318834) format("woff"),url(/static/iconfont/iconfont.ttf?t=1545807318834) format("truetype")}\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/* uView */uni-view[data-v-3f114883], uni-scroll-view[data-v-3f114883], uni-swiper-item[data-v-3f114883]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-modal[data-v-3f114883]{width:%?650?%;border-radius:6px;overflow:hidden}.u-modal__title[data-v-3f114883]{font-size:16px;font-weight:700;color:#606266;text-align:center;padding-top:25px}.u-modal__content[data-v-3f114883]{padding:12px 25px 25px 25px;display:flex;flex-direction:row;justify-content:center}.u-modal__content__text[data-v-3f114883]{font-size:15px;color:#606266;flex:1}.u-modal__button-group[data-v-3f114883]{display:flex;flex-direction:row}.u-modal__button-group--confirm-button[data-v-3f114883]{flex-direction:column;padding:0 25px 15px 25px}.u-modal__button-group__wrapper[data-v-3f114883]{flex:1;display:flex;flex-direction:row;justify-content:center;align-items:center;height:48px}.u-modal__button-group__wrapper--confirm[data-v-3f114883], .u-modal__button-group__wrapper--only-cancel[data-v-3f114883]{border-bottom-right-radius:6px}.u-modal__button-group__wrapper--cancel[data-v-3f114883], .u-modal__button-group__wrapper--only-confirm[data-v-3f114883]{border-bottom-left-radius:6px}.u-modal__button-group__wrapper--hover[data-v-3f114883]{background-color:#f3f4f6}.u-modal__button-group__wrapper__text[data-v-3f114883]{color:#606266;font-size:16px;text-align:center}',""]),t.exports=e},"5cbb":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("dad1")),r={name:"u-modal",mixins:[uni.$u.mpMixin,uni.$u.mixin,o.default],data:function(){return{loading:!1}},watch:{show:function(t){t&&this.loading&&(this.loading=!1)}},methods:{confirmHandler:function(){this.asyncClose&&(this.loading=!0),this.$emit("confirm")},cancelHandler:function(){this.$emit("cancel")},clickHandler:function(){this.closeOnClickOverlay&&this.$emit("close")}}};e.default=r},"646b":function(t,e,n){"use strict";n.r(e);var i=n("d143"),o=n("2acf");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("dc65");var a=n("f0c5"),u=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"700823a7",null,!1,i["a"],void 0);e["default"]=u.exports},7222:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("ade3")),r=i(n("3835"));n("4de4"),n("d3b7"),n("ac1f"),n("466d"),n("ddb0"),n("99af"),n("e25e"),n("a9e3"),n("14d9"),n("d81d"),n("c740"),n("fb6a"),n("a630"),n("3ca3"),n("00b4"),n("c975"),n("a434");var a=i(n("e7fc")),u=i(n("12df"));var s={name:"datetime-picker",mixins:[uni.$u.mpMixin,uni.$u.mixin,a.default],data:function(){return{columns:[],innerDefaultIndex:[],innerFormatter:function(t,e){return e}}},watch:{show:function(t,e){t&&this.updateColumnValue(this.innerValue)},propsChange:function(){this.init()}},computed:{propsChange:function(){return[this.mode,this.maxDate,this.minDate,this.minHour,this.maxHour,this.minMinute,this.maxMinute,this.filter]}},mounted:function(){this.init()},methods:{init:function(){this.innerValue=this.correctValue(this.value),this.updateColumnValue(this.innerValue)},setFormatter:function(t){this.innerFormatter=t},close:function(){this.closeOnClickOverlay&&this.$emit("close")},cancel:function(){this.$emit("cancel")},confirm:function(){this.$emit("confirm",{value:this.innerValue,mode:this.mode}),this.$emit("input",this.innerValue)},intercept:function(t,e){var n=t.match(/\d+/g);return n.length>1?(uni.$u.error("请勿在过滤或格式化函数时添加数字"),0):e&&4==n[0].length?n[0]:n[0].length>2?(uni.$u.error("请勿在过滤或格式化函数时添加数字"),0):n[0]},change:function(t){var e=t.indexs,n=t.values,i="";if("time"===this.mode)i="".concat(this.intercept(n[0][e[0]]),":").concat(this.intercept(n[1][e[1]]));else{var o=parseInt(this.intercept(n[0][e[0]],"year")),r=parseInt(this.intercept(n[1][e[1]])),a=parseInt(n[2]?this.intercept(n[2][e[2]]):1),s=0,c=0,l=(0,u.default)("".concat(o,"-").concat(r)).daysInMonth();"year-month"===this.mode&&(a=1),a=Math.min(l,a),"datetime"===this.mode&&(s=parseInt(this.intercept(n[3][e[3]])),c=parseInt(this.intercept(n[4][e[4]]))),i=Number(new Date(o,r-1,a,s,c))}i=this.correctValue(i),this.innerValue=i,this.updateColumnValue(i),this.$emit("change",{value:i,picker:this.$refs.picker,mode:this.mode})},updateColumnValue:function(t){this.innerValue=t,this.updateColumns(),this.updateIndexs(t)},updateIndexs:function(t){var e=[],n=this.formatter||this.innerFormatter,i=uni.$u.padZero;if("time"===this.mode){var o=t.split(":");e=[n("hour",o[0]),n("minute",o[1])]}else{new Date(t);e=[n("year","".concat((0,u.default)(t).year())),n("month",i((0,u.default)(t).month()+1))],"date"===this.mode&&e.push(n("day",i((0,u.default)(t).date()))),"datetime"===this.mode&&e.push(n("day",i((0,u.default)(t).date())),n("hour",i((0,u.default)(t).hour())),n("minute",i((0,u.default)(t).minute())))}var r=this.columns.map((function(t,n){return Math.max(0,t.findIndex((function(t){return t===e[n]})))}));this.innerDefaultIndex=r},updateColumns:function(){var t=this.formatter||this.innerFormatter,e=this.getOriginColumns().map((function(e){return e.values.map((function(n){return t(e.type,n)}))}));this.columns=e},getOriginColumns:function(){var t=this,e=this.getRanges().map((function(e){var n=e.type,i=e.range,o=function(t,e){var n=-1,i=Array(t<0?0:t);while(++n<t)i[n]=e(n);return i}(i[1]-i[0]+1,(function(t){var e=i[0]+t;return e="year"===n?"".concat(e):uni.$u.padZero(e),e}));return t.filter&&(o=t.filter(n,o)),{type:n,values:o}}));return e},generateArray:function(t,e){return Array.from(new Array(e+1).keys()).slice(t)},correctValue:function(t){var e="time"!==this.mode;if(e&&!uni.$u.test.date(t)?t=this.minDate:e||t||(t="".concat(uni.$u.padZero(this.minHour),":").concat(uni.$u.padZero(this.minMinute))),e)return t=(0,u.default)(t).isBefore((0,u.default)(this.minDate))?this.minDate:t,t=(0,u.default)(t).isAfter((0,u.default)(this.maxDate))?this.maxDate:t,t;if(-1===String(t).indexOf(":"))return uni.$u.error("时间错误,请传递如12:24的格式");var n=t.split(":"),i=(0,r.default)(n,2),o=i[0],a=i[1];return o=uni.$u.padZero(uni.$u.range(this.minHour,this.maxHour,Number(o))),a=uni.$u.padZero(uni.$u.range(this.minMinute,this.maxMinute,Number(a))),"".concat(o,":").concat(a)},getRanges:function(){if("time"===this.mode)return[{type:"hour",range:[this.minHour,this.maxHour]},{type:"minute",range:[this.minMinute,this.maxMinute]}];var t=this.getBoundary("max",this.innerValue),e=t.maxYear,n=t.maxDate,i=t.maxMonth,o=t.maxHour,r=t.maxMinute,a=this.getBoundary("min",this.innerValue),u=a.minYear,s=a.minDate,c=a.minMonth,l=a.minHour,d=a.minMinute,f=[{type:"year",range:[u,e]},{type:"month",range:[c,i]},{type:"day",range:[s,n]},{type:"hour",range:[l,o]},{type:"minute",range:[d,r]}];return"date"===this.mode&&f.splice(3,2),"year-month"===this.mode&&f.splice(2,3),f},getBoundary:function(t,e){var n,i=new Date(e),r=new Date(this["".concat(t,"Date")]),a=(0,u.default)(r).year(),s=1,c=1,l=0,d=0;return"max"===t&&(s=12,c=(0,u.default)(i).daysInMonth(),l=23,d=59),(0,u.default)(i).year()===a&&(s=(0,u.default)(r).month()+1,(0,u.default)(i).month()+1===s&&(c=(0,u.default)(r).date(),(0,u.default)(i).date()===c&&(l=(0,u.default)(r).hour(),(0,u.default)(i).hour()===l&&(d=(0,u.default)(r).minute())))),n={},(0,o.default)(n,"".concat(t,"Year"),a),(0,o.default)(n,"".concat(t,"Month"),s),(0,o.default)(n,"".concat(t,"Date"),c),(0,o.default)(n,"".concat(t,"Hour"),l),(0,o.default)(n,"".concat(t,"Minute"),d),n}}};e.default=s},8986:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";@font-face{font-family:iconfont;src:url(/static/iconfont/iconfont.woff?t=1545807318834) format("woff"),url(/static/iconfont/iconfont.ttf?t=1545807318834) format("truetype")}\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/* uView */',""]),t.exports=e},"8f6f":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";@font-face{font-family:iconfont;src:url(/static/iconfont/iconfont.woff?t=1545807318834) format("woff"),url(/static/iconfont/iconfont.ttf?t=1545807318834) format("truetype")}\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/* uView */uni-view[data-v-0ec53d12], uni-scroll-view[data-v-0ec53d12], uni-swiper-item[data-v-0ec53d12]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}',""]),t.exports=e},a31e:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={uPopup:n("11c6").default,uLine:n("524a").default,uLoadingIcon:n("1d85").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("u-popup",{attrs:{mode:"center",zoom:t.zoom,show:t.show,customStyle:{borderRadius:"6px",overflow:"hidden",marginTop:"-"+t.$u.addUnit(t.negativeTop)},closeOnClickOverlay:t.closeOnClickOverlay,safeAreaInsetBottom:!1,duration:400},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickHandler.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"u-modal",style:{width:t.$u.addUnit(t.width)}},[t.title?n("v-uni-text",{staticClass:"u-modal__title"},[t._v(t._s(t.title))]):t._e(),n("v-uni-view",{staticClass:"u-modal__content",style:{paddingTop:(t.title?12:25)+"px"}},[t._t("default",[n("v-uni-text",{staticClass:"u-modal__content__text"},[t._v(t._s(t.content))])])],2),t.$slots.confirmButton?n("v-uni-view",{staticClass:"u-modal__button-group--confirm-button"},[t._t("confirmButton")],2):[n("u-line"),n("v-uni-view",{staticClass:"u-modal__button-group",style:{flexDirection:t.buttonReverse?"row-reverse":"row"}},[t.showCancelButton?n("v-uni-view",{staticClass:"u-modal__button-group__wrapper u-modal__button-group__wrapper--cancel",class:[t.showCancelButton&&!t.showConfirmButton&&"u-modal__button-group__wrapper--only-cancel"],attrs:{"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelHandler.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"u-modal__button-group__wrapper__text",style:{color:t.cancelColor}},[t._v(t._s(t.cancelText))])],1):t._e(),t.showConfirmButton&&t.showCancelButton?n("u-line",{attrs:{direction:"column"}}):t._e(),t.showConfirmButton?n("v-uni-view",{staticClass:"u-modal__button-group__wrapper u-modal__button-group__wrapper--confirm",class:[!t.showCancelButton&&t.showConfirmButton&&"u-modal__button-group__wrapper--only-confirm"],attrs:{"hover-stay-time":150,"hover-class":"u-modal__button-group__wrapper--hover"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirmHandler.apply(void 0,arguments)}}},[t.loading?n("u-loading-icon"):n("v-uni-text",{staticClass:"u-modal__button-group__wrapper__text",style:{color:t.confirmColor}},[t._v(t._s(t.confirmText))])],1):t._e()],1)]],2)],1)},r=[]},a32a:function(t,e,n){"use strict";n.r(e);var i=n("388c"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},a897:function(t,e,n){var i=n("582f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("48865a86",i,!0,{sourceMap:!1,shadowMode:!1})},a961:function(t,e,n){var i=n("1377");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("a38162a0",i,!0,{sourceMap:!1,shadowMode:!1})},acd2:function(t,e,n){"use strict";var i=n("a961"),o=n.n(i);o.a},b2cc:function(t,e,n){var i=n("8f6f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("13412077",i,!0,{sourceMap:!1,shadowMode:!1})},b702:function(t,e,n){"use strict";n.r(e);var i=n("5cbb"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},bf19:function(t,e,n){"use strict";var i=n("23e7"),o=n("c65b");i({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},c4f1:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.GetRiskAreaMaster=function(t){return new Promise((function(e,n){o.default.post("/BS/BSRiskSubmit/GetRiskAreaMaster",t).then((function(t){t.IsSuccessful&&e(t.Data)})).catch((function(t){n(t)}))}))},e.getCheckArea=function(t){return new Promise((function(e,n){o.default.post("/HM/HMRiskTask/OrderPagedAreaMineType",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getCheckContent=function(t){return new Promise((function(e,n){o.default.post("/BS/BSCheckContents/OrderPagedObject",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getCheckLevel=function(t){return new Promise((function(e,n){o.default.post("/BS/BSCheckTypeLevel/OrderPagedLevel",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getCheckProblem=function(t){return new Promise((function(e,n){o.default.post("/BS/CheckQuestion/OrderPaged",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getCheckType=function(t){return new Promise((function(e,n){o.default.post("/BS/BSCheckType/OrderPaged",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getRiskDataById=function(t){return new Promise((function(e,n){o.default.post("/BS/RiskSubmit/Get",t).then((function(t){t.IsSuccessful&&e(t.Data)})).catch((function(t){n(t)}))}))},e.getRiskReportData=function(t){return new Promise((function(e,n){o.default.post("/BS/RiskSubmit/OrderPaged",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.getUserLists=function(t){return new Promise((function(e,n){o.default.post("/FM/User/OrderPaged",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},e.saveRiskReport=function(t){return new Promise((function(e,n){o.default.post("/BS/BSRiskSubmit/FullUpdateUser",t).then((function(t){t.IsSuccessful&&e(t.Data)})).catch((function(t){n(t)}))}))},e.saveUser=function(t){return new Promise((function(e,n){o.default.post("/FM/User/Update",t).then((function(t){t.IsSuccessful&&e(t)})).catch((function(t){n(t)}))}))},n("d3b7");var o=i(n("a7f0"))},d143:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"u-sticky",style:[this.style],attrs:{id:this.elId}},[e("v-uni-view",{staticClass:"u-sticky__content",style:[this.stickyContent]},[this._t("default")],2)],1)},o=[]},d961:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={uniCard:n("f9ea").default,"u-Form":n("6f92").default,uFormItem:n("b41e").default,"u-Input":n("1662").default,uIcon:n("f7d8").default,"u-Textarea":n("53f2").default,uSticky:n("646b").default,"u-Text":n("1904").default,uCollapse:n("ec04").default,uModal:n("da7e").default,uPicker:n("96f2").default,uDatetimePicker:n("dd70").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"todo-page"},[n("v-uni-view",{staticClass:"card"},[n("uni-card",{attrs:{margin:"0","is-shadow":!0}},[n("u--form",{ref:"wForm",attrs:{labelPosition:"left",labelWidth:"auto",labelAlign:"center",model:t.model,rules:t.rules,errorType:"border-bottom"}},[1==t.isAdd?n("u-form-item",{attrs:{label:"开始时间:",prop:"START_TIME",borderBottom:!0},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showCheckDate1=!0}}},[n("u--input",{attrs:{disabled:!0,disabledColor:"#fff",placeholder:"请选择开始时间",border:"none",inputAlign:"right"},model:{value:t.model.START_TIME,callback:function(e){t.$set(t.model,"START_TIME",e)},expression:"model.START_TIME"}}),n("u-icon",{staticStyle:{"margin-left":"4px"},attrs:{slot:"right",name:"arrow-down"},slot:"right"})],1):t._e(),1==t.isAdd?n("u-form-item",{attrs:{label:"结束时间:",prop:"END_TIME",borderBottom:!0},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showCheckDate2=!0}}},[n("u--input",{attrs:{disabled:!0,disabledColor:"#fff",placeholder:"请选择结束时间",border:"none",inputAlign:"right"},model:{value:t.model.END_TIME,callback:function(e){t.$set(t.model,"END_TIME",e)},expression:"model.END_TIME"}}),n("u-icon",{staticStyle:{"margin-left":"4px"},attrs:{slot:"right",name:"arrow-down"},slot:"right"})],1):t._e(),n("u-form-item",{attrs:{required:"",label:"当班工作内容:",prop:"JOB_CONTENT",borderBottom:!0}}),n("u--textarea",{attrs:{required:!0,placeholder:"请输入当班工作内容",border:"surround"},model:{value:t.model.JOB_CONTENT,callback:function(e){t.$set(t.model,"JOB_CONTENT",e)},expression:"model.JOB_CONTENT"}}),n("u-form-item",{attrs:{label:"注意事项及防护措施:",prop:"PROTECT_MEASURE",borderBottom:!0}}),n("u--textarea",{attrs:{placeholder:"请输入注意事项及防护措施",border:"surround"},model:{value:t.model.PROTECT_MEASURE,callback:function(e){t.$set(t.model,"PROTECT_MEASURE",e)},expression:"model.PROTECT_MEASURE"}}),n("u-form-item",{attrs:{label:"其他内容:",prop:"OTHER_CONTENT",borderBottom:!0}}),n("u--textarea",{attrs:{placeholder:"请输入其他内容",border:"surround"},model:{value:t.model.OTHER_CONTENT,callback:function(e){t.$set(t.model,"OTHER_CONTENT",e)},expression:"model.OTHER_CONTENT"}}),n("v-uni-view",{staticClass:"upload-title"},[t._v("附件:")]),n("full-upload",{attrs:{isShowBtn:!0,listProp:t.listPropUpload,listPropVal:t.listPropValUpload},model:{value:t.model.Nav_Files,callback:function(e){t.$set(t.model,"Nav_Files",e)},expression:"model.Nav_Files"}})],1)],1)],1),n("u-sticky",{attrs:{"offset-top":"20"}},[n("v-uni-view",{staticClass:"sub-form"},[n("v-uni-view",{staticClass:"sub-form-wrap"},[n("v-uni-view",{staticClass:"sub-form-btns"},[n("v-uni-view",{staticClass:"sub-form-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleAdd.apply(void 0,arguments)}}},[n("u-icon",{staticClass:"icon",attrs:{name:"plus-circle",color:"#3c9cff",size:"21"}}),n("u--text",{attrs:{type:"primary",text:"新增人员"}})],1)],1),n("u--form",{ref:"sForm",attrs:{labelPosition:"left",labelWidth:"auto",labelAlign:"center",errorType:"border-bottom"}},[n("u-collapse",{attrs:{border:!1,accordion:!0}},t._l(t.model.Nav_Users.filter((function(t){return!t.IS_DELETED})),(function(e,i){return n("uni-card",{staticStyle:{"margin-bottom":"16px"},attrs:{margin:"0",spacing:"0","is-shadow":!1}},[n("u-form-item",{attrs:{label:i+1+"."+e["Nav_User"].NAME+"-"+e["Nav_User"].CODE,prop:"Nav_User.NAME"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.handleChangeUser(e)}}},[n("v-uni-view",{staticClass:"row-action",attrs:{slot:"right"},slot:"right"},[n("v-uni-view",{staticClass:"action",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e)}}},[n("u-icon",{staticClass:"icon",attrs:{name:"trash",color:"#ff4d4f",size:"21"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.handleDelRowBefore(i,e)}}})],1)],1)],1)],1)})),1)],1)],1)],1)],1),n("u-modal",{attrs:{show:t.showDelModalIndex>=0,showCancelButton:!0,title:"确认删除?"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirmDel.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelDel.apply(void 0,arguments)}}}),n("query-selector",{attrs:{show:t.showPopup,lists:t.userLists,defaultValue:t.currentOperateUser.NAME},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClosePopup.apply(void 0,arguments)},search:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSearchUser.apply(void 0,arguments)},select:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSelectedUser.apply(void 0,arguments)}}}),n("u-picker",{attrs:{show:t.comPickerInfo.showSheet,columns:t.comPickerInfo.columns,keyName:"NAME"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.onConfirmPicker.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.closePicker.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.closePicker.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"bottom-button"},[n("v-uni-button",{attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}}},[t._v("提交")])],1),n("u-datetime-picker",{attrs:{show:t.showCheckDate1,mode:"datetime"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.handleCheckDate1.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.showCheckDate1=!1},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.showCheckDate1=!1}},model:{value:t.START_TIME,callback:function(e){t.START_TIME=e},expression:"START_TIME"}}),n("u-datetime-picker",{attrs:{show:t.showCheckDate2,mode:"datetime"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.handleCheckDate2.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.showCheckDate2=!1},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.showCheckDate2=!1}},model:{value:t.END_TIME,callback:function(e){t.END_TIME=e},expression:"END_TIME"}})],1)},r=[]},da7e:function(t,e,n){"use strict";n.r(e);var i=n("a31e"),o=n("b702");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("e948");var a=n("f0c5"),u=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"3f114883",null,!1,i["a"],void 0);e["default"]=u.exports},dad1:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3");var i={props:{show:{type:Boolean,default:uni.$u.props.modal.show},title:{type:[String],default:uni.$u.props.modal.title},content:{type:String,default:uni.$u.props.modal.content},confirmText:{type:String,default:uni.$u.props.modal.confirmText},cancelText:{type:String,default:uni.$u.props.modal.cancelText},showConfirmButton:{type:Boolean,default:uni.$u.props.modal.showConfirmButton},showCancelButton:{type:Boolean,default:uni.$u.props.modal.showCancelButton},confirmColor:{type:String,default:uni.$u.props.modal.confirmColor},cancelColor:{type:String,default:uni.$u.props.modal.cancelColor},buttonReverse:{type:Boolean,default:uni.$u.props.modal.buttonReverse},zoom:{type:Boolean,default:uni.$u.props.modal.zoom},asyncClose:{type:Boolean,default:uni.$u.props.modal.asyncClose},closeOnClickOverlay:{type:Boolean,default:uni.$u.props.modal.closeOnClickOverlay},negativeTop:{type:[String,Number],default:uni.$u.props.modal.negativeTop},width:{type:[String,Number],default:uni.$u.props.modal.width},confirmButtonShape:{type:String,default:uni.$u.props.modal.confirmButtonShape}}};e.default=i},dbd9:function(t,e,n){"use strict";var i=n("b2cc"),o=n.n(i);o.a},dc65:function(t,e,n){"use strict";var i=n("e5dc"),o=n.n(i);o.a},dd70:function(t,e,n){"use strict";n.r(e);var i=n("eb6f"),o=n("eae6");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("dbd9");var a=n("f0c5"),u=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"0ec53d12",null,!1,i["a"],void 0);e["default"]=u.exports},e5dc:function(t,e,n){var i=n("8986");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("6912a691",i,!0,{sourceMap:!1,shadowMode:!1})},e7fc:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3"),n("4de4"),n("d3b7");var i={props:{show:{type:Boolean,default:uni.$u.props.datetimePicker.show},showToolbar:{type:Boolean,default:uni.$u.props.datetimePicker.showToolbar},value:{type:[String,Number],default:uni.$u.props.datetimePicker.value},title:{type:String,default:uni.$u.props.datetimePicker.title},mode:{type:String,default:uni.$u.props.datetimePicker.mode},maxDate:{type:Number,default:uni.$u.props.datetimePicker.maxDate},minDate:{type:Number,default:uni.$u.props.datetimePicker.minDate},minHour:{type:Number,default:uni.$u.props.datetimePicker.minHour},maxHour:{type:Number,default:uni.$u.props.datetimePicker.maxHour},minMinute:{type:Number,default:uni.$u.props.datetimePicker.minMinute},maxMinute:{type:Number,default:uni.$u.props.datetimePicker.maxMinute},filter:{type:[Function,null],default:uni.$u.props.datetimePicker.filter},formatter:{type:[Function,null],default:uni.$u.props.datetimePicker.formatter},loading:{type:Boolean,default:uni.$u.props.datetimePicker.loading},itemHeight:{type:[String,Number],default:uni.$u.props.datetimePicker.itemHeight},cancelText:{type:String,default:uni.$u.props.datetimePicker.cancelText},confirmText:{type:String,default:uni.$u.props.datetimePicker.confirmText},cancelColor:{type:String,default:uni.$u.props.datetimePicker.cancelColor},confirmColor:{type:String,default:uni.$u.props.datetimePicker.confirmColor},visibleItemCount:{type:[String,Number],default:uni.$u.props.datetimePicker.visibleItemCount},closeOnClickOverlay:{type:Boolean,default:uni.$u.props.datetimePicker.closeOnClickOverlay},defaultIndex:{type:Array,default:uni.$u.props.datetimePicker.defaultIndex}}};e.default=i},e948:function(t,e,n){"use strict";var i=n("a897"),o=n.n(i);o.a},eae6:function(t,e,n){"use strict";n.r(e);var i=n("7222"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},eb6f:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={uPicker:n("96f2").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("u-picker",{ref:"picker",attrs:{show:t.show,closeOnClickOverlay:t.closeOnClickOverlay,columns:t.columns,title:t.title,itemHeight:t.itemHeight,showToolbar:t.showToolbar,visibleItemCount:t.visibleItemCount,defaultIndex:t.innerDefaultIndex,cancelText:t.cancelText,confirmText:t.confirmText,cancelColor:t.cancelColor,confirmColor:t.confirmColor},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.cancel.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)},change:function(e){arguments[0]=e=t.$handleEvent(e),t.change.apply(void 0,arguments)}}})},r=[]},f4b3:function(t,e,n){"use strict";var i=n("23e7"),o=n("d039"),r=n("7b0b"),a=n("c04e"),u=o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}));i({target:"Date",proto:!0,arity:1,forced:u},{toJSON:function(t){var e=r(this),n=a(e,"number");return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},fd0f:function(t,e,n){"use strict";n.r(e);var i=n("d961"),o=n("a32a");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("acd2");var a=n("f0c5"),u=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"70fce5c5",null,!1,i["a"],void 0);e["default"]=u.exports}}]); |