添加注释,删除无用代码

This commit is contained in:
mabo
2021-05-13 18:09:36 +08:00
parent 967e673647
commit a2752a731d
122 changed files with 868 additions and 1185 deletions

View File

@@ -78,12 +78,11 @@ export default {
},
data() {
return {
type: 0,
type: 0, // 消息类型
loading: false, // 表单加载状态
selectUsers: [],
userModalVisible: false,
selectUsers: [], // 已选用户
modalTitle: "", // 添加或编辑标题
form: {
form: { // 表单
// 添加或编辑表单对象初始化数据
title: "",
content: "",
@@ -99,8 +98,8 @@ export default {
content: [{ required: true, message: "内容不能为空", trigger: "blur" }]
},
submitLoading: false, // 添加或编辑提交状态
dictMessageType: this.$store.state.dict.messageType,
backRoute: ""
dictMessageType: this.$store.state.dict.messageType, // 消息类型
backRoute: "" // 上一个页面路由
};
},
methods: {

View File

@@ -286,45 +286,44 @@
title: "message-manage",
data() {
return {
messageTemplate:'',//当前消息模板
messageTemplateId:'',
templateName:'',
messageTemplate:'',// 当前消息模板
messageTemplateId:'', // 当前消息模板id
templateName:'', // 模板名称
smsModal: false,//短信
smsFormData:{
smsFormData:{ // 模板表单数据
smsState:'',
smsContent:'',
smsCode: ''
},
smsFormValidate:{
smsFormValidate:{ // 验证规则
smsCode: [{ required: true, message: '请输入短信编码'}],
smsContent: [{ required: true, message: '请输入短信内容'}],
},
noticeModal: false,//站内信
noticeFormData:{
noticeModal: false, // 站内信
noticeFormData:{ // 站内信表单
noticeContent:''
},
noticeFormValidate:{
noticeFormValidate:{ // 验证规则
noticeContent: [{ required: true, message: '请输入站内信内容'}],
},
wechatModal:false,//微信消息
wechatFormData:{
wechatFormData:{ // 微信表单
remark:'',
first:'',
enable:'',
},
wechatFormValidate:{
wechatFormValidate:{ // 验证规则
remark: [{ required: true, message: '请输入站内信内容'}],
first: [{ required: true, message: '请输入头部文字信息'}],
},
tab: "MEMBER",
openTip: true,
tab: "MEMBER", // tabName
openTip: true, // 提示展示
loading: true, // 表单加载状态
userLoading: true,
selectCount: 0, // 多选计数
selectList: [], // 多选数据
drop: false,
dropDownContent: "展开",
dropDownIcon: "ios-arrow-down",
drop: false, // 更多搜索项
dropDownContent: "展开", // drop显示内容
dropDownIcon: "ios-arrow-down", // drop图标
searchForm: {
// 搜索框对应data对象
type: "MEMBER",

View File

@@ -116,13 +116,13 @@ export default {
title: "message-manage",
data() {
return {
openSearch: true,
openTip: true,
openSearch: true, // 显示搜索
openTip: true, // 显示提示
loading: true, // 表单加载状态
userLoading: true,
selectCount: 0, // 多选计数
selectList: [], // 多选数据
drop: false,
drop: false, // 展开搜索
dropDownContent: "展开",
dropDownIcon: "ios-arrow-down",
searchForm: {

View File

@@ -77,10 +77,10 @@ export default {
name: "message_send_detail",
data() {
return {
openSearch: true,
openTip: true,
openSearch: true, // 显示搜索项
openTip: true, // 显示提示
loading: true, // 表单加载状态
messageId: "",
messageId: "", // 信息id
sortColumn: "createTime", // 排序字段
sortType: "desc", // 排序方式
status: "", // 发送状态

View File

@@ -125,24 +125,18 @@ export default {
data() {
return {
wechatModal: false,//微信消息
wechatFormData: {},
wechatModal: false,// modal展示
wechatFormData: {}, // 微信数据
wechatMPModal: false,//微信消息
wechatMPFormData: {},
tab: "WECHAT",
searchForm: {
wechatMPFormData: {}, // 微信订阅消息
tab: "WECHAT", // tab栏分类
searchForm: { // 请求参数
type: "WECHAT"
},
openTip: true,
loading: true, // 表单加载状态
name: '',
id: '',
userLoading: true,
id: '', // 模板id
selectCount: 0, // 多选计数
selectList: [], // 多选数据
drop: false,
dropDownContent: "展开",
dropDownIcon: "ios-arrow-down",
//微信消息查询
weChatSearchForm: {
// 搜索框对应data对象