Commit 0721430a by lichengming

添加了检测管理数据审核的按钮权限

parent aaf0fe88
......@@ -85,13 +85,13 @@ export default {
iconMsg: [
{
type: 'ios-beaker',
id: '',
id: 'audit-data-check',
name: '审核数据'
},
{ type: 'md-cloud', id: '', name: '附件' },
{ type: 'md-cloud', id: 'audit-upload', name: '附件' },
{
type: 'ios-clock',
id: '',
id: 'audit-record',
name: '操作日志'
}
],
......
......@@ -85,18 +85,18 @@ export default {
iconMsg: [
{
type: 'ios-beaker',
id: '',
id: 'audit-sample-manage-his',
name: '管理样品'
},
{ type: 'md-cloud', id: '', name: '附件' },
{ type: 'md-cloud', id: 'audit-upload-his', name: '附件' },
{
type: 'ios-clock',
id: '',
id: 'audit-record-his',
name: '操作日志'
},
{
type: 'md-trash',
id: '',
id: 'audit-delete-his',
name: '删除'
}
],
......
......@@ -64,7 +64,7 @@ export default {
btn: [
{
type: 'primary',
id: '',
id: 'audit-report-pass',
name: '通过'
}
],
......@@ -72,15 +72,15 @@ export default {
iconMsg: [
{
type: 'md-create',
id: '',
id: 'audit-report-edit',
name: '编辑'
},
{
type: 'ios-book',
id: '',
id: 'audit-report-view',
name: '查看项目报告'
},
{ type: 'md-trash', id: '', name: '删除' }
{ type: 'md-trash', id: 'audit-report-delete', name: '删除' }
],
pageColumns: [
{ title: '项目名称', key: 'expName' },
......
......@@ -67,7 +67,7 @@ export default {
btn: [
{
type: 'error',
id: '',
id: 'audit-record-delete',
name: '批量删除'
}
],
......@@ -75,17 +75,17 @@ export default {
iconMsg: [
{
type: 'md-create',
id: '',
id: 'audit-record-edit',
name: '编辑'
},
{
type: 'ios-book',
id: '',
id: 'audit-record-view',
name: '查看原始记录'
},
{
type: 'ios-list',
id: '',
id: 'audit-record-item',
name: '查看试验项目'
},
{ type: 'md-trash', id: '', name: '删除' }
......
......@@ -6,21 +6,21 @@
<Form id="task-assign-item-right" :label-width="70" inline onsubmit="return false">
<label class="label-sign"></label>
<Form-item class="search-item" label="试样编号:">
<Input v-model="formObj.sampleCode" name="sampleCode" placeholder="请输入试样编号" clearable @on-enter="_formSearch"></Input>
<Input v-model="formObj.sampleCode" @on-enter="_formSearch" name="sampleCode" placeholder="请输入试样编号" clearable></Input>
</Form-item>
<Form-item class="search-btn">
<Button type="primary" @click="_formSearch">搜索</Button>
<Button @click="_formSearch" type="primary">搜索</Button>
</Form-item>
</Form>
</Col>
<!--操作-->
<Col span="24">
<btn-list :msg="btn" class="contHide" @on-result-change="_btnClick"></btn-list>
<btn-list :msg="btn" @on-result-change="_btnClick" class="contHide"></btn-list>
</Col>
<!-- 表格 -->
<Col span="24">
<PTVXETable ref="pageTable" :page-columns="pageColumns" :table-height="tableHeight"
:get-page="getPage" :icon-msg="iconMsg" :table-name="tableName" is-task select-data @on-result-change="_tableResultChange">
:get-page="getPage" :icon-msg="iconMsg" :table-name="tableName" @on-result-change="_tableResultChange" is-task select-data>
<vxe-table-column
v-for="item in userColumns.length > 0 ?userColumns:pageColumns"
:key="item.key"
......@@ -112,13 +112,17 @@ export default {
{ key: 'detectType', name: '样品类别', placeholder: '请输入样品类别' }
],
btn: [
{ type: 'success', id: '', name: '提交' },
{ type: 'warning', id: '', name: '退回' }
{ type: 'success', id: 'audit-item-right-submit', name: '提交' },
{ type: 'warning', id: 'audit-item-right-back', name: '退回' }
],
iconMsg: [
{ type: 'ios-book', id: '', name: '查看原始记录' },
{ type: 'md-apps', id: '', name: '查看指标' },
{ type: 'ios-flask', id: '', name: '设备列表' }
{
type: 'ios-book',
id: 'audit-item-right-record',
name: '查看原始记录'
},
{ type: 'md-apps', id: 'audit-item-right-view', name: '查看指标' },
{ type: 'ios-flask', id: 'audit-item-right-equip', name: '设备列表' }
],
getPage: {},
pageColumns: [
......
......@@ -92,8 +92,8 @@ export default {
{ key: 'detectType', name: '样品类别', placeholder: '请输入样品类别' }
],
btn: [
{ type: 'success', id: '', name: '提交' },
{ type: 'warning', id: '', name: '退回' },
{ type: 'success', id: 'audit-sample-right-submit', name: '提交' },
{ type: 'warning', id: 'audit-sample-right-back', name: '退回' },
{ type: '', id: 'food-task-assign-adjust-group', name: '调整分组' },
{
type: '',
......@@ -103,9 +103,13 @@ export default {
{ type: '', id: 'food-task-assign-maintain-info', name: '信息维护' }
],
iconMsg: [
{ type: 'ios-book', id: '', name: '查看原始记录' },
{ type: 'md-apps', id: '', name: '查看指标' },
{ type: 'ios-flask', id: '', name: '设备列表' }
{
type: 'ios-book',
id: 'audit-sample-right-record',
name: '查看原始记录'
},
{ type: 'md-apps', id: 'audit-sample-right-view', name: '查看指标' },
{ type: 'ios-flask', id: 'audit-sample-right-equip', name: '设备列表' }
],
getPage: {},
pageColumns: [
......
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