|
|
|
|
@ -313,7 +313,8 @@
|
|
|
|
|
<el-dialog width="30%" title="修改用户备注" :visible.sync="editRemarkVisible" append-to-body>
|
|
|
|
|
<el-form ref="form" :model="editRemarkForm" label-width="50px">
|
|
|
|
|
<el-form-item label="备注 " prop="content">
|
|
|
|
|
<el-input v-model="editRemarkForm.content" placeholder="请输入备注"/>
|
|
|
|
|
<el-input v-model="editRemarkForm.content" type="textarea" placeholder="请输入备注" show-word-limit minlength="1"
|
|
|
|
|
maxlength="100"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
@ -585,7 +586,7 @@
|
|
|
|
|
</el-form>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
<el-button type="primary" @click="submitBatchOperate">确 定</el-button>
|
|
|
|
|
<el-button @click="cancelScriptDialog(false)">取 消</el-button>
|
|
|
|
|
<el-button @click="cancelScriptDialog(false)">重 置</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
@ -1005,6 +1006,11 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
// 查询条件创建时间默认为当天
|
|
|
|
|
let siteStartTime = this.dateUtil(new Date(new Date().toLocaleDateString()));
|
|
|
|
|
let siteEndTime = this.dateUtil(new Date(new Date(new Date().toLocaleDateString()).getTime() + 24 * 60 * 60 * 1000 - 1));
|
|
|
|
|
this.dateRange = [siteStartTime, siteEndTime];
|
|
|
|
|
|
|
|
|
|
// 获取用户统计信息
|
|
|
|
|
this.getUserCount();
|
|
|
|
|
// 获取表单数据
|
|
|
|
|
@ -1027,6 +1033,16 @@ export default {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
dateUtil(date){
|
|
|
|
|
// 获取年份、月份和日期
|
|
|
|
|
const year = date.getFullYear().toString(); // 四位数表示的年份
|
|
|
|
|
const months = (date.getMonth() + 1).toString().padStart(2, '0'); // 补零后的两位数表示的月份
|
|
|
|
|
const day = date.getDate().toString().padStart(2, '0'); // 补零后的两位数表示的日期
|
|
|
|
|
const hours = date.getHours().toString().padStart(2, '0'); // 补全两位数的小时
|
|
|
|
|
const minutes = date.getMinutes().toString().padStart(2, '0'); // 补全两位数的分钟
|
|
|
|
|
const seconds = date.getSeconds().toString().padStart(2, '0');
|
|
|
|
|
return `${year}-${months}-${day} ${hours}:${minutes}:${seconds}`;
|
|
|
|
|
},
|
|
|
|
|
getUserCount() {
|
|
|
|
|
selectUserCount().then(Response => {
|
|
|
|
|
this.count.userNum = Response.data[0];
|
|
|
|
|
@ -1137,9 +1153,9 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 关闭添加小程序标签窗口
|
|
|
|
|
cancelMiniProgramDialog(isClose) {
|
|
|
|
|
this.title = null;
|
|
|
|
|
this.miniProgramForm.tagIdArray = [];
|
|
|
|
|
if (isClose) {
|
|
|
|
|
this.title = null;
|
|
|
|
|
this.batchMiniProgramVisible = false;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
@ -1392,7 +1408,7 @@ export default {
|
|
|
|
|
this.title = "添加小程序标签";
|
|
|
|
|
}
|
|
|
|
|
if (this.batchOperateValue == 4) {
|
|
|
|
|
this.title = "添加小程序标签";
|
|
|
|
|
this.title = "删除小程序标签";
|
|
|
|
|
}
|
|
|
|
|
this.batchMiniProgramVisible = true;
|
|
|
|
|
}
|
|
|
|
|
|