refactor(utils): 将工具类文件从Cs前缀重命名为Kit前缀
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
import { encrypt } from '@/utils/CsRsaUtil'
|
import { encrypt } from '@/utils/KitRsaUtil'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 默认入口:add、del、edit、get
|
* 默认入口:add、del、edit、get
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { download, initData } from '@/api/data'
|
import { download, initData } from '@/api/data'
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import { DownloadFile } from '@/utils/CsDomUtil'
|
import { DownloadFile } from '@/utils/KitDomUtil'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CRUD配置
|
* CRUD配置
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import echarts from 'echarts'
|
import echarts from 'echarts'
|
||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
require('echarts/theme/macarons') // echarts theme
|
require('echarts/theme/macarons') // echarts theme
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { AddClass, RemoveClass } from '@/utils/CsDomUtil'
|
import { AddClass, RemoveClass } from '@/utils/KitDomUtil'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'RightPanel',
|
name: 'RightPanel',
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
// doc: https://panjiachen.github.io/vue-element-admin-site/feature/component/svg-icon.html#usage
|
// doc: https://panjiachen.github.io/vue-element-admin-site/feature/component/svg-icon.html#usage
|
||||||
import { IsExternal } from '@/utils/CsValidateUtil'
|
import { IsExternal } from '@/utils/KitValidateUtil'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'SvgIcon',
|
name: 'SvgIcon',
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { IsExternal } from '@/utils/CsValidateUtil'
|
import { IsExternal } from '@/utils/KitValidateUtil'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
import { IsExternal } from '@/utils/CsValidateUtil'
|
import { IsExternal } from '@/utils/KitValidateUtil'
|
||||||
import Item from './Item'
|
import Item from './Item'
|
||||||
import AppLink from './Link'
|
import AppLink from './Link'
|
||||||
import FixiOSBug from './FixiOSBug'
|
import FixiOSBug from './FixiOSBug'
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import {
|
|||||||
initData,
|
initData,
|
||||||
download
|
download
|
||||||
} from '@/api/data'
|
} from '@/api/data'
|
||||||
import { DownloadFile } from '@/utils/CsDomUtil'
|
import { DownloadFile } from '@/utils/KitDomUtil'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { FormatDateTimeShortStr } from '@/utils/CsUtil'
|
import { FormatDateTimeShortStr } from '@/utils/KitUtil'
|
||||||
import { getToken } from '@/utils/auth'
|
import { getToken } from '@/utils/auth'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
|
||||||
@@ -3,7 +3,7 @@ import store from '@/store'
|
|||||||
/**
|
/**
|
||||||
* WebSocket客户端
|
* WebSocket客户端
|
||||||
*/
|
*/
|
||||||
function CsWsClient(sid) {
|
function KitWsClient(sid) {
|
||||||
this.wsUri = store.getters && store.getters.websocketApi.replace('{sid}', sid)
|
this.wsUri = store.getters && store.getters.websocketApi.replace('{sid}', sid)
|
||||||
this.client = null
|
this.client = null
|
||||||
/**
|
/**
|
||||||
@@ -38,4 +38,4 @@ function CsWsClient(sid) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default CsWsClient
|
export default KitWsClient
|
||||||
+2
-2
@@ -3,7 +3,7 @@ import Vue from 'vue'
|
|||||||
/**
|
/**
|
||||||
* 全屏锁定加载动画
|
* 全屏锁定加载动画
|
||||||
*/
|
*/
|
||||||
// export default function CsLoading() {
|
// export default function KitLoading() {
|
||||||
// this.instance = null
|
// this.instance = null
|
||||||
// this.show = function() {
|
// this.show = function() {
|
||||||
// this.instance = Vue.prototype.$loading({
|
// this.instance = Vue.prototype.$loading({
|
||||||
@@ -20,7 +20,7 @@ import Vue from 'vue'
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
export default class CsLoading {
|
export default class KitLoading {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.instance = null
|
this.instance = null
|
||||||
}
|
}
|
||||||
@@ -19,7 +19,7 @@ service.interceptors.request.use(
|
|||||||
// 让每个请求携带自定义token 请根据实际情况自行修改
|
// 让每个请求携带自定义token 请根据实际情况自行修改
|
||||||
config.headers['Authorization'] = getToken()
|
config.headers['Authorization'] = getToken()
|
||||||
}
|
}
|
||||||
config.headers['Content-Type'] = 'application/json'
|
config.headers['Content-Type'] = 'application/json;charset=utf-8'
|
||||||
return config
|
return config
|
||||||
},
|
},
|
||||||
error => {
|
error => {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</el-card>
|
</el-card>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import CsWsClient from '@/utils/CsWsClient'
|
import KitWsClient from '@/utils/KitWsClient'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -36,7 +36,7 @@ export default {
|
|||||||
onConnectClick() {
|
onConnectClick() {
|
||||||
const that = this
|
const that = this
|
||||||
// console.error('userInfo', that.user)
|
// console.error('userInfo', that.user)
|
||||||
that.client = new CsWsClient(that.user.username)
|
that.client = new KitWsClient(that.user.username)
|
||||||
that.client.connect(function(event) {
|
that.client.connect(function(event) {
|
||||||
console.info('=============== MyWebSocket:event', event)
|
console.info('=============== MyWebSocket:event', event)
|
||||||
}, function(msgEvent) {
|
}, function(msgEvent) {
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import { getToken } from '@/utils/auth'
|
import { getToken } from '@/utils/auth'
|
||||||
import CsMessage from '@/utils/elementui/CsMessage'
|
import CsMessage from '@/utils/elementui/KitMessage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CuteFileUpload',
|
name: 'CuteFileUpload',
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import { getToken } from '@/utils/auth'
|
import { getToken } from '@/utils/auth'
|
||||||
import CsMessage from '@/utils/elementui/CsMessage'
|
import CsMessage from '@/utils/elementui/KitMessage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CuteFileUpload',
|
name: 'CuteFileUpload',
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<script>
|
<script>
|
||||||
|
|
||||||
import { listMetadata } from '@/api/application/cute-product-line-select'
|
import { listMetadata } from '@/api/application/cute-product-line-select'
|
||||||
import CsMessage from '@/utils/elementui/CsMessage'
|
import CsMessage from '@/utils/elementui/KitMessage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CuteProductLineSelect',
|
name: 'CuteProductLineSelect',
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<script>
|
<script>
|
||||||
|
|
||||||
import { listMetadata } from '@/api/application/cute-product-line-select-pro'
|
import { listMetadata } from '@/api/application/cute-product-line-select-pro'
|
||||||
import CsMessage from '@/utils/elementui/CsMessage'
|
import CsMessage from '@/utils/elementui/KitMessage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CuteProductLineSelectPro',
|
name: 'CuteProductLineSelectPro',
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ import 'codemirror/mode/ruby/ruby'
|
|||||||
import 'codemirror/mode/sql/sql'
|
import 'codemirror/mode/sql/sql'
|
||||||
import 'codemirror/mode/vue/vue'
|
import 'codemirror/mode/vue/vue'
|
||||||
import 'codemirror/mode/xml/xml'
|
import 'codemirror/mode/xml/xml'
|
||||||
import CsMessage from '@/utils/elementui/CsMessage'
|
import CsMessage from '@/utils/elementui/KitMessage'
|
||||||
|
|
||||||
const SupportModeList = ['yaml', 'java', 'go', 'swift', 'dockerfile', 'groovy', 'lua', 'perl', 'python', 'ruby', 'sql', 'xml', 'vue']
|
const SupportModeList = ['yaml', 'java', 'go', 'swift', 'dockerfile', 'groovy', 'lua', 'perl', 'python', 'ruby', 'sql', 'xml', 'vue']
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import { mavonEditor } from 'mavon-editor'
|
import { mavonEditor } from 'mavon-editor'
|
||||||
import 'mavon-editor/dist/css/index.css'
|
import 'mavon-editor/dist/css/index.css'
|
||||||
import { UploadFile } from '@/utils/CsDomUtil'
|
import { UploadFile } from '@/utils/KitDomUtil'
|
||||||
|
|
||||||
const dynamicHeight = 160
|
const dynamicHeight = 160
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -32,8 +32,8 @@
|
|||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import '@wangeditor/editor/dist/css/style.css'
|
import '@wangeditor/editor/dist/css/style.css'
|
||||||
import { Editor, Toolbar } from '@wangeditor/editor-for-vue'
|
import { Editor, Toolbar } from '@wangeditor/editor-for-vue'
|
||||||
import { UploadFile } from '@/utils/CsDomUtil'
|
import { UploadFile } from '@/utils/KitDomUtil'
|
||||||
import CsMessage from '@/utils/elementui/CsMessage'
|
import CsMessage from '@/utils/elementui/KitMessage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CuteRichTextEditor',
|
name: 'CuteRichTextEditor',
|
||||||
|
|||||||
@@ -25,8 +25,8 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import CsMessage from '@/utils/elementui/CsMessage'
|
import CsMessage from '@/utils/elementui/KitMessage'
|
||||||
import { FormatDateTimeShortStr } from '@/utils/CsUtil'
|
import { FormatDateTimeShortStr } from '@/utils/KitUtil'
|
||||||
import html2canvas from 'html2canvas'
|
import html2canvas from 'html2canvas'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import DictService from '@/api/system/dict'
|
import DictService from '@/api/system/dict'
|
||||||
import CuteDragTable from '@/views/components/dev/CuteDragTable.vue'
|
import CuteDragTable from '@/views/components/dev/CuteDragTable.vue'
|
||||||
import { FormatRowDateTimeStr } from '@/utils/CsUtil'
|
import { FormatRowDateTimeStr } from '@/utils/KitUtil'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CuteDragTableDemo',
|
name: 'CuteDragTableDemo',
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import Clipboard from 'clipboard'
|
import Clipboard from 'clipboard'
|
||||||
import CuteOneKeyCopy from '@/views/components/dev/CuteOneKeyCopy'
|
import CuteOneKeyCopy from '@/views/components/dev/CuteOneKeyCopy'
|
||||||
import CsMessage from '@/utils/elementui/CsMessage'
|
import CsMessage from '@/utils/elementui/KitMessage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { CuteOneKeyCopy },
|
components: { CuteOneKeyCopy },
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ import CuteSimpleTable from '@/views/components/dev/CuteSimpleTable'
|
|||||||
import DictService from '@/api/system/dict'
|
import DictService from '@/api/system/dict'
|
||||||
import CuteFormDialog from '@/views/components/dev/CuteFormDialog'
|
import CuteFormDialog from '@/views/components/dev/CuteFormDialog'
|
||||||
import CuteFormDrawer from '@/views/components/dev/CuteFormDrawer'
|
import CuteFormDrawer from '@/views/components/dev/CuteFormDrawer'
|
||||||
import { FormatRowDateTimeStr } from '@/utils/CsUtil'
|
import { FormatRowDateTimeStr } from '@/utils/KitUtil'
|
||||||
import CuteButton from '@/views/components/dev/CuteButton.vue'
|
import CuteButton from '@/views/components/dev/CuteButton.vue'
|
||||||
import CuteTransfer from '@/views/components/dev/CuteTransfer.vue'
|
import CuteTransfer from '@/views/components/dev/CuteTransfer.vue'
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { DeBounce } from '@/utils/CsUtil'
|
import { DeBounce } from '@/utils/KitUtil'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { encrypt } from '@/utils/CsRsaUtil'
|
import { encrypt } from '@/utils/KitRsaUtil'
|
||||||
import Config from '@/settings'
|
import Config from '@/settings'
|
||||||
import { getCodeImg } from '@/api/login'
|
import { getCodeImg } from '@/api/login'
|
||||||
import Cookies from 'js-cookie'
|
import Cookies from 'js-cookie'
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
import { send } from '@/api/system/email'
|
import { send } from '@/api/system/email'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import E from 'wangeditor'
|
import E from 'wangeditor'
|
||||||
import { UploadFile } from '@/utils/CsDomUtil'
|
import { UploadFile } from '@/utils/KitDomUtil'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Index',
|
name: 'Index',
|
||||||
|
|||||||
@@ -216,7 +216,7 @@ import rrOperation from '@crud/RR.operation'
|
|||||||
import crudOperation from '@crud/CRUD.operation'
|
import crudOperation from '@crud/CRUD.operation'
|
||||||
import udOperation from '@crud/UD.operation'
|
import udOperation from '@crud/UD.operation'
|
||||||
import DateRangePicker from '@/components/DateRangePicker'
|
import DateRangePicker from '@/components/DateRangePicker'
|
||||||
import CsMessage from '@/utils/elementui/CsMessage'
|
import CsMessage from '@/utils/elementui/KitMessage'
|
||||||
|
|
||||||
// crud交由presenter持有
|
// crud交由presenter持有
|
||||||
const defaultForm = {
|
const defaultForm = {
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ import crudOperation from '@crud/CRUD.operation'
|
|||||||
import pagination from '@crud/Pagination'
|
import pagination from '@crud/Pagination'
|
||||||
import DateRangePicker from '@/components/DateRangePicker'
|
import DateRangePicker from '@/components/DateRangePicker'
|
||||||
import Clipboard from 'clipboard'
|
import Clipboard from 'clipboard'
|
||||||
import CsMessage from '@/utils/elementui/CsMessage'
|
import CsMessage from '@/utils/elementui/KitMessage'
|
||||||
|
|
||||||
const defaultForm = { id: null }
|
const defaultForm = { id: null }
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ import updatePass from './center/updatePass'
|
|||||||
import updateEmail from './center/updateEmail'
|
import updateEmail from './center/updateEmail'
|
||||||
import { getToken } from '@/utils/auth'
|
import { getToken } from '@/utils/auth'
|
||||||
import store from '@/store'
|
import store from '@/store'
|
||||||
import { IsValidPhone } from '@/utils/CsValidateUtil'
|
import { IsValidPhone } from '@/utils/KitValidateUtil'
|
||||||
import crud from '@/mixins/crud'
|
import crud from '@/mixins/crud'
|
||||||
import { updateUserCenterInfoById } from '@/api/system/user'
|
import { updateUserCenterInfoById } from '@/api/system/user'
|
||||||
import Avatar from '@/assets/images/avatar.png'
|
import Avatar from '@/assets/images/avatar.png'
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import store from '@/store'
|
import store from '@/store'
|
||||||
import { IsValidEmail } from '@/utils/CsValidateUtil'
|
import { IsValidEmail } from '@/utils/KitValidateUtil'
|
||||||
import { updateUserEmailByUsername } from '@/api/system/user'
|
import { updateUserEmailByUsername } from '@/api/system/user'
|
||||||
import { sendResetEmailCode } from '@/api/system/code'
|
import { sendResetEmailCode } from '@/api/system/code'
|
||||||
|
|
||||||
|
|||||||
@@ -195,7 +195,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import crudUser from '@/api/system/user'
|
import crudUser from '@/api/system/user'
|
||||||
import { IsValidPhone } from '@/utils/CsValidateUtil'
|
import { IsValidPhone } from '@/utils/KitValidateUtil'
|
||||||
import { searchDept, searchDeptTree } from '@/api/system/dept'
|
import { searchDept, searchDeptTree } from '@/api/system/dept'
|
||||||
import { getCurrentUserRoleLevel, listAllRole } from '@/api/system/role'
|
import { getCurrentUserRoleLevel, listAllRole } from '@/api/system/role'
|
||||||
import { searchJob } from '@/api/system/job'
|
import { searchJob } from '@/api/system/job'
|
||||||
|
|||||||
Reference in New Issue
Block a user