Commit f6e3841c by lichengming

添加了报告档案的按钮权限

parent 107b6034
...@@ -79,12 +79,12 @@ export default { ...@@ -79,12 +79,12 @@ export default {
iconMsg: [ iconMsg: [
{ {
type: 'ios-book', type: 'ios-book',
id: '', id: 'report-manage-record-view',
name: '查看原始记录' name: '查看原始记录'
}, },
{ {
type: 'ios-list', type: 'ios-list',
id: '', id: 'report-manage-record-item',
name: '查看试验项目' name: '查看试验项目'
} }
// { // {
......
...@@ -87,7 +87,13 @@ export default { ...@@ -87,7 +87,13 @@ export default {
entrustId: '' entrustId: ''
}, },
dateList: [], dateList: [],
iconMsg: [{ type: 'ios-book', id: '', name: '预览/编辑报告' }], iconMsg: [
{
type: 'ios-book',
id: 'report-manage-item-report-view',
name: '预览/编辑报告'
}
],
// 签发日期 // 签发日期
issueDateTemp: '', issueDateTemp: '',
issueDate: '', issueDate: '',
......
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
iconMsg: [ iconMsg: [
{ {
type: 'ios-beaker', type: 'ios-beaker',
id: '', id: 'report-manage-sample-item-list',
name: '管理检测项目' name: '管理检测项目'
} }
], ],
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
<!-- 表格 --> <!-- 表格 -->
<Col span="24"> <Col span="24">
<PTVXETable ref="pageTable" :page-columns="pageColumns" :table-height="tableHeight" <PTVXETable ref="pageTable" :page-columns="pageColumns" :table-height="tableHeight"
:get-page="getPage" :icon-msg="iconMsg" :table-name="tableName" select-data :get-page="getPage" :icon-msg="iconMsg" :table-name="tableName" @on-result-change="_tableResultChange"
is-report @on-result-change="_tableResultChange"> select-data is-report>
<vxe-table-column <vxe-table-column
v-for="item in (userColumns.length>0?userColumns: pageColumns)" v-for="item in (userColumns.length>0?userColumns: pageColumns)"
:key="item.key" :key="item.key"
...@@ -44,15 +44,15 @@ ...@@ -44,15 +44,15 @@
</Row> </Row>
</div> </div>
</div> </div>
<Modal v-model="showIssueModal" class="zIndex-1100" <Modal v-model="showIssueModal" @on-cancel="_issueCancel"
@on-cancel="_issueCancel" @on-ok="_issueOk"
@on-ok="_issueOk"> class="zIndex-1100">
<p slot="header">请选择签发日期</p>签发日期: <p slot="header">请选择签发日期</p>签发日期:
<DatePicker v-model="issueDateTemp" <DatePicker v-model="issueDateTemp"
:editable="false" :editable="false"
@on-change='_issueChange'
placeholder="请选择签发日期" placeholder="请选择签发日期"
style="width:400px" style="width:400px">
@on-change='_issueChange'>
</DatePicker> </DatePicker>
</Modal> </Modal>
</div> </div>
...@@ -87,7 +87,13 @@ export default { ...@@ -87,7 +87,13 @@ export default {
entrustId: '' entrustId: ''
}, },
dateList: [], dateList: [],
iconMsg: [{ type: 'ios-book', id: '', name: '预览报告' }], iconMsg: [
{
type: 'ios-book',
id: 'report-manage-summary-report-view',
name: '预览报告'
}
],
// 签发日期 // 签发日期
issueDateTemp: '', issueDateTemp: '',
issueDate: '', issueDate: '',
......
...@@ -116,18 +116,18 @@ export default { ...@@ -116,18 +116,18 @@ export default {
iconMsg: [ iconMsg: [
{ {
type: 'ios-flask-outline', type: 'ios-flask-outline',
id: '', id: 'report-manage-sample-item-manage',
name: '管理样品和报告' name: '管理样品和报告'
}, },
{ {
type: 'ios-beaker', type: 'ios-beaker',
id: '', id: 'report-manage-view-record',
name: '查看原始记录' name: '查看原始记录'
}, },
{ type: 'ios-cloud', id: '', name: '附件' }, { type: 'ios-cloud', id: 'report-manage-upload', name: '附件' },
{ {
type: 'ios-clock', type: 'ios-clock',
id: '', id: 'report-manage-record',
name: '操作记录' name: '操作记录'
} }
], ],
......
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