系统权限修改

This commit is contained in:
yinjinlu-pc\尹金路 2023-11-07 22:38:53 +08:00
parent 2eae03319c
commit d35d8d201b
7 changed files with 27 additions and 27 deletions

View File

@ -72,8 +72,8 @@
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-refresh" circle="" @click="getList"></el-button>
<el-button type="primary" icon="el-icon-edit" circle="" @click="handleOpenGantt"></el-button>
<el-button type="primary" icon="el-icon-refresh" v-hasPermi="['mes:pro:protask:list']" circle="" @click="getList"></el-button>
<el-button type="primary" icon="el-icon-edit" v-hasPermi="['mes:pro:protask:edit']" circle="" @click="handleOpenGantt"></el-button>
</el-form-item>
</el-form>
<div class="wrapper">
@ -94,7 +94,7 @@
size="mini"
type="text"
@click="handleView(scope.row)"
v-hasPermi="['mes:pro:workorder:query']"
v-hasPermi="['mes:pro:protask:query']"
>{{scope.row.workorderCode}}</el-button>
</template>
</el-table-column>
@ -132,7 +132,7 @@
icon="el-icon-edit"
v-if="scope.row.status =='CONFIRMED'"
@click="handleUpdate(scope.row)"
v-hasPermi="['mes:pro:workorder:edit']"
v-hasPermi="['mes:pro:protask:edit']"
>排产</el-button>
</template>
</el-table-column>

View File

@ -24,7 +24,7 @@
type="text"
icon="el-icon-edit"
@click="handleDefect(scope.row)"
v-hasPermi="['mes:qc:iqcline:edit']"
v-hasPermi="['mes:qc:iqc:edit']"
v-if="optType !='view'"
>缺陷记录</el-button>
</template>

View File

@ -8,7 +8,7 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['mes:qc:templateindex:add']"
v-hasPermi="['mes:qc:qctemplate:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
@ -19,7 +19,7 @@
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['mes:qc:templateindex:edit']"
v-hasPermi="['mes:qc:qctemplate:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
@ -30,7 +30,7 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['mes:qc:templateindex:remove']"
v-hasPermi="['mes:qc:qctemplate:remove']"
>删除</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@ -57,14 +57,14 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['mes:qc:templateindex:edit']"
v-hasPermi="['mes:qc:qctemplate:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['mes:qc:templateindex:remove']"
v-hasPermi="['mes:qc:qctemplate:remove']"
>删除</el-button>
</template>
</el-table-column>

View File

@ -8,7 +8,7 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['mes:qc:templateproduct:add']"
v-hasPermi="['mes:qc:qctemplate:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
@ -19,7 +19,7 @@
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['mes:qc:templateproduct:edit']"
v-hasPermi="['mes:qc:qctemplate:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
@ -30,7 +30,7 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['mes:qc:templateproduct:remove']"
v-hasPermi="['mes:qc:qctemplate:remove']"
>删除</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@ -66,14 +66,14 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['mes:qc:templateproduct:edit']"
v-hasPermi="['mes:qc:qctemplate:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['mes:qc:templateproduct:remove']"
v-hasPermi="['mes:qc:qctemplate:remove']"
>删除</el-button>
</template>
</el-table-column>

View File

@ -56,7 +56,7 @@
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-if="optType != 'view'"
v-hasPermi="['mes:wm:issueheader:edit']"
v-hasPermi="['mes:wm:outsourceissue:edit']"
>修改</el-button>
<el-button
size="mini"
@ -64,7 +64,7 @@
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-if="optType != 'view'"
v-hasPermi="['mes:wm:issueheader:remove']"
v-hasPermi="['mes:wm:outsourceissue:remove']"
>删除</el-button>
</template>
</el-table-column>

View File

@ -8,7 +8,7 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['mes:wm:packageline:add']"
v-hasPermi="['mes:wm:package:add']"
>新增</el-button>
</el-col>
@ -20,7 +20,7 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['mes:wm:packageline:remove']"
v-hasPermi="['mes:wm:package:remove']"
>删除</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@ -47,14 +47,14 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['mes:wm:packageline:edit']"
v-hasPermi="['mes:wm:package:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['mes:wm:packageline:remove']"
v-hasPermi="['mes:wm:package:remove']"
>删除</el-button>
</template>
</el-table-column>

View File

@ -164,7 +164,7 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['wm:stocktakingline:add']"
v-hasPermi="['mes:wm:stocktaking:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
@ -175,7 +175,7 @@
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['wm:stocktakingline:edit']"
v-hasPermi="['mes:wm:stocktaking:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
@ -186,7 +186,7 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['wm:stocktakingline:remove']"
v-hasPermi="['mes:wm:stocktaking:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
@ -196,7 +196,7 @@
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['wm:stocktakingline:export']"
v-hasPermi="['mes:wm:stocktaking:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@ -233,14 +233,14 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['wm:stocktakingline:edit']"
v-hasPermi="['mes:wm:stocktaking:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['wm:stocktakingline:remove']"
v-hasPermi="['mes:wm:stocktaking:remove']"
>删除</el-button>
</template>
</el-table-column>