Commit cdfef70b by lichengming

修改了附件预览和合同管理编辑按钮

parent 7828b009
...@@ -148,8 +148,8 @@ export default { ...@@ -148,8 +148,8 @@ export default {
imgViewIndex: null, imgViewIndex: null,
iconMsg: [ iconMsg: [
{ type: 'md-remove-circle', id: '', name: '删除' }, { type: 'md-remove-circle', id: '', name: '删除' },
{ type: 'ios-download', id: '', name: '下载' }, { type: 'ios-download', id: '', name: '下载' }
{ type: 'ios-eye', id: '', name: '预览' } // { type: 'ios-eye', id: '', name: '预览' }
], ],
iconMsgDis: [ iconMsgDis: [
{ type: 'trash-a', id: '', name: '删除' }, { type: 'trash-a', id: '', name: '删除' },
...@@ -291,6 +291,7 @@ export default { ...@@ -291,6 +291,7 @@ export default {
}, },
// 预览图片(该合同下所有的) // 预览图片(该合同下所有的)
_viewImg: async function(data) { _viewImg: async function(data) {
console.log(data)
if (this.urlData.viewUri === '/meter/v1/entrust_attachment/preview/') { if (this.urlData.viewUri === '/meter/v1/entrust_attachment/preview/') {
const id = data.entrustId const id = data.entrustId
const result = await meterEntrust.entrustPreview(id) const result = await meterEntrust.entrustPreview(id)
......
...@@ -75,11 +75,11 @@ export default { ...@@ -75,11 +75,11 @@ export default {
// } // }
], ],
iconMsg: [ iconMsg: [
{ // {
type: 'md-paper', // type: 'md-paper',
id: '', // id: '',
name: '编辑' // name: '编辑'
}, // },
{ {
type: 'ios-beaker', type: 'ios-beaker',
id: '', id: '',
......
...@@ -78,11 +78,11 @@ export default { ...@@ -78,11 +78,11 @@ export default {
// } // }
], ],
iconMsg: [ iconMsg: [
{ // {
type: 'md-paper', // type: 'md-paper',
id: '', // id: '',
name: '编辑' // name: '编辑'
}, // },
{ {
type: 'ios-beaker', type: 'ios-beaker',
id: '', id: '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment