Files
UNION_HUTB/target/classes/views/platform/hd/ca/hdMange.html
T
2026-09-09 09:14:28 +08:00

924 lines
39 KiB
HTML

<!--#
layout("/layouts/platform.html"){
#-->
<!--
三八妇女活动管理
-->
<style>
.w-e-text-container {
min-height: 200px !important;
max-height: 700px !important;
height: auto !important;
}
.w-e-text {
min-height: 200px !important;
max-height: 700px !important;
height: auto !important;
}
.ViewDialogClass .el-collapse-item__header {
font-size: 12px;
color: rgb(150, 150, 150);
/*font-weight: bold;*/
background-color: white;
}
.el-collapse-item__wrap {
border: none;
}
.el-collapse-item__header {
border: none;
}
.avatar-uploader .el-upload {
border: 1px dashed #d9d9d9;
border-radius: 6px;
cursor: pointer;
position: relative;
overflow: hidden;
}
.avatar-uploader .el-upload:hover {
border-color: #409EFF;
}
.el-upload--picture-card {
width: 80px;
height: 80px;
line-height: 80px;
}
.el-upload-list--picture-card .el-upload-list__item {
width: 80px;
height: 80px;
line-height: 80px;
}
.avatar-uploader-icon {
font-size: 28px;
color: #8c939d;
width: 80px;
height: 80px;
line-height: 80px;
text-align: center;
}
.avatar {
width: 80px;
height: 80px;
display: block;
}
.iphonex_box {
width: 366px;
height: 720px;
background: url("https://www.qmwtp.com/assets/www/ActivityPc2/img/iphoneX.png") no-repeat;
background-size: 100% 100%;
position: relative;
top: 0;
left: 0;
right: 0;
margin: 0 auto;
}
.box_title {
position: absolute;
width: 40%;
top: 68px;
color: white;
left: 0;
right: 0;
margin: 0 auto;
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.new_frame {
position: absolute;
width: 321px;
height: 576px;
top: 94px;
left: 24px;
border-radius: 5px;
}
.clearfix:after {
content: '';
display: block;
clear: both;
}
.clearfix:after {
content: '';
display: block;
clear: both;
}
.clearfix:after {
content: '';
display: block;
clear: both;
}
.clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
.clearfix:after {
content: '';
display: block;
clear: both;
}
.style_every {
width: 35px;
height: 35px;
border-radius: 4px;
position: relative;
float: left;
margin-right: 10px;
cursor: pointer;
margin-top: 5px;
}
li {
list-style: none;
}
.style_every input {
width: 100%;
height: 100%;
position: absolute;
opacity: 0;
top: 0px;
left: 0;
cursor: pointer;
}
.style_every img {
position: absolute;
top: 10px;
left: 7px;
display: none;
}
.ViewDialogClass .el-form-item {
margin-bottom: 20px;
}
</style>
<div id="app" v-cloak>
<guava ref="guava">
<template>
<el-card shadow="never">
<div class="btn-group tool-button ">
<el-date-picker
v-model="pageForm.year"
type="year"
value-format="yyyy"
placeholder="选择年">
</el-date-picker>
</div>
<div class="btn-group tool-button">
<el-input placeholder="请输入内容" v-model="pageForm.hdname">
<template slot="prepend">活动主题</template>
</el-input>
</div>
<div class="btn-group tool-button">
<el-button icon="el-icon-search" @click="doSearch" type="primary"></el-button>
</div>
<div class="pull-right offscreen-right">
<el-button size="medium" @click="openAdd"><i class="ti-plus"></i> 创建活动
</el-button>
</div>
</el-card>
<el-card shadow="never" class="mt20">
<el-table
:data="tableData"
header-align="center"
style="width: 100%">
<el-table-column
label="序号"
type="index"
header-align="center"
align="center">
<template scope="scope">
<span>{{scope.$index+(pageForm.pageNumber - 1) * pageForm.pageSize + 1}} </span>
</template>
</el-table-column>
<el-table-column
prop="hdname"
label="主题"
header-align="center"
show-overflow-tooltip="true"
align="center">
</el-table-column>
<el-table-column
prop="cjr"
label="创建人"
header-align="center"
align="center">
</el-table-column>
<el-table-column
prop="hdcjsj"
label="创建时间"
header-align="center"
align="center">
</el-table-column>
<el-table-column
prop="time"
label="活动时间"
header-align="center"
width="300px"
align="center">
<template slot-scope="scope">
{{scope.row.hdkssj}} -- {{scope.row.hdjssj}}
</template>
</el-table-column>
<el-table-column
prop="hdflag"
label="状态"
header-align="center"
align="center">
<template slot-scope="scope">
<i v-if="!scope.row.hdflag"
class="fa fa-circle text-danger ml5"></i>
<i v-if="scope.row.hdflag"
class="fa fa-circle text-success ml5"></i>
</template>
</el-table-column>
<el-table-column
label="操作"
width="400"
header-align="center"
align="center">
<template slot-scope="scope">
<el-button v-if="scope.row.hdflag==false" type="success" size="mini"
@click="changeStatus(scope.row.hdid,true)">开启
</el-button>
<el-button v-else type="info" size="mini"
@click="changeStatus(scope.row.hdid,false)">关闭
</el-button>
<el-button size="mini" type="primary" @click="sendMsg(scope.row)">
通知
</el-button>
<el-button size="mini" type="primary" @click="openCode(scope.row.hdid)">
二维码
</el-button>
<el-button type="primary" size="mini" @click="openEdit(scope.row.hdid)"
v-if="scope.row.isSysadminH10">编辑
</el-button>
<el-button type="danger" size="mini" @click="doDelete(scope.row.hdid)"
v-if="scope.row.isSysadminH10">删除
</el-button>
</template>
</el-table-column>
</el-table>
<!--#include("/layouts/pagination.html"){}#-->
</el-card>
</template>
<template #edit>
<el-row type="flex">
<el-col :span="9" style="position: relative;text-align: center">
<div class="iphonex_box">
<div class="box_title">{{formData.hdname}}</div>
<iframe class="new_frame" id="myIframe" scrolling="auto" frameborder="none;"
src="/platform/hd/cahdMange/mobileBox">
</iframe>
</div>
<el-button type="info" style="margin-top: 10px" icon="el-icon-refresh"
@click="refreshBox" round>刷新
</el-button>
</el-col>
<el-col :span="14" offset="1">
<el-form :model="formData" style="padding-top: 20px;padding-right: 10px"
ref="addForm"
label-position="left" :rules="formRules" size="medium"
label-width="90px">
<el-form-item prop="hdname" label="活动主题">
<el-input placeholder="请输入活动主题" v-model="formData.hdname"></el-input>
</el-form-item>
<el-row>
<el-col :span="24">
<el-form-item prop="time" label="活动时间">
<el-date-picker
style="width: 100%"
v-model="formData.time"
type="datetimerange"
start-placeholder="开始时间"
end-placeholder="结束时间"
value-format="yyyy-MM-dd HH:mm:ss"
:default-time="['00:00:00']">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-form-item prop="hdlb" label="活动类别">
<el-row v-for="lb,idx in formData.lbs" style="padding-bottom: 5px">
<el-col :span="20">
<el-input placeholder="请输入名称" v-model="lb.lname"></el-input>
</el-col>
<el-col :span="2" style="text-align: center">
<el-button type="warning" icon="el-icon-plus" circle
@click="formData.lbs.splice(idx+1,0,{zplbs:[{}]})"></el-button>
</el-col>
<el-col :span="2" style="text-align: center">
<el-button type="danger" :disabled="idx==0"
icon="el-icon-delete" circle
@click="formData.lbs.splice(idx,1)"></el-button>
</el-col>
<el-col style="padding: 5px 0">
<el-row v-for="zplb,idx2 in lb.zplbs"
style="padding-bottom: 5px">
<el-col :span="20">
<el-col :span="4"><span v-if="idx2==0"
class="el-form-item__label">作品类别</span><span
v-else>&nbsp;</span>
</el-col>
<el-col :span="20">
<el-input placeholder="请输入名称"
v-model="zplb.zname"></el-input>
</el-col>
</el-col>
<el-col :span="2" style="text-align: center">
<el-button type="warning" icon="el-icon-plus" circle
@click="lb.zplbs.splice(idx2+1,0,{})"></el-button>
</el-col>
<el-col :span="2" style="text-align: center">
<el-button type="danger" :disabled="idx2==0"
icon="el-icon-delete" circle
@click="lb.zplbs.splice(idx2,1)"></el-button>
</el-col>
</el-row>
</el-col>
</el-row>
</el-form-item>
<el-form-item label="参加人员范围" prop="activityGroupId">
<div style="display: flex; justify-content: space-between">
<div style="width: 99%">
<el-select placeholder="请选择参加人员范围"
v-model="formData.activityGroupId" style="width: 99%"
clearable
filterable>
<el-option v-for="item in activityGroupList"
:label="item.groupName"
:value="item.groupId"></el-option>
</el-select>
</div>
<div>
<el-button @click="$refs.drawerUserScope.userScopeDialog = true"
type="primary">设置
</el-button>
</div>
</div>
</el-form-item>
<el-form-item prop="xlFlag" label="活动提醒">
<el-switch
v-model="formData.xlFlag"
active-color="#13ce66"
inactive-color="#ff4949">
</el-switch>
</el-form-item>
<el-form-item prop="hdjs" label="活动介绍">
<el-collapse>
<el-collapse-item>
<template slot="title">
点击展开 <i class="header-icon el-icon-thumb"
style="margin-left: 5px"></i>
</template>
<div id="hdjsEditor"></div>
</el-collapse-item>
</el-collapse>
</el-form-item>
<el-form-item prop="hdcjry" label="参加人员">
<el-collapse>
<el-collapse-item>
<template slot="title">
点击展开 <i class="header-icon el-icon-thumb"
style="margin-left: 5px"></i>
</template>
<div id="cjryEditor"></div>
</el-collapse-item>
</el-collapse>
</el-form-item>
<el-form-item prop="hdjlfs" label="奖励方式">
<el-collapse>
<el-collapse-item>
<template slot="title">
点击展开 <i class="header-icon el-icon-thumb"
style="margin-left: 5px"></i>
</template>
<div id="jlfsEditor"></div>
</el-collapse-item>
</el-collapse>
</el-form-item>
<el-form-item prop="hdnr" label="活动内容">
<el-collapse>
<el-collapse-item>
<template slot="title">
点击展开 <i class="header-icon el-icon-thumb"
style="margin-left: 5px"></i>
</template>
<div id="hdnrEditor"></div>
</el-collapse-item>
</el-collapse>
</el-form-item>
<el-form-item prop="hdlxr" label="联系人">
<el-collapse>
<el-collapse-item>
<template slot="title">
点击展开 <i class="header-icon el-icon-thumb"
style="margin-left: 5px"></i>
</template>
<div id="lxrEditor"></div>
</el-collapse-item>
</el-collapse>
</el-form-item>
<el-form-item prop="hdother" label="其他">
<el-collapse>
<el-collapse-item>
<template slot="title">
点击展开 <i class="header-icon el-icon-thumb"
style="margin-left: 5px"></i>
</template>
<div id="otherEditor"></div>
</el-collapse-item>
</el-collapse>
</el-form-item>
<el-form-item label="活动封面">
<file-upload :files.sync="formData.files"></file-upload>
</el-form-item>
<el-form-item label="配色">
<ul class="style_box old_stylebox clearfix"
style="display: block;padding-left: 0;">
<li class="style_every" v-for="color,idx in colorList"
@click="colorChange(color)"
:style="'background: '+color">
<img src="https://www.qmwtp.com/assets/www/ActivityPc2/img/duihao.png"
:style="'display: '+(formData.hdcolor==color?'block':'none')">
<input type="radio" name="sex" checked="checked" value="1">
</li>
</ul>
</el-form-item>
</el-form>
</el-col>
</el-row>
<el-row type="flex" justify="end">
<el-button type="success" v-show="selected=='add'" @click="save">保 存</el-button>
<el-button type="primary" @click="doSubmit">确 定</el-button>
</el-row>
</template>
</guava>
<el-dialog :visible.sync="dialogVisible">
<img width="100%" :src="dialogImageUrl" alt="">
</el-dialog>
<drawer-user-scope
@group_change="getActivityGroup"
ref="drawerUserScope"
:group_id.sync="formData.activityGroupId"
></drawer-user-scope>
<send-msg ref="sendMsg" :url="url"></send-msg>
<open-qr-code ref="openQRCode" :url="url"></open-qr-code>
</div>
<a id="download"></a>
<script>
var editor = {
hdjsEditor: null,
cjryEditor: null,
jlfsEditor: null,
hdnrEditor: null,
lxrEditor: null,
otherEditor: null,
}
const vue = new Vue({
el: '#app',
mixins: [initTableMixins],
data() {
var self = this
var checkHdlb = function (rule, value, callback) {
if (self.formData.lbs.length == 0) {
callback(new Error("必填"))
}
self.formData.lbs.forEach(function (v) {
v.zplbs.forEach(function (v2) {
if (self.isNull(v2.zname)) {
callback(new Error("有类别未填写名称"))
}
})
if (self.isNull(v.lname)) {
callback(new Error("有类别未填写名称"))
}
})
callback()
};
return {
hdid: GetQueryString("hdid"),
selected: '',
colorList: ['#6A005F', '#31cab1', '#e54242', '#ff8939', '#ffb712', '#1dc47b', '#4495f7', '#ff5e8b', '#5d6e7f'],
fileList: [],
delFiles: [],
dialogImageUrl: '',
activeNames: '',
tableData: [],
pageForm: {
year: moment().format('YYYY'),
hdtype: 2,
searchName: "",
searchKeyword: "",
pageNumber: 1,
pageSize: 10,
totalCount: 0,
pageOrderName: "",
pageOrderBy: "",
hdname: ""
},
formData: {},
codeDialogVisible: false,
addDialogVisible: false,
editDialogVisible: false,
dialogVisible: false,
formRules: {
hdname: [{required: true, message: '必填', trigger: ['blur', 'change']}],
hdjs: [{required: true, message: '必填', trigger: ['blur', 'change']}],
hdcjry: [{required: true, message: '必填', trigger: ['blur', 'change']}],
hdjlfs: [{required: true, message: '必填', trigger: ['blur', 'change']}],
hdnr: [{required: true, message: '必填', trigger: ['blur', 'change']}],
hdlxr: [{required: true, message: '必填', trigger: ['blur', 'change']}],
// hdother: [{required: true, message: '必填', trigger: ['blur', 'change']}],
time: [{required: true, message: '必填', trigger: ['blur', 'change']}],
hdlb: [{required: true, validator: checkHdlb, trigger: ['blur', 'change']}],
},
isNull: function (val) {
if (val === null || val === undefined || val === '') {
return true
}
return false
},
id: '',
activityGroupList: [],
url: '',
}
},
components: {
'send-msg': httpVueLoader('/components/plugins/SendMsgByGroupId.vue'),
'drawer-user-scope': httpVueLoader('/components/plugins/DrawerUserScope.vue'),
'open-qr-code': httpVueLoader('/components/plugins/OpenQRCode.vue'),
},
methods: {
async getActivityGroup() {
const resp = await $.get('/platform/activity/basic/scope/getActivityUserScopeGroup')
this.activityGroupList = resp.data
},
share: function () {
const id = this.id
$.get("/platform/hd/wmhdMange/findOne", {hdid: id}, function (data) {
if (data.code == 0) {
window.open("http://connect.qq.com/widget/shareqq/index.html?url=" + HOST_URL + "/staffActivities?id=" + id + "&title=" + data.data.hdname + "&desc=" + data.data.hdname + "")
}
}
)
},
openCode(id) {
this.$refs.openQRCode.openCode("/childrenActivities?id=" + id)
},
sendMsg(row) {
this.url = `<a href="` + (APP_DOMAIN + "/childrenActivities?id=" + row.hdid) + `">点击参与</a>`
this.$refs.sendMsg.openDialog(row.activitygroupid)
},
doSubmit: function () {
if (this.selected === 'add') {
this.doAdd()
} else if (this.selected === 'edit') {
this.doEdit()
}
},
changeStatus: function (hdid, flag) {
$.post(base + "/platform/hd/wmhdMange/changeStatus", {
hdid: hdid,
flag: flag
}, function (data) {
if (data.code == 0) {
vue.$message({
message: data.msg,
type: 'success'
});
vue.pageData();
} else {
vue.$message({
message: data.msg,
type: 'error'
});
}
})
},
save: function () {
vue.changeFormEditorData()
localStorage.setItem("wmhd_savedata2", JSON.stringify(vue.formData))
vue.$message({
message: '保存成功!',
type: 'success'
});
},
changeFormEditorDataTxt() {
this.$set(this.formData, 'hdjs', editor.hdjsEditor.txt.html())
this.$set(this.formData, 'hdcjry', editor.cjryEditor.txt.html())
this.$set(this.formData, 'hdjlfs', editor.jlfsEditor.txt.html())
this.$set(this.formData, 'hdnr', editor.hdnrEditor.txt.html())
this.$set(this.formData, 'hdlxr', editor.lxrEditor.txt.html())
this.$set(this.formData, 'hdother', editor.otherEditor.txt.html())
},
changeFormEditorData() {
this.$set(this.formData, 'hdjs', editor.hdjsEditor.txt.html())
this.$set(this.formData, 'hdcjry', editor.cjryEditor.txt.html())
this.$set(this.formData, 'hdjlfs', editor.jlfsEditor.txt.html())
this.$set(this.formData, 'hdnr', editor.hdnrEditor.txt.html())
this.$set(this.formData, 'hdlxr', editor.lxrEditor.txt.html())
this.$set(this.formData, 'hdother', editor.otherEditor.txt.html())
},
refreshBox: function () {
vue.changeFormEditorData()
var fileList = []
vue.fileList.forEach(function (file) {
fileList.push(file.url)
})
vue.$set(vue.formData, 'fileList', fileList)
localStorage.setItem("wmhd_boxdata", JSON.stringify(vue.formData))
$('#myIframe').attr('src', $('#myIframe').attr('src'));
},
colorChange: function (color, idx) {
this.formData.hdcolor = color
},
handlePictureCardPreview: function (file) {
this.dialogImageUrl = file.url;
this.dialogVisible = true;
},
handleChange: function (file, fileList) {
var self = this;
if (file.size == 0) {
self.$message.warning("您选择的是空文件!");
for (var i = 0; i < fileList.length; i++) {
if (file == fileList[i]) {
fileList.splice(i, 1);
}
}
}
self.fileList = fileList;
},
handleRemove: function (file, fileList) {
var self = this;
self.fileList = fileList;
if (file.status == 'ok') {
console.log("增加要删除的文件:" + file.name)
self.delFiles.push({uid: file.uid, url: file.urlx})
}
},
doDelete: function (id) {
var self = this;
this.$confirm('确定要删除吗?这将会删除目前所有已提交的作品数据!', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
callback: function (a, b) {
if ("confirm" == a) {//确认后再执行
$.post(base + "/platform/hd/wmhdMange/delete", {hdid: id}, function (data) {
if (data.code == 0) {
self.$message({
message: data.msg,
type: 'success'
});
self.pageData();
} else {
self.$message({
message: data.msg,
type: 'error'
});
}
}, "json");
}
}
});
},
async openEdit(id) {
this.formData = {};
this.fileList = []
this.delFiles = []
this.selected = 'edit'
if (this.$refs["addForm"])
this.$refs["addForm"].resetFields();
const data = await $.get("/platform/hd/wmhdMange/findOne", {hdid: id})
if (data.code == 0) {
data.data.time = [data.data.hdkssj, data.data.hdjssj]
this.formData = data.data
this.$refs.guava.edit()
this.$nextTick(() => {
E = window.wangEditor
for (key in editor) {
$('#' + key).html("")
editor[key] = new E('#' + key)
editor[key].create()
}
editor.hdjsEditor.txt.html(vue.formData.hdjs)
editor.cjryEditor.txt.html(vue.formData.hdcjry)
editor.jlfsEditor.txt.html(vue.formData.hdjlfs)
editor.hdnrEditor.txt.html(vue.formData.hdnr)
editor.lxrEditor.txt.html(vue.formData.hdlxr)
editor.otherEditor.txt.html(vue.formData.hdother)
this.refreshBox()
})
} else {
this.$message({
message: data.msg,
type: 'error'
});
}
},
async doEdit() {
this.changeFormEditorDataTxt()
this.$refs["addForm"].validate(async valid => {
if (valid) {
this.changeFormEditorData()
this.formData.hdkssj = this.formData.time[0]
this.formData.hdjssj = this.formData.time[1]
let loading = this.$loading({
lock: true,
text: '数据正在提交中,请稍后...',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
const reps = await $.post("/platform/hd/wmhdMange/doEdit", {hdxx: JSON.stringify(this.formData)})
loading.close()
if (reps.code === 0) {
this.$message.success(reps.msg)
this.$refs.guava.index()
this.pageData()
} else {
this.$message.warning(reps.msg)
}
}
})
},
doAdd() {
this.changeFormEditorDataTxt()
this.$refs["addForm"].validate(async valid => {
if (valid) {
this.changeFormEditorData()
this.formData.hdkssj = this.formData.time[0]
this.formData.hdjssj = this.formData.time[1]
var loading = this.$loading({
lock: true,
text: '数据正在提交中,请稍后...',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
});
const reps = await $.post("/platform/hd/wmhdMange/doAdd", {hdxx: JSON.stringify(this.formData)})
loading.close()
if (reps.code === 0) {
this.$message.success(reps.msg)
this.$refs.guava.index()
localStorage.removeItem("wmhd_savedata")
this.pageData()
} else {
this.$message.warning(reps.msg)
}
}
})
},
openAdd () {
var self = this;
this.selected = 'add'
if (localStorage.getItem("wmhd_savedata2")) {
try {
this.formData = JSON.parse(localStorage.getItem("wmhd_savedata2"))
} catch (e) {
localStorage.removeItem('wmhd_savedata2')
this.formData = {
hdtype: 2,
hdcolor: this.colorList[0],
username: "${@shiro.getPrincipalProperty('username')}",
hdcjsj: moment().format('YYYY-MM-DD'),
lbs: [{zplbs: [{}]}],
};
}
} else {
this.formData = {
hdtype: 2,
hdcolor: this.colorList[0],
username: "${@shiro.getPrincipalProperty('username')}",
hdcjsj: moment().format('YYYY-MM-DD'),
lbs: [{zplbs: [{}]}],
};//打开新增窗口,表单先清空
}
this.fileList = []
if (this.$refs["addForm"])
this.$refs["addForm"].resetFields();
// this.addDialogVisible = true;
this.$refs.guava.edit()
vue.$nextTick(function () {
E = window.wangEditor
menu = [
'head', // 标题
'bold', // 粗体
'fontSize', // 字号
'fontName', // 字体
'italic', // 斜体
'underline', // 下划线
'strikeThrough', // 删除线
'foreColor', // 文字颜色
// 'backColor', // 背景颜色
'link', // 插入链接
'list', // 列表
'justify', // 对齐方式
'quote', // 引用
'emoticon', // 表情
// 'image', // 插入图片
'table', // 表格
// 'code', // 插入代码
// 'undo', // 撤销
// 'redo' // 重复
]
for (key in editor) {
$('#' + key).html("")
editor[key] = new E('#' + key)
editor[key].config.menus = menu
editor[key].create()
}
editor.hdjsEditor.txt.html(vue.formData.hdjs)
editor.cjryEditor.txt.html(vue.formData.hdcjry)
editor.jlfsEditor.txt.html(vue.formData.hdjlfs)
editor.hdnrEditor.txt.html(vue.formData.hdnr)
editor.lxrEditor.txt.html(vue.formData.hdlxr)
editor.otherEditor.txt.html(vue.formData.hdother)
if (localStorage.getItem("wmhd_savedata2")) {
vue.refreshBox()
} else {
$('#myIframe').attr('src', $('#myIframe').attr('src'));
}
})
},
pageData: function () {//加载分页数据
var self = this;
sublime.showLoadingbar();//显示loading
$.post(base + "/platform/hd/wmhdMange/data", self.pageForm, function (data) {
sublime.closeLoadingbar();//关闭loading
if (data.code == 0) {
data.data.list.forEach(v => {
if ("${@shiro.hasRole('sysadmin')}" === 'false') {
const user = "${@shiro.getPrincipalProperty('id')}"
return v.isSysadminH10 = v.hdcjr === user
}
return v.isSysadminH10 = true
})
self.tableData = data.data.list;
self.pageForm.totalCount = data.data.totalCount;
} else {
self.$message({
message: data.msg,
type: 'error'
});
}
}, "json");
}
,
},
created() {
this.pageData();
this.getActivityGroup()
if (this.hdid) {
setTimeout(() => {
this.openAdd()
}, 500)
}
}
})
</script>
<!--#
}
#-->