53 lines
1.9 KiB
HTML
53 lines
1.9 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">
|
|
<input id="institutionId" type="hidden" th:value="${institutionId}">
|
|
<input id="systemPath" type="hidden" th:value="${systemUrl}">
|
|
<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>
|
|
<img :src="url + '/route/file/download/true/' + img" alt="" v-for="img in orgInfo.institutionImage">
|
|
</div>
|
|
</div>
|
|
<script src="assets/qrcodeview/js/jquery-2.1.4.min.js"></script>
|
|
<script src="assets/qrcodeview/js/vue.js"></script>
|
|
<script src="assets/qrcodeview/js/ajax.js"></script>
|
|
<script>
|
|
var vue = new Vue({
|
|
el: '#app',
|
|
data: {
|
|
url: '',
|
|
orgInfo: {},
|
|
orgId: ''
|
|
},
|
|
methods: {
|
|
getOrgDetail: function () {
|
|
var self = this
|
|
doGetForm(self.url + '/app/traininginstitution/get/release/' + self.orgId, {}, null, function (code, data) {
|
|
data.institutionImage = data.institutionImage.split(',')
|
|
self.orgInfo = data
|
|
})
|
|
}
|
|
},
|
|
mounted: function () {
|
|
this.orgId = $("#institutionId").val()
|
|
this.url = $("#systemPath").val()
|
|
this.getOrgDetail()
|
|
}
|
|
})
|
|
</script>
|
|
</body>
|
|
</html> |