46 lines
1.5 KiB
HTML
46 lines
1.5 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html xmlns:th="http://www.thymeleaf.org">
|
||
|
<head>
|
||
|
<base th:href="${#request.getContextPath() + '/'}">
|
||
|
<meta charset="UTF-8">
|
||
|
<title>安全生产三项人员考试服务平台</title>
|
||
|
<link rel="stylesheet" href="assets/qrcodeview/css/reset.css">
|
||
|
<link rel="stylesheet" href="assets/qrcodeview/css/style.css">
|
||
|
<script src="assets/qrcodeview/js/rem.js"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="app">
|
||
|
<div class="main" v-cloak>
|
||
|
<p>机构名称:{{orgInfo.institutionName}}</p>
|
||
|
<p>机构地址:{{orgInfo.institutionAddress}}</p>
|
||
|
<p>机构简介:{{orgInfo.institutionDesc}}</p>
|
||
|
<p>负责人:{{orgInfo.institutionPrincipal}}</p>
|
||
|
<p>联系方式:{{orgInfo.institutionContact}}</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script src="js/jquery-2.1.4.min.js"></script>
|
||
|
<script src="js/vue.js"></script>
|
||
|
<script src="js/ajax.js"></script>
|
||
|
<script>
|
||
|
var vue = new Vue({
|
||
|
el: '#app',
|
||
|
data: {
|
||
|
url: 'http://192.168.0.120:7009/signup/',
|
||
|
orgInfo: {},
|
||
|
orgId: '${institutionId}'
|
||
|
},
|
||
|
methods: {
|
||
|
getOrgDetail: function () {
|
||
|
var self = this
|
||
|
doGetForm(self.url + 'app/traininginstitution/get/release/' + self.orgId, {}, null, function (code, data) {
|
||
|
self.orgInfo = data
|
||
|
})
|
||
|
}
|
||
|
},
|
||
|
mounted: function () {
|
||
|
this.getOrgDetail()
|
||
|
}
|
||
|
})
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|