@@ -55,7 +62,8 @@ export default {
mchApplyCount: 0,
storeApplyCount: 0,
abnormalCount: 0,
- arrearsDeviceCount: 0
+ arrearsDeviceCount: 0,
+ userVerifyCount: 0
}
}
},
diff --git a/src/views/login.vue b/src/views/login.vue
index 58e9562..bc90478 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -1,7 +1,7 @@
- 扫码床垫后台管理系统
+ 创亿康后台管理系统
- 扫码床垫后台管理系统
+ 创亿康后台管理系统
diff --git a/src/views/ss/ad/index.vue b/src/views/ss/ad/index.vue
index 66ea4a5..282d3ca 100644
--- a/src/views/ss/ad/index.vue
+++ b/src/views/ss/ad/index.vue
@@ -115,10 +115,10 @@
/>
-
+
-
+
diff --git a/src/views/ss/shareCode/index.vue b/src/views/ss/shareCode/index.vue
index 730f884..06a28d9 100644
--- a/src/views/ss/shareCode/index.vue
+++ b/src/views/ss/shareCode/index.vue
@@ -98,7 +98,7 @@
-
+
{{d.row[column.key] | money | defaultValue}} %
+
+ {{d.row.userPoint - d.row.point | money | defaultValue}} %
+
{{d.row[column.key]}}
@@ -156,6 +159,7 @@
@@ -172,7 +176,7 @@
-
+
%
@@ -221,6 +225,13 @@ export default {
}
return true;
}
+ },
+ // 投资人查询条件
+ investorQuery() {
+ return {
+ type: SmUserType.INVESTOR,
+ referenceId: this.form.userId
+ }
}
},
components: { QrCode, UserLink, UserInput },
@@ -234,9 +245,10 @@ export default {
{key: 'codeId', visible: true, label: '推广码ID', minWidth: null, sortable: true, overflow: false, align: 'center', width: "100"},
{key: 'codeNo', visible: true, label: '推广码编号', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
{key: 'qrcode', visible: true, label: '二维码', minWidth: null, sortable: false, overflow: false, align: 'center', width: "80"},
- {key: 'userId', visible: true, label: '创建人', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
+ {key: 'userId', visible: true, label: '创建人', minWidth: null, sortable: true, overflow: false, align: 'center', width: "300"},
{key: 'userType', visible: true, label: '推广角色', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
{key: 'point', visible: true, label: '分成比例', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
+ {key: 'surplusPoint', visible: true, label: '剩余比例', minWidth: null, sortable: false, overflow: false, align: 'center', width: null},
{key: 'investorId', visible: false, label: '投资人', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
{key: 'expireTime', visible: true, label: '过期时间', minWidth: "120", sortable: false, overflow: false, align: 'center', width: null},
// {key: 'status', visible: true, label: '状态', minWidth: null, sortable: true, overflow: false, align: 'center', width: null},
@@ -304,11 +316,27 @@ export default {
},
methods: {
getShareCodeWxUrl,
+ beforeOpenInvestor() {
+ if (this.form.userId == null) {
+ this.$message.warning("请先选择创建人");
+ return false;
+ }
+ return true;
+ },
+ onLoadCreator(list) {
+ if (list != null && list.length > 0) {
+ this.creatorUserType = list[0].type;
+ }
+ },
onChangeCreator(user) {
this.creatorUserType = user.type;
if (this.disabledUserType(this.form.userType)) {
this.form.userType = null;
}
+ if (this.form.investorId != null) {
+ this.form.investorId = null;
+ this.$message.info("由于更换了创建人,请重新选择投资人")
+ }
},
/** 当排序按钮被点击时触发 **/
onSortChange(column) {
diff --git a/src/views/ss/userVerify/index.vue b/src/views/ss/userVerify/index.vue
index d752f61..38bec34 100644
--- a/src/views/ss/userVerify/index.vue
+++ b/src/views/ss/userVerify/index.vue
@@ -278,6 +278,10 @@ export default {
};
},
created() {
+ this.queryParams = {
+ ...this.queryParams,
+ ...this.$route.query
+ }
this.getList();
},
methods: {
diff --git a/src/views/system/device/detail.vue b/src/views/system/device/detail.vue
index b179e21..d24f85c 100644
--- a/src/views/system/device/detail.vue
+++ b/src/views/system/device/detail.vue
@@ -60,13 +60,16 @@
- {{deviceData.wifi | defaultValue}}
+
{{surplusTimeDesc(surplusTime).text}}
{{surplusTimeDesc(deviceData.remainTime).text}}
-
+
{{deviceData.remark | defaultValue}}
+ {{deviceData.size | defaultValue}}
+ {{deviceData.fabric | defaultValue}}
+ {{deviceData.fill | defaultValue}}
@@ -74,22 +77,22 @@
-
+
-
+
-
+
-
+
@@ -97,41 +100,37 @@
{{deviceData.room | defaultValue}}
-
+
-
-
-
-
-
{{item.arrivalName}}
-
-
- {{item.point | money | defaultValue}} %
-
+
+
+
+
+
+
+
{{item.arrivalName}}
+
+
+ {{item.point | money | defaultValue}} %
+
+
-
-
+
-
+
-
-
-
-
-
-
@@ -174,6 +173,9 @@ import { $serviceType, $view } from '@/utils/mixins'
import LineField from '@/components/LineField/index.vue'
import RechargeList from '@/views/ss/store/components/rechargeList.vue'
import Recharge from '@/views/system/recharge/index.vue'
+import { isEmpty } from '@/utils'
+import hasPermi from '@/directive/permission/hasPermi'
+import { checkPermi } from '@/utils/permission'
export default {
name: 'Device/:deviceId',
@@ -231,6 +233,8 @@ export default {
clearInterval(this.timer);
},
methods: {
+ checkPermi,
+ isEmpty,
handleUnbind() {
this.$confirm('是否强制解绑该设备?', '警告', {
confirmButtonText: '确定',
diff --git a/src/views/system/device/index.vue b/src/views/system/device/index.vue
index a4be2fb..6f097de 100644
--- a/src/views/system/device/index.vue
+++ b/src/views/system/device/index.vue
@@ -194,7 +194,7 @@
type="text"
icon="el-icon-view"
@click="handleSee(scope.row)"
- v-hasPermi="['system:device:detail']"
+ v-hasPermi="['system:device:query']"
>详情
-
-
-
-
-
-
-
- {{serviceUnit(form.serviceType)}}
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -56,56 +61,53 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
+
@@ -136,6 +138,7 @@ import StoreInvestor from '@/views/ss/storeInvestor/index.vue'
import SmUser from '@/views/system/smUser/index.vue'
import User from '@/views/system/user/index.vue'
import UserLink from '@/components/Business/SmUser/UserLink.vue'
+import { checkPermi } from '@/utils/permission'
export default {
name: 'User/:userId',
@@ -165,6 +168,7 @@ export default {
this.initData();
},
methods: {
+ checkPermi,
initData() {
this.loading = true;
getSmUser(this.$route.params.userId).then(response => {
diff --git a/src/views/system/smUser/index.vue b/src/views/system/smUser/index.vue
index b22f2ed..85c18c0 100644
--- a/src/views/system/smUser/index.vue
+++ b/src/views/system/smUser/index.vue
@@ -17,18 +17,18 @@
@keyup.enter.native="handleQuery"
/>
-
+
-
+
diff --git a/src/views/userLogin.vue b/src/views/userLogin.vue
index ffb9284..0f57bfe 100644
--- a/src/views/userLogin.vue
+++ b/src/views/userLogin.vue
@@ -1,7 +1,7 @@
- 扫码床垫商户中心
+ 创亿康商户中心