Commit e76f9107 authored by lizhichao's avatar lizhichao
parents 085b2b89 1d1832d5
...@@ -50,7 +50,6 @@ public class THiddenDangerStandingBookController extends BaseController ...@@ -50,7 +50,6 @@ public class THiddenDangerStandingBookController extends BaseController
/** /**
* 导出隐患整治台账列表 * 导出隐患整治台账列表
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:hidden:export')")
@Log(title = "隐患整治台账", businessType = BusinessType.EXPORT) @Log(title = "隐患整治台账", businessType = BusinessType.EXPORT)
@GetMapping("/export") @GetMapping("/export")
public AjaxResult export(THiddenDangerStandingBookForm tHiddenDangerStandingBook) public AjaxResult export(THiddenDangerStandingBookForm tHiddenDangerStandingBook)
...@@ -63,7 +62,6 @@ public class THiddenDangerStandingBookController extends BaseController ...@@ -63,7 +62,6 @@ public class THiddenDangerStandingBookController extends BaseController
/** /**
* 获取隐患整治台账详细信息 * 获取隐患整治台账详细信息
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:hidden:query')")
@GetMapping(value = "/{hiddenId}") @GetMapping(value = "/{hiddenId}")
public AjaxResult getInfo(@PathVariable("hiddenId") Long hiddenId) public AjaxResult getInfo(@PathVariable("hiddenId") Long hiddenId)
{ {
...@@ -73,7 +71,6 @@ public class THiddenDangerStandingBookController extends BaseController ...@@ -73,7 +71,6 @@ public class THiddenDangerStandingBookController extends BaseController
/** /**
* 新增隐患整治台账 * 新增隐患整治台账
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:hidden:add')")
@Log(title = "隐患整治台账", businessType = BusinessType.INSERT) @Log(title = "隐患整治台账", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody THiddenDangerStandingBook tHiddenDangerStandingBook) public AjaxResult add(@RequestBody THiddenDangerStandingBook tHiddenDangerStandingBook)
...@@ -84,7 +81,6 @@ public class THiddenDangerStandingBookController extends BaseController ...@@ -84,7 +81,6 @@ public class THiddenDangerStandingBookController extends BaseController
/** /**
* 修改隐患整治台账 * 修改隐患整治台账
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:hidden:edit')")
@Log(title = "隐患整治台账", businessType = BusinessType.UPDATE) @Log(title = "隐患整治台账", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody THiddenDangerStandingBook tHiddenDangerStandingBook) public AjaxResult edit(@RequestBody THiddenDangerStandingBook tHiddenDangerStandingBook)
...@@ -95,7 +91,6 @@ public class THiddenDangerStandingBookController extends BaseController ...@@ -95,7 +91,6 @@ public class THiddenDangerStandingBookController extends BaseController
/** /**
* 删除隐患整治台账 * 删除隐患整治台账
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:hidden:remove')")
@Log(title = "隐患整治台账", businessType = BusinessType.DELETE) @Log(title = "隐患整治台账", businessType = BusinessType.DELETE)
@DeleteMapping("/{hiddenIds}") @DeleteMapping("/{hiddenIds}")
public AjaxResult remove(@PathVariable Long[] hiddenIds) public AjaxResult remove(@PathVariable Long[] hiddenIds)
......
...@@ -50,7 +50,6 @@ public class TSafeEquipmentStandingBookController extends BaseController ...@@ -50,7 +50,6 @@ public class TSafeEquipmentStandingBookController extends BaseController
/** /**
* 导出用户加装安全装置台账列表 * 导出用户加装安全装置台账列表
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:equipment:export')")
@Log(title = "用户加装安全装置台账", businessType = BusinessType.EXPORT) @Log(title = "用户加装安全装置台账", businessType = BusinessType.EXPORT)
@GetMapping("/export") @GetMapping("/export")
public AjaxResult export(TSafeEquipmentStandingBookForm tSafeEquipmentStandingBook) public AjaxResult export(TSafeEquipmentStandingBookForm tSafeEquipmentStandingBook)
...@@ -63,7 +62,6 @@ public class TSafeEquipmentStandingBookController extends BaseController ...@@ -63,7 +62,6 @@ public class TSafeEquipmentStandingBookController extends BaseController
/** /**
* 获取用户加装安全装置台账详细信息 * 获取用户加装安全装置台账详细信息
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:equipment:query')")
@GetMapping(value = "/{safeEquipmentId}") @GetMapping(value = "/{safeEquipmentId}")
public AjaxResult getInfo(@PathVariable("safeEquipmentId") Long safeEquipmentId) public AjaxResult getInfo(@PathVariable("safeEquipmentId") Long safeEquipmentId)
{ {
...@@ -73,7 +71,6 @@ public class TSafeEquipmentStandingBookController extends BaseController ...@@ -73,7 +71,6 @@ public class TSafeEquipmentStandingBookController extends BaseController
/** /**
* 新增用户加装安全装置台账 * 新增用户加装安全装置台账
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:equipment:add')")
@Log(title = "用户加装安全装置台账", businessType = BusinessType.INSERT) @Log(title = "用户加装安全装置台账", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody TSafeEquipmentStandingBook tSafeEquipmentStandingBook) public AjaxResult add(@RequestBody TSafeEquipmentStandingBook tSafeEquipmentStandingBook)
...@@ -84,7 +81,6 @@ public class TSafeEquipmentStandingBookController extends BaseController ...@@ -84,7 +81,6 @@ public class TSafeEquipmentStandingBookController extends BaseController
/** /**
* 修改用户加装安全装置台账 * 修改用户加装安全装置台账
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:equipment:edit')")
@Log(title = "用户加装安全装置台账", businessType = BusinessType.UPDATE) @Log(title = "用户加装安全装置台账", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody TSafeEquipmentStandingBook tSafeEquipmentStandingBook) public AjaxResult edit(@RequestBody TSafeEquipmentStandingBook tSafeEquipmentStandingBook)
...@@ -95,7 +91,6 @@ public class TSafeEquipmentStandingBookController extends BaseController ...@@ -95,7 +91,6 @@ public class TSafeEquipmentStandingBookController extends BaseController
/** /**
* 删除用户加装安全装置台账 * 删除用户加装安全装置台账
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:equipment:remove')")
@Log(title = "用户加装安全装置台账", businessType = BusinessType.DELETE) @Log(title = "用户加装安全装置台账", businessType = BusinessType.DELETE)
@DeleteMapping("/{safeEquipmentIds}") @DeleteMapping("/{safeEquipmentIds}")
public AjaxResult remove(@PathVariable Long[] safeEquipmentIds) public AjaxResult remove(@PathVariable Long[] safeEquipmentIds)
......
...@@ -50,7 +50,6 @@ public class TTroubleStandingBookController extends BaseController ...@@ -50,7 +50,6 @@ public class TTroubleStandingBookController extends BaseController
/** /**
* 导出事故台账列表 * 导出事故台账列表
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:trouble:export')")
@Log(title = "事故台账", businessType = BusinessType.EXPORT) @Log(title = "事故台账", businessType = BusinessType.EXPORT)
@GetMapping("/export") @GetMapping("/export")
public AjaxResult export(TTroubleStandingBookForm tTroubleStandingBook) public AjaxResult export(TTroubleStandingBookForm tTroubleStandingBook)
...@@ -63,7 +62,6 @@ public class TTroubleStandingBookController extends BaseController ...@@ -63,7 +62,6 @@ public class TTroubleStandingBookController extends BaseController
/** /**
* 获取事故台账详细信息 * 获取事故台账详细信息
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:trouble:query')")
@GetMapping(value = "/{troubleId}") @GetMapping(value = "/{troubleId}")
public AjaxResult getInfo(@PathVariable("troubleId") Long troubleId) public AjaxResult getInfo(@PathVariable("troubleId") Long troubleId)
{ {
...@@ -73,7 +71,6 @@ public class TTroubleStandingBookController extends BaseController ...@@ -73,7 +71,6 @@ public class TTroubleStandingBookController extends BaseController
/** /**
* 新增事故台账 * 新增事故台账
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:trouble:add')")
@Log(title = "事故台账", businessType = BusinessType.INSERT) @Log(title = "事故台账", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody TTroubleStandingBook tTroubleStandingBook) public AjaxResult add(@RequestBody TTroubleStandingBook tTroubleStandingBook)
...@@ -84,7 +81,6 @@ public class TTroubleStandingBookController extends BaseController ...@@ -84,7 +81,6 @@ public class TTroubleStandingBookController extends BaseController
/** /**
* 修改事故台账 * 修改事故台账
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:trouble:edit')")
@Log(title = "事故台账", businessType = BusinessType.UPDATE) @Log(title = "事故台账", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody TTroubleStandingBook tTroubleStandingBook) public AjaxResult edit(@RequestBody TTroubleStandingBook tTroubleStandingBook)
...@@ -95,7 +91,6 @@ public class TTroubleStandingBookController extends BaseController ...@@ -95,7 +91,6 @@ public class TTroubleStandingBookController extends BaseController
/** /**
* 删除事故台账 * 删除事故台账
*/ */
@PreAuthorize("@ss.hasPermi('standingBook:trouble:remove')")
@Log(title = "事故台账", businessType = BusinessType.DELETE) @Log(title = "事故台账", businessType = BusinessType.DELETE)
@DeleteMapping("/{troubleIds}") @DeleteMapping("/{troubleIds}")
public AjaxResult remove(@PathVariable Long[] troubleIds) public AjaxResult remove(@PathVariable Long[] troubleIds)
......
...@@ -87,21 +87,18 @@ ...@@ -87,21 +87,18 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['standingBook:equipment:edit']"
>修改</el-button> >修改</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="showDetail(scope.row)" @click="showDetail(scope.row)"
v-hasPermi="['standingBook:equipment:query']"
>详情</el-button> >详情</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="['standingBook:equipment:remove']"
>删除</el-button> >删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -103,21 +103,18 @@ ...@@ -103,21 +103,18 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['standingBook:hidden:edit']"
>修改</el-button> >修改</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="showDetail(scope.row)" @click="showDetail(scope.row)"
v-hasPermi="['standingBook:hidden:query']"
>详情</el-button> >详情</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="['standingBook:hidden:remove']"
>删除</el-button> >删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -107,21 +107,18 @@ ...@@ -107,21 +107,18 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['standingBook:trouble:edit']"
>修改</el-button> >修改</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="showDetail(scope.row)" @click="showDetail(scope.row)"
v-hasPermi="['standingBook:trouble:query']"
>详情</el-button> >详情</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="['standingBook:trouble:remove']"
>删除</el-button> >删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -34,7 +34,8 @@ module.exports = { ...@@ -34,7 +34,8 @@ module.exports = {
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `http://222.223.203.154:8092/gassafety`, target: `http://localhost:8903/gassafety`,
// target: `http://222.223.203.154:8092/gassafety`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''
......
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