Commit b1ba76f6 by fengzhaoyu

参会人的增删改

parent c976a1ed
node_modules/
\ No newline at end of file
{"tinyType":"dingtalk","tinyCnName":"钉钉","tinyProjectType":"dingtalk-biz","dingtalk:dingtalk-biz-isv:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz-isv:compilePreviewTime":"2020-02-05 11:55:36","dingtalk:dingtalk-biz-isv:compilePreviewWholePackSize":"18.9 KB","dingtalk:dingtalk-biz-isv:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz-isv:_appIdList":[{"orgName":"叶琴的体验团队","corpId":"ding1fc0618931c5be0a35c2f4657eb6378f","orgId":30571993,"apps":[{"miniAppName":"企业e卡通","bizType":1,"miniAppId":"2019082266405446","icon":"https://static.dingtalk.com/media/lALPDeC2uVA51FrMyMzI_200_200.png"}]},{"orgName":"爸爸的测试企业","corpId":"dingeb04d7fcad9041a435c2f4657eb6378f","orgId":94926075,"apps":[{"miniAppName":"明我会议室","bizType":1,"miniAppId":"2021000196656527","icon":"https://static.dingtalk.com/media/lADPDeC2usmAs3LMyMzI_200_200.jpg"}]},{"orgName":"明我mingwork","corpId":"dingc105456f10a5234f","orgLogo":"@lALPBY0V41nzq_PNAoDNAoA","orgId":5118349,"apps":[]},{"orgName":"亢建荣测试","corpId":"ding9a93ca550f036ffe35c2f4657eb6378f","orgId":39441482,"apps":[{"miniAppName":"mingpay","bizType":1,"miniAppId":"2019051664880184","icon":"https://static.dingtalk.com/media/lALPDeC2uFBmiNDMkMyQ_144_144.png"},{"miniAppName":"企业e卡通测试","bizType":1,"miniAppId":"2019080766135403","icon":"https://static.dingtalk.com/media/lALPDeC2ulRyREDMyMzI_200_200.png"},{"miniAppName":"明我会议室","bizType":1,"miniAppId":"2021001100624233","icon":"https://static.dingtalk.com/media/lALPDeC2uv2EoenMkMyQ_144_144.png"}]}],"dingtalk:dingtalk-biz-isv:preAuditLimit":5,"dingtalk:dingtalk-biz-isv:preAuditUsed":0,"dingtalk:dingtalk-biz-isv:uploadTime":"","dingtalk:dingtalk-biz-isv:packageSize":"","dingtalk:dingtalk-biz-isv:auditLink":null,"dingtalk:dingtalk-biz-isv:whiteListLink":null,"dingtalk:dingtalk-biz-isv:_enableAutoPush":false,"dingtalk:dingtalk-biz-isv:_appId":"2019080766135403","dingtalk:dingtalk-biz-isv:_appName":"企业e卡通测试","dingtalk:dingtalk-biz-isv:_orgId":39441482,"dingtalk:dingtalk-biz-isv:_corpId":"ding9a93ca550f036ffe35c2f4657eb6378f","dingtalk:dingtalk-biz-isv:remoteVersion":"0.0.23","dingtalk:dingtalk-biz-isv:currentVersion":"0.0.24","dingtalk:dingtalk-biz-isv:whiteList":["60.191.0.172","gateway-beta.mingwork.com","restapi.amap.com","mingpos.mingwork.com","139.196.213.18","60.191.0.166","192.168.1.101"],"dingtalk:dingtalk-biz-isv:h5WhiteList":[],"dingtalk:dingtalk-biz-isv:experCorpId":"dingb625cb941fe828d935c2f4657eb6378f","dingtalk:dingtalk-biz-isv:experCorpName":"亢建荣体验馆","dingtalk:dingtalk-biz:tinyIcon":"https://gw.alipayobjects.com/zos/rmsportal/mAzWuEDGpTlpugsPXgzf.svg","dingtalk:dingtalk-biz:compilePreviewTime":"2020-02-07 12:54:57","dingtalk:dingtalk-biz:compilePreviewWholePackSize":"42.5 KB","dingtalk:dingtalk-biz:compilePreviewSubpackSizes":"","dingtalk:dingtalk-biz:_appIdList":[{"orgName":"亢建荣测试","corpId":"ding9a93ca550f036ffe35c2f4657eb6378f","orgId":39441482,"apps":[{"miniAppName":"mingpay2","bizType":2,"miniAppId":"2019061465615005","icon":"https://static.dingtalk.com/media/lADPDeC2uJiDYQDNAZvNApI_658_411.jpg"}]}],"dingtalk:dingtalk-biz:preAuditLimit":5,"dingtalk:dingtalk-biz:preAuditUsed":0,"dingtalk:dingtalk-biz:uploadTime":"","dingtalk:dingtalk-biz:packageSize":"","dingtalk:dingtalk-biz:auditLink":null,"dingtalk:dingtalk-biz:whiteListLink":null,"dingtalk:dingtalk-biz:_enableAutoPush":false,"dingtalk:dingtalk-biz:_appId":"2019061465615005","dingtalk:dingtalk-biz:_appName":"mingpay2","dingtalk:dingtalk-biz:_orgId":"39441482","dingtalk:dingtalk-biz:_corpId":"ding9a93ca550f036ffe35c2f4657eb6378f","dingtalk:dingtalk-biz:remoteVersion":"0.0.33","dingtalk:dingtalk-biz:currentVersion":"0.0.34","dingtalk:dingtalk-biz:whiteList":["139.196.213.18"],"dingtalk:dingtalk-biz:h5WhiteList":[],"isSimulatorOpen":true,"isNotFirstToggleSimulator":true,"dingtalk:dingtalk-biz:lastZoom":125,"storageVersion":"1.5.7"}
\ No newline at end of file
{"configurations":{},"breakpoints":{"breakpointsEnabled":true,"breakpoints":{},"exceptionsBreakpoints":{}},"watchers":[],"storageVersion":"1.5.7"}
\ No newline at end of file
......@@ -2,4 +2,5 @@ require('@alipay/appx-compiler/lib/sjsEnvInit');
require('./config$');
require('../../pages/createOrEditSchedule/createOrEditSchedule?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/participantsDetail/participantsDetail?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/index/index?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
......@@ -30,6 +30,7 @@ if(AFAppX.registerApp) {
function success() {
require('../../app');
require('../../pages/createOrEditSchedule/createOrEditSchedule?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/participantsDetail/participantsDetail?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/index/index?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
}
self.bootstrapApp ? self.bootstrapApp({ success }) : success();
......
const g = typeof global !== 'undefined' ? global : self;
g.appXAppJson = {
"app": {
"$homepage": "pages/createOrEditSchedule/createOrEditSchedule"
}
};
if(!self.Map || !self.Set || !self.Symbol) {
importScripts('https://gw.alipayobjects.com/as/g/appx_release/deps/1.0.3/es6-set-map-symbol.js');
}
importScripts(`https://appx/af-appx.worker.min.js`);
require('@alipay/appx-compiler/lib/sjsEnvInit');
require('./config$');
require('../../pages/createOrEditSchedule/createOrEditSchedule?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/participantsDetail/participantsDetail?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/index/index?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
/*BUGME_START*/
const __BUGME_START__ = 1;
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=43)}({0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Connect="RemoteX.connect",e.Disconnect="RemoteX.disconnect",e.PageChanged="RemoteX.pageChanged",e.DataChanged="RemoteX.dataChanged",e.EvaluteScript="RemoteX.evaluteScript",e.RegisterChannel="RemoteX.registerChannel",e.PassByWorker="RemoteX.PassByWorker",e.syncStorage="RemoteX.syncStorage",e.setStorage="RemoteX.setStorage",e.removeStorage="RemoteX.removeStoarge",e.requestWillBeSent="RemoteX.requestWillBeSent",e.requestFinished="RemoteX.requestFinished",e.ExitApp="RemoteX.exitApp"}(t.RemoteXMethods||(t.RemoteXMethods={}))},10:function(e,t){
/*!
Copyright (C) 2013-2017 by Andrea Giammarchi - @WebReflection
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
var n="\\x"+("0"+"~".charCodeAt(0).toString(16)).slice(-2),o="\\"+n,r=new RegExp(n,"g"),a=new RegExp(o,"g"),s=new RegExp("(?:^|([^\\\\]))"+o),i=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},c=String;function u(e,t,n){return t instanceof Array?function(e,t,n){for(var o=0,r=t.length;o<r;o++)t[o]=u(e,t[o],n);return t}(e,t,n):t instanceof c?t.length?n.hasOwnProperty(t)?n[t]:n[t]=function(e,t){for(var n=0,o=t.length;n<o;e=e[t[n++].replace(a,"~")]);return e}(e,t.split("~")):e:t instanceof Object?function(e,t,n){for(var o in t)t.hasOwnProperty(o)&&(t[o]=u(e,t[o],n));return t}(e,t,n):t}var l={stringify:function(e,t,a,s){return l.parser.stringify(e,function(e,t,a){var s,c,u=!1,l=!!t,d=[],f=[e],h=[e],p=[a?"~":"[Circular]"],m=e,g=1;return l&&(c="object"==typeof t?function(e,n){return""!==e&&t.indexOf(e)<0?void 0:n}:t),function(e,t){return l&&(t=c.call(this,e,t)),u?(m!==this&&(s=g-i.call(f,this)-1,g-=s,f.splice(g,f.length),d.splice(g-1,d.length),m=this),"object"==typeof t&&t?(i.call(f,t)<0&&f.push(m=t),g=f.length,(s=i.call(h,t))<0?(s=h.push(t)-1,a?(d.push((""+e).replace(r,n)),p[s]="~"+d.join("~")):p[s]=p[0]):t=p[s]):"string"==typeof t&&a&&(t=t.replace(n,o).replace("~",n))):u=!0,t}}(e,t,!s),a)},parse:function(e,t){return l.parser.parse(e,function(e){return function(t,r){var a="string"==typeof r;return a&&"~"===r.charAt(0)?new c(r.slice(1)):(""===t&&(r=u(r,r,{})),a&&(r=r.replace(s,"$1~").replace(o,n)),e?e.call(this,t,r):r)}}(t))},parser:JSON};e.exports=l},11:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),r=n(4),a=n(2),s=n(0),i=Function,c=console.log,u=function(){a.getBridge().call("showRemoteDebugPanel",{status:"connecting",text:"远程调试连接中",buttonTitle:"退出"})},l=function(){a.getBridge().call("showRemoteDebugPanel",{status:"connected",text:"远程调试已连接",buttonTitle:"退出"})},d=function(){a.getBridge().call("showRemoteDebugPanel",{status:"disconnected",text:"远程调试已断开",buttonTitle:"退出"})},f={send:function(e){a.getBridge().sendSocketMessage(e)},close:function(){a.getBridge().closeSocket()}};t.SocketConn={socketTask:null,send:function(e){this.socketTask&&this.socketTask.send({data:"string"==typeof e?e:JSON.stringify(e)})},close:function(){this.socketTask&&this.socketTask.close()},open:function(){var e=this,t=a.getStartupParams().channelId;if(t){u();var n=a.getBridge();a.checkIOS()?(n.connectSocket({url:"wss://openchannel.alipay.com/host/"+t}),n.onSocketOpen((function(){e.socketTask=f,e.onopen()})),n.onSocketMessage((function(t){e.onmessage({data:t})})),n.onSocketClose((function(){e.onclose()})),n.connectSocket=function(){n.alert({content:"iOS 真机调试暂不支持 connectSocket JSAPI"})},n.onSocketMessage=n.offSocketMessage=function(){}):setTimeout((function(){var o=n.connectSocket({url:"wss://openchannel.alipay.com/host/"+t,multiple:!0});o.onOpen((function(){e.socketTask=o,e.onopen()})),o.onMessage((function(t){e.onmessage(t)})),o.onClose((function(){e.onclose()}))}),1200)}},onopen:function(){this.send({method:s.RemoteXMethods.Connect,params:{userAgent:a.getUserAgent()}}),l()},onmessage:function(e){try{var t=JSON.parse(e.data.data),n=t.method,a=t.id,u=t.params;if(n===s.RemoteXMethods.Disconnect)this.close();else if(n===s.RemoteXMethods.EvaluteScript){if(u&&u.code)try{var l=new i("var res = "+u.code+"; return res;")();this.send({returnId:a,payload:o.stringify(l)})}catch(e){c("[remoteX worker evaluteScript] ",e)}}else r.ChannelPot.sendToActiveChannel(t)}catch(t){c("RemoteX onSocketMessage error",t,e)}},onclose:function(){this.socketTask=null,d(),a.getBridge().call("alert",{title:"调试中断",button:"退出"},(function(){r.ChannelPot.sendToActiveChannel({method:s.RemoteXMethods.ExitApp})}))}}},2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserAgent=function(){return navigator.swuserAgent||navigator.userAgent||""},t.checkIOS=function(){return/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(t.getUserAgent())},t.getAlipayVersion=function(){return(t.getUserAgent().match(/AlipayClient\/(\d+\.\d+\.\d+)/)||[])[1]||""},t.compareVersion=function(e,t){var n=e.split("."),o=t.split(".");if(e===t)return 0;for(var r=0;r<n.length;r++){var a=n[r]-o[r];if(a)return a>0?1:-1}};var o=self.AlipayJSBridge&&self.AlipayJSBridge.call,r=self.fetch;t.callInternalAPI=function(e,t){var n={data:{method:e,param:t},action:"internalAPI"},a=encodeURIComponent(JSON.stringify(n));r?r("https://alipay.kylinBridge/?data="+a,{mode:"no-cors"}).then((function(){})).catch((function(){})):o&&o("internalAPI",{method:e,param:t})},t.getStartupParams=function(){return self.__appxStartupParams||{}},t.getBridge=function(){return self.AFAppX.bridge},t.debug=console.log},4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),r=n(0),a=console.log;t.ChannelPot={_mainViewId:null,_activeViewId:null,_map:{},get:function(e){return this._map[e]||null},set:function(e,t){this._map[e]=t},remove:function(e){delete this._map[e]},setActiveId:function(e){this._activeViewId=e},setMainId:function(e){this._mainViewId=e},sendToMainChannel:function(e){o.SocketConn.send(e)},sendToActiveChannel:function(e){this.get(this._activeViewId)?this.get(this._activeViewId).postMessage(e):a("[remotex] missing active channel",e,this._activeViewId)}};var s=function(){function e(e){var t=this;this._port=e,this._port.onmessage=this.onMessage,Object.defineProperty(e,"onmessage",{get:function(){return t.onMessage},set:function(){}})}return e.prototype.onMessage=function(e){if(e.data){var n=e.data,o=n.method,a=n.params;o===r.RemoteXMethods.PassByWorker&&t.ChannelPot.sendToMainChannel(a)}},e.prototype.postMessage=function(e){this._port.postMessage(e)},e}();t.ChannelHandler=s},43:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),r=n(44),a=n(2);!function(){var e=function(e,t){return void 0===t?"©undefined":null===t?"©null":t===-1/0?"©- Infinity":t===1/0?"©Infinity":"number"==typeof t&&isNaN(t)?"©NaN":"function"==typeof t?"©function":t},t=Function,n=function(n){try{if(n.fromVConsoleToWorker){var r=n.requestId;if("exec"===n.method){try{new t("requestId","sendBack","var res = "+n.script+";console.log(res);")(r,(function(t){return a.callInternalAPI("tinyDebugConsole",{type:"msgFromWorkerToVConsole",content:o.stringify({requestId:r,returnValue:t},e)})}))}catch(e){console.error(e.name+":"+e.message)}}}}catch(e){}};setTimeout((function(){self.document?self.document.addEventListener("push",(function(e){try{var t=e.data.param;n(JSON.parse(t.content||t.data.content))}catch(e){}})):self.addEventListener&&self.addEventListener("push",(function(e){try{var t=JSON.parse(JSON.parse(e.data.text()).param.data.content);n(t)}catch(e){}}))}),10),["log","info","error","debug","warn"].forEach((function(t){var n="o"+t;console[n]||(console[n]=console[t],console[t]=function(){for(var r,s=[],i=0;i<arguments.length;i++)s[i]=arguments[i];console[n].apply(console,s);try{r=o.stringify(s.map((function(e){return e instanceof Error?e.name+": "+e.message:e})),e)}catch(e){return void console.error(e.name+": "+e.message)}a.callInternalAPI("tinyDebugConsole",{content:r,type:"console_"+t})})}));var s=setInterval((function(){if(self.AFAppX){clearInterval(s);var e=a.getStartupParams();e.isRemoteX&&e.channelId&&r.registerRemoteX()}}),50)}()},44:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),r=n(45),a=n(11),s=n(2),i=n(0);function c(){s.getBridge().call("hideOptionMenuItem",{scope:"single",name:"backToHome"}),(self.document||self).addEventListener("push",(function(e){var t=e.data;if(t&&"function"==typeof t.text)try{t=JSON.parse(t.text())}catch(e){return}if(t&&t.func){var n=t.func,s=t.viewId;if("nbcomponent.canrender"===n||"pageResume"===n)o.ChannelPot.setActiveId(s),o.ChannelPot.sendToMainChannel({method:i.RemoteXMethods.PageChanged});else if("beforeDestroy"===n)o.ChannelPot.remove(s);else if("tinyRemoteDebugPanelButtonClick"===n)a.SocketConn.close();else try{r.listenTinyDebug(t)}catch(e){}}})),r.hookGlobalApi()}t.initRemoteX=c,t.registerRemoteX=function(){self.addEventListener&&self.navigator&&(c(),a.SocketConn.open(),self.addEventListener("message",(function(e){if(e&&e.data){var t=e.data;if(t.method===i.RemoteXMethods.RegisterChannel){var n=e.ports[0],r=t.params.viewId+"";o.ChannelPot.set(r,new o.ChannelHandler(n)),o.ChannelPot.setActiveId(r),null===o.ChannelPot._mainViewId&&o.ChannelPot.setMainId(r),o.ChannelPot.sendToMainChannel({method:i.RemoteXMethods.PageChanged})}}})))}},45:function(e,t,n){"use strict";var o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(0),s=n(2),i=function(e){return"function"==typeof e},c=0;function u(e){if(!e||"object"!=typeof e)return{};var t={};return Object.keys(e).forEach((function(n){t[n]=""+e[n]})),t}function l(e){var t=e.name,n=e.params;/^(http)?Request$/i.test(t)&&r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestWillBeSent,params:{reqId:"remotex_req_"+e.reqId,url:n.url,method:(n.method||"GET").toUpperCase(),body:"string"==typeof n.data?n.data:JSON.stringify(n.data),headers:u(n.headers)}})}function d(e){var t=e.name,n=e.res,o=e.params;/^clearStorage(Sync)?$/.test(t)&&n.success?r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.syncStorage,params:{data:{}}}):/^removeStorage(Sync)?$/.test(t)&&n.success?r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.removeStorage,params:{key:o.key}}):/^setStorage(Sync)?$/.test(t)&&n.success?r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.setStorage,params:{key:o.key,value:o.data}}):/^(http)?Request$/i.test(t)&&r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestFinished,params:{reqId:"remotex_req_"+e.reqId,url:o.url,status:n.status,body:"string"==typeof n.data?n.data:JSON.stringify(n.data),headers:u(n.headers)}})}t.hookGlobalApi=function(){if(!(s.compareVersion(s.getAlipayVersion(),"10.1.75")>=0)){var e=self.AFAppX.bridge;e?["clearStorage","removeStorage","setStorage","httpRequest","request"].forEach((function(t){e[t]&&(e[t]=function(e,t){return function(n){var r=++c,a=o({},n),s=a.success,u=a.fail;l({name:e,params:n,reqId:r}),a.success=function(t){i(s)&&s(t),d({name:e,params:n,res:t,reqId:r})},a.fail=function(t){i(u)&&u(t),d({name:e,params:n,res:t,reqId:r})},t(a)}}(t,e[t]));var n=t+"Sync";e[n]&&(e[n]=function(e,t){return function(n){var o=++c;l({name:e,params:n,reqId:o});var r=t(n);return d({name:e,params:n,res:r,reqId:o}),r}}(n,e[n]))})):self.__APPX_DEVTOOLS_GLOBAL_HOOK__={onApiCallback:d,onApiSyncCallback:d,onApiCall:l}}};var f=/^https?:\/\/hpmweb\.alipay\.com/;function h(e,t){switch(e){case"tinyAppRemoteDebug_network_request":if(f.test(t.url))return;r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestWillBeSent,params:{reqId:t.requestId,url:t.url,method:(t.method||"GET").toUpperCase(),body:t.postBody,headers:u(t.headers)}});break;case"tinyAppRemoteDebug_network_response":if(f.test(t.url))return;r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestFinished,params:{reqId:t.requestId,url:t.url,status:t.status,body:t.body,headers:u(t.headers)}});break;case"tinyAppRemoteDebug_network_error":if(f.test(t.url))return;r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestFinished,params:{reqId:t.requestId,url:t.url,status:null}});break;case"tinyAppRemoteDebug_storage":var n={};Object.keys(t.data).forEach((function(e){try{n[e]=JSON.parse(t.data[e]).APDataStorage}catch(e){}})),r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.syncStorage,params:{data:n}})}}t.listenTinyDebug=function(e){var t=e.func,n=e.param;if(/^tinyAppRemoteDebug_/.test(t))h(t,n);else if("onTinyDebugConsole"===t){if(!n.data)return;var o=n.data,r=o.type,a=o.content;try{a=JSON.parse(a)}catch(e){}h(r,a)}}}});
const __BUGME_END__ = 1;
/*BUGME_END*/if(!self.__appxInited) {
self.__appxInited = 1;
require('./config$');
require('./importScripts$');
var AFAppX = self.AFAppX;
self.getCurrentPages = AFAppX.getCurrentPages;
self.getApp = AFAppX.getApp;
self.Page = AFAppX.Page;
self.App = AFAppX.App;
self.my = AFAppX.bridge || AFAppX.abridge;
self.abridge = self.my;
self.Component = AFAppX.WorkerComponent || function(){};
self.$global = AFAppX.$global;
self.requirePlugin = AFAppX.requirePlugin;
if(AFAppX.registerApp) {
AFAppX.registerApp({
appJSON: appXAppJson,
});
}
function success() {
require('../../app');
require('../../pages/createOrEditSchedule/createOrEditSchedule?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/participantsDetail/participantsDetail?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/index/index?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
}
self.bootstrapApp ? self.bootstrapApp({ success }) : success();
}
\ No newline at end of file
{"layout":{"left":{"currentId":"explorer","size":310},"right":{"currentId":""},"bottom":{"currentId":"","size":280}},"storageVersion":"1.5.7"}
\ No newline at end of file
{"OPENED_FILE":["file:///Users/zhaoyufeng/Desktop/work/schedule/pages/createOrEditSchedule/createOrEditSchedule.axml","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/participantsDetail/participantsDetail.acss","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/participantsDetail/participantsDetail.axml","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/createOrEditSchedule/createOrEditSchedule.acss","file:///Users/zhaoyufeng/Desktop/work/schedule/stores/exampleStore.js","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/participantsDetail/participantsDetail.js","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/createOrEditSchedule/createOrEditSchedule.js","file:///Users/zhaoyufeng/Desktop/work/schedule/app.js","file:///Users/zhaoyufeng/Desktop/work/schedule/.gitignore","file:///Users/zhaoyufeng/Desktop/work/schedule/stores/example","file:///Users/zhaoyufeng/Desktop/work/schedule/app.json","file:///Users/zhaoyufeng/Desktop/work/schedule/font/iconfont.acss","file:///Users/zhaoyufeng/Desktop/work/schedule/font/iconfont.svg","file:///Users/zhaoyufeng/Desktop/work/schedule/font/demo.acss","file:///Users/zhaoyufeng/Desktop/work/schedule/font/iconfont.ttf","file:///Users/zhaoyufeng/Desktop/work/schedule/font/iconfont.js","file:///Users/zhaoyufeng/Desktop/work/schedule/font/iconfont.eot","file:///Users/zhaoyufeng/Desktop/work/schedule/app.acss","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/index/index.axml","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/createOrEditSchedule/createOrEditSchedule.json","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/index/index.js","file:///Users/zhaoyufeng/Desktop/work/schedule/snapshot.png"],"SEARCH_WORD":["a:fo"],"storageVersion":"1.5.7"}
\ No newline at end of file
{"grid":{"editorGroup":{"uris":["file:///Users/zhaoyufeng/Desktop/work/schedule/pages/createOrEditSchedule/createOrEditSchedule.js","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/participantsDetail/participantsDetail.axml","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/participantsDetail/participantsDetail.acss","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/participantsDetail/participantsDetail.js","file:///Users/zhaoyufeng/Desktop/work/schedule/app.js","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/createOrEditSchedule/createOrEditSchedule.acss","file:///Users/zhaoyufeng/Desktop/work/schedule/pages/createOrEditSchedule/createOrEditSchedule.axml","file:///Users/zhaoyufeng/Desktop/work/schedule/stores/exampleStore.js"],"current":"file:///Users/zhaoyufeng/Desktop/work/schedule/pages/createOrEditSchedule/createOrEditSchedule.axml","previewIndex":-1}},"storageVersion":"1.5.7"}
\ No newline at end of file
{
"pages": [
"pages/createOrEditSchedule/createOrEditSchedule",
"pages/participantsDetail/participantsDetail",
"pages/index/index"
],
"window": {
......
{
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"dd-store": {
"version": "1.8.3",
"resolved": "https://registry.npmjs.org/dd-store/-/dd-store-1.8.3.tgz",
"integrity": "sha512-++BcwtpK0m57fAvv4bl9lc5Fc23TQCmLVQYgaBG2fKh2eY6WXURr6gg7crhAWiwEfFKa2waRE+ei4HHSSerYSw=="
}
}
}
......@@ -6,16 +6,24 @@ page {
color: #191F25;
}
::-webkit-scrollbar {
display: none
}
.parent {
display: flex
}
.theme {
border-top: 1rpx solid rgba(25, 31, 37, 0.12);
overflow: hidden;
/* overflow: hidden; */
background: #fff;
color: #191F25;
padding: 30rpx 32rpx;
border-bottom: 1rpx solid rgba(25, 31, 37, 0.12);
}
.theme input {
.theme input {
width: 100%;
padding-left: 0;
height: 52rpx;
......@@ -40,7 +48,7 @@ page {
height: 132rpx;
display: flex;
padding: 0;
/* overflow-y: hidden; */
}
.timeContainer {
......@@ -70,28 +78,39 @@ page {
}
.startTime {
background: #3296FA;
width: 355rpx;
text-indent: 32rpx;
color: white;
position: relative;
}
.selectTime {
background: #3296FA;
color: white;
}
.line {
height: 100%;
width: 132rpx;
background: #3296FA;
position: absolute;
right: -18rpx;
top: 0;
transform: rotate(45deg)
background: white;
top: 230.5rpx;
right: -6rpx;
width: 32rpx;
height: 32rpx;
transform: scaleY(3) translate(30%, -30px) rotate(45deg);
border-top: 1rpx solid #E3E4E4;
border-right: 1rpx solid #E3E4E4;
}
.selectLine {
background: #3296FA;
border: none;
}
.endTime {
text-indent: 75rpx;
}
.icon, .text {
width: 100%;
height: 100%;
line-height: 112rpx;
vertical-align: center;
......@@ -134,3 +153,104 @@ page {
border: 1px solid rgba(25, 31, 37, 0.12);
border-radius: 48px;
}
.people {
height: 100%;
display: flex;
position: relative;
}
.peopleTop {}
.scrollPeople {
white-space: nowrap;
height: 100%;
overflow-x: scroll;
max-width: 400rpx;
}
.scrollPeople image,
.name {
text-align: center;
line-height: 58rpx;
font-size: 28rpx;
display: inline-block;
color: white;
margin: 27rpx 16rpx 27rpx 0;
width: 58rpx;
height: 58rpx;
border-radius: 50%;
vertical-align: top;
background: #3296FA;
}
.addPeople {
line-height: 58rpx;
margin-top: 27rpx;
color: rgba(25, 31, 37, 0.12);
margin-left: 8rpx;
width: 58rpx;
height: 58rpx;
text-align: center;
vertical-align: middle;
font-size: 72rpx;
border-radius: 50%;
}
.rightPeople {
position: absolute;
opacity: 0.56;
font-size: 28rpx;
color: #191F25;
right: 32rpx;
}
.rightPeople .iconyoujinru {
margin-left: 15rpx;
opacity: 1;
color: rgba(25, 31, 37, 0.40);
}
.imageGroup {
position: relative;
}
.conflictTip {
font-size: 24rpx;
text-align: center;
width: 19rpx;
line-height: 19rpx;
height: 19rpx;
display: inline-block;
border-radius: 50%;
background: #E60012;
position: absolute;
color: rgb(211, 190, 192);
bottom: 2rpx;
right: 13rpx;
}
.participants {
height: auto;
}
.tip {
width: 661rpx;
border-top: 1rpx solid rgba(25, 31, 37, 0.12);
height: 86rpx;
font-size: 28rpx;
white-space: nowrap;
line-height: 86rpx;
overflow-x: scroll;
}
.noConflict {
color: #3296FA;
}
.conflict {
color: #E60012;
}
.addParticipants {
width: 100%;
display: inline-block;
height: 100%;
}
\ No newline at end of file
......@@ -5,7 +5,7 @@
</view>
<!-- 时间 -->
<view class="time">
<view class="startTime">
<view class="startTime {{timeStaus === '0' ? 'selectTime' : ''}}" data-timeStaus="0" onTap="selectTime">
<view class="timeContainer">
<view class="yearTime">
2月4日
......@@ -17,11 +17,9 @@
<view class="weekTime">
周三
</view>
<!-- <view class="line">
</view> -->
<!-- <view class="line {{!!timeStaus ? 'selectLine' : ''}}"> -->
</view>
<view class="endTime">
<view class="endTime {{timeStaus === '1' ? 'selectTime' : ''}}" data-timeStaus="1" onTap="selectTime">
<view class="timeContainer">
<view class="yearTime">
2月4日
......@@ -35,35 +33,62 @@
</view>
</view>
</view>
<!-- 地点 -->
<view class="place">
</view>
<!-- 地点 -->
<view class="place">
<view class="icon iconfont icondingwei">
</view>
<view class="text">
添加地点
</view>
</view>
<!-- 参会人 -->
<view class="participants">
</view>
<!-- 参会人 -->
<view class="participants">
<view class="icon iconfont iconcanhuiren1">
</view>
<view class="text">
添加参会人
<view a:if="{{participants.length}}">
<view class="people">
<view class="scrollPeople" catchTap="nextPage">
<text class="imageGroup" a:for="{{participants}}" a:for-item="item">
<text>
<image a:if="{{!!item.avatar}}" mode="scaleToFill" src="{{item.avatar}}"/>
<text a:else class="name">{{item.name.substring(item.name.length - 2, item.name.length)}}</text>
</text>
<text class="conflictTip"></text>
</text>
</view>
<view class="addPeople iconfont icontianjia" onTap="addParticipants">
</view>
<view class="rightPeople">
<text>{{participants.length}}人</text>
<text class="iconfont iconyoujinru"></text>
</view>
</view>
<view class="tip">
<!--<text class="noConflict">
所有参与者都有空</text> -->
<text class="conflict">
叶琴、王梦琳、冯召玉、等9:30-10:00 会议冲突
</text>
</view>
</view>
<!-- 提醒 -->
<view class="remind">
<view class="icon iconfont iconhuiqiantixing">
<text class="addParticipants" a:else onTap="addParticipants">添加参会人</text>
</view>
</view>
<!-- 提醒 -->
<view class="remind">
<view class="icon iconfont iconfont iconhuiqiantixing">
</view>
<view class="text">
<text>提前15分钟提醒</text>
<text class="close iconshanchu iconfont"></text>
</view>
</view>
<!-- 保存 -->
<view class="save">
</view>
<!-- 保存 -->
<view class="save">
<view>
立即创建
</view>
</view>
</view>
</view>
\ No newline at end of file
Page({
data: {},
import create from 'dd-store'
import exampleStore from '/stores/exampleStore'
create.Page({
store: exampleStore,
useAll: true,
data: {
timeStaus: '',
},
onLoad() {
console.log(this.store.data.participants)
dd.setNavigationBar({
title: '创建会议'
})
},
// 选择时间
selectTime(event) {
this.setData({
timeStaus: event.target.dataset.timeStaus
})
},
// 添加参会人
addParticipants() {
const _that = this
dd.complexChoose({
title: "选择参会人", //标题
multiple: true, //是否多选
limitTips: "超出了", //超过限定人数返回提示
maxUsers: 1000, //最大可选人数
pickedUsers: [], //已选用户
pickedDepartments: [], //已选部门
disabledUsers: [], //不可选用户
disabledDepartments: [], //不可选部门
requiredUsers: [], //必选用户(不可取消选中状态)
requiredDepartments: [], //必选部门(不可取消选中状态)
permissionType: "xxx", //可添加权限校验,选人权限,目前只有GLOBAL这个参数
responseUserOnly: true, //返回人,或者返回人和部门
success: function (res) {
res.users.forEach((item, index)=> {
_that.store.data.participants.push(item)
})
_that.store.data.participants = _that.setArrary(_that.store.data.participants)
_that.update()
},
fail: function (err) {
}
})
},
// 跳转下一页
nextPage(event) {
dd.navigateTo({url:'./../participantsDetail/participantsDetail'})
},
// 数组去重
setArrary(arr, userId) {
console.log(arr)
let containt = {}
for (let x of arr) {
containt['id' + x.userId] = x
}
return Object.values(containt)
},
});
@import "../../font/iconfont.acss";
page {
background: #f6f6f6;
font-family: PingFangSC-Regular;
font-size: 30rpx;
color: #191F25;
padding-bottom: 128rpx;
}
.list {
background: #fff;
height: 112rpx;
line-height: 112rpx;
display: flex;
padding-left: 32rpx;
}
.headImg {
margin-right: 24rpx;
margin-top: 24rpx;
width: 64rpx;
height: 64rpx;
background: #3296FA;
border-radius: 50%;
overflow: hidden;
color: white;
line-height: 64rpx;
text-align: center;
}
.headImg image {
vertical-align: middle;
width: 64rpx;
height: 64rpx;
border-radius: 50%;
}
.info {
width: 630rpx;
line-height: 112rpx;
height: 112rpx;
border-bottom: 1rpx solid rgba(25, 31, 37, 0.12);
}
.close {
position: absolute;
right: 32rpx;
color: #D8D8D8;
}
.button {
position: fixed;
bottom: 0;
display: flex;
margin-left: 32rpx;
padding-bottom: 32rpx;
background: white;
}
.button view {
width: 335rpx;
height: 96rpx;
border: 1px solid #3296FA;
border-radius: 48px;
text-align: center;
line-height: 96rpx;
font-size: 36rpx;
}
.add {
color: #0080FF;
margin-right: 16rpx;
}
.button .save {
color: white;
background: #3296FA;
border: 1px solid rgba(25, 31, 37, 0.12);
}
\ No newline at end of file
<view>
<view class="list" a:for="{{participants}}" a:for-item="item">
<view class="headImg">
<image a:if="{{!!item.avatar}}" mode="scaleToFill" src="{{item.avatar}}"/>
<text a:else>{{item.name.substring(0, 1)}}</text>
</view>
<view class="info">
<text class="name">{{item.name}}</text>
<text class="close iconshanchu iconfont" data-userId="{{item.userId}}" onTap="delParticipants"></text>
</view>
</view>
<view class="button">
<view class="add" onTap="addParticipants">
添加参会人
</view>
<view class="save" onTap="saveInfo">
完成
</view>
</view>
</view>
\ No newline at end of file
import create from 'dd-store'
import exampleStore from '/stores/exampleStore'
create.Page({
store: exampleStore,
useAll: true,
data: {
},
onLoad() {
dd.setNavigationBar({
title: `参会人(${this.store.data.participants.length}人)`
})
},
// 保存信息
saveInfo() {
dd.navigateBack({
delta: 1
})
},
// 添加参会人
addParticipants() {
const _that = this
dd.complexChoose({
title: "选择参会人", //标题
multiple: true, //是否多选
limitTips: "超出了", //超过限定人数返回提示
maxUsers: 1000, //最大可选人数
pickedUsers: [], //已选用户
pickedDepartments: [], //已选部门
disabledUsers: [], //不可选用户
disabledDepartments: [], //不可选部门
requiredUsers: [], //必选用户(不可取消选中状态)
requiredDepartments: [], //必选部门(不可取消选中状态)
permissionType: "xxx", //可添加权限校验,选人权限,目前只有GLOBAL这个参数
responseUserOnly: true, //返回人,或者返回人和部门
success: function (res) {
res.users.forEach((item, index) => {
_that.store.data.participants.push(item)
})
_that.store.data.participants = _that.setArrary(_that.store.data.participants)
_that.update()
dd.setNavigationBar({
title: `参会人(${_that.store.data.participants.length}人)`
})
},
fail: function (err) {
}
})
},
// 删除参会人
delParticipants(event) {
let userId = event.target.dataset.userId
console.log(event.target.dataset.userId)
this.store.data.participants.forEach((item, index) => {
if (userId === item.userId) {
this.store.data.participants.splice(index, 1)
this.update()
return
}
})
dd.setNavigationBar({
title: `参会人(${this.store.data.participants.length}人)`
})
},
// 数组去重
setArrary(arr, userId) {
console.log(arr)
let containt = {}
for (let x of arr) {
containt['id' + x.userId] = x
}
return Object.values(containt)
},
});
class Store {
data = {
participants: []
}
}
export default new Store()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment