Commit 15787f4e by lichengming

添加了报告编制的按钮权限

parent c819445e
......@@ -83,7 +83,7 @@ export default {
btn: [
{
type: 'primary',
id: '',
id: 'make-report-item-make',
name: '生成报告'
}
],
......@@ -96,15 +96,15 @@ export default {
iconMsg: [
{
type: 'md-create',
id: '',
id: 'make-report-item-edit',
name: '编辑'
},
{
type: 'ios-book',
id: '',
id: 'make-report-item-view-report',
name: '查看项目报告'
},
{ type: 'md-trash', id: '', name: '删除' }
{ type: 'md-trash', id: 'make-report-item-delete', name: '删除' }
],
pageColumns: [
{ title: '项目名称', key: 'expName', width: 100 },
......
......@@ -74,17 +74,17 @@ export default {
iconMsg: [
{
type: 'md-create',
id: '',
id: 'make-report-record-edit',
name: '编辑'
},
{
type: 'ios-book',
id: '',
id: 'make-report-record-view',
name: '查看原始记录'
},
{
type: 'ios-list',
id: '',
id: 'make-report-record-item',
name: '查看试验项目'
}
],
......
......@@ -87,7 +87,9 @@ export default {
entrustId: ''
},
dateList: [],
iconMsg: [{ type: 'ios-book', id: '', name: '预览/编辑报告' }],
iconMsg: [
{ type: 'ios-book', id: 'make-report-item-view', name: '预览/编辑报告' }
],
// 签发日期
issueDateTemp: '',
issueDate: '',
......
......@@ -119,34 +119,34 @@ export default {
iconMsg: [
{
type: 'ios-flask-outline',
id: '',
id: 'report-make-sample-report-manage',
name: '管理样品和报告',
currentComponent: SampleByMakeModal
},
{
type: 'ios-beaker',
id: '',
id: 'make-report-view-record',
name: '查看原始记录',
currentComponent: OriginalRecordView
},
{
type: 'ios-list-box',
id: '',
id: 'make-report-view-item',
name: '查看试验项目报告'
},
{
type: 'ios-cloud-upload',
id: '',
id: 'make-report-upload-report',
name: '上传报告'
},
{
type: 'md-image',
id: '',
id: 'make-report-view-report',
name: '预览报告'
},
{
type: 'ios-book',
id: '',
id: 'make-report-edit-report',
name: '编辑报告'
},
// {
......@@ -154,10 +154,14 @@ export default {
// id: '',
// name: '检测项目'
// },
{ type: 'ios-cloud-outline', id: '', name: '附件' },
{
type: 'ios-cloud-outline',
id: 'make-report-upload-make',
name: '附件'
},
{
type: 'ios-clock-outline',
id: '',
id: 'make-report-record',
name: '操作记录',
componentName: 'FoodContractRecord'
}
......@@ -167,7 +171,7 @@ export default {
btn: [
{
type: 'primary',
id: '',
id: 'make-report-pass',
name: '提交'
}
],
......
......@@ -112,10 +112,10 @@ export default {
iconMsg: [
{
type: 'ios-beaker',
id: '',
id: 'make-report-sample-item-manage',
name: '管理检测项目'
},
{ type: 'md-trash', id: '', name: '删除' }
{ type: 'md-trash', id: 'make-report-sample-delete', name: '删除' }
],
iconMsg1: [
{
......
......@@ -90,7 +90,7 @@ export default {
btn: [
{
type: 'primary',
id: '',
id: 'make-report-report-submit',
name: '提交'
}
],
......@@ -101,8 +101,12 @@ export default {
},
dateList: [],
iconMsg: [
{ type: 'ios-book', id: '', name: '预览报告' },
{ type: 'md-remove-circle', id: '', name: '删除' }
{ type: 'ios-book', id: 'make-report-report-view', name: '预览报告' },
{
type: 'md-remove-circle',
id: 'make-report-report-delete',
name: '删除'
}
],
// 签发日期
issueDateTemp: '',
......
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