2 files deleted
10 files modified
| | |
| | | method: 'delete'
|
| | | })
|
| | | }
|
| | |
|
| | | // 查询角色已授权用户列表
|
| | | export function allocatedUserList(query) {
|
| | | return request({
|
| | |
| | | // fix css style bug in open el-dialog
|
| | | .el-popup-parent--hidden {
|
| | | .fixed-header {
|
| | | padding-right: 15px;
|
| | | padding-right: 17px;
|
| | | }
|
| | | }
|
| | | </style>
|
| | |
| | | type: "warning",
|
| | | })
|
| | | },
|
| | | // 提交内容
|
| | | prompt(content) {
|
| | | return MessageBox.prompt(content, "系统提示", {
|
| | | confirmButtonText: '确定',
|
| | | cancelButtonText: '取消',
|
| | | type: "warning",
|
| | | })
|
| | | },
|
| | | // 打开遮罩层
|
| | | loading(content) {
|
| | | loadingInstance = Loading.service({
|
| | |
| | | '401': '认证失败,无法访问系统资源',
|
| | | '403': '当前操作没有权限',
|
| | | '404': '访问资源不存在',
|
| | | 'default': '系统未知错误,请反馈给管理员'
|
| | | 'default': '系统未知错误,请反馈给管理员'
|
| | | }
|
| | |
| | | },
|
| | | /** 强退按钮操作 */
|
| | | handleForceLogout(row) {
|
| | | this.$modal.confirm('是否确认强退名称为"' + row.userName + '"的数据项?').then(function() {
|
| | | this.$modal.confirm('是否确认强退名称为"' + row.userName + '"的用户?').then(function() {
|
| | | return forceLogout(row.tokenId);
|
| | | }).then(() => {
|
| | | this.getList();
|
| | |
| | | cancelButtonText: "取消",
|
| | | closeOnClickModal: false,
|
| | | inputPattern: /^.{5,20}$/,
|
| | | inputErrorMessage: "用户密码长度必须介于 5 和 20 之间",
|
| | | inputErrorMessage: "用户密码长度必须介于 5 和 20 之间"
|
| | | }).then(({ value }) => {
|
| | | resetUserPwd(row.userId, value).then(response => {
|
| | | this.$modal.msgSuccess("修改成功,新密码是:" + value);
|
| | |
| | | <el-input placeholder="请输入" v-model="info.tableComment" />
|
| | | </el-form-item>
|
| | | </el-col>
|
| | |
|
| | | <el-col :span="12">
|
| | | <el-form-item label="实体类名称" prop="className">
|
| | | <el-input placeholder="请输入" v-model="info.className" />
|
| | |
| | | </el-row>
|
| | | </el-form>
|
| | | </template>
|
| | |
|
| | | <script>
|
| | | export default {
|
| | | name: "BasicInfoForm",
|
| | | props: {
|
| | | info: {
|
| | | type: Object,
|
| | |
| | | </el-form>
|
| | | </el-card>
|
| | | </template>
|
| | |
|
| | | <script>
|
| | | import { getGenTable, updateGenTable } from "@/api/tool/gen";
|
| | | import { optionselect as getDictOptionselect } from "@/api/system/dict/type";
|
| | |
| | | </el-select>
|
| | | </el-form-item>
|
| | | </el-col>
|
| | |
|
| | | <el-col :span="12">
|
| | | <el-form-item prop="packageName">
|
| | | <span slot="label">
|
| | |
| | | </el-row>
|
| | | </el-form>
|
| | | </template>
|
| | |
|
| | | <script>
|
| | | import Treeselect from "@riophae/vue-treeselect";
|
| | | import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
| | |
|
| | | export default {
|
| | | name: "BasicInfoForm",
|
| | | components: { Treeselect },
|
| | | props: {
|
| | | info: {
|
| | |
| | | config.optimization.runtimeChunk('single'),
|
| | | {
|
| | | from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件
|
| | | to: './', //到根目录下
|
| | | to: './' //到根目录下
|
| | | }
|
| | | }
|
| | | )
|