本地上传接口联调,补充录音权限

main
zhangqun 3 years ago
parent 3bfc809857
commit 6a0c104f0e
  1. 3
      App.vue
  2. 1
      hybrid/html/jsmap/b2ec50edc8c6675afeac.chunk.js
  3. 1321
      hybrid/html/jsmap/jsmap_base.css
  4. 1
      hybrid/html/jsmap/jsmap_base.js
  5. 7
      manifest.json
  6. 10
      pages.json
  7. 7
      pages/index/index.vue
  8. 153
      pages/patrolRecord/report.vue
  9. 74
      pages/positionRecord/report.vue
  10. 201
      pages/setting/index.vue
  11. 265
      pages/setting/other.vue
  12. 220
      pages/setting/user.vue
  13. 205
      pages/voiceRecord/report.vue
  14. BIN
      unpackage/cache/wgt/__UNI__B814B58/.manifest/google-keystore.keystore
  15. 4
      unpackage/cache/wgt/__UNI__B814B58/app-config-service.js
  16. 18
      unpackage/cache/wgt/__UNI__B814B58/app-service.js
  17. 2
      unpackage/cache/wgt/__UNI__B814B58/app-view.js
  18. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F1/NoLod_0.b3dm
  19. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F1/NoLod_1.cmpt
  20. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F1/NoLod_2.cmpt
  21. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F1/NoLod_3.cmpt
  22. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F1/scenetree.json
  23. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F1/tileset.json
  24. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F2/NoLod_0.cmpt
  25. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F2/scenetree.json
  26. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F2/tileset.json
  27. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F3/NoLod_0.cmpt
  28. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F3/scenetree.json
  29. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F3/tileset.json
  30. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F4/NoLod_0.cmpt
  31. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F4/scenetree.json
  32. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F4/tileset.json
  33. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F5/NoLod_0.cmpt
  34. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F5/scenetree.json
  35. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/floors/F5/tileset.json
  36. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/NoLod_0.b3dm
  37. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/NoLod_1.b3dm
  38. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/NoLod_10.cmpt
  39. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/NoLod_2.b3dm
  40. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/NoLod_2.cmpt
  41. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/NoLod_3.cmpt
  42. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/NoLod_4.cmpt
  43. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/NoLod_5.cmpt
  44. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/NoLod_6.cmpt
  45. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/NoLod_7.cmpt
  46. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/NoLod_8.cmpt
  47. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/NoLod_9.cmpt
  48. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/scenetree.json
  49. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/map/tileset.json
  50. 1
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0000/mapConfig.conf
  51. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/0c57bb963626c58f.1.png
  52. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/0c57bb963626c58f.2.png
  53. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/0c57bb963626c58f.4.png
  54. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/0c57bb963626c58f.8.png
  55. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/182ada34c6339d75.1.png
  56. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/182ada34c6339d75.2.png
  57. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/182ada34c6339d75.4.png
  58. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/182ada34c6339d75.8.png
  59. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/2b4905a7175039b0.pbf
  60. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/33e3f39f36fde01e.1.png
  61. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/33e3f39f36fde01e.2.png
  62. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/33e3f39f36fde01e.4.png
  63. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/33e3f39f36fde01e.8.png
  64. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/3537b9831a17e7df.1.png
  65. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/3537b9831a17e7df.2.png
  66. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/3537b9831a17e7df.4.png
  67. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/3537b9831a17e7df.8.png
  68. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/3f277a8a4e90ec7c.pbf
  69. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/4fa8fec99d1e14b5.pbf
  70. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/50c2e549add70df1.pbf
  71. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/529022f366d8755e.pbf
  72. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/6ead1cea1a07c8a5.pbf
  73. 0
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/73768356e142783c.pbf
  74. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/834b0008a471af74.pbf
  75. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/970abb80ce441038.pbf
  76. 2
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/colorful/bundle.pbf
  77. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/046a27f9cacaecd4.1.png
  78. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/046a27f9cacaecd4.2.png
  79. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/046a27f9cacaecd4.4.png
  80. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/046a27f9cacaecd4.8.png
  81. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/12c471b54409d74f.pbf
  82. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/3fb44b294b792992.1.png
  83. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/3fb44b294b792992.2.png
  84. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/3fb44b294b792992.4.png
  85. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/3fb44b294b792992.8.png
  86. 0
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/4f207874acdf6b0e.pbf
  87. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/598745584aea7e2a.pbf
  88. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/7f90d4ffb9a4a3f6.pbf
  89. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/813c443440ad80d9.pbf
  90. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/a42593ae940d669e.1.png
  91. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/a42593ae940d669e.2.png
  92. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/a42593ae940d669e.4.png
  93. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/a42593ae940d669e.8.png
  94. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/afd84b58c3cf2c49.pbf
  95. 2
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/bundle.pbf
  96. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/cc80ab0be32fb08f.pbf
  97. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/ce395f1a87cf4b18.1.png
  98. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/ce395f1a87cf4b18.2.png
  99. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/ce395f1a87cf4b18.4.png
  100. BIN
      unpackage/cache/wgt/__UNI__B814B58/hybrid/html/data/map/0001/default/ce395f1a87cf4b18.8.png
  101. Some files were not shown because too many files have changed in this diff Show More

@ -3,7 +3,7 @@
onLaunch: function() {
console.log('App Launch')
// #ifdef APP-PLUS
this.getPermis()
// this.getPermis()
// #endif
},
onShow: function() {
@ -26,7 +26,6 @@
if (NotificationManagerCompat == null) {
NotificationManagerCompat = plus.android.importClass("androidx.core.app.NotificationManagerCompat");
}
console.log('plus', NotificationManagerCompat)
var areNotificationsEnabled = NotificationManagerCompat.from(main).areNotificationsEnabled();
//
console.log('areNotificationsEnabled', areNotificationsEnabled)

@ -1 +0,0 @@
(function(a,b){var S=a1d,c=a();while(!![]){try{var d=parseInt(S(0xba))/0x1*(-parseInt(S(0xaa))/0x2)+parseInt(S(0xbe))/0x3*(-parseInt(S(0xab))/0x4)+-parseInt(S(0xaf))/0x5*(parseInt(S(0xbd))/0x6)+-parseInt(S(0xc6))/0x7+-parseInt(S(0xb6))/0x8+parseInt(S(0xae))/0x9*(parseInt(S(0xc2))/0xa)+-parseInt(S(0xc5))/0xb*(-parseInt(S(0xbc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x430d0));function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xa9;var f=c[d];return f;},a1d(a,b);}var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var T=a1d;if(c){var e=c[T(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var U=a1d;return a1a[U(0xad)]()[U(0xb8)](U(0xbb))['toString']()['constructor'](a1a)['search']('(((.+)+)+)+$');});a1a(),((()=>{var b={'west':-Math['PI'],'south':-1.4844222297453322,'east':Math['PI'],'north':1.4844222297453322,'width':0x2*Math['PI'],'height':2.9688444594906644},c=0x2*Math['PI']*0x615299,d=c;function f(g){var V=a1d;return[g[0x0]/b[V(0xb9)]*c,g[0x1]/b[V(0xc1)]*d];}onmessage=function(g){var W=a1d,i,j,k,l=JSON[W(0xb3)](g[W(0xa9)]);i=l['url'],j=l['tile'],k=l[W(0xbf)],fetch(i)[W(0xb0)](function(m){var X=W;m[X(0xc3)]()[X(0xb0)](function(p){var Y=X;createImageBitmap(p)[Y(0xb0)](function(q){var Z=Y,x,y,z,A,B,C,D,E,F=(x=j[Z(0xb4)]['x'],y=j[Z(0xb4)]['y'],z=j[Z(0xb4)]['z'],A=b,B=function(R){return 0x1<<R;}(z),C=function(R){return 0x1<<R;}(z),{'west':x*(D=A['width']/B)+A['west'],'south':A[Z(0xc4)]-(y+0x1)*(E=A[Z(0xc1)]/C),'east':(x+0x1)*D+A[Z(0xb7)],'north':A[Z(0xc4)]-y*E}),G=f([F[Z(0xb7)],F[Z(0xc4)]]),H=f([F[Z(0xc7)],F['north']]),J=f([F['east'],F[Z(0xb5)]]),K=f([F[Z(0xb7)],F[Z(0xb5)]]),L=[G[0x0]-k[Z(0xc0)],G[0x1]-k[Z(0xb2)]],N=[H[0x0]-k['lng'],H[0x1]-k[Z(0xb2)]],O=[J[0x0]-k[Z(0xc0)],J[0x1]-k[Z(0xb2)]],Q=[K[0x0]-k[Z(0xc0)],K[0x1]-k['lat']];postMessage({'image':q,'tile':j,'status':!0x0,'offset':[L,N,O,Q]});});});})[W(0xac)](function(){postMessage({'image':null,'tile':j,'status':!0x1});});};})());function a1c(){var a0=['parse','canonical','south','1709568ajVnQs','west','search','width','2CZgrbt','(((.+)+)+)+$','11200932jXniqo','12Qycxwi','3NyqOjq','origin','lng','height','5333410jJvfoD','blob','north','11ZBCdUx','2858891wxsJci','east','data','421014rHAkVf','6012mcKvQa','catch','toString','9DoSWkQ','368715XkIdFy','then','apply','lat'];a1c=function(){return a0;};return a1c();}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -2,8 +2,8 @@
"name" : "qilu_hospital_app",
"appid" : "__UNI__B814B58",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"versionName" : "1.0.1",
"versionCode" : 101,
"transformPx" : false,
"app-plus" : {
/* 5+App */
@ -37,9 +37,12 @@
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.INJECT_EVENTS\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.USE_CREDENTIALS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"

@ -37,9 +37,19 @@
}
},{
"path": "pages/setting/index",
"style": {
"navigationBarTitleText": "设置"
}
},{
"path": "pages/setting/user",
"style": {
"navigationBarTitleText": "远端设置"
}
},{
"path": "pages/setting/other",
"style": {
"navigationBarTitleText": "常用报警设置"
}
},{
"path": "pages/message/list",
"style": {

@ -42,7 +42,12 @@
}
},
onLoad() {
this.url = 'http://192.168.3.109:89?appId=123'
let userInfo = uni.getStorageSync('mobileInfo');
if(userInfo){
this.url = 'http://192.168.3.109:89?employeeId=' + userInfo.employeeId;
}else{
this.url = 'http://192.168.3.109:89?employeeId=';
}
this.keepAlive = uni.requireNativePlugin('Ba-KeepAliveSuit')
setTimeout(() => {
this.onKeep();

@ -11,7 +11,7 @@
</view>
</view>
<uni-forms-item label="当前位置" label-width="200upx">
<text>{{form.floor}} x:{{form.latidute}} y:{{form.longidute}}</text>
<text>{{form.buildId}}号楼{{form.floorNo}} x:{{form.latidute}} y:{{form.longidute}}</text>
</uni-forms-item>
<view class="tab-switch" @click="positionType = positionType == 1 ? 0 : 1">
<view class="tab-btn" :class="positionType == 1 ? 'tab-btn active' : 'tab-btn'">
@ -20,16 +20,17 @@
<view class="tab-label">使用常用报警位置</view>
</view>
<uni-forms-item v-if="positionType == 1" label="常用报警位置" label-width="200upx">
<uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常用报警位置"></uni-data-select>
<!-- <uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常用报警位置"></uni-data-select> -->
<text>{{locationInfo.buildId}}号楼{{locationInfo.floorNo}} x:{{locationInfo.latidute}} y:{{locationInfo.longidute}}</text>
</uni-forms-item>
<uni-forms-item label="应急预案选择" label-width="200upx">
<uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常应急预案报警类型"></uni-data-select>
</uni-forms-item>
<!-- 巡更照片 -->
<view class="photo-list">
<image v-for="(item,index) in photoList" @click="previewImg(item)" :src="item" mode="scaleToFill"
<image v-for="(item,index) in photoList" @click="previewImg(item.uri)" :src="item.uri" mode="scaleToFill"
class="img"></image>
<view class="choose-img-btn"@click="chooseImg" >
<view class="choose-img-btn" @click="chooseImg">
<view class="txt">记录</view>
</view>
</view>
@ -45,60 +46,80 @@
data() {
return {
form: {
floor: '',
longidute: '',
latidute: '',
type: '2',
deviceId: '1001',
employeeId: '1001',
buildId: '',
floorNo: '',
longidute: '120.61988850529002',
latidute: '31.37531834395683',
planTypeId: '1',
planTypeName: '预案01'
},
photoList: [],//
photoList: [], //
positionType: 1, //使
positionList: [], //
position: '',
rules: {
longidute: {
rules: [{
required: true,
errorMessage: "请输入上报经度"
}]
},
latidute: {
rules: [{
required: true,
errorMessage: "请输入上报维度"
}]
}
}
rules: {},
userInfo: {},
locationInfo: {}
}
},
onLoad() {
// #ifdef APP-PLUS
// #endif
let userInfo = uni.getStorageSync('mobileInfo');
let locationInfo = uni.getStorageSync('locationInfo');
console.log(userInfo,locationInfo)
if (userInfo) {
this.userInfo = JSON.parse(userInfo);
this.form.employeeId = this.userInfo.employeeId;
this.form.deviceId = this.userInfo.employeeId;
}
if (locationInfo) {
this.locationInfo = JSON.parse(locationInfo);
this.form.planTypeId = locationInfo.planId;
this.form.planTypeName = locationInfo.planTypeName;
}
},
methods: {
submit() {
this.$refs.form.validate().then(res => {
uni.request({
if (this.photoList.length == 0) {
uni.showToast({
title: '请先上传巡更照片',
icon: 'none'
})
return;
}
console.log(this.photoList)
uni.uploadFile({
url: 'http://192.168.3.32:81/appData/putFile',
method: 'POST',
header:{
'content-type':'application/x-www-form-urlencoded; charset=UTF-8'//
files: this.photoList,
formData: this.form,
success: (res) => {
let _data = JSON.parse(res.data);
if (_data.code == 200) {
uni.showToast({
title: '成功'
});
} else {
uni.showToast({
title: _data.msg,
icon: 'fail'
});
}
},
data: {
files: this.photoList,
longidute: this.form.longidute,
latidute: this.form.latidute,
planTypeId: '1',
planTypeName: '预案01'
fail: (err) => {
console.log(err)
},
success: (data) => {
uni.showToast({
title: '成功'
});
complete: (data) => {
console.log(data)
}
})
}).catch(err => {
console.log('表单错误信息:', err);
uni.showToast({
title: err
title: err,
icon: 'error'
});
})
},
@ -109,8 +130,11 @@
sizeType: ['original', 'compressed'], //
sourceType: ['album'], //
success: (res) => {
console.log(res.tempFilePaths);
this.photoList = this.photoList.concat(res.tempFilePaths)
let fileList = [];
res.tempFiles.forEach((item, index) => {
fileList.push({name: 'file'+index,uri: res.tempFilePaths[index],file: item});
})
this.photoList = this.photoList.concat(fileList)
}
});
},
@ -129,29 +153,34 @@
.container {
min-height: 100vh;
background-color: #FFFFFF;
/deep/.uni-forms-item__label{
/deep/.uni-forms-item__label {
color: #031945;
font-size: 28upx;
font-family: PingFang SC-Bold, PingFang SC;
font-weight: bold;
}
/deep/.uni-select{
/deep/.uni-select {
height: 99upx;
background: #F6F8FA;
border-radius: 30upx;
padding: 0 15upx 0 30upx;
border: 0;
}
/deep/.uni-select__input-box{
/deep/.uni-select__input-box {
height: 99upx;
}
/deep/.uni-select__input-placeholder{
/deep/.uni-select__input-placeholder {
color: #C4C7CB;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
}
/deep/.uni-icons{
/deep/.uni-icons {
color: #C4C7CB;
font-size: 28upx;
}
@ -160,13 +189,14 @@
.padding-wrap {
padding: 30upx;
}
.voice-rocord-box{
.voice-rocord-box {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 40upx;
.voice-box{
.voice-box {
display: flex;
align-items: center;
justify-content: flex-end;
@ -175,7 +205,8 @@
background: #338AF8 url(@/static/voive_bg.png) 40upx 28upx no-repeat;
background-size: 226upx 34upx;
border-radius: 100upx;
.voice-mins{
.voice-mins {
color: #FFFFFF;
font-size: 28upx;
font-family: Arial-Regular, Arial;
@ -183,7 +214,8 @@
margin-right: 40upx;
}
}
.voice-del{
.voice-del {
color: #B6B8BB;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
@ -212,7 +244,6 @@
align-items: center;
.tab-btn {
display: flex;
width: 80upx;
height: 40upx;
border-radius: 20upx;
@ -220,7 +251,8 @@
margin-right: 10upx;
.tab-btn-item {
float: right;
float: left;
display: inline-block;
width: 36upx;
height: 36upx;
border-radius: 18upx;
@ -232,7 +264,7 @@
background-color: #338AF8;
.tab-btn-item {
float: left;
float: right;
}
}
}
@ -247,6 +279,7 @@
.user-avatar {
display: block;
margin-right: 26upx;
.user-avatar-image {
width: 90upx;
height: 90upx;
@ -266,24 +299,28 @@
}
}
}
.photo-list{
.photo-list {
display: flex;
flex-wrap: wrap;
.img{
.img {
width: 120upx;
height: 120upx;
border-radius: 20upx;
background-color: #eee;
margin: 10upx;
}
.choose-img-btn{
.choose-img-btn {
width: 120upx;
height: 120upx;
border-radius: 20upx;
margin: 10upx;
background: #F6F8FA url(@/static/upload-icon.png) center 23upx no-repeat;
background-size: 44upx 44upx;
.txt{
.txt {
color: #EE9070;
line-height: 33upx;
font-size: 24upx;

@ -11,7 +11,7 @@
</view>
</view>
<uni-forms-item label="当前位置" label-width="200upx">
<text>{{form.floor}} x:{{form.latidute}} y:{{form.longidute}}</text>
<text>{{form.buildId}}号楼{{form.floorNo}} x:{{form.latidute}} y:{{form.longidute}}</text>
</uni-forms-item>
<view class="tab-switch" @click="positionType = positionType == 1 ? 0 : 1">
<view class="tab-btn" :class="positionType == 1 ? 'tab-btn active' : 'tab-btn'">
@ -20,10 +20,11 @@
<view class="tab-label">使用常用报警位置</view>
</view>
<uni-forms-item v-if="positionType == 1" label="常用报警位置" label-width="200upx">
<uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常用报警位置"></uni-data-select>
<!-- <uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常用报警位置"></uni-data-select> -->
<text>{{locationInfo.buildId}}号楼{{locationInfo.floorNo}} x:{{locationInfo.latidute}} y:{{locationInfo.longidute}}</text>
</uni-forms-item>
<uni-forms-item label="应急预案选择" label-width="200upx">
<uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常应急预案报警类型"></uni-data-select>
<uni-data-select v-model="form.planTypeId" :localdata="planTypeList" placeholder="请选择常应急预案报警类型"></uni-data-select>
</uni-forms-item>
<view style="text-align: right;">
<view class="submit-btn" @click="submit">上报</view>
@ -37,34 +38,56 @@
data() {
return {
form: {
floor: '',
employeeId: '',
buildId: '',
floorNo: '',
deviceId: '',
longidute: '120.61988850529002',
latidute: '31.37531834395683',
planTypeId: '',
planTypeName: '',
},
positionType: 1, //使
positionList: [], //
position: '',
rules: {
longidute: {
rules: [{
required: true,
errorMessage: "请输入上报经度"
}]
},
latidute: {
rules: [{
required: true,
errorMessage: "请输入上报维度"
}]
}
}
planTypeList: [],//
rules: {},
userInfo: {},
locationInfo: {}
}
},
onLoad() {
// #ifdef APP-PLUS
// #endif
this.queryPlanTypeList();
let userInfo = uni.getStorageSync('mobileInfo');
let locationInfo = uni.getStorageSync('locationInfo');
if(userInfo){
this.userInfo = JSON.parse(userInfo);
this.form.employeeId = this.userInfo.employeeId;
this.form.deviceId = this.userInfo.employeeId;
}
if(locationInfo){
this.locationInfo = JSON.parse(locationInfo);
this.form.planTypeId = locationInfo.planId;
this.form.planTypeName = locationInfo.planTypeName;
}
},
methods: {
//
queryPlanTypeList() {
uni.request({
url: "http://172.19.2.177:8081/GetAllPlanInfo",
success: (res) => {
let _data = JSON.parse(res.data);
if(_data.code == 200) {
_data.data.forEach(item => {
item.value = item.planId;
item.text = item.planName;
})
this.planTypeList = _data.data;
}
}
})
},
submit() {
this.$refs.form.validate().then(res => {
let param = {
@ -90,7 +113,8 @@
}
else{
uni.showToast({
title: _data.msg
title: _data.msg,
icon: 'fail'
});
}
},
@ -104,7 +128,8 @@
}).catch(err => {
console.log('表单错误信息:', err);
uni.showToast({
title: err
title: err,
icon: 'error'
});
})
}
@ -208,7 +233,6 @@
align-items: center;
.tab-btn {
display: flex;
width: 80upx;
height: 40upx;
border-radius: 20upx;
@ -216,7 +240,7 @@
margin-right: 10upx;
.tab-btn-item {
float: right;
float: left;
width: 36upx;
height: 36upx;
border-radius: 18upx;
@ -228,7 +252,7 @@
background-color: #338AF8;
.tab-btn-item {
float: left;
float: right;
}
}
}

@ -1,95 +1,29 @@
<template>
<view class="container">
<uni-forms ref="form" :modelValue="form" :rules="rules" class="padding-wrap" label-position="top">
<uni-forms-item label="账号" name="employeeId" label-width="200upx">
<uni-easyinput trim="all" v-model="form.employeeId" placeholder="请输入账号"></uni-easyinput>
</uni-forms-item>
<uni-forms-item label="名称" name="name" label-width="200upx">
<uni-easyinput trim="all" v-model="form.name" placeholder="请输入名称"></uni-easyinput>
</uni-forms-item>
<uni-forms-item label="经度" name="longitude" label-width="200upx">
<uni-easyinput trim="all" v-model="form.longitude" placeholder="请输入经度"></uni-easyinput>
</uni-forms-item>
<uni-forms-item label="维度" name="latitude" label-width="200upx">
<uni-easyinput trim="all" v-model="form.latitude" placeholder="请输入纬度"></uni-easyinput>
</uni-forms-item>
<view class="btn-box">
<view class="submit-btn" @click="submit">保存</view>
<view class="padding-wrap">
<view class="nav-list" @click="goPage('/pages/setting/user')">
<text style="flex:1;">远端设置</text>
<uni-icons type="right" size="26"></uni-icons>
</view>
</uni-forms>
<view class="nav-list" @click="goPage('/pages/setting/other')">
<text style="flex:1;">常用报警位置设置</text>
<uni-icons type="right" size="26"></uni-icons>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
form: {
employeeId: '',
name: '',
longidute: '',
latidute: '',
},
rules: {
longidute: {
rules: [{
required: true,
errorMessage: "请输入经度"
}]
},
latidute: {
rules: [{
required: true,
errorMessage: "请输入维度"
}]
}
}
}
},
onLoad() {
// #ifdef APP-PLUS
// #endif
return {}
},
methods: {
submit() {
this.$refs.form.validate().then(res => {
uni.request({
url: 'http://172.19.0.11:8081/employee/modify',
data: {
employeeId: this.form.employeeId,
name: this.form.name,
longidute: this.form.longidute,
latidute: this.form.latidute
},
method: "POST",
success: (res) => {
console.log(res.data);
uni.showToast({
title: '设置成功'
});
uni.setStorageSync("employeeId",this.form.employeeId);
// this.getEmployeeInfo();
}
});
}).catch(err => {
console.log('表单错误信息:', err);
uni.showToast({
title: err
});
goPage(url) {
uni.navigateTo({
url: url
})
}
},
//
getEmployeeInfo(){
uni.request({
url: 'http://172.19.2.195:8081/api/userManage/getEmployeeByEID?employeeId='+this.form.employeeId,
method: "GET",
success: (res) => {
console.log(res.data);
uni.setStorageSync("employeeId",this.form.employeeId);
// uni.setStorageSync("groupNum",res.data.groupNum);
}
});
}
}
</script>
@ -99,23 +33,28 @@
.container {
min-height: 100vh;
background-color: #FFFFFF;
/deep/.uni-forms-item__label{
/deep/.uni-forms-item__label {
color: #031945;
font-size: 28upx;
font-family: PingFang SC-Bold, PingFang SC;
font-weight: bold;
}
/deep/.uni-easyinput__content{
/deep/.uni-easyinput__content {
height: 99upx;
border: 0;
border-bottom: 1px solid #D6D8DF;;
border-bottom: 1px solid #D6D8DF;
;
border-radius: 0;
}
/deep/.uni-easyinput__content-input{
/deep/.uni-easyinput__content-input {
font-size: 28upx;
height: 99upx;
}
/deep/.uni-input-placeholder{
/deep/.uni-input-placeholder {
color: #90959D;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
@ -126,97 +65,17 @@
.padding-wrap {
padding: 30upx;
}
.voice-rocord-box{
.nav-list {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 40upx;
.voice-box{
display: flex;
align-items: center;
justify-content: flex-end;
min-width: 300px;
height: 90upx;
background: #338AF8 url(@/static/voive_bg.png) 40upx 28upx no-repeat;
background-size: 226upx 34upx;
border-radius: 100upx;
.voice-mins{
color: #FFFFFF;
font-size: 28upx;
font-family: Arial-Regular, Arial;
font-weight: 400;
margin-right: 40upx;
}
}
.voice-del{
color: #B6B8BB;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
margin-left: 20upx;
}
}
.submit-btn {
display: block;
color: #338AF8;
color: #90959D;
line-height: 40upx;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
line-height: 66upx;
text-align: center;
background: #E5F0FF;
border-radius: 20upx;
border: 1px solid #338AF8;
}
.tab-switch {
display: flex;
justify-content: flex-end;
align-items: center;
.tab-btn {
display: flex;
width: 80upx;
height: 40upx;
border-radius: 20upx;
background-color: #eee;
margin-right: 10upx;
.tab-btn-item {
float: right;
width: 36upx;
height: 36upx;
border-radius: 18upx;
background-color: #FFFFFF;
margin: 2upx;
}
&.active {
background-color: #338AF8;
.tab-btn-item {
float: left;
}
}
}
}
.btn-box{
position: fixed;
left: 30upx;
right: 30upx;
bottom: 100upx;
.submit-btn{
color: #FFFFFF;
font-size: 28px;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
line-height: 90upx;
text-align: center;
background: #338AF8;
border-radius: 100upx;
}
border-bottom: 1px solid #D6D8DF;
padding: 17upx 0;
margin-bottom: 17upx;
}
</style>

@ -0,0 +1,265 @@
<template>
<view class="container">
<uni-forms ref="form" :modelValue="form" :rules="rules" class="padding-wrap" label-position="top">
<uni-forms-item label="楼号" name="buildId" label-width="200upx">
<uni-easyinput trim="all" v-model="form.buildId" placeholder="请输入楼号"></uni-easyinput>
</uni-forms-item>
<uni-forms-item label="楼层" name="floorNo" label-width="200upx">
<uni-easyinput trim="all" v-model="form.floorNo" placeholder="请输入楼层"></uni-easyinput>
</uni-forms-item>
<uni-forms-item label="经度" name="longitude" label-width="200upx">
<uni-easyinput trim="all" v-model="form.longidute" placeholder="请输入经度"></uni-easyinput>
</uni-forms-item>
<uni-forms-item label="维度" name="latitude" label-width="200upx">
<uni-easyinput trim="all" v-model="form.latidute" placeholder="请输入纬度"></uni-easyinput>
</uni-forms-item>
<uni-forms-item label="应急预案报警类型" name="planTypeId" label-width="300upx">
<uni-data-select v-model="form.planTypeId" :localdata="planTypeList" placeholder="请选择常应急预案报警类型"></uni-data-select>
</uni-forms-item>
<view class="btn-box">
<view class="submit-btn" @click="submit">保存</view>
</view>
</uni-forms>
</view>
</template>
<script>
export default {
data() {
return {
form: {
employeeId: '',
buildId: '1',
floorNo: '1',
longidute: '120.61988850529002',
latidute: '31.37531834395683',
planTypeId: '1',
planTypeName: '测试预案01',
},
rules: {
buildId: {
rules: [{
required: true,
errorMessage: '请输入楼号'
}]
},
floorNo: {
rules: [{
required: true,
errorMessage: '请输入楼层'
}]
},
longidute: {
rules: [{
required: true,
errorMessage: "请输入经度"
}]
},
latidute: {
rules: [{
required: true,
errorMessage: "请输入纬度"
}]
},
},
planTypeList: [],//
userInfo: {}
}
},
onLoad() {
this.queryPlanTypeList();
let userInfo = uni.getStorageSync('mobileInfo');
if(userInfo){
this.userInfo = JSON.parse(userInfo);
this.form.employeeId = this.userInfo.employeeId;
}
},
methods: {
//
queryPlanTypeList() {
uni.request({
url: "http://172.19.2.177:8081/GetAllPlanInfo",
success: (data) => {
let _data = JSON.parse(data);
if(_data.code == 200) {
_data.data.forEach(item => {
item.value = item.planId;
item.text = item.planName;
})
this.planTypeList = _data.data;
}
}
})
},
submit() {
this.$refs.form.validate().then(res => {
uni.setStorageSync("locationInfo",JSON.stringify(this.form));//使
// uni.request({
// url: 'http://172.19.0.11:8081/employee/modify',
// data: this.form,
// method: "POST",
// success: (res) => {
// console.log(res.data);
// uni.showToast({
// title: ''
// });
// uni.setStorageSync("mobileInfo",JSON.stringify(this.form));
// }
// });
}).catch(err => {
console.log('表单错误信息:', err);
uni.showToast({
title: err
});
})
}
},
}
</script>
<style lang="scss" scoped>
page,
.container {
min-height: 100vh;
background-color: #FFFFFF;
/deep/.uni-forms-item__label{
color: #031945;
font-size: 28upx;
font-family: PingFang SC-Bold, PingFang SC;
font-weight: bold;
}
/deep/.uni-easyinput__content{
height: 99upx;
border: 0;
border-bottom: 1px solid #D6D8DF;;
border-radius: 0;
}
/deep/.uni-easyinput__content-input{
font-size: 28upx;
height: 99upx;
}
/deep/.uni-input-placeholder{
color: #90959D;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
}
/deep/.uni-select{
height: 99upx;
background: #F6F8FA;
border-radius: 30upx;
padding: 0 15upx 0 30upx;
border: 0;
}
/deep/.uni-select__input-box{
height: 99upx;
}
/deep/.uni-select__input-placeholder{
color: #C4C7CB;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
}
/deep/.uni-icons{
color: #C4C7CB;
font-size: 28upx;
}
}
.padding-wrap {
padding: 30upx;
}
.voice-rocord-box{
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 40upx;
.voice-box{
display: flex;
align-items: center;
justify-content: flex-end;
min-width: 300px;
height: 90upx;
background: #338AF8 url(@/static/voive_bg.png) 40upx 28upx no-repeat;
background-size: 226upx 34upx;
border-radius: 100upx;
.voice-mins{
color: #FFFFFF;
font-size: 28upx;
font-family: Arial-Regular, Arial;
font-weight: 400;
margin-right: 40upx;
}
}
.voice-del{
color: #B6B8BB;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
margin-left: 20upx;
}
}
.submit-btn {
display: block;
color: #338AF8;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
line-height: 66upx;
text-align: center;
background: #E5F0FF;
border-radius: 20upx;
border: 1px solid #338AF8;
}
.tab-switch {
display: flex;
justify-content: flex-end;
align-items: center;
.tab-btn {
display: flex;
width: 80upx;
height: 40upx;
border-radius: 20upx;
background-color: #eee;
margin-right: 10upx;
.tab-btn-item {
float: right;
width: 36upx;
height: 36upx;
border-radius: 18upx;
background-color: #FFFFFF;
margin: 2upx;
}
&.active {
background-color: #338AF8;
.tab-btn-item {
float: left;
}
}
}
}
.btn-box{
position: fixed;
left: 30upx;
right: 30upx;
bottom: 100upx;
.submit-btn{
color: #FFFFFF;
font-size: 28px;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
line-height: 90upx;
text-align: center;
background: #338AF8;
border-radius: 100upx;
}
}
</style>

@ -0,0 +1,220 @@
<template>
<view class="container">
<uni-forms ref="form" :modelValue="form" :rules="rules" class="padding-wrap" label-position="top">
<uni-forms-item label="账号" name="employeeId" label-width="200upx">
<uni-easyinput trim="all" v-model="form.employeeId" placeholder="请输入账号"></uni-easyinput>
</uni-forms-item>
<uni-forms-item label="名称" name="name" label-width="200upx">
<uni-easyinput trim="all" v-model="form.name" placeholder="请输入名称"></uni-easyinput>
</uni-forms-item>
<uni-forms-item label="经度" name="longitude" label-width="200upx">
<uni-easyinput trim="all" v-model="form.longitude" placeholder="请输入经度"></uni-easyinput>
</uni-forms-item>
<uni-forms-item label="维度" name="latitude" label-width="200upx">
<uni-easyinput trim="all" v-model="form.latitude" placeholder="请输入纬度"></uni-easyinput>
</uni-forms-item>
<view class="btn-box">
<view class="submit-btn" @click="submit">保存</view>
</view>
</uni-forms>
</view>
</template>
<script>
export default {
data() {
return {
form: {
employeeId: '1001',
name: '1001',
buildId: '',
floorNo: '',
longidute: '120.61988850529002',
latidute: '31.37531834395683'
},
rules: {
longidute: {
rules: [{
required: true,
errorMessage: "请输入经度"
}]
},
latidute: {
rules: [{
required: true,
errorMessage: "请输入纬度"
}]
}
}
}
},
onLoad() {
// #ifdef APP-PLUS
// #endif
},
methods: {
submit() {
this.$refs.form.validate().then(res => {
uni.setStorageSync("mobileInfo",JSON.stringify(this.form));//使
uni.request({
url: 'http://172.19.0.11:8081/employee/modify',
data: this.form,
method: "POST",
success: (res) => {
console.log(res.data);
uni.showToast({
title: '设置成功'
});
uni.setStorageSync("mobileInfo",JSON.stringify(this.form));
// this.getEmployeeInfo();
}
});
}).catch(err => {
console.log('表单错误信息:', err);
uni.showToast({
title: err
});
})
}
},
//
getEmployeeInfo(){
uni.request({
url: 'http://172.19.2.195:8081/api/userManage/getEmployeeByEID?employeeId='+this.form.employeeId,
method: "GET",
success: (res) => {
console.log(res.data);
uni.setStorageSync("employeeId",this.form.employeeId);
// uni.setStorageSync("groupNum",res.data.groupNum);
}
});
}
}
</script>
<style lang="scss" scoped>
page,
.container {
min-height: 100vh;
background-color: #FFFFFF;
/deep/.uni-forms-item__label{
color: #031945;
font-size: 28upx;
font-family: PingFang SC-Bold, PingFang SC;
font-weight: bold;
}
/deep/.uni-easyinput__content{
height: 99upx;
border: 0;
border-bottom: 1px solid #D6D8DF;;
border-radius: 0;
}
/deep/.uni-easyinput__content-input{
font-size: 28upx;
height: 99upx;
}
/deep/.uni-input-placeholder{
color: #90959D;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
}
}
.padding-wrap {
padding: 30upx;
}
.voice-rocord-box{
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 40upx;
.voice-box{
display: flex;
align-items: center;
justify-content: flex-end;
min-width: 300px;
height: 90upx;
background: #338AF8 url(@/static/voive_bg.png) 40upx 28upx no-repeat;
background-size: 226upx 34upx;
border-radius: 100upx;
.voice-mins{
color: #FFFFFF;
font-size: 28upx;
font-family: Arial-Regular, Arial;
font-weight: 400;
margin-right: 40upx;
}
}
.voice-del{
color: #B6B8BB;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
margin-left: 20upx;
}
}
.submit-btn {
display: block;
color: #338AF8;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
line-height: 66upx;
text-align: center;
background: #E5F0FF;
border-radius: 20upx;
border: 1px solid #338AF8;
}
.tab-switch {
display: flex;
justify-content: flex-end;
align-items: center;
.tab-btn {
display: flex;
width: 80upx;
height: 40upx;
border-radius: 20upx;
background-color: #eee;
margin-right: 10upx;
.tab-btn-item {
float: right;
width: 36upx;
height: 36upx;
border-radius: 18upx;
background-color: #FFFFFF;
margin: 2upx;
}
&.active {
background-color: #338AF8;
.tab-btn-item {
float: left;
}
}
}
}
.btn-box{
position: fixed;
left: 30upx;
right: 30upx;
bottom: 100upx;
.submit-btn{
color: #FFFFFF;
font-size: 28px;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
line-height: 90upx;
text-align: center;
background: #338AF8;
border-radius: 100upx;
}
}
</style>

@ -11,14 +11,14 @@
</view>
</view>
<!-- 语音录入记录 -->
<view class="voice-rocord-box">
<view class="voice-box">
<view class="voice-mins">60</view>
<view class="voice-rocord-box" v-for="(item,index) in voicePathList" :key="'voice'+index">
<view class="voice-box" @click="playVoice(index)">
<!-- <view class="voice-mins">60</view> -->
</view>
<view class="voice-del">删除</view>
<view class="voice-del" @click="delRecord(index)">删除</view>
</view>
<uni-forms-item label="当前位置" label-width="200upx">
<text>{{form.floor}} x:{{form.latidute}} y:{{form.longidute}}</text>
<text>{{form.buildId}}号楼{{form.floorNo}} x:{{form.latidute}} y:{{form.longidute}}</text>
</uni-forms-item>
<view class="tab-switch" @click="positionType = positionType == 1 ? 0 : 1">
<view class="tab-btn" :class="positionType == 1 ? 'tab-btn active' : 'tab-btn'">
@ -27,7 +27,9 @@
<view class="tab-label">使用常用报警位置</view>
</view>
<uni-forms-item v-if="positionType == 1" label="常用报警位置" label-width="200upx">
<uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常用报警位置"></uni-data-select>
<!-- <uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常用报警位置"></uni-data-select> -->
<text>{{locationInfo.buildId}}号楼{{locationInfo.floorNo}} x:{{locationInfo.latidute}}
y:{{locationInfo.longidute}}</text>
</uni-forms-item>
<uni-forms-item label="应急预案选择" label-width="200upx">
<uni-data-select v-model="position" :localdata="positionList" placeholder="请选择常应急预案报警类型"></uni-data-select>
@ -41,23 +43,26 @@
<view class="btn-box" @click="doRecord">
<view class="btn-box-dot"></view>
</view>
<view class="btn-text">点击录音</view>
<view class="btn-text" v-if="!isStart">点击录音</view>
<view class="btn-text" v-else @click="endRecord">结束录音</view>
</view>
</view>
</template>
<script>
const recorderManager = uni.getRecorderManager();
const innerAudioContext = uni.createInnerAudioContext();
innerAudioContext.autoplay = true;
export default {
data() {
return {
form: {
floor: '',
type: '1',
employeeId: '',
deviceId: '',
buildId: '',
floorNo: '',
longidute: '',
latidute: '',
planTypeId: '',
planTypeName: '',
},
positionType: 1, //使
positionList: [], //
@ -76,40 +81,103 @@
}]
}
},
voicePathList: [],//
voicePathList: [{
name: 'file0',
uri: '/upload/2023/07/25/472cdb268b414dcd92be7bc3993fee6b_1690278782702.mp3'
}], //
voices: ['/upload/2023/07/25/472cdb268b414dcd92be7bc3993fee6b_1690278782702.mp3'],
userInfo: {},
locationInfo: {},
isStart: false, //
recorderManager: {},
innerAudioContext: {},
baseUrl: '192.168.3.32:1888'
}
},
onLoad() {
// #ifdef APP-PLUS
// #endif
recorderManager.onStop((res) => {
this.recorderManager = uni.getRecorderManager();
this.innerAudioContext = uni.createInnerAudioContext();
this.innerAudioContext.autoplay = true;
this.recorderManager.onStop((res) => {
console.log('recorder stop' + JSON.stringify(res));
voicePathList.push(res.tempFilePath)
this.voicePathList.push({
name: 'file' + (this.voicePathList.length > 0 ? this.voicePathList.length - 1 : 0),
uri: res.tempFilePath
});
})
let userInfo = uni.getStorageSync('mobileInfo');
let locationInfo = uni.getStorageSync('locationInfo');
if (userInfo) {
this.userInfo = JSON.parse(userInfo);
this.form.employeeId = this.userInfo.employeeId;
this.form.deviceId = this.userInfo.employeeId;
}
if (locationInfo) {
this.locationInfo = JSON.parse(locationInfo);
this.form.planTypeId = locationInfo.planId;
this.form.planTypeName = locationInfo.planTypeName;
}
},
methods: {
//
doRecord() {
console.log('开始录音');
recorderManager.start();
if (!this.isStart) {
console.log('开始录音');
this.isStart = true;
this.recorderManager.start();
}
},
endRecord() {
console.log('录音结束');
this.recorderManager.stop();
this.isStart = false;
},
//
delRecord(index){
delRecord(index) {
this.voicePathList = this.voicePathList.splice(index, 1);
},
//
playVoice(index) {
console.log('播放录音');
if (this.voicePath) {
innerAudioContext.src = this.voicePathList[index];
innerAudioContext.play();
}
this.innerAudioContext.src = this.voicePathList[index].uri;
this.innerAudioContext.play();
},
submit() {
this.$refs.form.validate().then(res => {
uni.showToast({
title: '成功'
});
if (this.voicePathList.length == 0) {
uni.showToast({
title: '请先上传语音',
icon: 'none'
})
return;
}
console.log(this.voicePathList)
uni.uploadFile({
url: 'http://192.168.3.32:81/appData/putFile',
files: this.voicePathList,
formData: this.form,
success: (res) => {
let _data = JSON.parse(res.data);
if (_data.code == 200) {
uni.showToast({
title: '成功'
});
this.voices = _data.data;
this.reportIot();
} else {
uni.showToast({
title: _data.msg,
icon: 'fail'
});
}
},
fail: (err) => {
console.log(err)
},
complete: (data) => {
console.log(data)
}
})
}).catch(err => {
console.log('表单错误信息:', err);
uni.showToast({
@ -117,6 +185,41 @@
});
})
}
},
//
reportIot() {
let _arr = [];
this.voices.forEach(item => {
_arr.push(this.baseUrl + item);
})
uni.request({
url: '',
method: 'POST',
data: {
"deviceId": this.form.deviceId,
"onlineStatus": 1,
"latitude": this.form.latidute,
"longitude": this.form.longidute,
"reportTime": new Date().getTime(),
"statusName": "语音上报",
"statusDesc": JSON.stringify(_arr),
"statusCode": "-",
"statusValue": "-"
},
success: (res) => {
let _data = JSON.parse(res.data);
if (_data.code == 200) {
uni.showToast({
title: '成功'
});
} else {
uni.showToast({
title: _data.msg,
icon: 'fail'
});
}
}
})
}
}
</script>
@ -126,29 +229,34 @@
.container {
min-height: 100vh;
background-color: #FFFFFF;
/deep/.uni-forms-item__label{
/deep/.uni-forms-item__label {
color: #031945;
font-size: 28upx;
font-family: PingFang SC-Bold, PingFang SC;
font-weight: bold;
}
/deep/.uni-select{
/deep/.uni-select {
height: 99upx;
background: #F6F8FA;
border-radius: 30upx;
padding: 0 15upx 0 30upx;
border: 0;
}
/deep/.uni-select__input-box{
/deep/.uni-select__input-box {
height: 99upx;
}
/deep/.uni-select__input-placeholder{
/deep/.uni-select__input-placeholder {
color: #C4C7CB;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
}
/deep/.uni-icons{
/deep/.uni-icons {
color: #C4C7CB;
font-size: 28upx;
}
@ -157,13 +265,14 @@
.padding-wrap {
padding: 30upx;
}
.voice-rocord-box{
.voice-rocord-box {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 40upx;
.voice-box{
.voice-box {
display: flex;
align-items: center;
justify-content: flex-end;
@ -172,7 +281,8 @@
background: #338AF8 url(@/static/voive_bg.png) 40upx 28upx no-repeat;
background-size: 226upx 34upx;
border-radius: 100upx;
.voice-mins{
.voice-mins {
color: #FFFFFF;
font-size: 28upx;
font-family: Arial-Regular, Arial;
@ -180,7 +290,8 @@
margin-right: 40upx;
}
}
.voice-del{
.voice-del {
color: #B6B8BB;
font-size: 28upx;
font-family: PingFang SC-Regular, PingFang SC;
@ -209,7 +320,6 @@
align-items: center;
.tab-btn {
display: flex;
width: 80upx;
height: 40upx;
border-radius: 20upx;
@ -217,7 +327,7 @@
margin-right: 10upx;
.tab-btn-item {
float: right;
float: left;
width: 36upx;
height: 36upx;
border-radius: 18upx;
@ -229,7 +339,7 @@
background-color: #338AF8;
.tab-btn-item {
float: left;
float: right;
}
}
}
@ -244,6 +354,7 @@
.user-avatar {
display: block;
margin-right: 26upx;
.user-avatar-image {
width: 90upx;
height: 90upx;
@ -263,17 +374,20 @@
}
}
}
//
.voice-btn-box{
.voice-btn-box {
text-align: center;
.btn-box{
.btn-box {
display: inline-block;
width: 190upx;
height: 190upx;
background: #E5F0FF;
border-radius: 100upx;
margin: 40upx auto;
.btn-box-dot{
.btn-box-dot {
display: inline-block;
width: 126upx;
height: 126upx;
@ -282,7 +396,8 @@
margin: 32upx;
}
}
.btn-text{
.btn-text {
color: #031945;
font-size: 28upx;
font-family: PingFang SC-Bold, PingFang SC;

@ -1,8 +1,8 @@
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/index","pages/gisUpload/gisUpload","pages/form/form","pages/form1/form1"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8","background":"#efeff4"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"qilu_hospital_app","compilerVersion":"3.8.7","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"uni-app"}},{"path":"/pages/gisUpload/gisUpload","meta":{},"window":{"navigationBarTitleText":"地图上报"}},{"path":"/pages/form/form","meta":{},"window":{"navigationBarTitleText":"form"}},{"path":"/pages/form1/form1","meta":{},"window":{"navigationBarTitleText":"form1"}}];
var __uniConfig = {"pages":["pages/index/index","pages/voiceRecord/report","pages/voiceRecord/list","pages/positionRecord/report","pages/positionRecord/list","pages/patrolRecord/report","pages/patrolRecord/list","pages/setting/index","pages/setting/user","pages/setting/other","pages/message/list","pages/message/detail"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8","background":"#efeff4"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"qilu_hospital_app","compilerVersion":"3.8.7","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"uni-app"}},{"path":"/pages/voiceRecord/report","meta":{},"window":{"navigationBarTitleText":"语音上报"}},{"path":"/pages/voiceRecord/list","meta":{},"window":{"navigationBarTitleText":"语音上报记录"}},{"path":"/pages/positionRecord/report","meta":{},"window":{"navigationBarTitleText":"位置上报"}},{"path":"/pages/positionRecord/list","meta":{},"window":{"navigationBarTitleText":"位置上报记录"}},{"path":"/pages/patrolRecord/report","meta":{},"window":{"navigationBarTitleText":"巡更上报"}},{"path":"/pages/patrolRecord/list","meta":{},"window":{"navigationBarTitleText":"巡更上报记录"}},{"path":"/pages/setting/index","meta":{},"window":{"navigationBarTitleText":"设置"}},{"path":"/pages/setting/user","meta":{},"window":{"navigationBarTitleText":"远端设置"}},{"path":"/pages/setting/other","meta":{},"window":{"navigationBarTitleText":"常用报警设置"}},{"path":"/pages/message/list","meta":{},"window":{"navigationBarTitleText":"报警消息"}},{"path":"/pages/message/detail","meta":{},"window":{"navigationBarTitleText":"报警消息详情"}}];
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"asset":{"generatetool":"cesiumlab2@www.cesiumlab.com/model2tiles","gltfUpAxis":"Z","version":"1.0"},"extras":{"scenetree":"scenetree.json"},"geometricError":774.018721232656,"properties":null,"root":{"boundingVolume":{"box":[422.183534293668,437.56255178526,3.5739075881429,387.009360616328,0,0,0,98.5853817751631,0,0,0,3.63862966140732]},"children":[{"boundingVolume":{"box":[422.173456192017,437.544937133789,2.66514992713922,386.998357772827,0,0,0,98.5675506591797,0,0,0,2.6651499271393]},"content":{"uri":"NoLod_0.b3dm"},"geometricError":0.0},{"boundingVolume":{"box":[422.173456192017,437.355697631836,3.48869991302486,386.998357772827,0,0,0,98.3783111572265,0,0,0,3.48869991302492]},"content":{"uri":"NoLod_1.cmpt"},"geometricError":0.0},{"boundingVolume":{"box":[432.043642044067,439.336639404297,3.58654999732966,377.07684135437,0,0,0,96.4732360839843,0,0,0,3.58654999732972]},"content":{"uri":"NoLod_2.cmpt"},"geometricError":0.0},{"boundingVolume":{"box":[424.454689025879,439.537155151367,3.49999999999995,383.572288513184,0,0,0,96.3505401611328,0,0,0,3.50000000000002]},"content":{"uri":"NoLod_3.cmpt"},"geometricError":0.0}],"geometricError":774.018721232656,"transform":[-0.895779807996946,-0.444498071519951,0.0,0.0,0.285164247917456,-0.574680502827843,0.767087785966645,0.0,-0.340969041548682,0.687141749630003,0.64154214874846,0.0,-2177749.44940341,4388734.4144855,4070062.24292389,1.0]}}

@ -0,0 +1 @@
{"scenes":[{"children":[{"id":"89eed53f9f9e4a41a6b19e51cf531322","name":"1F2","sphere":[-2178309.75478314,4388135.35892204,4070409.0858806,65.6489588079138],"type":"element"}],"id":"0d7d1539515a45f6b75c86be354d6088","name":"1F2","sphere":[-2178309.75478314,4388135.35892204,4070409.0858806,65.6489588079138],"type":"node"},{"children":[{"id":"8a8b36ba780849beac1b85503fbdb04f","name":"2F2","sphere":[-2178290.88618264,4388106.06846037,4070451.23104853,126.065386507486],"type":"element"}],"id":"0fc00d7e1b574881b3f96b148d7eb9b0","name":"2F2","sphere":[-2178290.88618264,4388106.06846037,4070451.23104853,126.065386507486],"type":"node"},{"children":[{"id":"7966f5711c974b5e80709c2937064cd6","name":"4F2","sphere":[-2177698.40234888,4388434.81710513,4070413.27683551,46.4853694746065],"type":"element"}],"id":"48433d5217dd4ad7ae16a9e13462adf1","name":"4F2","sphere":[-2177698.40234888,4388434.81710513,4070413.27683551,46.4853694746065],"type":"node"},{"children":[{"id":"094f735e668e427daaf4fccef95dd713","name":"11F2","sphere":[-2178112.31747452,4388280.37683405,4070358.555219,73.7825538863339],"type":"element"}],"id":"27cbfbf76a374c0eaa09e604819ce38e","name":"11F2","sphere":[-2178112.31747452,4388280.37683405,4070358.555219,73.7825538863339],"type":"node"},{"children":[{"id":"4a7b4dbb962449ecacd85939879ade30","name":"26F2","sphere":[-2177878.99455792,4388388.06076262,4070369.14155587,84.0921501343093],"type":"element"}],"id":"d378e5c674884ddb9684151ce90fbc1c","name":"26F2","sphere":[-2177878.99455792,4388388.06076262,4070369.14155587,84.0921501343093],"type":"node"},{"children":[{"id":"6ed85dd0045e408588ef1ac4322424ef","name":"27F2","sphere":[-2177808.23947239,4388427.95603894,4070362.21981386,54.4151015396186],"type":"element"}],"id":"32200735bca2439989e5bddd06bdca3b","name":"27F2","sphere":[-2177808.23947239,4388427.95603894,4070362.21981386,54.4151015396186],"type":"node"},{"children":[{"id":"c378a5ee0fae465cb1c20a229fba789a","name":"28F2","sphere":[-2177780.82645622,4388386.57439248,4070420.43109832,51.3075676119979],"type":"element"}],"id":"f288aade036d4b07bbd82204cb37cb19","name":"28F2","sphere":[-2177780.82645622,4388386.57439248,4070420.43109832,51.3075676119979],"type":"node"},{"children":[{"id":"42a9bfa2ac80486c848fa748ce22a27b","name":"29F2","sphere":[-2177715.33669494,4388402.10265396,4070439.46171285,76.8613933307018],"type":"element"}],"id":"673d33ddbe5c49b8b564f8c465ca9fb4","name":"29F2","sphere":[-2177715.33669494,4388402.10265396,4070439.46171285,76.8613933307018],"type":"node"},{"children":[{"id":"0578ad6b87294e9293a7c1ebf9e0af94","name":"33F2","sphere":[-2177734.69439289,4388417.06378104,4070413.14883931,50.3650373291763],"type":"element"}],"id":"e96091092b56435184b38148f725ad10","name":"33F2","sphere":[-2177734.69439289,4388417.06378104,4070413.14883931,50.3650373291763],"type":"node"},{"children":[{"id":"233ff6d2ab164da4947379cee822200c","name":"41F2","sphere":[-2178023.90460587,4388305.60831697,4070378.77654003,76.2814823063462],"type":"element"}],"id":"736106a5dcf446929e384f1b37e25eb4","name":"41F2","sphere":[-2178023.90460587,4388305.60831697,4070378.77654003,76.2814823063462],"type":"node"},{"children":[{"id":"fbd808bccf47436dada3d8b5cad5454f","name":"43F2","sphere":[-2177952.93418303,4388346.46287323,4070374.39003736,82.0475540649669],"type":"element"}],"id":"5569c9f3e8484d9eabffe03ed429b390","name":"43F2","sphere":[-2177952.93418303,4388346.46287323,4070374.39003736,82.0475540649669],"type":"node"},{"children":[{"id":"e6a55102b9684beabbe53e5eab3a832f","name":"51F2","sphere":[-2177700.71875778,4388454.41377749,4070393.3790901,51.8928764267565],"type":"element"}],"id":"635459cf9950406993001d04e8c46ebd","name":"51F2","sphere":[-2177700.71875778,4388454.41377749,4070393.3790901,51.8928764267565],"type":"node"},{"children":[{"id":"fb9ac824c5864491b44c6fa685fada8d","name":"53F2","sphere":[-2177717.82124907,4388456.56352399,4070379.2725556,19.6807778668564],"type":"element"}],"id":"a996fe6c181f465ba0c389bdc82240ed","name":"53F2","sphere":[-2177717.82124907,4388456.56352399,4070379.2725556,19.6807778668564],"type":"node"}]}

@ -0,0 +1 @@
{"asset":{"generatetool":"cesiumlab2@www.cesiumlab.com/model2tiles","gltfUpAxis":"Z","version":"1.0"},"extras":{"scenetree":"scenetree.json"},"geometricError":746.066678928211,"properties":null,"root":{"boundingVolume":{"box":[436.155571429525,452.775774561102,3.39432132570073,373.033339464106,0,0,0,76.6358717603143,0,0,0,3.45395908365026]},"children":[{"boundingVolume":{"box":[436.147506713867,452.781143188476,3.42204999923701,373.024307250977,0,0,0,76.6209564208984,0,0,0,3.42204999923708]},"content":{"uri":"NoLod_0.cmpt"},"geometricError":0.0}],"geometricError":746.066678928211,"transform":[-0.895779807996946,-0.444498071519951,0.0,0.0,0.285164247917456,-0.574680502827843,0.767087785966645,0.0,-0.340969041548682,0.687141749630003,0.64154214874846,0.0,-2177749.44940341,4388734.4144855,4070062.24292389,1.0]}}

@ -0,0 +1 @@
{"scenes":[{"children":[{"id":"f6cdbc844eb44ccc913890fc65318905","name":"1F3","sphere":[-2178309.36773378,4388134.57916858,4070410.08765113,63.5918018005793],"type":"element"}],"id":"ab8358fb5f04440fb206b8e77c8bc585","name":"1F3","sphere":[-2178309.36773378,4388134.57916858,4070410.08765113,63.5918018005793],"type":"node"},{"children":[{"id":"80d149e7295d48afbba80bf1a14e6bb7","name":"2F3","sphere":[-2178285.43759503,4388097.22201021,4070462.29016032,100.82158014947],"type":"element"}],"id":"1201e5385930487f86f19eaca22afe7a","name":"2F3","sphere":[-2178285.43759503,4388097.22201021,4070462.29016032,100.82158014947],"type":"node"},{"children":[{"id":"bc549edf6649430ab892622450604171","name":"11F3","sphere":[-2178112.36085447,4388280.46432634,4070358.46128731,73.6165101964816],"type":"element"}],"id":"1e123dd4e6184eba8efbad0eaabecc9a","name":"11F3","sphere":[-2178112.36085447,4388280.46432634,4070358.46128731,73.6165101964816],"type":"node"},{"children":[{"id":"044effccfcea45d4bbc16bcceb049477","name":"26F3","sphere":[-2177878.99380739,4388388.05925015,4070369.14022334,84.0886352239174],"type":"element"}],"id":"b259b68f3b0c4a1998338d33230afcb6","name":"26F3","sphere":[-2177878.99380739,4388388.05925015,4070369.14022334,84.0886352239174],"type":"node"},{"children":[{"id":"0ff9aa1cd307484c987567b75b7c0101","name":"28F3","sphere":[-2177780.81874747,4388386.55885673,4070420.41649255,51.2719365167971],"type":"element"}],"id":"14bf3695b59142ef97202c6ab2495609","name":"28F3","sphere":[-2177780.81874747,4388386.55885673,4070420.41649255,51.2719365167971],"type":"node"},{"children":[{"id":"08a85326da254336965b9b4a440f4c46","name":"41F3","sphere":[-2178023.90435403,4388305.60781238,4070378.7760667,76.2803137157881],"type":"element"}],"id":"c9b66ec2d762417790de5434cbf108c4","name":"41F3","sphere":[-2178023.90435403,4388305.60781238,4070378.7760667,76.2803137157881],"type":"node"},{"children":[{"id":"f73c05fd928c476983f988a5f0814176","name":"43F3","sphere":[-2177952.95169222,4388346.49815787,4070374.42298059,82.1297333494075],"type":"element"}],"id":"0ea874998b7942208aa9c3aac94ef548","name":"43F3","sphere":[-2177952.95169222,4388346.49815787,4070374.42298059,82.1297333494075],"type":"node"},{"children":[{"id":"010d990adad8414eb473ec0ecfc3610c","name":"51F3","sphere":[-2177693.50443225,4388457.52149906,4070392.39285434,35.2215822051472],"type":"element"}],"id":"0a8293bb8c9c4021a6279aa4e1cf828e","name":"51F3","sphere":[-2177693.50443225,4388457.52149906,4070392.39285434,35.2215822051472],"type":"node"}]}

@ -0,0 +1 @@
{"asset":{"generatetool":"cesiumlab2@www.cesiumlab.com/model2tiles","gltfUpAxis":"Z","version":"1.0"},"extras":{"scenetree":"scenetree.json"},"geometricError":744.170203181216,"properties":null,"root":{"boundingVolume":{"box":[435.207451664493,452.775647886796,3.08858443051577,372.085101590608,0,0,0,76.6357467842754,0,0,0,3.14741999190301]},"children":[{"boundingVolume":{"box":[435.199436187744,452.781143188476,3.11109995841974,372.076137542725,0,0,0,76.6209564208984,0,0,0,3.11109995841982]},"content":{"uri":"NoLod_0.cmpt"},"geometricError":0.0}],"geometricError":744.170203181216,"transform":[-0.895779807996946,-0.444498071519951,0.0,0.0,0.285164247917456,-0.574680502827843,0.767087785966645,0.0,-0.340969041548682,0.687141749630003,0.64154214874846,0.0,-2177749.44940341,4388734.4144855,4070062.24292389,1.0]}}

@ -0,0 +1 @@
{"scenes":[{"children":[{"id":"6497e994e29d409eb31eab26db2fc532","name":"2F4","sphere":[-2178290.01002366,4388106.43599512,4070451.1821279,124.16709577994],"type":"element"}],"id":"1de37f3a4b91431db0958e792cd0bfdf","name":"2F4","sphere":[-2178290.01002366,4388106.43599512,4070451.1821279,124.16709577994],"type":"node"},{"children":[{"id":"7312b47abeb74f4aa7da74757803b9d1","name":"28F4","sphere":[-2177779.11123882,4388387.53298732,4070420.30475252,47.277190730713],"type":"element"}],"id":"e98aae1bb3384b20be0dc0389e63e306","name":"28F4","sphere":[-2177779.11123882,4388387.53298732,4070420.30475252,47.277190730713],"type":"node"},{"children":[{"id":"dc1dbc3fb7994fb9a6a881dc2dfa788f","name":"41F4","sphere":[-2178023.9045863,4388305.60828037,4070378.77650371,76.2813987181804],"type":"element"}],"id":"e7345ccbca11457b8afe52e0d897cef2","name":"41F4","sphere":[-2178023.9045863,4388305.60828037,4070378.77650371,76.2813987181804],"type":"node"}]}

@ -0,0 +1 @@
{"asset":{"generatetool":"cesiumlab2@www.cesiumlab.com/model2tiles","gltfUpAxis":"Z","version":"1.0"},"extras":{"scenetree":"scenetree.json"},"geometricError":645.36598474835,"properties":null,"root":{"boundingVolume":{"box":[484.606733257533,465.239387343638,2.32696499815211,322.682992374175,0,0,0,64.1734673883766,0,0,0,2.38135842932388]},"children":[{"boundingVolume":{"box":[484.600433349609,465.241195678711,2.32500004768365,322.675140380859,0,0,0,64.1624908447266,0,0,0,2.32500004768372]},"content":{"uri":"NoLod_0.cmpt"},"geometricError":0.0}],"geometricError":645.36598474835,"transform":[-0.895779807996946,-0.444498071519951,0.0,0.0,0.285164247917456,-0.574680502827843,0.767087785966645,0.0,-0.340969041548682,0.687141749630003,0.64154214874846,0.0,-2177749.44940341,4388734.4144855,4070062.24292389,1.0]}}

@ -0,0 +1 @@
{"scenes":[{"children":[{"id":"78f9a195e78747c4af0f2b4f16864b99","name":"28F5","sphere":[-2177779.11339095,4388387.53732364,4070420.3088621,47.2873883997796],"type":"element"}],"id":"fcf476743d8a48eca900cb9eb234d7be","name":"28F5","sphere":[-2177779.11339095,4388387.53732364,4070420.3088621,47.2873883997796],"type":"node"}]}

@ -0,0 +1 @@
{"asset":{"generatetool":"cesiumlab2@www.cesiumlab.com/model2tiles","gltfUpAxis":"Z","version":"1.0"},"extras":{"scenetree":"scenetree.json"},"geometricError":37.6673405966721,"properties":null,"root":{"boundingVolume":{"box":[180.75863811071,465.552451772615,1.47509985184297,18.8336702983361,0,0,0,5.97914563538507,0,0,0,1.47704077931121]},"children":[{"boundingVolume":{"box":[180.758598327637,465.552444458008,1.47529995441433,18.8333053588867,0,0,0,5.97804260253906,0,0,0,1.47529995441437]},"content":{"uri":"NoLod_0.cmpt"},"geometricError":0.0}],"geometricError":37.6673405966721,"transform":[-0.895779807996946,-0.444498071519951,0.0,0.0,0.285164247917456,-0.574680502827843,0.767087785966645,0.0,-0.340969041548682,0.687141749630003,0.64154214874846,0.0,-2177749.44940341,4388734.4144855,4070062.24292389,1.0]}}

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"asset":{"generatetool":"cesiumlab2@www.cesiumlab.com/model2tiles","gltfUpAxis":"Z","version":"1.0"},"extras":{"scenetree":"scenetree.json"},"geometricError":826.55118052219,"properties":{"aboveFloor":{"extras":{"group":"","id":"3bf6be057db6b04af61772b271af08d6","name":"aboveFloor","type":"int32_t","unittype":""},"maximum":-2147483647.0,"minimum":2147483647.0},"buildingId":{"extras":{"group":"","id":"170c87b6f1f99cd5e518d3dcbd03f1f5","name":"buildingId","type":"int32_t","unittype":""},"maximum":-2147483647.0,"minimum":2147483647.0},"name":{"extras":{"group":"","id":"dc339526c714e93750ad16b900a29de4","name":"name","type":"string","unittype":""},"maximum":-2147483647.0,"minimum":2147483647.0},"underFloor":{"extras":{"group":"","id":"8678d81e33d2246b5e6d6e9f555ef5c8","name":"underFloor","type":"int32_t","unittype":""},"maximum":-2147483647.0,"minimum":2147483647.0}},"root":{"boundingVolume":{"box":[432.064169174409,472.955895401072,27.2532529109158,413.275590261095,0,0,0,145.443563625682,0,0,0,27.3294402523898]},"children":[{"boundingVolume":{"box":[214.557504653931,469.229461669922,21.3521003723144,167.926504135132,0,0,0,128.407562255859,0,0,0,21.3521003723144]},"content":{"uri":"NoLod_0.b3dm"},"geometricError":0.0},{"boundingVolume":{"box":[202.945056915283,532.112243652344,26.4592495262622,96.5681571960449,0,0,0,68.9551391601563,0,0,0,26.2591495215893]},"content":{"uri":"NoLod_1.b3dm"},"geometricError":0.0},{"boundingVolume":{"box":[423.646461486816,446.323547363281,20.2722492218017,389.175559997559,0,0,0,108.046447753906,0,0,0,20.2722492218018]},"content":{"uri":"NoLod_2.b3dm"},"geometricError":0.0},{"boundingVolume":{"box":[432.023739814758,472.953308105469,14.2071504592895,413.234438896179,0,0,0,145.394104003906,0,0,0,14.2071504592896]},"content":{"uri":"NoLod_3.cmpt"},"geometricError":0.0},{"boundingVolume":{"box":[379.867886543274,472.953170776367,10.2002000808715,361.078585624695,0,0,0,145.394058227539,0,0,0,10.2002000808716]},"content":{"uri":"NoLod_4.cmpt"},"geometricError":0.0},{"boundingVolume":{"box":[432.023739814758,472.953308105469,9.1446504592895,413.234438896179,0,0,0,145.394104003906,0,0,0,9.14465045928956]},"content":{"uri":"NoLod_5.cmpt"},"geometricError":0.0},{"boundingVolume":{"box":[367.101364135742,510.002456665039,22.676399230957,255.564163208008,0,0,0,101.779342651367,0,0,0,22.676399230957]},"content":{"uri":"NoLod_6.cmpt"},"geometricError":0.0},{"boundingVolume":{"box":[437.690796852112,473.647262573242,19.7078990936279,407.617796897888,0,0,0,138.987258911133,0,0,0,19.7078990936279]},"content":{"uri":"NoLod_7.cmpt"},"geometricError":0.0},{"boundingVolume":{"box":[432.231409072876,473.418792724609,27.2803001403808,376.960607528687,0,0,0,130.555389404297,0,0,0,27.2803001403809]},"content":{"uri":"NoLod_8.cmpt"},"geometricError":0.0},{"boundingVolume":{"box":[432.475246429443,472.833068847656,13.6851997375488,412.833347320557,0,0,0,144.602355957031,0,0,0,13.6851997375488]},"content":{"uri":"NoLod_9.cmpt"},"geometricError":0.0},{"boundingVolume":{"box":[424.200100898743,472.856857299805,10.2002000808715,403.989901542664,0,0,0,144.178359985352,0,0,0,10.2002000808716]},"content":{"uri":"NoLod_10.cmpt"},"geometricError":0.0}],"geometricError":826.55118052219,"transform":[-0.895779807996946,-0.444498071519951,0.0,0.0,0.285164247917456,-0.574680502827843,0.767087785966645,0.0,-0.340969041548682,0.687141749630003,0.64154214874846,0.0,-2177749.44940341,4388734.4144855,4070062.24292389,1.0]}}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 KiB

@ -0,0 +1,2 @@
Q
Map.1"529022f366d8755e"50c2e549add70df1*$ V}®FœiAàÐ"ë<EFBFBD>LAX9´@VœiA!ÀÁ–ÞLAR73768356e142783c

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 738 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

@ -0,0 +1,2 @@
Q
Map.1"813c443440ad80d9"cc80ab0be32fb08f*$ V}®FœiAàÐ"ë<EFBFBD>LAX9´@VœiA!ÀÁ–ÞLAR4f207874acdf6b0e

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save