mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-04-06 03:58:00 +08:00
♻️ refactor: eslint
This commit is contained in:
parent
5e9e11bc1c
commit
067c8463e1
@ -16,6 +16,12 @@ module.exports = {
|
|||||||
'vue/multi-word-component-names': 'off',
|
'vue/multi-word-component-names': 'off',
|
||||||
'vue/no-useless-template-attributes': 'off',
|
'vue/no-useless-template-attributes': 'off',
|
||||||
'vue/no-reserved-component-names': 'off',
|
'vue/no-reserved-component-names': 'off',
|
||||||
|
'vue/attributes-order': [
|
||||||
|
'warn',
|
||||||
|
{
|
||||||
|
alphabetical: true,
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
parser: 'babel-eslint',
|
parser: 'babel-eslint',
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"serve:node18": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
|
"serve:node18": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
|
||||||
"build": "vue-cli-service build",
|
"build": "vue-cli-service build",
|
||||||
"build:node18": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
|
"build:node18": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
|
||||||
"lint": "vue-cli-service lint",
|
"lint": "vue-cli-service lint --fix",
|
||||||
"clear": "rimraf node_modules&&npm install --registry=--registry=https://registry.npmmirror.com",
|
"clear": "rimraf node_modules&&npm install --registry=--registry=https://registry.npmmirror.com",
|
||||||
"image-webpack-loader": "cnpm i image-webpack-loader -D",
|
"image-webpack-loader": "cnpm i image-webpack-loader -D",
|
||||||
"update": "ncu -u --reject layouts,sass-loader,sass,screenfull,eslint,chalk,vue,vue-template-compiler,vue-router,vuex,@vue/cli-plugin-babel,@vue/cli-plugin-eslint,@vue/cli-service,eslint-plugin-vue --registry=https://registry.npmmirror.com&&cnpm i",
|
"update": "ncu -u --reject layouts,sass-loader,sass,screenfull,eslint,chalk,vue,vue-template-compiler,vue-router,vuex,@vue/cli-plugin-babel,@vue/cli-plugin-eslint,@vue/cli-service,eslint-plugin-vue --registry=https://registry.npmmirror.com&&cnpm i",
|
||||||
@ -30,7 +30,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.4.0",
|
"axios": "^1.4.0",
|
||||||
"caniuse-lite": "^1.0.30001506",
|
"caniuse-lite": "^1.0.30001508",
|
||||||
"clipboard": "^2.0.11",
|
"clipboard": "^2.0.11",
|
||||||
"core-js": "^3.31.0",
|
"core-js": "^3.31.0",
|
||||||
"dayjs": "^1.11.8",
|
"dayjs": "^1.11.8",
|
||||||
@ -72,7 +72,7 @@
|
|||||||
"prettier": "^2.8.8",
|
"prettier": "^2.8.8",
|
||||||
"sass": "~1.32.13",
|
"sass": "~1.32.13",
|
||||||
"sass-loader": "^10.1.1",
|
"sass-loader": "^10.1.1",
|
||||||
"stylelint": "^15.8.0",
|
"stylelint": "^15.9.0",
|
||||||
"stylelint-config-prettier": "^9.0.5",
|
"stylelint-config-prettier": "^9.0.5",
|
||||||
"stylelint-config-recess-order": "^4.2.0",
|
"stylelint-config-recess-order": "^4.2.0",
|
||||||
"svg-sprite-loader": "^6.0.11",
|
"svg-sprite-loader": "^6.0.11",
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
<div class="select-tree-template">
|
<div class="select-tree-template">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="selectValue"
|
v-model="selectValue"
|
||||||
|
class="vab-tree-select"
|
||||||
:clearable="clearable"
|
:clearable="clearable"
|
||||||
:collapse-tags="selectType == 'multiple'"
|
:collapse-tags="selectType == 'multiple'"
|
||||||
:multiple="selectType == 'multiple'"
|
:multiple="selectType == 'multiple'"
|
||||||
class="vab-tree-select"
|
|
||||||
value-key="id"
|
value-key="id"
|
||||||
@clear="clearHandle"
|
@clear="clearHandle"
|
||||||
@remove-tag="removeTag"
|
@remove-tag="removeTag"
|
||||||
@ -19,9 +19,9 @@
|
|||||||
:default-checked-keys="defaultSelectedKeys"
|
:default-checked-keys="defaultSelectedKeys"
|
||||||
:default-expanded-keys="defaultSelectedKeys"
|
:default-expanded-keys="defaultSelectedKeys"
|
||||||
:highlight-current="true"
|
:highlight-current="true"
|
||||||
|
node-key="id"
|
||||||
:props="defaultProps"
|
:props="defaultProps"
|
||||||
:show-checkbox="selectType == 'multiple'"
|
:show-checkbox="selectType == 'multiple'"
|
||||||
node-key="id"
|
|
||||||
@check="checkNode"
|
@check="checkNode"
|
||||||
@node-click="nodeClick"
|
@node-click="nodeClick"
|
||||||
></el-tree>
|
></el-tree>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div :style="styleObj" class="g-container">
|
<div class="g-container" :style="styleObj">
|
||||||
<div class="g-number">
|
<div class="g-number">
|
||||||
{{ endVal }}
|
{{ endVal }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div :style="styleObj" class="card">
|
<div class="card" :style="styleObj">
|
||||||
<div class="card-borders">
|
<div class="card-borders">
|
||||||
<div class="border-top"></div>
|
<div class="border-top"></div>
|
||||||
<div class="border-right"></div>
|
<div class="border-right"></div>
|
||||||
@ -7,14 +7,14 @@
|
|||||||
<div class="border-left"></div>
|
<div class="border-left"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<el-image :src="avatar" class="avatar"></el-image>
|
<el-image class="avatar" :src="avatar"></el-image>
|
||||||
<div class="username">{{ username }}</div>
|
<div class="username">{{ username }}</div>
|
||||||
<div class="social-icons">
|
<div class="social-icons">
|
||||||
<a
|
<a
|
||||||
v-for="(item, index) in iconArray"
|
v-for="(item, index) in iconArray"
|
||||||
:key="index"
|
:key="index"
|
||||||
:href="item.url"
|
|
||||||
class="social-icon"
|
class="social-icon"
|
||||||
|
:href="item.url"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<vab-icon :icon="['fas', item.icon]" />
|
<vab-icon :icon="['fas', item.icon]" />
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div :style="styleObj" class="content">
|
<div class="content" :style="styleObj">
|
||||||
<div v-for="(item, index) in 200" :key="index" class="snow"></div>
|
<div v-for="(item, index) in 200" :key="index" class="snow"></div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -15,13 +15,16 @@
|
|||||||
<br />
|
<br />
|
||||||
<el-upload
|
<el-upload
|
||||||
ref="upload"
|
ref="upload"
|
||||||
|
accept="image/png, image/jpeg"
|
||||||
:action="action"
|
:action="action"
|
||||||
:auto-upload="false"
|
:auto-upload="false"
|
||||||
|
class="upload-content"
|
||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
:data="data"
|
:data="data"
|
||||||
:file-list="fileList"
|
:file-list="fileList"
|
||||||
:headers="headers"
|
:headers="headers"
|
||||||
:limit="limit"
|
:limit="limit"
|
||||||
|
list-type="picture-card"
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
:name="name"
|
:name="name"
|
||||||
:on-change="handleChange"
|
:on-change="handleChange"
|
||||||
@ -31,18 +34,15 @@
|
|||||||
:on-progress="handleProgress"
|
:on-progress="handleProgress"
|
||||||
:on-remove="handleRemove"
|
:on-remove="handleRemove"
|
||||||
:on-success="handleSuccess"
|
:on-success="handleSuccess"
|
||||||
accept="image/png, image/jpeg"
|
|
||||||
class="upload-content"
|
|
||||||
list-type="picture-card"
|
|
||||||
>
|
>
|
||||||
<i slot="trigger" class="el-icon-plus"></i>
|
<i slot="trigger" class="el-icon-plus"></i>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
:visible.sync="dialogVisible"
|
|
||||||
append-to-body
|
append-to-body
|
||||||
title="查看大图"
|
title="查看大图"
|
||||||
|
:visible.sync="dialogVisible"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<img :src="dialogImageUrl" alt="" width="100%" />
|
<img alt="" :src="dialogImageUrl" width="100%" />
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<div slot="header">
|
<div slot="header">
|
||||||
<span>访问量</span>
|
<span>访问量</span>
|
||||||
</div>
|
</div>
|
||||||
<vab-chart :option="fwl" autoresize />
|
<vab-chart autoresize :option="fwl" />
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<span>
|
<span>
|
||||||
日均访问量:
|
日均访问量:
|
||||||
@ -39,7 +39,7 @@
|
|||||||
<div slot="header">
|
<div slot="header">
|
||||||
<span>授权数</span>
|
<span>授权数</span>
|
||||||
</div>
|
</div>
|
||||||
<vab-chart :option="sqs" autoresize />
|
<vab-chart autoresize :option="sqs" />
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<span>
|
<span>
|
||||||
总授权数:
|
总授权数:
|
||||||
@ -58,7 +58,7 @@
|
|||||||
:xl="3"
|
:xl="3"
|
||||||
:xs="12"
|
:xs="12"
|
||||||
>
|
>
|
||||||
<router-link :to="item.link" target="_blank">
|
<router-link target="_blank" :to="item.link">
|
||||||
<el-card class="icon-panel" shadow="never">
|
<el-card class="icon-panel" shadow="never">
|
||||||
<vab-icon
|
<vab-icon
|
||||||
:icon="['fas', item.icon]"
|
:icon="['fas', item.icon]"
|
||||||
|
@ -13,10 +13,10 @@
|
|||||||
<el-col :lg="8" :md="12" :sm="24" :xl="8" :xs="24">
|
<el-col :lg="8" :md="12" :sm="24" :xl="8" :xs="24">
|
||||||
<el-form
|
<el-form
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
|
||||||
:rules="rules"
|
|
||||||
class="login-form"
|
class="login-form"
|
||||||
label-position="left"
|
label-position="left"
|
||||||
|
:model="form"
|
||||||
|
:rules="rules"
|
||||||
>
|
>
|
||||||
<div class="title">hello !</div>
|
<div class="title">hello !</div>
|
||||||
<div class="title-tips">欢迎来到{{ title }}!</div>
|
<div class="title-tips">欢迎来到{{ title }}!</div>
|
||||||
@ -40,9 +40,9 @@
|
|||||||
:key="passwordType"
|
:key="passwordType"
|
||||||
ref="password"
|
ref="password"
|
||||||
v-model.trim="form.password"
|
v-model.trim="form.password"
|
||||||
:type="passwordType"
|
|
||||||
placeholder="请输入密码"
|
placeholder="请输入密码"
|
||||||
tabindex="2"
|
tabindex="2"
|
||||||
|
:type="passwordType"
|
||||||
@keyup.enter.native="handleLogin"
|
@keyup.enter.native="handleLogin"
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -57,8 +57,8 @@
|
|||||||
</span>
|
</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-button
|
<el-button
|
||||||
:loading="loading"
|
|
||||||
class="login-btn"
|
class="login-btn"
|
||||||
|
:loading="loading"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="handleLogin"
|
@click="handleLogin"
|
||||||
>
|
>
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
<el-tag v-if="item.status === 0" hit type="danger">缺货</el-tag>
|
<el-tag v-if="item.status === 0" hit type="danger">缺货</el-tag>
|
||||||
</div>
|
</div>
|
||||||
<div class="goods-list-image-group">
|
<div class="goods-list-image-group">
|
||||||
<img :src="item.image" class="goods-list-image" />
|
<img class="goods-list-image" :src="item.image" />
|
||||||
</div>
|
</div>
|
||||||
<div class="goods-list-title">{{ item.title }}</div>
|
<div class="goods-list-title">{{ item.title }}</div>
|
||||||
<div class="goods-list-description">{{ item.description }}</div>
|
<div class="goods-list-description">{{ item.description }}</div>
|
||||||
@ -53,11 +53,11 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-pagination
|
<el-pagination
|
||||||
|
background
|
||||||
:current-page="queryForm.pageNo"
|
:current-page="queryForm.pageNo"
|
||||||
:layout="layout"
|
:layout="layout"
|
||||||
:page-size="queryForm.pageSize"
|
:page-size="queryForm.pageSize"
|
||||||
:total="total"
|
:total="total"
|
||||||
background
|
|
||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
@size-change="handleSizeChange"
|
@size-change="handleSizeChange"
|
||||||
></el-pagination>
|
></el-pagination>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
<el-form ref="form" label-width="120px" :model="form" :rules="rules">
|
||||||
<el-form-item label-width="0">
|
<el-form-item label-width="0">
|
||||||
<el-alert show-icon>请务必仔细填写并核对</el-alert>
|
<el-alert show-icon>请务必仔细填写并核对</el-alert>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
<el-form ref="form" label-width="120px" :model="form" :rules="rules">
|
||||||
<el-form-item label-width="0">
|
<el-form-item label-width="0">
|
||||||
<el-alert show-icon>
|
<el-alert show-icon>
|
||||||
确认转账后,资金将直接打入对方账户,无法退回。
|
确认转账后,资金将直接打入对方账户,无法退回。
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div class="pay-top-content">
|
<div class="pay-top-content">
|
||||||
<vab-icon :icon="['fas', 'check-circle']" class="pay-success"></vab-icon>
|
<vab-icon class="pay-success" :icon="['fas', 'check-circle']"></vab-icon>
|
||||||
<p>支付成功</p>
|
<p>支付成功</p>
|
||||||
</div>
|
</div>
|
||||||
<el-form
|
<el-form
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
|
||||||
:rules="rules"
|
|
||||||
class="pay-bottom"
|
class="pay-bottom"
|
||||||
label-width="120px"
|
label-width="120px"
|
||||||
|
:model="form"
|
||||||
|
:rules="rules"
|
||||||
>
|
>
|
||||||
<el-form-item label="付款账户:">
|
<el-form-item label="付款账户:">
|
||||||
{{ infoData.payAccount }}
|
{{ infoData.payAccount }}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
:xl="{ span: 12, offset: 6 }"
|
:xl="{ span: 12, offset: 6 }"
|
||||||
:xs="24"
|
:xs="24"
|
||||||
>
|
>
|
||||||
<el-steps :active="active" :space="200" align-center class="steps">
|
<el-steps :active="active" align-center class="steps" :space="200">
|
||||||
<el-step title="填写转账信息"></el-step>
|
<el-step title="填写转账信息"></el-step>
|
||||||
<el-step title="确认转账信息"></el-step>
|
<el-step title="确认转账信息"></el-step>
|
||||||
<el-step title="完成"></el-step>
|
<el-step title="完成"></el-step>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<el-divider content-position="left">
|
<el-divider content-position="left">
|
||||||
这里就不具体写了,请自行完善
|
这里就不具体写了,请自行完善
|
||||||
</el-divider>
|
</el-divider>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" label-width="80px" :model="form" :rules="rules">
|
||||||
<el-form-item label="name" prop="name">
|
<el-form-item label="name" prop="name">
|
||||||
<el-input v-model="form.name" autocomplete="off"></el-input>
|
<el-input v-model="form.name" autocomplete="off"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
<el-tree
|
<el-tree
|
||||||
:data="data"
|
:data="data"
|
||||||
:default-expanded-keys="['root']"
|
:default-expanded-keys="['root']"
|
||||||
:props="defaultProps"
|
|
||||||
node-key="id"
|
node-key="id"
|
||||||
|
:props="defaultProps"
|
||||||
@node-click="handleNodeClick"
|
@node-click="handleNodeClick"
|
||||||
></el-tree>
|
></el-tree>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -23,12 +23,12 @@
|
|||||||
</vab-query-form>
|
</vab-query-form>
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading"
|
v-loading="listLoading"
|
||||||
:data="list"
|
|
||||||
:element-loading-text="elementLoadingText"
|
|
||||||
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
|
|
||||||
border
|
border
|
||||||
|
:data="list"
|
||||||
default-expand-all
|
default-expand-all
|
||||||
|
:element-loading-text="elementLoadingText"
|
||||||
row-key="path"
|
row-key="path"
|
||||||
|
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="name"
|
label="name"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
width="500px"
|
width="500px"
|
||||||
@close="close"
|
@close="close"
|
||||||
>
|
>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" label-width="80px" :model="form" :rules="rules">
|
||||||
<el-form-item label="权限码" prop="permission">
|
<el-form-item label="权限码" prop="permission">
|
||||||
<el-input v-model="form.permission" autocomplete="off"></el-input>
|
<el-input v-model="form.permission" autocomplete="off"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -55,13 +55,13 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-pagination
|
<el-pagination
|
||||||
|
background
|
||||||
:current-page="queryForm.pageNo"
|
:current-page="queryForm.pageNo"
|
||||||
:layout="layout"
|
:layout="layout"
|
||||||
:page-size="queryForm.pageSize"
|
:page-size="queryForm.pageSize"
|
||||||
:total="total"
|
:total="total"
|
||||||
background
|
|
||||||
@size-change="handleSizeChange"
|
|
||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
|
@size-change="handleSizeChange"
|
||||||
></el-pagination>
|
></el-pagination>
|
||||||
<edit ref="edit" @fetch-data="fetchData"></edit>
|
<edit ref="edit" @fetch-data="fetchData"></edit>
|
||||||
</div>
|
</div>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
width="500px"
|
width="500px"
|
||||||
@close="close"
|
@close="close"
|
||||||
>
|
>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" label-width="80px" :model="form" :rules="rules">
|
||||||
<el-form-item label="用户名" prop="username">
|
<el-form-item label="用户名" prop="username">
|
||||||
<el-input v-model.trim="form.username" autocomplete="off"></el-input>
|
<el-input v-model.trim="form.username" autocomplete="off"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -71,13 +71,13 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-pagination
|
<el-pagination
|
||||||
|
background
|
||||||
:current-page="queryForm.pageNo"
|
:current-page="queryForm.pageNo"
|
||||||
:layout="layout"
|
:layout="layout"
|
||||||
:page-size="queryForm.pageSize"
|
:page-size="queryForm.pageSize"
|
||||||
:total="total"
|
:total="total"
|
||||||
background
|
|
||||||
@size-change="handleSizeChange"
|
|
||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
|
@size-change="handleSizeChange"
|
||||||
></el-pagination>
|
></el-pagination>
|
||||||
<edit ref="edit" @fetch-data="fetchData"></edit>
|
<edit ref="edit" @fetch-data="fetchData"></edit>
|
||||||
</div>
|
</div>
|
||||||
|
@ -14,9 +14,9 @@
|
|||||||
<el-col :lg="8" :md="12" :sm="24" :xl="8" :xs="24">
|
<el-col :lg="8" :md="12" :sm="24" :xl="8" :xs="24">
|
||||||
<el-form
|
<el-form
|
||||||
ref="registerForm"
|
ref="registerForm"
|
||||||
|
class="register-form"
|
||||||
:model="form"
|
:model="form"
|
||||||
:rules="registerRules"
|
:rules="registerRules"
|
||||||
class="register-form"
|
|
||||||
size="mini"
|
size="mini"
|
||||||
>
|
>
|
||||||
<el-form-item prop="username">
|
<el-form-item prop="username">
|
||||||
@ -55,8 +55,8 @@
|
|||||||
></vab-icon>
|
></vab-icon>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="isGetphone"
|
|
||||||
class="show-pwd phone-code"
|
class="show-pwd phone-code"
|
||||||
|
:disabled="isGetphone"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="getPhoneCode"
|
@click="getPhoneCode"
|
||||||
>
|
>
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
:fullscreen="true"
|
:fullscreen="true"
|
||||||
:visible.sync="dialogVisible"
|
|
||||||
title="element文档"
|
title="element文档"
|
||||||
|
:visible.sync="dialogVisible"
|
||||||
>
|
>
|
||||||
<iframe
|
<iframe
|
||||||
class="element-iframe"
|
class="element-iframe"
|
||||||
@ -56,21 +56,21 @@
|
|||||||
></el-progress>
|
></el-progress>
|
||||||
<el-progress
|
<el-progress
|
||||||
:percentage="100"
|
:percentage="100"
|
||||||
|
status="success"
|
||||||
:stroke-width="24"
|
:stroke-width="24"
|
||||||
:text-inside="true"
|
:text-inside="true"
|
||||||
status="success"
|
|
||||||
></el-progress>
|
></el-progress>
|
||||||
<el-progress
|
<el-progress
|
||||||
:percentage="80"
|
:percentage="80"
|
||||||
|
status="warning"
|
||||||
:stroke-width="22"
|
:stroke-width="22"
|
||||||
:text-inside="true"
|
:text-inside="true"
|
||||||
status="warning"
|
|
||||||
></el-progress>
|
></el-progress>
|
||||||
<el-progress
|
<el-progress
|
||||||
:percentage="50"
|
:percentage="50"
|
||||||
|
status="exception"
|
||||||
:stroke-width="20"
|
:stroke-width="20"
|
||||||
:text-inside="true"
|
:text-inside="true"
|
||||||
status="exception"
|
|
||||||
></el-progress>
|
></el-progress>
|
||||||
<el-progress :percentage="0" type="circle"></el-progress>
|
<el-progress :percentage="0" type="circle"></el-progress>
|
||||||
<el-progress :percentage="25" type="circle"></el-progress>
|
<el-progress :percentage="25" type="circle"></el-progress>
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
<el-col :lg="8" :md="12" :sm="24" :xl="8" :xs="24">
|
<el-col :lg="8" :md="12" :sm="24" :xl="8" :xs="24">
|
||||||
<el-form
|
<el-form
|
||||||
ref="ruleForm"
|
ref="ruleForm"
|
||||||
:model="ruleForm"
|
|
||||||
:rules="rules"
|
|
||||||
class="demo-ruleForm"
|
class="demo-ruleForm"
|
||||||
label-width="100px"
|
label-width="100px"
|
||||||
|
:model="ruleForm"
|
||||||
|
:rules="rules"
|
||||||
>
|
>
|
||||||
<el-form-item label="活动名称" prop="name">
|
<el-form-item label="活动名称" prop="name">
|
||||||
<el-input v-model="ruleForm.name"></el-input>
|
<el-input v-model="ruleForm.name"></el-input>
|
||||||
|
@ -51,8 +51,8 @@
|
|||||||
:page-size="queryForm.pageSize"
|
:page-size="queryForm.pageSize"
|
||||||
:page-sizes="[72, 144, 216, 288]"
|
:page-sizes="[72, 144, 216, 288]"
|
||||||
:total="total"
|
:total="total"
|
||||||
@size-change="handleSizeChange"
|
|
||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
|
@size-change="handleSizeChange"
|
||||||
></el-pagination>
|
></el-pagination>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -43,8 +43,8 @@
|
|||||||
:page-size="queryForm.pageSize"
|
:page-size="queryForm.pageSize"
|
||||||
:page-sizes="[72, 144, 216, 288]"
|
:page-sizes="[72, 144, 216, 288]"
|
||||||
:total="total"
|
:total="total"
|
||||||
@size-change="handleSizeChange"
|
|
||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
|
@size-change="handleSizeChange"
|
||||||
></el-pagination>
|
></el-pagination>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -45,11 +45,11 @@
|
|||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :lg="12" :md="12" :sm="24" :xl="12" :xs="24">
|
<el-col :lg="12" :md="12" :sm="24" :xl="12" :xs="24">
|
||||||
<el-table
|
<el-table
|
||||||
:data="tableData"
|
|
||||||
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
|
|
||||||
border
|
border
|
||||||
|
:data="tableData"
|
||||||
default-expand-all
|
default-expand-all
|
||||||
row-key="path"
|
row-key="path"
|
||||||
|
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="name"
|
label="name"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
width="500px"
|
width="500px"
|
||||||
@close="close"
|
@close="close"
|
||||||
>
|
>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" label-width="80px" :model="form" :rules="rules">
|
||||||
<el-form-item label="标题" prop="title">
|
<el-form-item label="标题" prop="title">
|
||||||
<el-input v-model.trim="form.title" autocomplete="off"></el-input>
|
<el-input v-model.trim="form.title" autocomplete="off"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -84,8 +84,8 @@
|
|||||||
<el-table-column label="状态" show-overflow-tooltip>
|
<el-table-column label="状态" show-overflow-tooltip>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-tooltip
|
<el-tooltip
|
||||||
:content="row.status"
|
|
||||||
class="item"
|
class="item"
|
||||||
|
:content="row.status"
|
||||||
effect="dark"
|
effect="dark"
|
||||||
placement="top-start"
|
placement="top-start"
|
||||||
>
|
>
|
||||||
|
@ -6,15 +6,15 @@
|
|||||||
<el-input v-model="filterText" placeholder="输入关键字过滤" />
|
<el-input v-model="filterText" placeholder="输入关键字过滤" />
|
||||||
<el-tree
|
<el-tree
|
||||||
ref="demoTree"
|
ref="demoTree"
|
||||||
|
class="vab-filter-tree"
|
||||||
:data="data2"
|
:data="data2"
|
||||||
:default-checked-keys="defaultCheckedKeys"
|
:default-checked-keys="defaultCheckedKeys"
|
||||||
:default-expanded-keys="defaultExpendedKeys"
|
:default-expanded-keys="defaultExpendedKeys"
|
||||||
:expand-on-click-node="false"
|
:expand-on-click-node="false"
|
||||||
:filter-node-method="filterNode"
|
:filter-node-method="filterNode"
|
||||||
:highlight-current="true"
|
:highlight-current="true"
|
||||||
:props="defaultProps"
|
|
||||||
class="vab-filter-tree"
|
|
||||||
node-key="id"
|
node-key="id"
|
||||||
|
:props="defaultProps"
|
||||||
show-checkbox
|
show-checkbox
|
||||||
@check="checkNode"
|
@check="checkNode"
|
||||||
@node-click="nodeClick"
|
@node-click="nodeClick"
|
||||||
@ -58,21 +58,21 @@
|
|||||||
<el-divider content-position="left">懒加载树</el-divider>
|
<el-divider content-position="left">懒加载树</el-divider>
|
||||||
<el-input
|
<el-input
|
||||||
v-model.lazy="keyW"
|
v-model.lazy="keyW"
|
||||||
:value="keyW"
|
|
||||||
class="input-with-select"
|
class="input-with-select"
|
||||||
placeholder="请输入内容"
|
placeholder="请输入内容"
|
||||||
|
:value="keyW"
|
||||||
@keyup.enter.native="showTreeList"
|
@keyup.enter.native="showTreeList"
|
||||||
></el-input>
|
></el-input>
|
||||||
<div v-show="isShow" class="blur-tree">
|
<div v-show="isShow" class="blur-tree">
|
||||||
<el-tree
|
<el-tree
|
||||||
ref="treeFilter"
|
ref="treeFilter"
|
||||||
:data="filterDevLlist"
|
|
||||||
:expand-on-click-node="false"
|
|
||||||
:props="defaultProps"
|
|
||||||
class="vab-filter-tree"
|
class="vab-filter-tree"
|
||||||
|
:data="filterDevLlist"
|
||||||
default-expand-all
|
default-expand-all
|
||||||
|
:expand-on-click-node="false"
|
||||||
highlight-current
|
highlight-current
|
||||||
node-key="indexCode"
|
node-key="indexCode"
|
||||||
|
:props="defaultProps"
|
||||||
@node-click="nodeClick"
|
@node-click="nodeClick"
|
||||||
>
|
>
|
||||||
<template #defalut="{ node }" class="vab-custom-tree-node">
|
<template #defalut="{ node }" class="vab-custom-tree-node">
|
||||||
@ -106,13 +106,13 @@
|
|||||||
<el-tree
|
<el-tree
|
||||||
ref="tree"
|
ref="tree"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
:expand-on-click-node="false"
|
|
||||||
:load="loadNode"
|
|
||||||
:props="defaultProps"
|
|
||||||
class="vab-filter-tree"
|
class="vab-filter-tree"
|
||||||
|
:expand-on-click-node="false"
|
||||||
highlight-current
|
highlight-current
|
||||||
lazy
|
lazy
|
||||||
|
:load="loadNode"
|
||||||
node-key="indexCode"
|
node-key="indexCode"
|
||||||
|
:props="defaultProps"
|
||||||
@node-click="nodeClick"
|
@node-click="nodeClick"
|
||||||
>
|
>
|
||||||
<template #defalut="{ node }" class="vab-custom-tree-node">
|
<template #defalut="{ node }" class="vab-custom-tree-node">
|
||||||
@ -156,8 +156,8 @@
|
|||||||
:data="selectTreeData"
|
:data="selectTreeData"
|
||||||
:default-expanded-keys="selectTreeDefaultSelectedKeys"
|
:default-expanded-keys="selectTreeDefaultSelectedKeys"
|
||||||
:highlight-current="true"
|
:highlight-current="true"
|
||||||
:props="selectTreeDefaultProps"
|
|
||||||
node-key="id"
|
node-key="id"
|
||||||
|
:props="selectTreeDefaultProps"
|
||||||
@node-click="selectTreeNodeClick"
|
@node-click="selectTreeNodeClick"
|
||||||
>
|
>
|
||||||
<template #defalut="{ node }" class="vab-custom-tree-node">
|
<template #defalut="{ node }" class="vab-custom-tree-node">
|
||||||
@ -189,8 +189,8 @@
|
|||||||
:default-checked-keys="selectTreeDefaultSelectedKeys"
|
:default-checked-keys="selectTreeDefaultSelectedKeys"
|
||||||
:default-expanded-keys="selectTreeDefaultSelectedKeys"
|
:default-expanded-keys="selectTreeDefaultSelectedKeys"
|
||||||
:highlight-current="true"
|
:highlight-current="true"
|
||||||
:props="selectTreeDefaultProps"
|
|
||||||
node-key="id"
|
node-key="id"
|
||||||
|
:props="selectTreeDefaultProps"
|
||||||
show-checkbox
|
show-checkbox
|
||||||
@check="multipleSelectTreeCheckNode"
|
@check="multipleSelectTreeCheckNode"
|
||||||
></el-tree>
|
></el-tree>
|
||||||
@ -200,9 +200,9 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
<!--添加/编辑节点弹框-------------------start-->
|
<!--添加/编辑节点弹框-------------------start-->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
class="tree-operate-dialog"
|
||||||
:title="dialogTitle"
|
:title="dialogTitle"
|
||||||
:visible.sync="treeDialogVisible"
|
:visible.sync="treeDialogVisible"
|
||||||
class="tree-operate-dialog"
|
|
||||||
width="400px"
|
width="400px"
|
||||||
@close="treeDialogVisible = false"
|
@close="treeDialogVisible = false"
|
||||||
>
|
>
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
<vab-upload
|
<vab-upload
|
||||||
ref="vabUpload"
|
ref="vabUpload"
|
||||||
:limit="50"
|
:limit="50"
|
||||||
:size="2"
|
|
||||||
name="file"
|
name="file"
|
||||||
|
:size="2"
|
||||||
url="/upload"
|
url="/upload"
|
||||||
></vab-upload>
|
></vab-upload>
|
||||||
<el-button type="primary" @click="handleShow({ key: 'value' })">
|
<el-button type="primary" @click="handleShow({ key: 'value' })">
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
webSocket连接{{ status }}!
|
webSocket连接{{ status }}!
|
||||||
</el-alert>
|
</el-alert>
|
||||||
<br />
|
<br />
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
<el-form ref="form" label-width="100px" :model="form" :rules="rules">
|
||||||
<el-form-item label="地址">
|
<el-form-item label="地址">
|
||||||
<el-input v-model="url" disabled></el-input>
|
<el-input v-model="url" disabled></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user