4e9c0faf by renchao@pashanhoo.com

style:增加注释

1 parent 00517d7a
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 16:31:56
-->
<template>
<div class="from-clues">
<!-- 表单部分 -->
......@@ -33,84 +38,84 @@
</div>
</template>
<script>
import table from "@/utils/mixin/table"
import { getQlxxDictList, getChildDictList, refreshDictCache } from "@/api/user.js"
import { datas, sendThis } from "./dictionaries"
import editDialog from "./components/editDialog.vue"
export default {
name: "dictionaries",
components: {
editDialog
},
mixins: [table],
mounted () {
sendThis(this);
},
data () {
return {
details: {
bsmDict: '',
isenable: 1,
rowData: {}
},
ruleForm: {
dcode: '',
dname: ''
},
tableData: {
total: 0,
columns: datas.columns(),
data: []
import table from "@/utils/mixin/table"
import { getQlxxDictList, getChildDictList, refreshDictCache } from "@/api/user.js"
import { datas, sendThis } from "./dictionaries"
import editDialog from "./components/editDialog.vue"
export default {
name: "dictionaries",
components: {
editDialog
},
mixins: [table],
mounted () {
sendThis(this);
},
data () {
return {
details: {
bsmDict: '',
isenable: 1,
rowData: {}
},
ruleForm: {
dcode: '',
dname: ''
},
tableData: {
total: 0,
columns: datas.columns(),
data: []
}
}
}
},
methods: {
// 初始化数据
queryClick () {
this.$startLoading();
getQlxxDictList({ ...this.ruleForm, ...this.pageData }).then(res => {
this.$endLoading();
let { records, total } = res.result
this.tableData.data = records ? records : []
this.tableData.total = total ? total : 0
})
},
handleRefresh () {
this.$confirm('是否确认刷新', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$startLoading()
refreshDictCache().then(res => {
if (res.code == 200) {
let refech = this.$store.dispatch('dict/generateDic')
this.$endLoading()
refech && this.$message({
message: '刷新成功',
type: 'success'
});
} else {
this.$message.error(res.message)
}
methods: {
// 初始化数据
queryClick () {
this.$startLoading();
getQlxxDictList({ ...this.ruleForm, ...this.pageData }).then(res => {
this.$endLoading();
let { records, total } = res.result
this.tableData.data = records ? records : []
this.tableData.total = total ? total : 0
})
}).catch(() => {
this.$message({
type: 'info',
message: '取消刷新'
},
handleRefresh () {
this.$confirm('是否确认刷新', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$startLoading()
refreshDictCache().then(res => {
if (res.code == 200) {
let refech = this.$store.dispatch('dict/generateDic')
this.$endLoading()
refech && this.$message({
message: '刷新成功',
type: 'success'
});
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '取消刷新'
});
});
});
},
// 修改
editClick (row, val) {
this.details.rowData = row
this.details.isenable = val
this.details.bsmDict = row.bsmDict
this.$popupDialog("字典信息", "system/dictionaries/components/editDialog", this.details)
},
// 修改
editClick (row, val) {
this.details.rowData = row
this.details.isenable = val
this.details.bsmDict = row.bsmDict
this.$popupDialog("字典信息", "system/dictionaries/components/editDialog", this.details)
}
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/public.scss";
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 16:42:26
-->
<template>
<el-form ref="ruleForm" :model="ruleForm" label-width="100px" :rules="rules">
<el-row>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 16:31:05
-->
<template>
<div class="from-clues">
<!-- 表单部分 -->
......@@ -198,7 +203,7 @@
"/djbworkFrameview?bsmSlsq=" +
item.bsmSlsq +
"&bestepid=" +
item.bestepid+
item.bestepid +
"&bsmBusiness=" +
"&viewtype=1"
);
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 14:47:30
-->
<template>
<div class="from-clues">
<!-- 表单部分 -->
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 14:47:36
-->
<template>
<!-- 抵押权利信息查询 -->
<div class="from-clues">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:23:28
-->
<template>
<div class="from-clues">
<el-tabs type="card" v-model="activeName" @tab-click="handleTabClick" v-if="!isJump">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:23:44
-->
<template>
<div class="from-clues">
<!-- 表单部分 国有建设用地使用权 -->
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:23:51
-->
<template>
<div class="from-clues">
<!-- 表单部分 -->
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:26:40
-->
<template>
<!-- 主体权利信息查询 -->
<div class="from-clues">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:26:46
-->
<template>
<div class="from-clues">
<!-- 表单部分 -->
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:26:51
-->
<template>
<!-- 主体权利信息查询 -->
<div class="from-clues">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:26:55
-->
<template>
<!-- 主体权利信息查询 -->
<div class="from-clues">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:27:00
-->
<template>
<div class="from-clues">
<!-- 表单部分 -->
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:27:13
-->
<template>
<div class="from-clues">
<!-- 表单部分 国有建设用地使用权 -->
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:27:16
-->
<template>
<div class="from-clues">
<!-- 表单部分 -->
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:27:19
-->
<template>
<!-- 主体权利信息查询 -->
<div class="from-clues">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:27:26
-->
<template>
<!-- 主体权利信息查询 -->
<div class="from-clues">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-13 15:27:34
-->
<template>
<!-- 主体权利信息查询 -->
<div class="from-clues">
......