system-phone 1.4.0 → 3.0.2-tc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/6.1/fileChanges/last-build.bin +0 -0
- package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/6.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/checksums/md5-checksums.bin +0 -0
- package/.gradle/checksums/sha1-checksums.bin +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/SystemPhone.iml +9 -0
- package/build/dev-server.js +51 -31
- package/build/webpack.base.conf.js +5 -1
- package/build.gradle +1 -1
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/gradlew +183 -0
- package/gradlew.bat +100 -0
- package/index.html +2 -754
- package/package.json +5 -3
- package/src/assets/biaohao.png +0 -0
- package/src/assets/bieming.png +0 -0
- package/src/assets/caozuo.png +0 -0
- package/src/assets/guige.png +0 -0
- package/src/assets/images/back.png +0 -0
- package/src/assets/images//345/201/234/346/260/224/345/205/254/345/221/212.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/344/273/212/346/227/245/345/267/245/345/215/225.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/234/250/347/272/277/345/244/204/347/220/206.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/244/204/347/220/206/344/270/255.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/256/214/346/210/220/347/216/207.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/267/245/345/215/225/351/207/217.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/267/262/345/256/214/346/210/220.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/345/276/205/345/244/204/347/220/206.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/346/264/276/345/215/225/351/207/217.png +0 -0
- package/src/assets/images//345/256/242/346/234/215/347/275/221/345/216/205/351/242/204/347/272/246/346/264/276/345/215/225/351/207/217.png +0 -0
- package/src/assets/images//345/261/205/346/260/221/345/242/236/351/225/277/345/210/206/346/236/220.png +0 -0
- package/src/assets/images//345/261/205/346/260/221/347/224/250/346/210/267.png +0 -0
- package/src/assets/images//346/224/266/350/264/271total1.png +0 -0
- package/src/assets/images//346/224/266/350/264/271total2.png +0 -0
- package/src/assets/images//346/224/266/350/264/271total3.png +0 -0
- package/src/assets/images//346/224/266/350/264/271/345/205/266/344/273/226/344/270/232/345/212/241.png +0 -0
- package/src/assets/images//346/224/266/350/264/271/345/224/256/346/260/224/351/207/217/345/210/206/346/236/220.png +0 -0
- package/src/assets/images//346/224/266/350/264/271/347/254/224/346/225/260/345/260/217/346/240/207/351/242/230.png +0 -0
- package/src/assets/images//347/224/250/346/210/2671.png +0 -0
- package/src/assets/images//351/235/236/345/261/205/346/260/221/347/224/250/346/210/267.png +0 -0
- package/src/assets/leixing.png +0 -0
- package/src/assets/loging.gif +0 -0
- package/src/assets/mingwen.png +0 -0
- package/src/assets/miwen.png +0 -0
- package/src/assets/phone.png +0 -0
- package/src/assets/pinpai.png +0 -0
- package/src/assets/pos/346/224/266/350/264/271.png +0 -0
- package/src/assets/qiliang.png +0 -0
- package/src/assets/shuaxindaiban1.png +0 -0
- package/src/assets/xinghao.png +0 -0
- package/src/assets/yue.png +0 -0
- package/src/assets//344/270/212/344/274/240/345/267/245/344/275/234/346/234/252/351/200/211/344/270/255.png +0 -0
- package/src/assets//344/270/212/344/274/240/345/267/245/344/275/234/351/200/211/344/270/255.png +0 -0
- package/src/assets//344/270/213/350/275/275/350/256/241/345/210/222.png +0 -0
- package/src/assets//344/270/223/351/241/271/345/256/211/346/243/200.png +0 -0
- package/src/assets//344/270/252/344/272/272/344/270/255/345/277/203.png +0 -0
- package/src/assets//344/270/264/346/227/266/345/256/211/346/243/200.png +0 -0
- package/src/assets//344/273/273/345/212/241/346/237/245/350/257/242.png +0 -0
- package/src/assets//344/275/260/346/227/272/345/276/267/345/205/266/344/273/226/347/274/264/350/264/271.png +0 -0
- package/src/assets//344/276/233/346/232/226/347/274/264/350/264/271.png +0 -0
- package/src/assets//344/277/241/346/201/257/345/205/254/345/221/212.png +0 -0
- package/src/assets//344/277/241/346/201/257/346/237/245/350/257/242.png +0 -0
- package/src/assets//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
- package/src/assets//344/277/256/346/224/271/345/257/206/347/240/2011.png +0 -0
- package/src/assets//345/201/234/346/260/224/345/205/254/345/221/212.png +0 -0
- package/src/assets//345/205/254/345/221/212/346/237/245/347/234/213.png +0 -0
- package/src/assets//345/205/261/344/272/253/350/256/241/345/210/222.png +0 -0
- package/src/assets//345/205/266/344/273/226/347/274/264/350/264/271.png +0 -0
- package/src/assets//345/206/214/345/206/205/351/241/272/345/272/217/344/277/256/346/224/271.png +0 -0
- package/src/assets//345/207/272/345/205/267/350/256/276/350/256/241/345/233/276/347/272/270.png +0 -0
- package/src/assets//345/215/241/350/241/250/345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/src/assets//345/217/226/346/266/210/350/207/252/345/212/250/347/231/273/345/275/225.png +0 -0
- package/src/assets//345/220/210/345/220/214/347/255/276/350/256/242.png +0 -0
- package/src/assets//345/234/250/347/272/277/344/270/232/345/212/241/346/234/252/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/234/250/347/272/277/344/270/232/345/212/241/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/234/250/347/272/277/345/256/211/346/243/200.png +0 -0
- package/src/assets//345/234/250/347/272/277/345/267/241/346/243/200.png +0 -0
- package/src/assets//345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/src/assets//345/234/250/347/272/277/346/212/242/344/277/256.png +0 -0
- package/src/assets//345/234/250/347/272/277/346/212/245/350/243/205.png +0 -0
- package/src/assets//345/234/250/347/272/277/346/216/245/345/215/225.png +0 -0
- package/src/assets//345/234/250/347/272/277/346/223/215/344/275/234.png +0 -0
- package/src/assets//345/234/250/347/272/277/347/273/237/350/256/241.png +0 -0
- package/src/assets//345/234/250/347/272/277/347/273/264/344/277/256.png +0 -0
- package/src/assets//345/234/250/347/272/277/347/274/264/350/264/271.png +0 -0
- package/src/assets//345/234/250/347/272/277/351/200/232/346/260/224.png +0 -0
- package/src/assets//345/256/211/346/243/200/344/270/212/344/274/240.png +0 -0
- package/src/assets//345/256/211/346/243/200/345/234/250/347/272/277/347/273/237/350/256/241.png +0 -0
- package/src/assets//345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
- package/src/assets//345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/256/211/346/243/200/346/212/275/345/215/225.png +0 -0
- package/src/assets//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/src/assets//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/src/assets//345/256/211/346/243/200/350/256/241/345/210/222/345/210/227/350/241/250.png +0 -0
- package/src/assets//345/256/211/350/243/205/344/270/212/344/274/240.png +0 -0
- package/src/assets//345/256/211/350/243/205/345/267/262/345/212/236.png +0 -0
- package/src/assets//345/256/211/350/243/205/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/256/217/350/257/255/351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
- package/src/assets//345/256/236/345/220/215/350/256/244/350/257/201.png +0 -0
- package/src/assets//345/256/242/346/234/215/347/256/241/347/220/206.png +0 -0
- package/src/assets//345/257/271/345/217/267.png +0 -0
- package/src/assets//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
- package/src/assets//345/257/274/345/207/272/346/225/260/346/215/2561.png +0 -0
- package/src/assets//345/267/241/346/243/200/344/270/212/344/274/240.png +0 -0
- package/src/assets//345/267/241/346/243/200/345/267/262/345/212/236.png +0 -0
- package/src/assets//345/267/245/345/215/225/344/270/212/344/274/240.png +0 -0
- package/src/assets//345/267/245/347/250/213/345/217/221/350/265/267.png +0 -0
- package/src/assets//345/267/245/347/250/213/346/212/245/344/273/267.png +0 -0
- package/src/assets//345/267/245/347/250/213/346/226/275/345/267/245.png +0 -0
- package/src/assets//345/267/245/347/250/213/346/264/276/345/267/245.png +0 -0
- package/src/assets//345/267/262/345/212/236/345/267/245/344/275/234/346/234/252/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/267/262/345/212/236/345/267/245/344/275/234/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/267/262/345/212/236/345/267/245/345/215/225.png +0 -0
- package/src/assets//345/274/200/345/205/263/351/230/200.png +0 -0
- package/src/assets//345/275/242/347/212/2664.png +0 -0
- package/src/assets//345/276/205/345/212/236/345/267/245/344/275/234/346/234/252/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/276/205/345/212/236/345/267/245/344/275/234/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/276/205/345/212/236/345/267/245/345/215/225.png +0 -0
- package/src/assets//346/211/271/351/207/217/346/212/204/350/241/250.png +0 -0
- package/src/assets//346/212/204/350/241/250/344/270/212/344/274/240.png +0 -0
- package/src/assets//346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/src/assets//346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
- package/src/assets//346/212/204/350/241/250/346/261/207/346/200/273.png +0 -0
- package/src/assets//346/212/204/350/241/250/350/256/260/345/275/225.png +0 -0
- package/src/assets//346/212/245/345/273/272/345/267/262/345/212/236.png +0 -0
- package/src/assets//346/212/245/345/273/272/345/276/205/345/212/236.png +0 -0
- package/src/assets//346/212/245/345/273/272/346/234/215/345/212/241.png +0 -0
- package/src/assets//346/214/207/344/273/244/346/237/245/347/234/213.png +0 -0
- package/src/assets//346/224/266/350/264/271/346/261/207/346/200/273/350/241/250.png +0 -0
- package/src/assets//346/224/266/350/264/271/350/256/260/345/275/225.png +0 -0
- package/src/assets//346/225/264/346/224/271/344/270/212/344/274/240.png +0 -0
- package/src/assets//346/225/264/346/224/271/345/267/262/345/212/236.png +0 -0
- package/src/assets//346/227/240/350/256/241/345/210/222/345/256/211/346/243/200.png +0 -0
- package/src/assets//346/227/245/346/212/245/346/237/245/350/257/242.png +0 -0
- package/src/assets//346/241/243/346/241/210/344/277/256/346/224/271.png +0 -0
- package/src/assets//346/264/201/350/203/275/351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
- package/src/assets//346/265/201/346/260/264/346/237/245/350/257/242.png +0 -0
- package/src/assets//346/265/201/347/250/213/344/270/232/345/212/241.png +0 -0
- package/src/assets//346/265/201/347/250/213/347/233/221/346/216/247.png +0 -0
- package/src/assets//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
- package/src/assets//346/270/205/347/251/272/346/225/260/346/215/2561.png +0 -0
- package/src/assets//346/270/205/351/231/244/346/225/260/346/215/256.png +0 -0
- package/src/assets//347/202/271/347/201/253/345/267/262/345/212/236.png +0 -0
- package/src/assets//347/202/271/347/201/253/345/276/205/345/212/236.png +0 -0
- package/src/assets//347/216/260/345/234/272/345/213/230/345/257/237.png +0 -0
- package/src/assets//347/217/255/347/273/204/351/225/277/347/256/241/347/220/206/347/253/226/345/261/2173.png +0 -0
- package/src/assets//347/224/250/346/210/267/347/274/226/345/217/267.png +0 -0
- package/src/assets//347/247/273/345/212/250/346/212/204/350/241/250.png +0 -0
- package/src/assets//347/247/273/345/212/250/346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/src/assets//347/253/231/347/202/271/345/267/245/345/215/225.png +0 -0
- package/src/assets//347/253/231/347/202/271/346/264/276/345/217/221.png +0 -0
- package/src/assets//347/255/276/345/255/227/345/276/205/345/212/236.png +0 -0
- package/src/assets//347/263/273/347/273/237/350/256/276/347/275/256/346/234/252/351/200/211/344/270/255.png +0 -0
- package/src/assets//347/263/273/347/273/237/350/256/276/347/275/256/351/200/211/344/270/255.png +0 -0
- package/src/assets//347/273/237/350/256/241/346/212/245/350/241/250.png +0 -0
- package/src/assets//347/273/264/344/277/256/344/270/212/344/274/240.png +0 -0
- package/src/assets//347/273/264/344/277/256/345/267/245/345/215/225/347/253/226/345/261/2173.png +0 -0
- package/src/assets//347/273/264/344/277/256/345/267/262/345/212/236.png +0 -0
- package/src/assets//347/273/264/344/277/256/345/276/205/345/212/236.png +0 -0
- package/src/assets//347/273/264/344/277/256/346/264/276/345/217/221.png +0 -0
- package/src/assets//347/275/256/346/215/242/344/270/212/344/274/240.png +0 -0
- package/src/assets//347/275/256/346/215/242/345/267/262/345/212/236.png +0 -0
- package/src/assets//347/275/256/346/215/242/345/276/205/345/212/236.png +0 -0
- package/src/assets//347/275/256/346/215/242/351/200/232/346/260/224/347/253/226/345/261/2173.png +0 -0
- package/src/assets//350/220/245/344/270/232/345/233/276/350/241/250.png +0 -0
- package/src/assets//350/241/250/345/206/214/351/241/272/345/272/217.png +0 -0
- package/src/assets//350/241/250/345/217/267 (7).png +0 -0
- package/src/assets//350/241/250/345/217/267.png +0 -0
- package/src/assets//350/260/203/344/273/267/350/241/245/345/267/256/347/274/264/350/264/271.png +0 -0
- package/src/assets//350/277/224/345/233/236.png +0 -0
- package/src/assets//350/277/224/345/233/236/346/241/214/351/235/242.png +0 -0
- package/src/assets//350/277/233/345/272/246/345/210/227/350/241/250.png +0 -0
- package/src/assets//351/200/200/345/207/272/347/231/273/345/275/225.png +0 -0
- package/src/assets//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/src/assets//351/200/200/345/207/272/347/263/273/347/273/2371.png +0 -0
- package/src/assets//351/200/201/346/260/224/344/270/212/344/274/240.png +0 -0
- package/src/assets//351/200/201/346/260/224/345/267/262/345/212/236.png +0 -0
- package/src/assets//351/200/201/346/260/224/345/276/205/345/212/236.png +0 -0
- package/src/assets//351/200/232/346/260/224/347/202/271/347/201/253.png +0 -0
- package/src/assets//351/224/231/345/217/267.png +0 -0
- package/src/assets//351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
- package/src/assets//351/232/220/346/202/243/346/225/264/346/224/271.png +0 -0
- package/src/assets//351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
- package/src/assets//351/233/206/344/270/255/345/256/211/346/243/2002.png +0 -0
- package/src/assets//351/253/230/345/257/206/345/205/254/345/221/212.png +0 -0
- package/src/components/AlreadyService.vue +193 -0
- package/src/components/AttendManage.vue +397 -0
- package/src/components/LoginApp.vue +158 -42
- package/src/components/LoginAppNew.vue +587 -0
- package/src/components/ModifyPassWord.vue +17 -5
- package/src/components/NavBottom.vue +0 -1
- package/src/components/NavBottomV.vue +2 -1
- package/src/components/NavBottomVVV.vue +185 -0
- package/src/components/OnlineManage.vue +244 -0
- package/src/components/PhoneChangemeterInfo.vue +1 -4
- package/src/components/PhoneInfoTable.vue +5 -2
- package/src/components/PhoneRepairInfo.vue +146 -0
- package/src/components/PhoneSellInfo.vue +6 -5
- package/src/components/PhoneSellInfoLite.vue +112 -0
- package/src/components/PhoneUser.vue +202 -0
- package/src/components/PhoneUserDetil.vue +70 -0
- package/src/components/PhoneUserFind.vue +4 -3
- package/src/components/RightTree.vue +214 -0
- package/src/components/SystemSetUp.vue +277 -92
- package/src/components/TabBarPhone.vue +81 -0
- package/src/components/ToolsPage.vue +7 -5
- package/src/components/UploadManage.vue +194 -0
- package/src/components/gaomi/NavBottomV.vue +223 -0
- package/src/components/gaomi/NavBottomVVVV.vue +210 -0
- package/src/components/gaomi/Scroller.vue +63 -0
- package/src/components/gaomi/SystemSetUp.vue +186 -0
- package/src/components/gaomi/ToolsPage.vue +168 -0
- package/src/components/idea/feedBack.vue +150 -0
- package/src/components/idea/feedbackAdd.vue +366 -0
- package/src/components/iot/InstructMessage.vue +313 -0
- package/src/components/iot/IotBaseInfo.vue +97 -0
- package/src/components/iot/IotMeterInfo.vue +77 -0
- package/src/components/iot/iotMonitoringMain.vue +501 -0
- package/src/components/online/ApplyOnline.vue +582 -0
- package/src/components/online/BJZhongRan/ApplyOnline.vue +601 -0
- package/src/components/screen/ChargeContentPage.vue +656 -0
- package/src/components/screen/ContentPage.vue +611 -0
- package/src/components/screen/GongdanContentPage.vue +149 -0
- package/src/components/screen/ListCountItem.vue +93 -0
- package/src/components/screen/ModuleTitle.vue +48 -0
- package/src/components/screen/SafeOrderContentPage.vue +440 -0
- package/src/components/screen/SecurityCheckItem.vue +50 -0
- package/src/components/screen/TotalItem.vue +76 -0
- package/src/components/screen/TotalUserNumber.vue +77 -0
- package/src/components/screen/WorkOrderItem.vue +51 -0
- package/src/components/screen/WorkOrderRightDownItem.vue +103 -0
- package/src/components/screen/WorkOrderRightItem.vue +115 -0
- package/src/components/userinfo/paymentQuery.vue +189 -0
- package/src/components/userinfo/queryFile.vue +190 -0
- package/src/expandcssAndroid.less +4 -0
- package/src/image/touxiang.jpg +0 -0
- package/src/index.js +2 -0
- package/src/main.js +6 -3
- package/src/plugins/const.js +404 -0
- package/src/plugins/vue-py.js +37 -0
- package/src/stores/AppData.js +23 -33
- package/src/systemphone-gaomi.js +105 -0
- package/src/systemphone.js +16 -0
- package/src/systemphonegrid.js +125 -1
- package/src/util/LdapHelper.js +75 -0
- package/static/const.js +404 -0
- package/static/layui/css/layui.css +1 -0
- package/static/layui/css/modules/code.css +1 -0
- package/static/layui/css/modules/laydate/default/laydate.css +1 -0
- package/static/layui/css/modules/layer/default/icon-ext.png +0 -0
- package/static/layui/css/modules/layer/default/icon.png +0 -0
- package/static/layui/css/modules/layer/default/layer.css +1 -0
- package/static/layui/css/modules/layer/default/loading-0.gif +0 -0
- package/static/layui/css/modules/layer/default/loading-1.gif +0 -0
- package/static/layui/css/modules/layer/default/loading-2.gif +0 -0
- package/static/layui/font/iconfont.eot +0 -0
- package/static/layui/font/iconfont.svg +554 -0
- package/static/layui/font/iconfont.ttf +0 -0
- package/static/layui/font/iconfont.woff +0 -0
- package/static/layui/font/iconfont.woff2 +0 -0
- package/static/layui/layui.js +1 -0
- package/static/vue-py.js +37 -0
- package/.npmignore +0 -9
- package/src/assets//347/202/271/347/201/253/351/200/232/346/260/224/347/253/226/345/261/2173.png +0 -0
- package/yarn.lock +0 -6399
- /package/src/assets//347/253/231/347/202/271/{346/264/276 → 345/267/245}/345/215/225/347/253/226/345/261/2173.png" +0 -0
package/index.html
CHANGED
|
@@ -12,762 +12,10 @@
|
|
|
12
12
|
body{width: 100%;background:#7f8eaf no-repeat center bottom; background-size: cover;}
|
|
13
13
|
body .loginbg{ width:100%; height:100%; background:url(./static/loginbg.jpg) no-repeat center top;}
|
|
14
14
|
</style>
|
|
15
|
+
<link rel="stylesheet" href="./static/layui/css/layui.css">
|
|
15
16
|
</head>
|
|
16
17
|
<body>
|
|
17
|
-
<script src="./static/
|
|
18
|
-
<script>
|
|
19
|
-
if (!WebAssembly.instantiateStreaming) { // polyfill
|
|
20
|
-
WebAssembly.instantiateStreaming = async (resp, importObject) => {
|
|
21
|
-
const source = await (await resp).arrayBuffer();
|
|
22
|
-
return await WebAssembly.instantiate(source, importObject);
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const go = new Go();
|
|
27
|
-
let mod, inst;
|
|
28
|
-
WebAssembly.instantiateStreaming(fetch("./static/test.wasm"), go.importObject).then((result) => {
|
|
29
|
-
mod = result.module;
|
|
30
|
-
inst = result.instance;
|
|
31
|
-
document.getElementById("runButton").disabled = false;
|
|
32
|
-
}).catch((err) => {
|
|
33
|
-
console.error(err);
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
async function run() {
|
|
37
|
-
console.clear();
|
|
38
|
-
await go.run(inst);
|
|
39
|
-
inst = await WebAssembly.instantiate(mod, go.importObject); // reset instance
|
|
40
|
-
}
|
|
41
|
-
/*
|
|
42
|
-
var http = new XMLHttpRequest();
|
|
43
|
-
//rul为后端接口,data是页面数据
|
|
44
|
-
function saveResult(url,myjson)
|
|
45
|
-
{
|
|
46
|
-
http.open('post',url);
|
|
47
|
-
http.setRequestHeader("Content-Type", "application/json");
|
|
48
|
-
http.onreadystatechange=callback;
|
|
49
|
-
http.send(myjson);
|
|
50
|
-
}
|
|
51
|
-
//保存之后
|
|
52
|
-
function callback() {
|
|
53
|
-
if(http.readyState==4){
|
|
54
|
-
if(http.status==200){
|
|
55
|
-
//发送成功
|
|
56
|
-
}else{
|
|
57
|
-
//发送失败
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}*/
|
|
61
|
-
</script>
|
|
62
|
-
<script>
|
|
63
|
-
// 获取钻取数据
|
|
64
|
-
function getDrillData(cond, callBack) {
|
|
65
|
-
console.log(cond)
|
|
66
|
-
setTimeout(function () {
|
|
67
|
-
console.log("drill data")
|
|
68
|
-
callBack([
|
|
69
|
-
{name:'民用', value:10},
|
|
70
|
-
{name:'非民用', value:20},
|
|
71
|
-
{name:'其它', value:20},
|
|
72
|
-
])
|
|
73
|
-
}, 1000)
|
|
74
|
-
}
|
|
75
|
-
// 取得开始钻取数据
|
|
76
|
-
function getInitData(callBack) {
|
|
77
|
-
setTimeout(function () {
|
|
78
|
-
console.log("init data")
|
|
79
|
-
callBack([
|
|
80
|
-
{name:'all', value:10},
|
|
81
|
-
])
|
|
82
|
-
}, 1000)
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
function getData() {
|
|
86
|
-
let result = []
|
|
87
|
-
for (let i = 0; i < 1000; i++) {
|
|
88
|
-
result.push({name: 'a'+i})
|
|
89
|
-
}
|
|
90
|
-
return result
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// 取得查询数据
|
|
94
|
-
function search(callBack, index) {
|
|
95
|
-
setTimeout(function () {
|
|
96
|
-
result = [
|
|
97
|
-
[
|
|
98
|
-
{name:'all', age:'10'},
|
|
99
|
-
{name:'测试', age:'130'},
|
|
100
|
-
],
|
|
101
|
-
[
|
|
102
|
-
{name:'看看', age:'100'},
|
|
103
|
-
{name:'测试', age:'230'},
|
|
104
|
-
{name:'测试', age:'330'},
|
|
105
|
-
],
|
|
106
|
-
]
|
|
107
|
-
for (let i = 0; i < 1000; i++) {
|
|
108
|
-
result[1].push({name: 'a'+i, age: 'b'+i})
|
|
109
|
-
}
|
|
110
|
-
console.log("search")
|
|
111
|
-
callBack(result[index])
|
|
112
|
-
}, 0)
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
var waitTime = null
|
|
116
|
-
// 设置悬停计时器,2秒悬停
|
|
117
|
-
function setWaitTime(callBack) {
|
|
118
|
-
// 清除旧定时器
|
|
119
|
-
if (waitTime) {
|
|
120
|
-
clearTimeout(waitTime)
|
|
121
|
-
}
|
|
122
|
-
waitTime = setTimeout(function () {
|
|
123
|
-
callBack()
|
|
124
|
-
}, 500)
|
|
125
|
-
}
|
|
126
|
-
</script>
|
|
127
|
-
|
|
128
|
-
<script>
|
|
129
|
-
log = {
|
|
130
|
-
"test": "main",
|
|
131
|
-
"design": "init",
|
|
132
|
-
"component": "init",
|
|
133
|
-
//"matlib": "GetLineEndBack",
|
|
134
|
-
//"model.Search": "Search",
|
|
135
|
-
//"model.PagedList": "SetIndex",
|
|
136
|
-
"design.Editor": "SetSelected,Test,OnLoaded,DragOver,Drop,DropToTree,add,DrawContent",
|
|
137
|
-
"app.App": "Run",
|
|
138
|
-
//"event": "debug",
|
|
139
|
-
//"expression.Program": "debug",
|
|
140
|
-
//"expression.Delegate": "debug,info",
|
|
141
|
-
"Expression": "property",
|
|
142
|
-
"lang.Reflect": "SetFields,SetFieldExpression",
|
|
143
|
-
"expression.Global": "OnPropertyChanged,SetValue,convert,RegisterGExpObj,recompute,SetValue,RegistExpression,RemoveObjectDepend",
|
|
144
|
-
"component.Text": "CalculateSize,SetTXT,DrawContent",
|
|
145
|
-
//"component.Rectangle": "one",
|
|
146
|
-
"component.Grid": "getMaxHeight,DrawContent",
|
|
147
|
-
"component.Refresh": "DrawRefreshes,procComponents,getRefresh",
|
|
148
|
-
"component.Panel": "HandleWheel,AddEventHandler,RemoveEventHandler,ClearChildren,GetFlowChild",
|
|
149
|
-
"component.Stack": "SubCalculateSize,DrawContent",
|
|
150
|
-
"component.TemplateBase": "CreateTemplate,GetSlotNames,ProcIf,GetSlotTemplate,HandleWheel,ProcFor,CreateComponent,SubCalculateSize",
|
|
151
|
-
"component.Tree": "OnDataContextChanged,IsSelected,openForVisible,DragStart,DragOver,Close,SetSelects,showLast,Select,OpenTreeNode,MouseDown,MouseUp",
|
|
152
|
-
"component.For": "procOne,copyToCache,isChanged,clear,InitValue,SetWatch,SetValue,getFetchRange,proc,getLineLen",
|
|
153
|
-
"component.If": "InitValue",
|
|
154
|
-
"component.Base": "SetDataContext,SetBackground,SetParentNode,ToJson,ShowTip,OnDragStart,OnDragOver,Emit,Draw,Construct,BeginDraw",
|
|
155
|
-
//"component.Input": "Fire",
|
|
156
|
-
"component.Dock": "SubCalculateSize",
|
|
157
|
-
//"component.PlugFun": "GetExpression",
|
|
158
|
-
"component.ScrollView": "OnWheel,ToShow",
|
|
159
|
-
"component.ScrollBar": "OnMouseDown,OnMouseMove",
|
|
160
|
-
"component.TabSet": "Notify",
|
|
161
|
-
//"component.Dropdown": "DisplayPopup",
|
|
162
|
-
//"component.Page": "Next",
|
|
163
|
-
//"component.Popup": "one",
|
|
164
|
-
"component.Drag": "DrawDrag",
|
|
165
|
-
//"component.Pie": "DrawContent",
|
|
166
|
-
//"component.DrillDown": "DragOver",
|
|
167
|
-
"brush.SolidBrush": "Draw",
|
|
168
|
-
},
|
|
169
|
-
|
|
170
|
-
// 工具列表
|
|
171
|
-
Tools = [
|
|
172
|
-
{name: 'Text'},
|
|
173
|
-
{name: 'Stack'},
|
|
174
|
-
{name: 'Grid'},
|
|
175
|
-
{name: 'TabSet'},
|
|
176
|
-
{name: 'Tab'},
|
|
177
|
-
{name: 'Table'},
|
|
178
|
-
{name: 'Tr'},
|
|
179
|
-
{name: 'List'},
|
|
180
|
-
{name: 'Dropdown'},
|
|
181
|
-
{name: 'Button'},
|
|
182
|
-
{name: 'Select'},
|
|
183
|
-
{name: 'ColorArea'},
|
|
184
|
-
{name: 'Input'},
|
|
185
|
-
{name: 'Scroll'},
|
|
186
|
-
{name: 'nil'}
|
|
187
|
-
],
|
|
188
|
-
|
|
189
|
-
// 需要过滤的属性列表
|
|
190
|
-
NotShow = [
|
|
191
|
-
"X", "Y", "Parent", "Words", "ParentTemplate",
|
|
192
|
-
"WidthSize", "HeightSize", "FirstWidth", "FirstHeight", "Cliped",
|
|
193
|
-
"NextTick", "Data", "Deles", "NeedRefresh", "Template", "Slots",
|
|
194
|
-
"childrenChangeds", "Comps", "Drags", "State",
|
|
195
|
-
"Config", "Jsons", "Exps",
|
|
196
|
-
]
|
|
197
|
-
|
|
198
|
-
myjson = {
|
|
199
|
-
Test: {
|
|
200
|
-
template: {
|
|
201
|
-
type: 'Grid', Font: '@14px Arial', FillStyle: '@blue',
|
|
202
|
-
Row: '@100,1*,100', Column: '@100,*,1*,100',
|
|
203
|
-
Background: 'global.GetSolidBrush($#cccccc$)',
|
|
204
|
-
children: [
|
|
205
|
-
{name: 'c1', type: 'Text', TXT: '@1', ColSpan: '@2', Background: 'global.GetSolidBrush($#ccffcc$)',},
|
|
206
|
-
{name: 'c2', type: 'Text', TXT: '@2', Background: 'global.GetSolidBrush($#ad13dd$)',},
|
|
207
|
-
{name: 'c3', type: 'Text', TXT: '@3', Background: 'global.GetSolidBrush($#13fd33$)',},
|
|
208
|
-
{name: 'c4', type: 'Text', TXT: '@4', RowSpan: '@2', Background: 'global.GetSolidBrush($#892aa2$)',},
|
|
209
|
-
{name: 'c5', type: 'Text', TXT: '@5', Background: 'global.GetSolidBrush($#562313$)',},
|
|
210
|
-
{name: 'c6', type: 'Text', TXT: '@6', ColSpan: '@2', RowSpan: '@2', Background: 'global.GetSolidBrush($#ff0f99$)',},
|
|
211
|
-
{name: 'c7', type: 'Text', TXT: '@7', Background: 'global.GetSolidBrush($#14a5b8$)',},
|
|
212
|
-
//{name: '8', type: 'Text', TXT: '@左', },
|
|
213
|
-
//{name: '9', type: 'Text', TXT: '@右太小', ColSpan: '@3', RowSpan: '@2'},
|
|
214
|
-
]
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
DataGrid: {
|
|
218
|
-
template: {
|
|
219
|
-
name: '$DataGrid.DataGridDock', type: 'Dock',
|
|
220
|
-
children: [
|
|
221
|
-
{
|
|
222
|
-
name: '$DataGrid.DataGridHead', type: 'Slot', Content: 'this.Slots.head', Pos: '@Top'
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
name: '$DataGrid.Scoll', type: 'Scroll', Pos: '@Center',
|
|
226
|
-
Slots: {
|
|
227
|
-
item:
|
|
228
|
-
{
|
|
229
|
-
name: '$DataGrid.DataGridBody',
|
|
230
|
-
type: 'List',
|
|
231
|
-
'@SelectChanged': 'this.Selected = event.New',
|
|
232
|
-
DataContext: 'this.DataContext',
|
|
233
|
-
Slots: {
|
|
234
|
-
item: {
|
|
235
|
-
name: '$DataGrid.Grid', type: 'Slot', Content: 'this.Slots.item'
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
]
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
Page: {
|
|
245
|
-
template: {
|
|
246
|
-
name: '$Page.Stack', type: 'Stack',
|
|
247
|
-
children: [
|
|
248
|
-
{name: '$Front', type: 'Button', Text: '@<<', Left: '@30', "@Click": "this.Front()"},
|
|
249
|
-
{name: '$Front', type: 'Button', Text: '@<', Left: '@30', "@Click": "this.Prev()"},
|
|
250
|
-
{name: '$Front', type: 'Button', Text: '@>', Left: '@30', "@Click": "this.Next()"},
|
|
251
|
-
{name: '$Front', type: 'Button', Text: '@>>', Left: '@30', "@Click": "this.Last()"},
|
|
252
|
-
],
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
Tip: {
|
|
256
|
-
template: {
|
|
257
|
-
type: 'Grid',
|
|
258
|
-
Background: {type: 'SolidBrush', Color: '@#ffffff'},
|
|
259
|
-
children: [
|
|
260
|
-
{type: 'Rectangle'},
|
|
261
|
-
{
|
|
262
|
-
type: 'Text', TXT: 'this.Text',
|
|
263
|
-
Left: '@10', Top: '@20', Right: '@10', Bottom: '@2',
|
|
264
|
-
}
|
|
265
|
-
]
|
|
266
|
-
}
|
|
267
|
-
},
|
|
268
|
-
Button: {
|
|
269
|
-
template: {
|
|
270
|
-
name: '$Button.Grid', type: 'Grid',
|
|
271
|
-
"@MouseOver": "this.State=$over$",
|
|
272
|
-
"@MouseOut": "this.State=$$",
|
|
273
|
-
'@Wait': 'global.ShowTip(this.Tip, this)',
|
|
274
|
-
children: [
|
|
275
|
-
{
|
|
276
|
-
name: '$Button.Rectangle', type: 'Rectangle',
|
|
277
|
-
if: 'this.State == $over$',
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
name: '$Input.Text', type: 'Text', TXT: 'this.Text',
|
|
281
|
-
FillStyle: '!this.Enable: $#888888$, nil',
|
|
282
|
-
Left: '@10', Top: '@2', Right: '@10', Bottom: '@2'
|
|
283
|
-
}
|
|
284
|
-
]
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
Select: {
|
|
288
|
-
template: {
|
|
289
|
-
name: '$Select', type: 'Dropdown',
|
|
290
|
-
Slots: {
|
|
291
|
-
item: {
|
|
292
|
-
name: '$Select.Stack', type: 'Stack', Original: '@V',
|
|
293
|
-
children: [
|
|
294
|
-
{
|
|
295
|
-
name: '$DD', type: 'Text', TXT: '@请选择',
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
name: '$List', type: 'List',
|
|
299
|
-
DataContext: 'this.Selects',
|
|
300
|
-
"@SelectChanged": 'this.Value = self.Selected, this.ClosePopup()',
|
|
301
|
-
Slots: {
|
|
302
|
-
item: {
|
|
303
|
-
name: '$Slot', type: 'Slot', Content: 'this.Slots.item'
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
],
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
List: {
|
|
313
|
-
template: {
|
|
314
|
-
name: '$List.Panel',
|
|
315
|
-
type: 'Stack',
|
|
316
|
-
Original: '@V',
|
|
317
|
-
children: [
|
|
318
|
-
{
|
|
319
|
-
type: 'Slot', name: "$l", Content: 'this.Slots.item',
|
|
320
|
-
"@Click": "this.Selected = data",
|
|
321
|
-
for: {
|
|
322
|
-
Value: 'this.DataContext',
|
|
323
|
-
Watch: 'this.ContentY'
|
|
324
|
-
},
|
|
325
|
-
Background: 'data == this.Selected: global.GetSolidBrush($#ffddff$), nil',
|
|
326
|
-
}
|
|
327
|
-
]
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
Dropdown: {
|
|
331
|
-
template: {
|
|
332
|
-
name: '$Dropdown.Grid',
|
|
333
|
-
type: 'Stack',
|
|
334
|
-
children: [
|
|
335
|
-
{
|
|
336
|
-
name: '$Dropdown.Text', type: 'Input'
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
name: '$Dropdown.Button', type: 'Button', Text: "@V",
|
|
340
|
-
'@Click': 'this.DisplayPopup()'
|
|
341
|
-
}
|
|
342
|
-
],
|
|
343
|
-
},
|
|
344
|
-
popups: [
|
|
345
|
-
{
|
|
346
|
-
name: '$text1', type: 'Slot', Content: 'this.Slots.item',
|
|
347
|
-
Background: {type: 'SolidBrush', Color: '@#888888'},
|
|
348
|
-
}
|
|
349
|
-
]
|
|
350
|
-
},
|
|
351
|
-
DotCharTool: {
|
|
352
|
-
template: {
|
|
353
|
-
name: '$DotChar', type: 'DotChar',
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
DrillDownTool: {
|
|
357
|
-
template: {
|
|
358
|
-
name: '$DrillGrid', type: 'Grid',
|
|
359
|
-
children: [
|
|
360
|
-
{
|
|
361
|
-
name: '$DrillDown', type: 'DrillDown', id: 'Drill',
|
|
362
|
-
"@DragOver": 'this.DragOver(event.X, event.Y)',
|
|
363
|
-
"@Drop": "this.Drop(event.X, event.Y)",
|
|
364
|
-
children: [
|
|
365
|
-
{
|
|
366
|
-
name: '$Stack', type: 'Stack', Original: '@V',
|
|
367
|
-
Left: '${data.X}$', Top: '${data.Y}$',
|
|
368
|
-
for: 'this.DataContext',
|
|
369
|
-
children: [
|
|
370
|
-
{
|
|
371
|
-
name: '$PieButton', type: 'Button', Text: '@X', Height: '@20',
|
|
372
|
-
if: 'data == this.Selected && data != this.Head',
|
|
373
|
-
"@Click": "this.Delete(data, this.Comps.Drill, this)"
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
name: '$Pie', type: "Pie",
|
|
377
|
-
DataContext: 'data.Data',
|
|
378
|
-
"@Click": "index = self.Index(event.X, event.Y), this.Down(data, index, this, self), this.Selected = data",
|
|
379
|
-
"@DragStart": "this.SetDrag(data)",
|
|
380
|
-
Background: 'data == this.Selected: global.GetSolidBrush($#ffddff$), nil',
|
|
381
|
-
},
|
|
382
|
-
]
|
|
383
|
-
},
|
|
384
|
-
],
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
name: '$DrillList', type: 'List',
|
|
388
|
-
DataContext: 'this.Selected.Data',
|
|
389
|
-
HAlign: '@Right', VAlign: '@Top',
|
|
390
|
-
Slots: {
|
|
391
|
-
item: {
|
|
392
|
-
name: '$Stack', type: 'Stack',
|
|
393
|
-
children: [
|
|
394
|
-
{
|
|
395
|
-
name: '$Text', type: 'Rectangle', Width: '@50', Height: '@20',
|
|
396
|
-
Background: 'color = this.GetColor(this.Selected, data), global.GetSolidBrush(color)'
|
|
397
|
-
},
|
|
398
|
-
{name: '$Text', type: 'Text', TXT: '${data.name}$'},
|
|
399
|
-
{name: '$Text', type: 'Text', TXT: '${data.value}$'},
|
|
400
|
-
]
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
},
|
|
404
|
-
],
|
|
405
|
-
},
|
|
406
|
-
popups: [
|
|
407
|
-
{
|
|
408
|
-
name: '$popuplist', type: 'List',
|
|
409
|
-
"@SelectChanged": "this.Select(event.New, this.Comps.Drill)",
|
|
410
|
-
DataContext: 'this.Dimension',
|
|
411
|
-
Slots: {
|
|
412
|
-
item: {
|
|
413
|
-
name: '$item', type: 'Text', TXT: 'data.name'
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
],
|
|
418
|
-
drags: {
|
|
419
|
-
item: {
|
|
420
|
-
name: '$drag', type: 'Text', TXT: '@drag',
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
},
|
|
424
|
-
EditorTab: {
|
|
425
|
-
template:{
|
|
426
|
-
type: 'TabSet',name: 'TabSet', Selected: 'this.Comps.First',
|
|
427
|
-
Width: '@1300', Height: '@600', Font: '@14px Arial', FillStyle: '@blue',
|
|
428
|
-
Background: {type: 'SolidBrush', Color: '@#ffffdd'},
|
|
429
|
-
children:[
|
|
430
|
-
{
|
|
431
|
-
type: 'Tab',name: 'Tab1',
|
|
432
|
-
for: 'this.Tabs',
|
|
433
|
-
children:[
|
|
434
|
-
{type: 'Text',id:'Head',name: 'Head',TXT:'data.Name'},
|
|
435
|
-
{type: 'Editor',name: 'Content'},
|
|
436
|
-
]
|
|
437
|
-
},
|
|
438
|
-
],
|
|
439
|
-
Slots: {
|
|
440
|
-
item: {
|
|
441
|
-
name: '主页签.增加按钮', type: 'Button', Text: '@+',
|
|
442
|
-
'@Click': 'this.NewEditor(this)'
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
Editor: {
|
|
448
|
-
template: {
|
|
449
|
-
name: '$Editor.Dock',
|
|
450
|
-
id: 'Dock',
|
|
451
|
-
type: 'Dock',
|
|
452
|
-
children: [
|
|
453
|
-
/*{
|
|
454
|
-
name: '$Editor.Calendar', type: 'Calendar', Pos: '@Top', YearAndMonth: '@2019-5' //替换成日历组件 (Dropdown)Calendar
|
|
455
|
-
},*/
|
|
456
|
-
{
|
|
457
|
-
name: '$Editor.Buttons', type: 'Stack', Pos: '@Top',
|
|
458
|
-
Background: {type: 'SolidBrush', Color: '@#dddddd'},
|
|
459
|
-
children: [
|
|
460
|
-
{name: '$OpenInput', id: 'Input', type: 'Input', Width: '@100'},
|
|
461
|
-
{
|
|
462
|
-
name: '$OpenButton', type: 'Button', Text: '@打开文件',
|
|
463
|
-
'@Click': 'this.Open(this.Comps.Root, this.Comps.Input.Value)'
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
name: '$SaveButton', type: 'Button', Text: '@保存',
|
|
467
|
-
//Tip: '@保存当前文件',
|
|
468
|
-
'@Click': 'this.Save(this.Editting, this.Comps.Input.Value)'
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
name: '$DeleteButton', type: 'Button', Text: '@删除',
|
|
472
|
-
'@Click': 'this.Comps.Root.DeleteSelect()'
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
// 插槽部分
|
|
476
|
-
name: '$插槽', type: 'Stack',
|
|
477
|
-
children: [
|
|
478
|
-
{
|
|
479
|
-
for: 'this.Slots',
|
|
480
|
-
name: '$A', type: 'Button', Text: 'data.Name',
|
|
481
|
-
'@Click': 'this.BackSlot(data, this.Comps.Root)',
|
|
482
|
-
},
|
|
483
|
-
]
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
name: '$保存插槽', type: 'Button', Text: '@保存插槽',
|
|
487
|
-
'@Click': 'this.SaveSlot(this.Editting.Template)'
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
name: '$运行', type: 'Button', Text: '@运行',
|
|
491
|
-
Enable: '!this.Comps.Root.Run',
|
|
492
|
-
'@Click': 'this.Comps.Root.Run = true, this.Run(this.Comps.Root, this.Comps.Input.Value)'
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
type: 'Button', Text: '@停止',
|
|
496
|
-
Enable: 'this.Comps.Root.Run',
|
|
497
|
-
'@Click': 'this.Comps.Root.Run = false'
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
type: 'Button', Text: '@测试',
|
|
501
|
-
'@Click': 'this.Test()'
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
type: 'Input', id: 'Exp', Width: '@300'
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
type: 'Button', Text: '@执行',
|
|
508
|
-
'@Click': 'this.Invoke(this.Comps.Exp.Value, this.Comps.Root, this.Editting)'
|
|
509
|
-
},
|
|
510
|
-
]
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
name: '中间布局', type: 'Grid', Column: '@200,*,1*,*', Pos: '@Center',
|
|
514
|
-
children: [
|
|
515
|
-
{
|
|
516
|
-
//if: {Value:'!this.Comps.Root.Run'},
|
|
517
|
-
name: '$Editor.Grid', type: 'Grid', Row: "@200,1*",
|
|
518
|
-
children: [
|
|
519
|
-
{
|
|
520
|
-
name: '$Editor.EditToolBar.Scroll', type: 'Scroll',
|
|
521
|
-
Slots: {
|
|
522
|
-
item: {
|
|
523
|
-
name: '$EditToolBar.List$', id: 'Tools', type: 'List',
|
|
524
|
-
//'@SelectChanged': 'this.Comps.Root.Selected = event.New',
|
|
525
|
-
//'@Key.Control.c': 'global.Controlc(this.Selected)',
|
|
526
|
-
DataContext: 'nil',
|
|
527
|
-
Slots: {
|
|
528
|
-
item: {
|
|
529
|
-
name: '$EditToolBar.List.Item', type: 'Text', TXT: 'data.name',
|
|
530
|
-
'@DragStart': 'global.SetDrag(data)'
|
|
531
|
-
}
|
|
532
|
-
},
|
|
533
|
-
Background: {type: 'SolidBrush', Color: '@#cccccc'}
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
name: '$EditProperty.Tree.Scoll', type: 'Scroll', Width: '@200',
|
|
539
|
-
Background: {type: 'SolidBrush', Color: '@#ccccdd'},
|
|
540
|
-
Slots: {
|
|
541
|
-
item: {
|
|
542
|
-
name: '$Edit.Tree.Stack', type: 'Stack', Original: '@V',
|
|
543
|
-
children: [
|
|
544
|
-
{
|
|
545
|
-
name: '$EditProperty.Tree', id: 'tree', type: 'Tree',
|
|
546
|
-
Selects: 'this.Comps.Root.Selects',
|
|
547
|
-
//'@Key.down': 'name = global.Controlv().Get($name$).String(), c = global.Create(name, this.Editting), this.Comps.tree.Selected.Data.AddChild(c), this.Comps.tree.OpenTreeNode(this.Comps.tree.Selected)',
|
|
548
|
-
'@SelectChanged': 'this.Comps.Root.Selects = event.New',
|
|
549
|
-
'@Drop': 'this.DropToTree(this.Comps.tree, event.New)',
|
|
550
|
-
'@DropBefore': 'this.DropBefore(this.Comps.tree, event.New)',
|
|
551
|
-
'@TreeDragOver': 'this.DragOver(event.Data, event.X, event.Y)',
|
|
552
|
-
'@DragOverBefore': 'this.DragOverBefore(event.Data, event.X, event.Y)',
|
|
553
|
-
DataContext: 'this.Editting.Template',
|
|
554
|
-
Slots: {
|
|
555
|
-
treeItem: {
|
|
556
|
-
name: '$EditProperty.Tree.Item',
|
|
557
|
-
type: 'Text',
|
|
558
|
-
TXT: '${data.Data.Type}-{data.Data.Name}-{data.Data.ID}',
|
|
559
|
-
}
|
|
560
|
-
},
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
name: '$Data.Tree', type: 'Tree',
|
|
564
|
-
DataContext: 'this.GetDataTree(this.Editting.Data)',
|
|
565
|
-
'@SelectChanged': 'this.Comps.Root.Selects = event.New',
|
|
566
|
-
Slots: {
|
|
567
|
-
treeItem: {
|
|
568
|
-
name: '$Item', type: 'Text', TXT: 'data.Data.ID'
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
]
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
]
|
|
577
|
-
},
|
|
578
|
-
// 分割线
|
|
579
|
-
{
|
|
580
|
-
//if: {Value:'!this.Comps.Root.Run'},
|
|
581
|
-
type: 'Split', Width: '@5', Origin: '@V',
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
id: 'Root', name: '$EditPanel.Grid', type: 'EditPanel',
|
|
585
|
-
//'@Click': 'this.Comps.Root.Selected = this.Comps.Root.Select(this.Editting.Template, event.X, event.Y, event.Event)',
|
|
586
|
-
'@MouseDown': 'self.Selected = self.MouseDown(this.Editting.Template, event.X, event.Y, event.Event)',
|
|
587
|
-
'@MouseUp': 'self.Selected = self.MouseUp(this.Editting.Template, event.X, event.Y, event.Event)',
|
|
588
|
-
'@DragOver': 'self.DragOver(event.X, event.Y, this)',
|
|
589
|
-
'@Drop': 'self.Drop(event.X, event.Y, this, self)',
|
|
590
|
-
'@DragStart': 'self.Drag(event.X, event.Y)',
|
|
591
|
-
Background: {type: 'SolidBrush', Color: '@#ffffcc'}
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
//if: {Value:'!this.Comps.Root.Run'},
|
|
595
|
-
name: '$Editor.DataGrid',
|
|
596
|
-
type: 'DataGrid',
|
|
597
|
-
Background: {type: 'SolidBrush', Color: '@#ccffcc'},
|
|
598
|
-
DataContext: 'global.GetProperties(this.Comps.Root.Selected)',
|
|
599
|
-
Slots: {
|
|
600
|
-
head: {
|
|
601
|
-
name: '$Object.DataGrid', type: 'Grid', Row: '@*', Column: '@150,150',
|
|
602
|
-
children: [
|
|
603
|
-
{name: '$Object.DataGrid.Name', type: 'Text', TXT: '@属性名'},
|
|
604
|
-
{name: '$Object.DataGrid.Name', type: 'Text', TXT: '@属性值'}
|
|
605
|
-
]
|
|
606
|
-
},
|
|
607
|
-
item: {
|
|
608
|
-
name: '$DataGrid.Grid', type: 'Grid', Column: '@150,150', Row: '@*',
|
|
609
|
-
children: [
|
|
610
|
-
{
|
|
611
|
-
name: '$DataGrid.DataGridBody.Text', type: 'Text', TXT: 'data.Name',
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
// 插槽下拉框
|
|
615
|
-
if: 'data.Name == $SlotContents$',
|
|
616
|
-
name: '$FF', type: 'Select',
|
|
617
|
-
Selects: 'data.Object.GetSlotNames()',
|
|
618
|
-
'@Input': 'this.ToSlot(event.New, data.Object, this.Comps.Root, this.Opened)',
|
|
619
|
-
Slots: {
|
|
620
|
-
item: {
|
|
621
|
-
name: '$item', type: 'Text', TXT: 'data',
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
if: 'data.Name == $Events$',
|
|
627
|
-
name: '$DataGrid.DataGridBody.Text2', type: 'Dropdown',
|
|
628
|
-
Slots: {
|
|
629
|
-
item: {
|
|
630
|
-
name: '$Event.Dock', type: 'Dock', Height: '@300',
|
|
631
|
-
children: [
|
|
632
|
-
{
|
|
633
|
-
name: '$Event.Tool', type: 'Stack', Pos: '@Top',
|
|
634
|
-
children: [
|
|
635
|
-
{
|
|
636
|
-
name: '$add', type: 'Button', Text: '@增加',
|
|
637
|
-
'@Click': 'this.AddNull(this.Comps.EventGrid)'
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
name: '$save', type: 'Button', Text: '@保存',
|
|
641
|
-
'@Click': 'data.Object.SaveEvents(this.Comps.EventGrid.DataContext, this), global.ClosePopup()'
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
name: '$save', type: 'Button', Text: '@删除',
|
|
645
|
-
'@Click': 'this.RemoveEvent(this.Comps.EventGrid, this.Comps.EventGrid.Selected)'
|
|
646
|
-
},
|
|
647
|
-
]
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
name: '$Event.Grid',
|
|
651
|
-
id: 'EventGrid',
|
|
652
|
-
type: 'DataGrid',
|
|
653
|
-
Pos: '@Center',
|
|
654
|
-
Background: {type: 'SolidBrush', Color: '@#eeeeee'},
|
|
655
|
-
DataContext: 'data.Object.GetEvents()',
|
|
656
|
-
Slots: {
|
|
657
|
-
head: {
|
|
658
|
-
name: '$Object.DataGrid',
|
|
659
|
-
type: 'Grid',
|
|
660
|
-
Row: '@*',
|
|
661
|
-
Column: '@150,300',
|
|
662
|
-
children: [
|
|
663
|
-
{
|
|
664
|
-
name: '$Object.DataGrid.Name',
|
|
665
|
-
type: 'Text',
|
|
666
|
-
TXT: '@事件名'
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
name: '$Object.DataGrid.Name',
|
|
670
|
-
type: 'Text',
|
|
671
|
-
TXT: '@事件内容'
|
|
672
|
-
}
|
|
673
|
-
]
|
|
674
|
-
},
|
|
675
|
-
item: {
|
|
676
|
-
name: '$Object.DataGrid',
|
|
677
|
-
type: 'Grid',
|
|
678
|
-
Row: '@*',
|
|
679
|
-
Column: '@200,500',
|
|
680
|
-
children: [
|
|
681
|
-
{
|
|
682
|
-
name: '$Object.DataGrid.Name',
|
|
683
|
-
type: 'Input',
|
|
684
|
-
Value: 'data.Name',
|
|
685
|
-
'@Change': 'data.Name = event.New'
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
name: '$Object.DataGrid.Name',
|
|
689
|
-
type: 'Input',
|
|
690
|
-
Value: 'data.Exp',
|
|
691
|
-
'@Change': 'data.Exp = event.New'
|
|
692
|
-
}
|
|
693
|
-
]
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
]
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
if: 'data.Name != $Events$ && data.Name != $SlotContents$',
|
|
703
|
-
name: '$DataGrid.DataGridBody.Text2', type: 'Input',
|
|
704
|
-
Value: 'this.GetExpression(data.Object, data.Name)',
|
|
705
|
-
'@Change': 'this.SetExpression(data.Object, data.Name, event.New, this.Opened), data.Object.Refresh()',
|
|
706
|
-
},
|
|
707
|
-
]
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
],
|
|
712
|
-
},
|
|
713
|
-
]
|
|
714
|
-
},
|
|
715
|
-
drags: {
|
|
716
|
-
item: {
|
|
717
|
-
name: '$drag', type: 'Text', TXT: '@drag',
|
|
718
|
-
},
|
|
719
|
-
items: {
|
|
720
|
-
name: '$drag', type: 'Text', TXT: '@drag... ...',
|
|
721
|
-
},
|
|
722
|
-
insert: {
|
|
723
|
-
name: '$drag', type: 'Text', TXT: '@insert',
|
|
724
|
-
}
|
|
725
|
-
},
|
|
726
|
-
},
|
|
727
|
-
Input:{template:{type: 'Grid',name: '$Input.Grid', children:[{type: 'Rectangle',name: '$Input.Rectangle'},{type: 'Text',name: '$Input.Text',TXT:'this.Value',Left:'@10',Top:'@2',Right:'@10',Bottom:'@2'},]}, Data: []}
|
|
728
|
-
,
|
|
729
|
-
TabSet:{template:{type: 'Dock',name: '标签页集合', children:[{type: 'Stack',id: 'tabhead',name: 'Tab的页签',Pos:'@Top', children:[{type: 'Comp',name: '页签',Template:'data.GetElement(0).Value',for:'this.GetChildrenVisual(this.Children)',Left:'@10','@Click':"this.Selected = data"},{type: 'Slot',Content:'this.Slots.item'},]},{type: 'Grid',name: '$标签页内容',Pos:'@Center', children:[{type: 'Comp',name: '内容',Template:'data.GetElement(1).Value',for:'this.GetChildrenVisual(this.Children)',if:'this.Selected == data'},]},]}, Data: []}
|
|
730
|
-
,
|
|
731
|
-
Tree:{template:{type: 'Stack',id: 'Panel',name: '$Tree.Node',Original:'@V','@Drop':"this.PanelDrop(event.X, event.Y, self)",'@DragOver':"this.PanelDragOver(event.X, event.Y, self)", children:[{type: 'Grid',name: '$树节点',Background:'this.IsSelected(data.Data, this.Selects): global.GetSolidBrush($#ffddff$), nil',for:'this.TreeNodes',Top:'@10','@MouseUp':"this.Selected = this.MouseUp(data.Data, event.Event)",'@DragStart':"this.DragStart(self)",'@DragOver':"this.DragOver(event.X, event.Y, data.Data, self)",'@MouseDown':"this.Selected = this.MouseDown(data.Data, event.Event)",'@Drop':"this.Drop(data.Data, this, this.Comps.Panel, event.X, event.Y)", children:[{type: 'Stack',name: '$Tree.Stack',Left:'${data.Level*20}$',Original:'@H', children:[{type: 'Text',name: 'Text',TXT:'this.HasChild(data.Data): (data.Open: $-$, $+$), $ $','@Click':"this.NodeOnClick(data)"},{type: 'Slot',name: '$Tree.Item',Content:'this.Slots.treeItem'},]},]},]}, Data: []}
|
|
732
|
-
,
|
|
733
|
-
Scroll:{template:{type: 'ScrollView',id: 'View',ContentY:'this.Comps.VScroll.Value',ContentX:'this.Comps.HScroll.Value', children:[{type: 'Slot',id: 'Content',name: 'Scroll.Content',Content:'this.Slots.item'},{type: 'ScrollBar',id: 'VScroll',Value:'this.Comps.View.ContentY',Background:'global.GetSolidBrush($#888888$)',Origin:'@V',Width:'@10'},{type: 'ScrollBar',id: 'HScroll',Value:'this.Comps.View.ContentX',Background:'global.GetSolidBrush($#888888$)',Height:'@10',Origin:'@H'},]}, Data: []}
|
|
734
|
-
,
|
|
735
|
-
Batch:{template:{type: 'Grid',name: '$Search.Dock',Column:'@1*,1*', children:[{type: 'Stack',name: 'Stack',Original:'@V', children:[{type: 'Stack',id: 'Search',name: '$Stack', children:[{type: 'Select',id: 'UserSelect',name: 'Select',Selects:'this.Global().Get($userSelects$)',Slots:{"item":{"TXT":'data',"type":'Text',"name":'选择项',},}},{type: 'Input',name: '$Input',Value:'this.Data.Search.Data.name',Width:'@100',Slots:{},'@DataContextChanged':"event.New.Conds.name=$name='this'$",'@Change':"this.Data.Search.Data.name = event.New"},{type: 'Button',id: 'SearchButton',name: '$Button',Text:'@查询',Left:'@20',Slots:{},'@Click':"this.Data.Search.Search()"},]},{type: 'Table',FixedColumn:'@1',Column:'@100,100,100,100',Height:'@200', children:[{type: 'Tr',IsHead:'@true', children:[{type: 'Text',name: 'Text',TXT:'@名称'},{type: 'Text',name: 'Text',TXT:'@编号'},{type: 'Text',name: 'Text',TXT:'@气表'},{type: 'Text',name: 'Text',TXT:'@表状态'},]},{type: 'Tr',for:'this.Data.PagedList.Data', children:[{type: 'Text',name: 'Text',TXT:'data.name'},{type: 'Text',name: 'Text',TXT:'data.age'},{type: 'Text',name: 'Text',TXT:'data.name'},{type: 'Text',name: 'Text',TXT:'data.age'},]},]},{type: 'Page',id: 'Page',name: '$Page',Max:'@100',Slots:{}},]},{type: 'Grid',name: 'Grid',Row:'@1*,1*', children:[{type: 'TabSet',name: '上面的', children:[{type: 'Tab',name: 'Tab', children:[{type: 'Text',name: '汇总信息',TXT:'@汇总信息',Left:'@10'},{type: 'Text',name: 'Comp',if:'this.Selected == data',TXT:'@汇总信息'},]},{type: 'Tab',name: 'Tab', children:[{type: 'Text',name: 'Comp',TXT:'@操作列表',Left:'@10'},{type: 'List',name: 'Comp',if:'this.Selected == data',Slots:{}},]},]},{type: 'TabSet',name: '下面的', children:[{type: 'Tab',name: '第一个', children:[{type: 'Text',name: 'Comp',TXT:'@设置抄表员',Left:'@10'},{type: 'Stack',name: 'Comp',if:'this.Selected == data', children:[{type: 'Text',name: 'Text',TXT:'@抄表员'},]},]},{type: 'Tab',name: '第二个', children:[{type: 'Text',name: 'Comp',Left:'@10',TXT:'@开发'},{type: 'Text',name: 'Comp',if:'this.Selected == data',TXT:'@开发文本'},]},{type: 'Tab',name: 'Tab', children:[{type: 'Text',name: 'Comp',TXT:'@关阀',Left:'@10'},{type: 'Stack',name: 'Comp',if:'this.Selected == data', children:[{type: 'Text',name: 'Text',TXT:'@关闭原因'},{type: 'Input',name: 'Input',Slots:{}},{type: 'Text',name: 'Text',TXT:'@关闭时间'},]},]},{type: 'Tab',name: 'Tab',if:'this.TabShow(this.Comps.UserSelect.Value, $Test$)', children:[{type: 'Text',name: 'Comp',Left:'@10'},{type: 'Text',name: 'Comp',if:'this.Selected == data',TXT:'@测试2内容'},]},{type: 'Tab', children:[{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text',TXT:'@新测试内容'},]},]},]},]}, Data: [{type: 'PagedList',id: 'PagedList',Index:'this.Comps.Page.Index',Condition:'this.Data.Search.Condition',Path:'@rs/go','@ConditionChanged':"self.Search()",'@IndexChanged':"global.Log($in$), self.LoadPage()"},{type: 'SearchModel',id: 'Search'},]}
|
|
736
|
-
,
|
|
737
|
-
TestGrid:{template:{type: 'Grid',name: '$Search.Dock',Column:'@1*,1*',Row:'@100', children:[{type: 'Scroll',Height:'@50',Slots:{"item":{"FixedColumn":'@1',"children":[{"type":'Text',"name":'Text',"TXT":'@表头',},{"type":'Text',"name":'Text',"TXT":'@表头',},{"type":'Text',"name":'Text',"TXT":'@表头',},{"type":'Text',"name":'Text',"TXT":'@固定',},{"name":'Text',"type":'Text',},{"name":'Text',"type":'Text',},{"type":'Text',"name":'Text',"TXT":'@固定2',},{"type":'Text',"name":'Text',},{"type":'Text',"name":'Text',},{"type":'Text',"name":'Text',"TXT":'@固定3',},{"type":'Text',"name":'Text',},{"type":'Text',"name":'Text',},],"type":'Grid',"FixedRow":'@1',"Column":'@200,200,200',"Row":'@*,*,*,*',},}},]}, Data: [{type: 'SearchModel',id: 'Search'},{type: 'PagedList',id: 'PagedList',Condition:'this.Data.Search.Condition',Index:'this.Comps.Page.Index',Path:'@rs/go','@IndexChanged':"global.Log($in$), self.LoadPage()",'@ConditionChanged':"self.Search()"},]}
|
|
738
|
-
,
|
|
739
|
-
Table:{template:{type: 'Scroll',Slots:{"item":{"FixedColumn":'this.FixedColumn',"children":[],"type":'Grid',name:'$tablegrid',"Children":'this.GetTrChildren(this.Children)',"Column":'this.Column',"Row":'this.GetTrRow(this.Children)',"FixedRow":'this.GetFixedRow(this.Children)',},}}, Data: []}
|
|
740
|
-
,
|
|
741
|
-
TestTable:{template:{type: 'Grid',name: '$Search.Dock',Column:'@1*,1*',Row:'@100', children:[{type: 'Table',Column:'@100,100,200,300',FixedColumn:'@1', children:[{type: 'Tr',IsHead:'@true', children:[{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text'},]},{type: 'Tr', children:[{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text'},]},{type: 'Tr', children:[{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text'},]},{type: 'Tr', children:[{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text'},{type: 'Text',name: 'Text'},]},]},]}, Data: [{type: 'PagedList',id: 'PagedList',Condition:'this.Data.Search.Condition',Index:'this.Comps.Page.Index',Path:'@rs/go','@ConditionChanged':"self.Search()",'@IndexChanged':"global.Log($in$), self.LoadPage()"},{type: 'SearchModel',id: 'Search'},]}
|
|
742
|
-
,
|
|
743
|
-
ColorPicker:{template:{type: 'Dropdown',name: 'Dropdown', Slots:{item:{children:[{type:'Stack',name:'Stack',children:[{type:'ColorBar',id:'ColorBar',name:'ColorBar',},{ColorValue:'this.Comps.ColorBar.SelectColorValue',type:'ColorArea',name:'ColorArea',},],},{type:'Grid',name:'Grid',Column:'@1*,*',children:[{type:'Text',name:'Text',},{type:'Button',name:'Button',Text:'@确定',Slots:{},},],},],type:'Stack',name:'Stack',Original:'@V',},}}, Data: []}
|
|
744
|
-
,
|
|
745
|
-
Notice:{template:{type: 'Grid',name: '$Search.Dock',Column:'@1*,1*', children:[{type: 'Stack',name: 'Stack',Original:'@V', children:[{type: 'Stack',id: 'Search',name: '$Stack', children:[{type: 'Input',name: '$Input',Value:'this.Data.Search.Data.name',Width:'@100',Slots:{},'@DataContextChanged':"event.New.Conds.name=$name='this'$",'@Change':"this.Data.Search.Data.name = event.New"},{type: 'Button',id: 'SearchButton',name: '$Button',Left:'@20',Text:'@查询',Slots:{},'@Click':"this.Data.Search.Search()"},]},{type: 'Table',FixedColumn:'@1',Column:'@100,100,100,100',Height:'@200', children:[{type: 'Tr',IsHead:'@true', children:[{type: 'Text',name: '$名称',TXT:'@名称'},{type: 'Text',name: 'Text',TXT:'@编号'},{type: 'Text',name: 'Text',TXT:'@气表'},{type: 'Text',name: '$表状态',TXT:'@表状态'},]},{type: 'Tr',for:'this.Data.PagedList.Data', children:[{type: 'Text',name: 'Text',TXT:'data.name'},{type: 'Text',name: 'Text',TXT:'data.age'},{type: 'Text',name: 'Text',TXT:'data.name'},{type: 'Text',name: 'Text',TXT:'data.age'},]},]},{type: 'Page',id: 'Page',name: '$Page',Max:'@100',Slots:{}},]},{type: 'Grid',name: 'Grid',Row:'@*,*,*',Column:'@100,1*,100,1*', children:[{type: 'Button',Text:'@发布','@Click':"global.Save($rs/old$)"},{type: 'Button',Text:'@修改',ColSpan:'@3'},{type: 'Text',name: 'Text',TXT:'@这是一个测试的例子list testok 好了没有。这是一个测试字符串:“测试”。This is a teststring: "teststring".',Height:'@200',ColSpan:'@4'},]},]}, Data: [{type: 'PagedList',id: 'PagedList',Index:'this.Comps.Page.Index',Condition:'this.Data.Search.Condition',Path:'@rs/go','@IndexChanged':"global.Log($in$), self.LoadPage()",'@ConditionChanged':"self.Search()"},{type: 'SearchModel',id: 'Search'},]}
|
|
746
|
-
,
|
|
747
|
-
RegulatorAndroid:{template:{type: 'Grid',Background:'global.GetSolidBrush($#cccccc$)',Height:'530',Width:'300',Column:'@100,100,100',Font:'@14px Arial',FillStyle:'@blue',Row:'@100,1*,100', children:[{type: 'Stack',Bottom:'10',Background:'global.GetSolidBrush($#ffffff$)',Right:'10',Width:'80',Original:'V',Left:'10',Top:'10',Height:'80', children:[{type: 'Button',Width:'80',Height:'50',Text:'@计划巡检'},{type: 'Button',Height:'30',Width:'80',Text:'@计划巡检'},]},{type: 'Stack',Top:'10',Right:'10',Height:'80',Left:'10',Bottom:'10',Background:'global.GetSolidBrush($#ffffff$)',Width:'80',Original:'@V', children:[{type: 'Button',Width:'80',Height:'50',Text:'@集中巡检'},{type: 'Button',Width:'80',Height:'30',Text:'@集中巡检'},]},{type: 'Stack',Background:'global.GetSolidBrush($#ffffff$)',Width:'80',Left:'10',Height:'80',Top:'10',Right:'10',Bottom:'10',Original:'@V', children:[{type: 'Button',Width:'80',Height:'50',Text:'@安检查询'},{type: 'Button',Width:'80',Height:'30',Text:'@安检查询'},]},]}, Data: []}
|
|
748
|
-
,
|
|
749
|
-
P:{template:{type: 'Stack',name: 'PlanSafeCheck',Width:'300',Background:'global.GetSolidBrush($#F6F6F6$)',Height:'530',Original:'@V', children:[{type: 'Stack',name: 'Condition',Original:'@V', children:[{type: 'Stack',Left:'10',Top:'10',Height:'40',Width:'280', children:[{type: 'Text',name: 'Text',Height:'32',Width:'80',TXT:'@计划名称:'},{type: 'Input',Height:'32',Width:'200'},]},{type: 'Stack',name: 'PlanTime',Left:'10',Top:'10',Width:'280',Height:'40', children:[{type: 'Text',name: 'Text',Width:'80',Height:'32',TXT:'@计划时间:'},{type: 'Input',Width:'200',Height:'32'},]},{type: 'Stack', children:[]},]},{type: 'Table',name: 'PlanList',FixedColumn:'@1',Column:'@60,60,60,60,60', children:[{type: 'Tr', children:[{type: 'Text',name: '$名称',TXT:'@名称'},{type: 'Text',name: 'Text',TXT:'@编号'},{type: 'Text',name: '时间',TXT:'@时间'},{type: 'Text',name: '$状态',TXT:'@计划进度'},]},{type: 'Tr', children:[]},]},{type: 'Page',id: 'Page',name: '$Page',Max:'@100',Slots:{}},]}, Data: []}
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
,
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
</script>
|
|
763
|
-
|
|
764
|
-
<script>
|
|
765
|
-
userType = {
|
|
766
|
-
"民用": ["开发", "关阀"],
|
|
767
|
-
"非民用": ["开发", "Test"]
|
|
768
|
-
}
|
|
769
|
-
userSelects = ["民用", "非民用", "开始", "关闭"]
|
|
770
|
-
</script>
|
|
18
|
+
<script src="./static/layui/layui.js"></script>
|
|
771
19
|
<app></app>
|
|
772
20
|
</body>
|
|
773
21
|
</html>
|