Commit 42648b49 by wangql

提交代码

1 parent 3c3135f6
...@@ -60,17 +60,11 @@ ...@@ -60,17 +60,11 @@
</template> </template>
<script> <script>
// import Edit from './Edit'
// import { fn, treeCheckKeys, deleteEmptyAttribute } from '@/common/common'
// import { getMerchantGroupList, createGroup } from '@/api/index'
// import { NoticeMixin } from '@/mixins'
// import Vue from 'vue'
import { groupMethods, request } from '@/api' import { groupMethods, request } from '@/api'
import notice from '@/common/notice' import notice from '@/common/notice'
export default { export default {
name: 'businessGroup', name: 'businessGroup',
components: { components: {
// Edit,
}, },
watch: { watch: {
dialogVisible(val) { dialogVisible(val) {
...@@ -79,7 +73,6 @@ export default { ...@@ -79,7 +73,6 @@ export default {
} }
} }
}, },
// mixins: [NoticeMixin],
data() { data() {
return { return {
searchCondition: {}, searchCondition: {},
...@@ -142,14 +135,6 @@ export default { ...@@ -142,14 +135,6 @@ export default {
} }
} }
], ],
// number: {
// label: '序号',
// width: '50px',
// index: index => {
// ++index
// return index < 10 && index > 0 ? '0' + index : index
// }
// },
console: { console: {
show: true, show: true,
label: '操作', label: '操作',
...@@ -189,7 +174,6 @@ export default { ...@@ -189,7 +174,6 @@ export default {
request request
.req(params) .req(params)
.then(res => { .then(res => {
console.log(res)
this.total = res.pagination.totalCount this.total = res.pagination.totalCount
this.tableData.data = res.groupDicts this.tableData.data = res.groupDicts
this.tableLoading = false this.tableLoading = false
...@@ -222,7 +206,6 @@ export default { ...@@ -222,7 +206,6 @@ export default {
}, },
dialog() { dialog() {
this.dialogVisible = !this.dialogVisible this.dialogVisible = !this.dialogVisible
// this.idPassvalue.$emit('expressionId', objId)
}, },
// 新增分组 // 新增分组
handleSubmit(formName) { handleSubmit(formName) {
......
...@@ -101,12 +101,6 @@ ...@@ -101,12 +101,6 @@
</template> </template>
<script> <script>
// import Edit from './Edit'
// import { fn, treeCheckKeys, deleteEmptyAttribute } from '@/common/common'
// import { getMerchantGroupDetailList } from '@/api/index'
// import { NoticeMixin } from '@/mixins'
// import Vue from 'vue'
// import Vue from 'vue'
import { groupDetailMethods, request } from '@/api' import { groupDetailMethods, request } from '@/api'
import AddBusiness from './addBusiness' import AddBusiness from './addBusiness'
import { resetSearch } from '@/common/common' import { resetSearch } from '@/common/common'
...@@ -130,10 +124,8 @@ export default { ...@@ -130,10 +124,8 @@ export default {
this.loadingGetList() this.loadingGetList()
} }
}, },
// mixins: [NoticeMixin],
data() { data() {
return { return {
// searchCondition: {},
groupId: '', groupId: '',
searchParams: { searchParams: {
// groupId: '', // groupId: '',
...@@ -210,7 +202,6 @@ export default { ...@@ -210,7 +202,6 @@ export default {
}, },
mounted() { mounted() {
this.$root.eventBus.$on('params', (params) => { this.$root.eventBus.$on('params', (params) => {
console.log(params)
this.groupId = params.groupId this.groupId = params.groupId
// this.searchParams.groupId = params.groupId // this.searchParams.groupId = params.groupId
}) })
...@@ -245,7 +236,6 @@ export default { ...@@ -245,7 +236,6 @@ export default {
request request
.req(params) .req(params)
.then(res => { .then(res => {
console.log(res)
if (res.pagination) { if (res.pagination) {
this.total = res.pagination.totalCount this.total = res.pagination.totalCount
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!