|
@@ -10,23 +10,23 @@
|
|
|
:totalRecords="totalRecords"
|
|
|
@currentChange="pageHandle"
|
|
|
/>
|
|
|
- <!-- <dict-edit
|
|
|
+ <uremark-edit
|
|
|
:isShow="isPopupShow"
|
|
|
:curObj="curObj"
|
|
|
@close="closePopup"
|
|
|
- /> -->
|
|
|
+ />
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
// import { arrToObj } from '@/utils'
|
|
|
import SearchForm from './components/searchForm/Dtl'
|
|
|
-// import DictEdit from './components/popup/DictDtlEdit'
|
|
|
+import UremarkEdit from './components/popup/UremarkEdit'
|
|
|
import baseTable from '_m/baseTable.js'
|
|
|
export default {
|
|
|
// name: 'basePublicDictSys',
|
|
|
components: {
|
|
|
SearchForm,
|
|
|
- // DictEdit
|
|
|
+ UremarkEdit
|
|
|
},
|
|
|
provide () {
|
|
|
return {
|
|
@@ -59,6 +59,7 @@ export default {
|
|
|
if (query.t == 2) {
|
|
|
this.listConfig = {
|
|
|
rows: [
|
|
|
+ { label: '用户备注', prop: 'enroll_remark' },
|
|
|
{ label: '报备次数', prop: 'report_count' },
|
|
|
{ label: '签到时间', prop: 'sign_at' },
|
|
|
{ label: '公司/门店', prop: 'info1' },
|
|
@@ -71,6 +72,7 @@ export default {
|
|
|
} else {
|
|
|
this.listConfig = {
|
|
|
rows: [
|
|
|
+ { label: '用户备注', prop: 'enroll_remark' },
|
|
|
{ label: '报备次数', prop: 'report_count' },
|
|
|
{ label: '签到时间', prop: 'sign_at' },
|
|
|
{ label: '抖音名', prop: 'info1' },
|
|
@@ -82,27 +84,13 @@ export default {
|
|
|
{ label: '粉丝数量', prop: 'info6' },
|
|
|
{ label: '获赞数量', prop: 'info7' },
|
|
|
{ label: '所属区域', prop: 'info8' },
|
|
|
- // { label: '更新人', prop: 'update_by' },
|
|
|
{ label: '更新时间', prop: 'update_at' },
|
|
|
- // { label: '状态', prop: 'status', type: 'tag', tags: arrToObj(this.$dictData.dictStatus), tagTypeObj: {'1': 'success', '2': 'danger'} },
|
|
|
- // { label: '操作', width: 200, type: 'handle2',
|
|
|
- // operations: [
|
|
|
- // // { labelFor: 'status', disabled: true, func: this.statusHandle, hide: 'nosys',
|
|
|
- // // labelConfig: {
|
|
|
- // // texts: {
|
|
|
- // // 1: '停用',
|
|
|
- // // 2: '启用'
|
|
|
- // // },
|
|
|
- // // btnTypes: {
|
|
|
- // // 1: 'danger',
|
|
|
- // // 2: 'success'
|
|
|
- // // }
|
|
|
- // // }
|
|
|
- // // },
|
|
|
- // { label: '编辑', func: this.openPopup, btnType: 'primary' },
|
|
|
- // { label: '删除', func: this.delHandle, btnType: 'danger', hide: 'nosys' },
|
|
|
- // ]
|
|
|
- // }
|
|
|
+ { label: '备注', prop: 'remark' },
|
|
|
+ { label: '操作', width: 80, type: 'handle2',
|
|
|
+ operations: [
|
|
|
+ { label: '编辑备注', func: this.openPopup, btnType: 'primary' },
|
|
|
+ ]
|
|
|
+ }
|
|
|
]
|
|
|
}
|
|
|
}
|