Commit f6978b49 by lichengming

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

parent 15e4832c
...@@ -6,21 +6,21 @@ ...@@ -6,21 +6,21 @@
<Form id="task-assign-item-right" :label-width="70" inline onsubmit="return false"> <Form id="task-assign-item-right" :label-width="70" inline onsubmit="return false">
<label class="label-sign"></label> <label class="label-sign"></label>
<Form-item class="search-item" 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>
<Form-item class="search-btn"> <Form-item class="search-btn">
<Button type="primary" @click="_formSearch">搜索</Button> <Button @click="_formSearch" type="primary">搜索</Button>
</Form-item> </Form-item>
</Form> </Form>
</Col> </Col>
<!--操作--> <!--操作-->
<Col span="24"> <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>
<!-- 表格 --> <!-- 表格 -->
<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" 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 <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"
...@@ -112,13 +112,17 @@ export default { ...@@ -112,13 +112,17 @@ export default {
{ key: 'detectType', name: '样品类别', placeholder: '请输入样品类别' } { key: 'detectType', name: '样品类别', placeholder: '请输入样品类别' }
], ],
btn: [ btn: [
{ type: 'success', id: '', name: '提交' }, { type: 'success', id: 'check-item-right-submit', name: '提交' },
{ type: 'warning', id: '', name: '退回' } { type: 'warning', id: 'check-item-right-back', name: '退回' }
], ],
iconMsg: [ iconMsg: [
{ type: 'ios-book', id: '', name: '查看原始记录' }, {
{ type: 'md-apps', id: '', name: '查看指标' }, type: 'ios-book',
{ type: 'ios-flask', id: '', name: '设备列表' } id: 'check-item-right-record',
name: '查看原始记录'
},
{ type: 'md-apps', id: 'check-item-right-view', name: '查看指标' },
{ type: 'ios-flask', id: 'check-item-right-equip', name: '设备列表' }
], ],
getPage: {}, getPage: {},
pageColumns: [ pageColumns: [
......
...@@ -92,14 +92,18 @@ export default { ...@@ -92,14 +92,18 @@ export default {
{ key: 'detectType', name: '样品类别', placeholder: '请输入样品类别' } { key: 'detectType', name: '样品类别', placeholder: '请输入样品类别' }
], ],
btn: [ btn: [
{ type: 'success', id: '', name: '提交' }, { type: 'success', id: 'check-sample-right-submit', name: '提交' },
{ type: 'warning', id: '', name: '退回' } { type: 'warning', id: 'check-sample-right-back', name: '退回' }
], ],
getPage: {}, getPage: {},
iconMsg: [ iconMsg: [
{ type: 'ios-book', id: '', name: '查看原始记录' }, {
{ type: 'md-apps', id: '', name: '查看指标' }, type: 'ios-book',
{ type: 'ios-flask', id: '', name: '设备列表' } id: 'check-sample-right-record',
name: '查看原始记录'
},
{ type: 'md-apps', id: 'check-sample-right-view', name: '查看指标' },
{ type: 'ios-flask', id: 'check-sample-right-equip', name: '设备列表' }
], ],
pageColumns: [ pageColumns: [
{ title: '试验名称', key: 'name', width: 160 }, { title: '试验名称', key: 'name', width: 160 },
......
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