parent
eadba20d08
commit
ec49970dd5
|
@ -345,6 +345,25 @@
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
<van-image-preview v-model="show" :images="images" :start-position="startPosition">
|
<van-image-preview v-model="show" :images="images" :start-position="startPosition">
|
||||||
</van-image-preview>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="../../assets/js/jquery-1.7.2.js"></script>
|
<script type="text/javascript" src="../../assets/js/jquery-1.7.2.js"></script>
|
||||||
|
@ -367,7 +386,9 @@
|
||||||
socialPhotoFile: [],
|
socialPhotoFile: [],
|
||||||
gongshangbaoxianFile: [],
|
gongshangbaoxianFile: [],
|
||||||
insuranceFileList: [],
|
insuranceFileList: [],
|
||||||
trainRecordList: []
|
trainRecordList: [],
|
||||||
|
specialUserList: [],
|
||||||
|
CERTIFICATE: ''
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//初始执行
|
//初始执行
|
||||||
|
@ -405,6 +426,7 @@
|
||||||
_this.getInfoOne()
|
_this.getInfoOne()
|
||||||
_this.getInfoTwo()
|
_this.getInfoTwo()
|
||||||
_this.getInfo()
|
_this.getInfo()
|
||||||
|
_this.getSpecialPersonInfo()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -504,6 +526,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参数名称获取参数值
|
//根据url参数名称获取参数值
|
||||||
getUrlKey: function (name) {
|
getUrlKey: function (name) {
|
||||||
return decodeURIComponent(
|
return decodeURIComponent(
|
||||||
|
|
Loading…
Reference in New Issue