| 1 |
- {"remainingRequest":"C:\\Users\\Administrator\\Desktop\\crmeb5.0\\template\\admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\Administrator\\Desktop\\crmeb5.0\\template\\admin\\src\\components\\customerInfo\\index.vue?vue&type=style&index=0&id=353cc582&lang=scss&scoped=true","dependencies":[{"path":"C:\\Users\\Administrator\\Desktop\\crmeb5.0\\template\\admin\\src\\components\\customerInfo\\index.vue","mtime":1761185179958},{"path":"C:\\Users\\Administrator\\Desktop\\crmeb5.0\\template\\admin\\node_modules\\css-loader\\index.js","mtime":499162500000},{"path":"C:\\Users\\Administrator\\Desktop\\crmeb5.0\\template\\admin\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"C:\\Users\\Administrator\\Desktop\\crmeb5.0\\template\\admin\\node_modules\\postcss-loader\\src\\index.js","mtime":499162500000},{"path":"C:\\Users\\Administrator\\Desktop\\crmeb5.0\\template\\admin\\node_modules\\sass-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\Administrator\\Desktop\\crmeb5.0\\template\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\Administrator\\Desktop\\crmeb5.0\\template\\admin\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:DQouY3VzdG9tZXIgew0KICBoZWlnaHQ6IDEwMCU7DQogIGJhY2tncm91bmQtY29sb3I6ICNmZmY7DQp9DQoudGFiQm94X2ltZyB7DQogIHdpZHRoOiAzNnB4Ow0KICBoZWlnaHQ6IDM2cHg7DQogIGJvcmRlci1yYWRpdXM6IDRweDsNCiAgY3Vyc29yOiBwb2ludGVyOw0KICBpbWcgew0KICAgIHdpZHRoOiAxMDAlOw0KICAgIGhlaWdodDogMTAwJTsNCiAgfQ0KfQ0KLm1vZGVsQm94IHsNCiAgOjp2LWRlZXAsDQogIC5pdnUtdGFibGUtaGVhZGVyIHsNCiAgICB3aWR0aDogMTAwJSAhaW1wb3J0YW50Ow0KICB9DQp9DQoudHJlZXMtY29hZGQgew0KICB3aWR0aDogMTAwJTsNCiAgaGVpZ2h0OiAzODVweDsNCiAgLnNjb2xsaGlkZSB7DQogICAgd2lkdGg6IDEwMCU7DQogICAgaGVpZ2h0OiAxMDAlOw0KICAgIG92ZXJmbG93LXg6IGhpZGRlbjsNCiAgICBvdmVyZmxvdy15OiBzY3JvbGw7DQogIH0NCn0NCi5zY29sbGhpZGU6Oi13ZWJraXQtc2Nyb2xsYmFyIHsNCiAgZGlzcGxheTogbm9uZTsNCn0NCi5mb290ZXIgew0KICBtYXJnaW46IDE1cHggMDsNCiAgcGFkZGluZy1yaWdodDogMjBweDsNCn0NCjo6di1kZWVwIC5lbC1mb3JtLS1pbmxpbmUgLmVsLWZvcm0taXRlbSB7DQogIG1hcmdpbi1ib3R0b206IDA7DQp9DQo="},{"version":3,"sources":["index.vue"],"names":[],"mappings":";AAqLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/components/customerInfo","sourcesContent":["<template>\r\n <div class=\"customer\">\r\n <el-form ref=\"formValidate\" :model=\"formValidate\" label-width=\"80px\" inline @submit.native.prevent>\r\n <el-form-item label=\"搜索用户:\">\r\n <el-input\r\n clearable\r\n placeholder=\"请输入用户UID、昵称或手机号\"\r\n v-model=\"formValidate.nickname\"\r\n class=\"form_content_width\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" v-db-click @click=\"userSearchs\">查询</el-button>\r\n </el-form-item>\r\n </el-form>\r\n <el-table\r\n class=\"mt15\"\r\n v-loading=\"loading2\"\r\n highlight-current-row\r\n no-userFrom-text=\"暂无数据\"\r\n no-filtered-userFrom-text=\"暂无筛选结果\"\r\n ref=\"selection\"\r\n :data=\"tableList2\"\r\n height=\"450\"\r\n >\r\n <el-table-column width=\"50\">\r\n <template slot-scope=\"scope\">\r\n <el-radio\r\n v-model=\"currentid\"\r\n :disabled=\"!!scope.row.is_del\"\r\n :label=\"scope.row.uid\"\r\n @input=\"() => currentidRadio(scope.row)\"\r\n > </el-radio\r\n >\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"UID\" width=\"80\">\r\n <template slot-scope=\"scope\">\r\n <span>{{ scope.row.uid }}</span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"用户头像\" min-width=\"90\">\r\n <template slot-scope=\"scope\">\r\n <div class=\"tabBox_img\" v-viewer>\r\n <img v-lazy=\"scope.row.headimgurl\" />\r\n </div>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"用户昵称\" min-width=\"180\">\r\n <template slot-scope=\"scope\">\r\n <div>{{ scope.row.nickname }}</div>\r\n <div style=\"color: red\">{{ scope.row.is_del ? '用户已注销' : '' }}</div>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"手机号\" min-width=\"180\">\r\n <template slot-scope=\"scope\">\r\n <div>{{ scope.row.phone }}</div>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"是否关注公众号\" min-width=\"130\">\r\n <template slot-scope=\"scope\">\r\n <span v-text=\"scope.row.subscribe === 1 ? '关注' : '未关注'\"></span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"注册时间\" min-width=\"180\">\r\n <template slot-scope=\"scope\">\r\n <div>{{ scope.row.add_time }}</div>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <div class=\"acea-row row-right page\">\r\n <pagination\r\n v-if=\"total2\"\r\n :total=\"total2\"\r\n :page.sync=\"formValidate.page\"\r\n :limit.sync=\"formValidate.limit\"\r\n @pagination=\"getListService\"\r\n />\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { kefucreateApi } from '@/api/setting';\r\nexport default {\r\n name: 'index',\r\n data() {\r\n return {\r\n formValidate: {\r\n page: 1,\r\n limit: 15,\r\n data: '',\r\n nickname: '',\r\n },\r\n tableList2: [],\r\n timeVal: [],\r\n fromList: {\r\n title: '选择时间',\r\n custom: true,\r\n fromTxt: [\r\n { text: '全部', val: '' },\r\n { text: '今天', val: 'today' },\r\n { text: '昨天', val: 'yesterday' },\r\n { text: '最近7天', val: 'lately7' },\r\n { text: '最近30天', val: 'lately30' },\r\n { text: '本月', val: 'month' },\r\n { text: '本年', val: 'year' },\r\n ],\r\n },\r\n currentid: 0,\r\n productRow: {},\r\n loading2: false,\r\n total2: 0,\r\n };\r\n },\r\n created() {},\r\n mounted() {\r\n this.getListService();\r\n },\r\n methods: {\r\n // 具体日期\r\n onchangeTime(e) {\r\n this.timeVal = e;\r\n this.formValidate.data = this.timeVal ? this.timeVal.join('-') : '';\r\n this.getListService();\r\n },\r\n // 选择时间\r\n selectChange(tab) {\r\n this.formValidate.data = tab;\r\n this.timeVal = [];\r\n this.getListService();\r\n },\r\n // 客服列表\r\n getListService() {\r\n this.loading2 = true;\r\n kefucreateApi(this.formValidate)\r\n .then(async (res) => {\r\n let data = res.data;\r\n this.tableList2 = data.list;\r\n this.total2 = data.count;\r\n this.tableList2.map((item) => {\r\n item._isChecked = false;\r\n });\r\n this.loading2 = false;\r\n })\r\n .catch((res) => {\r\n this.loading2 = false;\r\n this.$message.error(res.msg);\r\n });\r\n },\r\n // 搜索\r\n userSearchs() {\r\n this.formValidate.page = 1;\r\n this.getListService();\r\n },\r\n currentidRadio(row) {\r\n self.currentid = row.uid;\r\n this.productRow = row;\r\n if (this.productRow.uid) {\r\n if (this.$route.query.fodder === 'image') {\r\n /* eslint-disable */\r\n let imageObject = {\r\n image: this.productRow.headimgurl,\r\n uid: this.productRow.uid,\r\n };\r\n form_create_helper.set('image', imageObject);\r\n form_create_helper.close('image');\r\n } else {\r\n this.$emit('imageObject', {\r\n image: this.productRow.headimgurl,\r\n uid: this.productRow.uid,\r\n });\r\n }\r\n } else {\r\n this.$message.warning('请先选择商品');\r\n }\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.customer {\r\n height: 100%;\r\n background-color: #fff;\r\n}\r\n.tabBox_img {\r\n width: 36px;\r\n height: 36px;\r\n border-radius: 4px;\r\n cursor: pointer;\r\n img {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n}\r\n.modelBox {\r\n ::v-deep,\r\n .ivu-table-header {\r\n width: 100% !important;\r\n }\r\n}\r\n.trees-coadd {\r\n width: 100%;\r\n height: 385px;\r\n .scollhide {\r\n width: 100%;\r\n height: 100%;\r\n overflow-x: hidden;\r\n overflow-y: scroll;\r\n }\r\n}\r\n.scollhide::-webkit-scrollbar {\r\n display: none;\r\n}\r\n.footer {\r\n margin: 15px 0;\r\n padding-right: 20px;\r\n}\r\n::v-deep .el-form--inline .el-form-item {\r\n margin-bottom: 0;\r\n}\r\n</style>\r\n"]}]}
|