Commit cdfef70b by lichengming

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

parent 7828b009
......@@ -148,8 +148,8 @@ export default {
imgViewIndex: null,
iconMsg: [
{ type: 'md-remove-circle', id: '', name: '删除' },
{ type: 'ios-download', id: '', name: '下载' },
{ type: 'ios-eye', id: '', name: '预览' }
{ type: 'ios-download', id: '', name: '下载' }
// { type: 'ios-eye', id: '', name: '预览' }
],
iconMsgDis: [
{ type: 'trash-a', id: '', name: '删除' },
......@@ -291,6 +291,7 @@ export default {
},
// 预览图片(该合同下所有的)
_viewImg: async function(data) {
console.log(data)
if (this.urlData.viewUri === '/meter/v1/entrust_attachment/preview/') {
const id = data.entrustId
const result = await meterEntrust.entrustPreview(id)
......
......@@ -75,11 +75,11 @@ export default {
// }
],
iconMsg: [
{
type: 'md-paper',
id: '',
name: '编辑'
},
// {
// type: 'md-paper',
// id: '',
// name: '编辑'
// },
{
type: 'ios-beaker',
id: '',
......
......@@ -78,11 +78,11 @@ export default {
// }
],
iconMsg: [
{
type: 'md-paper',
id: '',
name: '编辑'
},
// {
// type: 'md-paper',
// id: '',
// name: '编辑'
// },
{
type: 'ios-beaker',
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