Commit 324672ac by lichengming

添加了检测管理数据录入按项目录入页面的按钮权限

parent 48c98e6a
...@@ -81,11 +81,17 @@ export default { ...@@ -81,11 +81,17 @@ export default {
{ key: 'testBasis', name: '检测依据', placeholder: '请输入检测依据' } { key: 'testBasis', name: '检测依据', placeholder: '请输入检测依据' }
], ],
getPage: {}, getPage: {},
iconMsg: [{ type: 'ios-book', id: '', name: '生成项目报告' }], iconMsg: [
{
type: 'ios-book',
id: 'do-test-sample-item-left-create',
name: '生成项目报告'
}
],
btn: [ btn: [
{ {
type: 'success', type: 'success',
id: '', id: 'do-test-sample-item-left-creates',
name: '生成项目报告' name: '生成项目报告'
} }
], ],
......
...@@ -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"
...@@ -140,24 +140,72 @@ export default { ...@@ -140,24 +140,72 @@ export default {
id: 'test-input-write-record', id: 'test-input-write-record',
name: '填写原始记录' name: '填写原始记录'
}, },
{ type: 'success', id: '', name: '原始记录填写' }, {
{ type: 'success', id: '', name: '完成提交' }, type: 'success',
{ type: 'success', id: '', name: '设备' }, id: 'do-test-sample-item-right-record-input',
{ type: 'success', id: '', name: '退回' }, name: '原始记录填写'
{ type: 'success', id: '', name: '导入GDS数据' }, },
{ type: 'success', id: '', name: '力学文件上传采集' } {
type: 'success',
id: 'do-test-sample-item-right-submit',
name: '完成提交'
},
{
type: 'success',
id: 'do-test-sample-item-right-equip',
name: '设备'
},
{ type: 'success', id: 'do-test-sample-item-right-back', name: '退回' },
{
type: 'success',
id: 'do-test-sample-item-right-GDS',
name: '导入GDS数据'
},
{
type: 'success',
id: 'do-test-sample-item-right-file',
name: '力学文件上传采集'
}
], ],
iconMsg: [ iconMsg: [
{ type: 'ios-book', id: '', name: '查看原始记录' }, {
{ type: 'md-clipboard', id: '', name: '高级实验报告生成' }, type: 'ios-book',
{ type: 'ios-list-box', id: '', name: '查看GDS数据' }, id: 'do-test-sample-item-right-view',
{ type: 'md-apps', id: '', name: '查看指标' }, name: '查看原始记录'
{ type: 'ios-bookmarks', id: '', name: '查看采集数据' }, },
{ type: 'ios-browsers', id: '', name: '查看采集文件' }, {
{ type: 'ios-flask', id: '', name: '设备列表' }, type: 'md-clipboard',
id: 'do-test-sample-item-right-report',
name: '高级实验报告生成'
},
{
type: 'ios-list-box',
id: 'do-test-sample-item-right-view-GDS',
name: '查看GDS数据'
},
{
type: 'md-apps',
id: 'do-test-sample-item-right-view-index',
name: '查看指标'
},
{
type: 'ios-bookmarks',
id: 'do-test-sample-item-right-view-data',
name: '查看采集数据'
},
{
type: 'ios-browsers',
id: 'do-test-sample-item-right-view-file',
name: '查看采集文件'
},
{
type: 'ios-flask',
id: 'do-test-sample-item-right-equip-list',
name: '设备列表'
},
{ {
type: 'ios-clock', type: 'ios-clock',
id: '', id: 'do-test-sample-item-right-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