Commit 42648b49 by wangql

提交代码

1 parent 3c3135f6
......@@ -60,17 +60,11 @@
</template>
<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 notice from '@/common/notice'
export default {
name: 'businessGroup',
components: {
// Edit,
},
watch: {
dialogVisible(val) {
......@@ -79,7 +73,6 @@ export default {
}
}
},
// mixins: [NoticeMixin],
data() {
return {
searchCondition: {},
......@@ -142,14 +135,6 @@ export default {
}
}
],
// number: {
// label: '序号',
// width: '50px',
// index: index => {
// ++index
// return index < 10 && index > 0 ? '0' + index : index
// }
// },
console: {
show: true,
label: '操作',
......@@ -189,7 +174,6 @@ export default {
request
.req(params)
.then(res => {
console.log(res)
this.total = res.pagination.totalCount
this.tableData.data = res.groupDicts
this.tableLoading = false
......@@ -222,7 +206,6 @@ export default {
},
dialog() {
this.dialogVisible = !this.dialogVisible
// this.idPassvalue.$emit('expressionId', objId)
},
// 新增分组
handleSubmit(formName) {
......
......@@ -101,12 +101,6 @@
</template>
<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 AddBusiness from './addBusiness'
import { resetSearch } from '@/common/common'
......@@ -130,10 +124,8 @@ export default {
this.loadingGetList()
}
},
// mixins: [NoticeMixin],
data() {
return {
// searchCondition: {},
groupId: '',
searchParams: {
// groupId: '',
......@@ -210,7 +202,6 @@ export default {
},
mounted() {
this.$root.eventBus.$on('params', (params) => {
console.log(params)
this.groupId = params.groupId
// this.searchParams.groupId = params.groupId
})
......@@ -245,7 +236,6 @@ export default {
request
.req(params)
.then(res => {
console.log(res)
if (res.pagination) {
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!