|
@@ -157,6 +157,21 @@
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ openDocument(src) {
|
|
|
|
+ uni.downloadFile({
|
|
|
|
+ url: src.appendixPath,
|
|
|
|
+ success: function(res) {
|
|
|
|
+ var filePath = res.tempFilePath;
|
|
|
|
+ uni.openDocument({
|
|
|
|
+ filePath: filePath,
|
|
|
|
+ showMenu: true,
|
|
|
|
+ success: function(res) {
|
|
|
|
+ console.log('打开文档成功');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ },
|
|
getList(){
|
|
getList(){
|
|
var that =this
|
|
var that =this
|
|
this.$api.doRequest('get', '/generalAuditInfo/getGeneralAuditInfo', {
|
|
this.$api.doRequest('get', '/generalAuditInfo/getGeneralAuditInfo', {
|
|
@@ -296,11 +311,11 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
this.auditList = response.data.data
|
|
this.auditList = response.data.data
|
|
- var time2 = new Date(this.list.createDate).getTime()
|
|
|
|
|
|
+ var time2 = new Date(this.dataobj.createDate).getTime()
|
|
var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
|
|
var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
|
|
this.auditList.unshift({
|
|
this.auditList.unshift({
|
|
- operatorTitle: this.list.creater.substring(0, 2),
|
|
|
|
- operatorName: this.list.creater,
|
|
|
|
|
|
+ operatorTitle: this.dataobj.creater.substring(0, 2),
|
|
|
|
+ operatorName: this.dataobj.creater,
|
|
updateDate: time3,
|
|
updateDate: time3,
|
|
auditMind: '',
|
|
auditMind: '',
|
|
desc: '发起申请',
|
|
desc: '发起申请',
|