周计划和详细 页面优化

This commit is contained in:
sk1551 2020-09-09 15:56:42 +08:00
parent 1c64fa8140
commit 33ab42ddaf
2 changed files with 12 additions and 12 deletions

View File

@ -45,7 +45,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['benyi:planweekitem:add']" v-hasPermi="['benyi:planweek:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
@ -55,7 +55,7 @@
size="mini" size="mini"
:disabled="single" :disabled="single"
@click="handleUpdate" @click="handleUpdate"
v-hasPermi="['benyi:planweekitem:edit']" v-hasPermi="['benyi:planweek:edit']"
>修改</el-button> >修改</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
@ -65,7 +65,7 @@
size="mini" size="mini"
:disabled="multiple" :disabled="multiple"
@click="handleDelete" @click="handleDelete"
v-hasPermi="['benyi:planweekitem:remove']" v-hasPermi="['benyi:planweek:remove']"
>删除</el-button> >删除</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
@ -74,7 +74,7 @@
icon="el-icon-download" icon="el-icon-download"
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['benyi:planweekitem:export']" v-hasPermi="['benyi:planweek:export']"
>导出</el-button> >导出</el-button>
</el-col> </el-col>
</el-row> </el-row>
@ -107,14 +107,14 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['benyi:planweekitem:edit']" v-hasPermi="['benyi:planweek:edit']"
>修改</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="['benyi:planweekitem:remove']" v-hasPermi="['benyi:planweek:remove']"
>删除</el-button> >删除</el-button>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -41,7 +41,7 @@ public class ByPlanweekitemController extends BaseController
/** /**
* 查询周计划(家长和教育部门细化)列表 * 查询周计划(家长和教育部门细化)列表
*/ */
@PreAuthorize("@ss.hasPermi('benyi:planweekitem:list')") @PreAuthorize("@ss.hasPermi('benyi:planweek:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(ByPlanweekitem byPlanweekitem) public TableDataInfo list(ByPlanweekitem byPlanweekitem)
{ {
@ -53,7 +53,7 @@ public class ByPlanweekitemController extends BaseController
/** /**
* 导出周计划(家长和教育部门细化)列表 * 导出周计划(家长和教育部门细化)列表
*/ */
@PreAuthorize("@ss.hasPermi('benyi:planweekitem:export')") @PreAuthorize("@ss.hasPermi('benyi:planweek:export')")
@Log(title = "周计划(家长和教育部门细化)", businessType = BusinessType.EXPORT) @Log(title = "周计划(家长和教育部门细化)", businessType = BusinessType.EXPORT)
@GetMapping("/export") @GetMapping("/export")
public AjaxResult export(ByPlanweekitem byPlanweekitem) public AjaxResult export(ByPlanweekitem byPlanweekitem)
@ -66,7 +66,7 @@ public class ByPlanweekitemController extends BaseController
/** /**
* 获取周计划(家长和教育部门细化)详细信息 * 获取周计划(家长和教育部门细化)详细信息
*/ */
@PreAuthorize("@ss.hasPermi('benyi:planweekitem:query')") @PreAuthorize("@ss.hasPermi('benyi:planweek:query')")
@GetMapping(value = "/{id}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) public AjaxResult getInfo(@PathVariable("id") Long id)
{ {
@ -76,7 +76,7 @@ public class ByPlanweekitemController extends BaseController
/** /**
* 新增周计划(家长和教育部门细化) * 新增周计划(家长和教育部门细化)
*/ */
@PreAuthorize("@ss.hasPermi('benyi:planweekitem:add')") @PreAuthorize("@ss.hasPermi('benyi:planweek:add')")
@Log(title = "周计划(家长和教育部门细化)", businessType = BusinessType.INSERT) @Log(title = "周计划(家长和教育部门细化)", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody ByPlanweekitem byPlanweekitem) public AjaxResult add(@RequestBody ByPlanweekitem byPlanweekitem)
@ -105,7 +105,7 @@ public class ByPlanweekitemController extends BaseController
/** /**
* 修改周计划(家长和教育部门细化) * 修改周计划(家长和教育部门细化)
*/ */
@PreAuthorize("@ss.hasPermi('benyi:planweekitem:edit')") @PreAuthorize("@ss.hasPermi('benyi:planweek:edit')")
@Log(title = "周计划(家长和教育部门细化)", businessType = BusinessType.UPDATE) @Log(title = "周计划(家长和教育部门细化)", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody ByPlanweekitem byPlanweekitem) public AjaxResult edit(@RequestBody ByPlanweekitem byPlanweekitem)
@ -134,7 +134,7 @@ public class ByPlanweekitemController extends BaseController
/** /**
* 删除周计划(家长和教育部门细化) * 删除周计划(家长和教育部门细化)
*/ */
@PreAuthorize("@ss.hasPermi('benyi:planweekitem:remove')") @PreAuthorize("@ss.hasPermi('benyi:planweek:remove')")
@Log(title = "周计划(家长和教育部门细化)", businessType = BusinessType.DELETE) @Log(title = "周计划(家长和教育部门细化)", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) public AjaxResult remove(@PathVariable Long[] ids)