fix conflict

This commit is contained in:
caoqianming 2021-05-11 13:37:30 +08:00
commit d73188e882
3 changed files with 6 additions and 4 deletions

View File

@ -2,7 +2,7 @@
ENV = 'development'
# base api
# VUE_APP_BASE_API = 'http://10.0.11.127:8000/api'
#VUE_APP_BASE_API = 'http://10.0.11.127:8000/api'
VUE_APP_BASE_API = 'http://127.0.0.1:8000/api'
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,

View File

@ -97,14 +97,14 @@
>
<template slot-scope="scope">
<el-button
:disabled="!checkPermission(['inspectTable'])"
:disabled="!checkPermission(['qualityinspect'])"
type="primary"
size="small"
icon="el-icon-edit"
@click="handleEdit(scope)"
/>
<el-button
:disabled="!checkPermission(['inspectTable'])"
:disabled="!checkPermission(['qualityinspect'])"
type="danger"
size="small"
icon="el-icon-delete"
@ -406,6 +406,7 @@ export default {
updateQualityinspect(this.inspectTable.id, this.inspectTable).then((res) => {
if (res.code >= 200) {
this.dialogVisible = false;
this.getLists();
this.$message.success("成功");
}
});
@ -414,6 +415,7 @@ export default {
createQualityinspect(this.inspectTable).then((res) => {
if (res.code >= 200) {
this.dialogVisible = false;
this.getLists();
this.$message.success("成功");
}
});

View File

@ -315,7 +315,7 @@ export default {
async confirm(form) {
this.inspecttask.inspecttask=this.$route.params.id;
console.log(this.inspecttask)
createsubinspecttask(this.inspecttask).then((res) => {
this.dialogVisible = false;