| | |
| | | icon="el-icon-plus"
|
| | | size="mini"
|
| | | @click="handleAdd"
|
| | | v-hasPermi="['${moduleName}:${businessName}:add']"
|
| | | v-hasPermi="['${permissionPrefix}:add']"
|
| | | >新增</el-button>
|
| | | </el-col>
|
| | | <el-col :span="1.5">
|
| | |
| | | type="text"
|
| | | icon="el-icon-edit"
|
| | | @click="handleUpdate(scope.row)"
|
| | | v-hasPermi="['${moduleName}:${businessName}:edit']"
|
| | | v-hasPermi="['${permissionPrefix}:edit']"
|
| | | >修改</el-button>
|
| | | <el-button
|
| | | size="mini"
|
| | | type="text"
|
| | | icon="el-icon-plus"
|
| | | @click="handleAdd(scope.row)"
|
| | | v-hasPermi="['${moduleName}:${businessName}:add']"
|
| | | v-hasPermi="['${permissionPrefix}:add']"
|
| | | >新增</el-button>
|
| | | <el-button
|
| | | size="mini"
|
| | | type="text"
|
| | | icon="el-icon-delete"
|
| | | @click="handleDelete(scope.row)"
|
| | | v-hasPermi="['${moduleName}:${businessName}:remove']"
|
| | | v-hasPermi="['${permissionPrefix}:remove']"
|
| | | >删除</el-button>
|
| | | </template>
|
| | | </el-table-column>
|
| | |
| | | this.reset();
|
| | | this.getTreeselect();
|
| | | if (row != null) {
|
| | | this.form.${treeParentCode} = row.${treeCode};
|
| | | this.form.${treeParentCode} = row.${treeParentCode};
|
| | | }
|
| | | get${BusinessName}(row.${pkColumn.javaField}).then(response => {
|
| | | this.form = response.data;
|