wgl %!s(int64=4) %!d(string=hai) anos
pai
achega
b076914560

+ 1 - 1
config/project.js

@@ -1 +1 @@
-exports.name = 'business'
+exports.name = 'home'

+ 1 - 1
index/home/index.html

@@ -59,7 +59,7 @@
 
 		<div id="z-loading-2" style="display: block;position:fixed;left:0px;top:0px;bottom:0px;right:0px;z-index: 999;background-color: #fff;">
 			<div style="width:100%;text-align: center;height: 100%;">
-				<img src="start.webp" style="width: 100%;height: 100%;" id="qdt" />
+				<img src="./start.webp" style="width: 100%;height: 100%;" id="qdt" />
 				<div class="index-load" id="index-load" style="display:block"></div>
 			</div>
 		</div>

+ 8 - 4
src/projects/home/views/Role.vue

@@ -12,7 +12,7 @@
 						<a>
 							<div class="mui-pull-left mui-col-xs-2">
 								<div class="mui-media-object">
-									<img src="~$project/assets/img/03.jpg">
+									<img :src="person_data.faceImageUrl">
 								</div>
 								<p class='mui-ellipsis'>个人端</p>
 							</div>
@@ -27,7 +27,7 @@
 						<a>
 							<div class="mui-pull-left mui-col-xs-2">
 								<div class="mui-media-object">
-									<img src="~$project/assets/img/03.jpg">
+									<img :src="person_data.faceImageUrl">
 								</div>
 								<p class='mui-ellipsis'>管理端</p>
 							</div>
@@ -42,7 +42,7 @@
 						<a>
 							<div class="mui-pull-left mui-col-xs-2">
 								<div class="mui-media-object">
-									<img src="~$project/assets/img/03.jpg">
+									<img :src="person_data.faceImageUrl">
 								</div>
 								<p class='mui-ellipsis'>监管端</p>
 							</div>
@@ -89,7 +89,11 @@
 			}
 		},
 		created() {
-
+			if (this.$route.query.project) {
+				this.visterScene.project = this.$route.query.project
+			} else if (this.vister_scene) {
+				this.visterScene = this.vister_scene;
+			}
 		},
 		methods: {
 			//确认

+ 3 - 2
src/projects/home/views/UploadPhoto.vue

@@ -110,9 +110,10 @@
 					this.isLoading = true;
 					API_Person.save(this.subForm).then(response => {
 						this.isLoading = false;
-
+						
+						//场景之前选过,这里直接去选择角色
 						this.$router.push({
-							name: 'Home',
+							name: 'Role',
 							query: {}
 						})