Browse Source

[修改]创建用户身份证和姓名临时修改为不必填

zhuzhou
邵佳豪 4 years ago
parent
commit
44687e9666
  1. 4
      src/app/ui/usermanagement/createUser.html
  2. 20
      src/index.html

4
src/app/ui/usermanagement/createUser.html

@ -14,13 +14,13 @@
<div mat-dialog-content>
<mat-form-field>
<input type="text" matInput required ngModel name="identityCard" #identityCard="ngModel" placeholder="身份证号码">
<input type="text" matInput ngModel name="identityCard" #identityCard="ngModel" placeholder="身份证号码">
</mat-form-field>
</div>
<div mat-dialog-content>
<mat-form-field>
<input type="text" matInput required ngModel name="user" #user="ngModel" placeholder="真实姓名">
<input type="text" matInput ngModel name="user" #user="ngModel" placeholder="真实姓名">
</mat-form-field>
</div>

20
src/index.html

@ -27,17 +27,17 @@
onRequest: (config, handler) => {
// console.log(config.url)
if (config.url.toString().search('https://vdata.amap.com') != -1) {
config.url = 'http://127.0.0.1:8000/web2' + config.url.split('vdata.amap.com/')[1];
console.log(config.url)
config.url = 'http://10.81.73.39:8000/web2' + config.url.split('vdata.amap.com/')[1];
console.log('web2',config.url)
} else if (config.url.toString().search('http://restapi.amap.com') != -1) {
config.url = 'http://127.0.0.1:8000/web3' + config.url.split('restapi.amap.com/')[1];
console.log(config.url)
config.url = 'http://10.81.73.39:8000/web3' + config.url.split('restapi.amap.com/')[1];
console.log('web3',config.url)
} else if (config.url.toString().search('http://vector.amap.com') != -1) {
config.url = 'http://127.0.0.1:8000/web4' + config.url.split('vector.amap.com/')[1];
console.log(config.url)
config.url = 'http://10.81.73.39:8000/web4' + config.url.split('vector.amap.com/')[1];
console.log('web4',config.url)
} else if (config.url.toString().search('http://lbs.amap.com') != -1) {
config.url = 'http://127.0.0.1:8000/web5' + config.url.split('lbs.amap.com/')[1];
console.log(config.url)
config.url = 'http://10.81.73.39:8000/web5' + config.url.split('lbs.amap.com/')[1];
console.log('web5',config.url)
}
handler.next(config);
},
@ -51,8 +51,8 @@
}
})
</script>
<script src="http://127.0.0.1:8000/web1maps?v=2.0&key=e4b359dc7b03f9418b7497f807131346&plugin=AMap.Driving,AMap.MouseTool,AMap.RangingTool"></script>
<script src="http://127.0.0.1:8000/web1/ui/1.1/main.js"></script>
<script src="http://10.81.73.39:8000/web1maps?v=2.0&key=e4b359dc7b03f9418b7497f807131346&plugin=AMap.Driving,AMap.MouseTool,AMap.RangingTool"></script>
<script src="http://10.81.73.39:8000/web1/ui/1.1/main.js"></script>
<!-- <script src="https://webapi.amap.com/maps?v=2.0&key=e4b359dc7b03f9418b7497f807131346&plugin=AMap.Driving,AMap.MouseTool,AMap.RangingTool"></script>
<script src="https://webapi.amap.com/ui/1.1/main.js"></script> -->
</html>

Loading…
Cancel
Save