1基础管理2物资管理权限功能修改
This commit is contained in:
parent
663800aadd
commit
288ac73cbb
|
|
@ -46,7 +46,7 @@ export function updateProject(data) {
|
|||
export function delProject(proId) {
|
||||
return request({
|
||||
url: '/material/bm_project/' + proId,
|
||||
method: 'post'
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -90,7 +90,7 @@ export function updateProjectLot(data) {
|
|||
export function delProjectLot(lotId) {
|
||||
return request({
|
||||
url: '/material/base/bmProjectLot/' + lotId,
|
||||
method: 'post'
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
//工程项目下拉数据
|
||||
|
|
@ -131,7 +131,7 @@ export function updateUnit(data) {
|
|||
export function delUnit(unitId) {
|
||||
return request({
|
||||
url: '/material/bm_unit/' + unitId,
|
||||
method: 'post'
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -266,7 +266,7 @@ export function statusUnitType(data) {
|
|||
export function delUnitType(typeIds) {
|
||||
return request({
|
||||
url: '/material/bm_unit_type/' + typeIds,
|
||||
method: 'post'
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -301,7 +301,7 @@ export function updatePropInfo(data) {
|
|||
export function delPropInfo(id) {
|
||||
return request({
|
||||
url: `/material/bm_asset_attributes/${id}`,
|
||||
method: 'post'
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ export function queryKeeperNameApi(query) {
|
|||
export function delMaType(typeId) {
|
||||
return request({
|
||||
url: '/material/ma_type/' + typeId,
|
||||
method: 'post',
|
||||
method: 'delete',
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ export function getZichanType(query) {
|
|||
export function delDevice(id) {
|
||||
return request({
|
||||
url: '/material/ma_machine/' + id,
|
||||
method: 'post',
|
||||
method: 'delete',
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -76,6 +76,6 @@ export function updateMaType(data) {
|
|||
export function delMaType(id) {
|
||||
return request({
|
||||
url: '/material/ma_part_type/' + id,
|
||||
method: 'post',
|
||||
method: 'delete',
|
||||
})
|
||||
}
|
||||
|
|
@ -32,7 +32,7 @@ export function getFacturerDetail(id) {
|
|||
export function delFacturer(id) {
|
||||
return request({
|
||||
url: '/material/ma_supplier_info/' + id,
|
||||
method: 'post',
|
||||
method: 'delete',
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ export function queryKeeperNameApi(query) {
|
|||
export function delHouse(id) {
|
||||
return request({
|
||||
url: '/material/wh_house_info/' + id,
|
||||
method: 'post',
|
||||
method: 'delete',
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['machinery:type:add']"
|
||||
v-hasPermi="['ma:info:add']"
|
||||
>新增</el-button
|
||||
>
|
||||
</el-col>
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['machinery:type:edit']"
|
||||
v-hasPermi="['ma:info:edit']"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['machinery:type:del']"
|
||||
v-hasPermi="['ma:info:remove']"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@
|
|||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="handleView(scope.row)"
|
||||
v-hasPermi="['machinery:type:config']"
|
||||
v-hasPermi="['ma:type:query']"
|
||||
>
|
||||
查看
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@
|
|||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleBind"
|
||||
v-hasPermi="['machinery:type:add']"
|
||||
v-hasPermi="['ma:keeper:add']"
|
||||
>绑定</el-button
|
||||
>
|
||||
</el-col>
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
icon="el-icon-minus"
|
||||
size="mini"
|
||||
@click="handleNoBind"
|
||||
v-hasPermi="['machinery:type:add']"
|
||||
v-hasPermi="['ma:keeper:remove']"
|
||||
>解绑</el-button
|
||||
>
|
||||
</el-col>
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@
|
|||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleBind"
|
||||
v-hasPermi="['machinery:type:add']"
|
||||
v-hasPermi="['ma:repair:add']"
|
||||
>绑定</el-button
|
||||
>
|
||||
</el-col>
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
icon="el-icon-minus"
|
||||
size="mini"
|
||||
@click="handleNoBind"
|
||||
v-hasPermi="['machinery:type:add']"
|
||||
v-hasPermi="['ma:repair:remove']"
|
||||
>解绑</el-button
|
||||
>
|
||||
</el-col>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['machinery:type:add']"
|
||||
v-hasPermi="['warehouse:info:add']"
|
||||
>新增</el-button
|
||||
>
|
||||
</el-col>
|
||||
|
|
@ -118,7 +118,7 @@
|
|||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['machinery:type:edit']"
|
||||
v-hasPermi="['warehouse:info:edit']"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
|
|
@ -127,7 +127,7 @@
|
|||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['machinery:type:del']"
|
||||
v-hasPermi="['warehouse:info:remove']"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -116,47 +116,8 @@
|
|||
/>
|
||||
</div>
|
||||
|
||||
<el-table
|
||||
:key="tableKey"
|
||||
v-loading="listLoading"
|
||||
:data="list"
|
||||
border
|
||||
fit
|
||||
highlight-current-row
|
||||
style="width: 100%"
|
||||
:max-height="tableHeight"
|
||||
>
|
||||
<el-table-column label="序号" align="center" width="80" type="index">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(listQuery.pageNum - 1) * listQuery.pageSize + scope.$index + 1
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作人" align="center" prop="operaUserName" />
|
||||
<el-table-column label="操作时间" align="center" prop="operTime" />
|
||||
<el-table-column label="IP地址" align="center" prop="ip" />
|
||||
<el-table-column label="操作模块" align="center" prop="model" />
|
||||
<el-table-column label="操作类型" align="center" prop="operType" />
|
||||
<el-table-column label="操作详情" align="center" prop="operateDetail" />
|
||||
<el-table-column label="操作结果" align="center" prop="result">
|
||||
<template slot-scope="{ row }">
|
||||
{{ row.result }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作参数" align="center" prop="params" />
|
||||
<el-table-column label="操作方法" align="center" prop="method" />
|
||||
<el-table-column label="操作路径" align="center" prop="operUri" />
|
||||
<el-table-column label="执行时间(ms)" align="center" prop="times" />
|
||||
</el-table>
|
||||
|
||||
<pagination
|
||||
v-show="total > 0"
|
||||
:total="total"
|
||||
:page.sync="listQuery.pageNum"
|
||||
:limit.sync="listQuery.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue