parent
9c013342fd
commit
5db27a2d3e
|
@ -160,7 +160,7 @@
|
|||
<div class="text textone">所在单位</div>
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<div class="text">{{ message.BELONG_TO_CORP_NAME }}</div>
|
||||
<div class="text">{{ message.DEPARTMENT_NAME }}</div>
|
||||
</td>
|
||||
<td rowspan="3">
|
||||
<div class="qrcode"></div>
|
||||
|
@ -303,8 +303,8 @@
|
|||
<div class="training_records">
|
||||
<table>
|
||||
<tr>
|
||||
<td>培训时间</td>
|
||||
<td>有效期限</td>
|
||||
<td>培训开始时间</td>
|
||||
<td>培训结束时间</td>
|
||||
<td>培训部门</td>
|
||||
<td>培训结果</td>
|
||||
</tr>
|
||||
|
@ -345,9 +345,28 @@
|
|||
</van-cell-group>
|
||||
<van-image-preview v-model="show" :images="images" :start-position="startPosition">
|
||||
</van-image-preview>
|
||||
|
||||
<van-divider content-position="left">特种作业信息</van-divider>
|
||||
|
||||
<van-cell-group v-for="(item,index) in specialUserList" :key="index">
|
||||
<van-cell title="图片">
|
||||
<van-image
|
||||
v-if="item.FILEPATH"
|
||||
width="50px"
|
||||
height="50px"
|
||||
:src="item.FILEPATH"
|
||||
@click="fnImagePreview(item.FILEPATH,0)"
|
||||
></van-image>
|
||||
</van-cell>
|
||||
<van-cell title="证书名称" :value="item.CERTIFICATE"></van-cell>
|
||||
<van-cell title="人员类型" :value="item.typeName"></van-cell>
|
||||
<van-cell title="证书作业类别" :value="item.CERTIFICATE"></van-cell>
|
||||
<van-cell title="操作项目" :value="item.operationName"></van-cell>
|
||||
<van-cell title="证书编号" :value="item.CARD_ID"></van-cell>
|
||||
</van-cell-group>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" src="../../assets/js/jquery-3.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../assets/js/jquery-1.7.2.js"></script>
|
||||
<script type="text/javascript">
|
||||
var vm = new Vue({
|
||||
el: '#app',
|
||||
|
@ -367,7 +386,8 @@
|
|||
socialPhotoFile: [],
|
||||
gongshangbaoxianFile: [],
|
||||
insuranceFileList: [],
|
||||
trainRecordList: []
|
||||
trainRecordList: [],
|
||||
specialUserList: []
|
||||
},
|
||||
methods: {
|
||||
//初始执行
|
||||
|
@ -405,6 +425,7 @@
|
|||
_this.getInfoOne()
|
||||
_this.getInfoTwo()
|
||||
_this.getInfo()
|
||||
_this.getSpecialPersonInfo()
|
||||
}
|
||||
})
|
||||
},
|
||||
|
@ -504,6 +525,33 @@
|
|||
}
|
||||
})
|
||||
},
|
||||
getSpecialPersonInfo() {
|
||||
var _this = this;
|
||||
_this.loading = true;
|
||||
$.ajax({
|
||||
xhrFields: {
|
||||
withCredentials: true
|
||||
},
|
||||
type: "POST",
|
||||
url: config.httpurl + '/app/specialUser/getSpecialUserInfo',
|
||||
dataType: 'json',
|
||||
data: {
|
||||
USER_ID: _this.USER_ID
|
||||
},
|
||||
success: function (data) {
|
||||
vm.loading = false;
|
||||
if ("success" == data.result) {
|
||||
vm.specialUserList = data.specialUserList
|
||||
for (var i =0; i<data.specialUserList.length;i++){
|
||||
if (data.specialUserList[i].FILEPATH){
|
||||
data.specialUserList[i].FILEPATH = config.fileUrl + data.specialUserList[i].FILEPATH
|
||||
}
|
||||
}
|
||||
console.info(vm.specialUserList)
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
//根据url参数名称获取参数值
|
||||
getUrlKey: function (name) {
|
||||
return decodeURIComponent(
|
||||
|
|
Loading…
Reference in New Issue