在职党员社区报到
This commit is contained in:
@@ -19,20 +19,20 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标题" prop="title" style="width: 100%">
|
<el-form-item label="标题" prop="title" style="width: 100%">
|
||||||
<el-input
|
<el-input
|
||||||
size="small"
|
size="small"
|
||||||
v-model="form.title"
|
v-model="form.title"
|
||||||
placeholder="请输入..."
|
placeholder="请输入..."
|
||||||
clearabel
|
clearabel
|
||||||
:maxLength="60"
|
:maxLength="60"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="活动地点" prop="address" style="width: 100%">
|
<el-form-item label="活动地点" prop="address" style="width: 100%">
|
||||||
<el-input
|
<el-input
|
||||||
size="small"
|
size="small"
|
||||||
v-model="form.address"
|
v-model="form.address"
|
||||||
placeholder="请输入..."
|
placeholder="请输入..."
|
||||||
clearabel
|
clearabel
|
||||||
:maxLength="20"
|
:maxLength="20"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="参与名额" prop="total" style="width: 100%">
|
<el-form-item label="参与名额" prop="total" style="width: 100%">
|
||||||
@@ -42,11 +42,11 @@
|
|||||||
<el-form-item label="活动时间" prop="activeTimeList" style="width: 50%">
|
<el-form-item label="活动时间" prop="activeTimeList" style="width: 50%">
|
||||||
<el-date-picker size="small" :picker-options="pickerOptions"
|
<el-date-picker size="small" :picker-options="pickerOptions"
|
||||||
v-model="form.activeTimeList"
|
v-model="form.activeTimeList"
|
||||||
type="daterange"
|
type="datetimerange"
|
||||||
range-separator="至"
|
range-separator="至"
|
||||||
start-placeholder="开始日期"
|
start-placeholder="开始日期"
|
||||||
end-placeholder="结束日期"
|
end-placeholder="结束日期"
|
||||||
format="yyyy-MM-dd"
|
format="yyyy-MM-dd HH:mm:ss"
|
||||||
value-format="yyyy-MM-dd HH:mm:ss">
|
value-format="yyyy-MM-dd HH:mm:ss">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -62,20 +62,20 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="联系人" prop="contactPerson" style="width: 50%">
|
<el-form-item label="联系人" prop="contactPerson" style="width: 50%">
|
||||||
<el-input
|
<el-input
|
||||||
size="small"
|
size="small"
|
||||||
v-model="form.contactPerson"
|
v-model="form.contactPerson"
|
||||||
placeholder="请输入..."
|
placeholder="请输入..."
|
||||||
clearabel
|
clearabel
|
||||||
:maxLength="10"
|
:maxLength="10"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="联系电话" prop="contactPhone" style="width: 50%">
|
<el-form-item label="联系电话" prop="contactPhone" style="width: 50%">
|
||||||
<el-input
|
<el-input
|
||||||
size="small"
|
size="small"
|
||||||
v-model="form.contactPhone"
|
v-model="form.contactPhone"
|
||||||
placeholder="请输入..."
|
placeholder="请输入..."
|
||||||
clearabel
|
clearabel
|
||||||
:maxLength="11"
|
:maxLength="11"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="活动介绍" prop="content" style="width: 100%">
|
<el-form-item label="活动介绍" prop="content" style="width: 100%">
|
||||||
|
|||||||
@@ -11,30 +11,30 @@
|
|||||||
</template>
|
</template>
|
||||||
<template slot="right">
|
<template slot="right">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="search.con"
|
v-model="search.con"
|
||||||
size="small"
|
size="small"
|
||||||
placeholder="请输入活动名称或发布地区"
|
placeholder="请输入活动名称或发布地区"
|
||||||
clearable
|
clearable
|
||||||
@change="search.current=1,getList()"
|
@change="search.current=1,getList()"
|
||||||
suffix-icon="iconfont iconSearch"/>
|
suffix-icon="iconfont iconSearch"/>
|
||||||
</template>
|
</template>
|
||||||
</ai-search-bar>
|
</ai-search-bar>
|
||||||
<ai-table
|
<ai-table
|
||||||
:dict="dict"
|
:dict="dict"
|
||||||
:tableData="tableData"
|
:tableData="tableData"
|
||||||
:col-configs="colConfigs"
|
:col-configs="colConfigs"
|
||||||
:total="total"
|
:total="total"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
style="margin-top: 6px;"
|
style="margin-top: 6px;"
|
||||||
:current.sync="search.current"
|
:current.sync="search.current"
|
||||||
:size.sync="search.size"
|
:size.sync="search.size"
|
||||||
@getList="getList">
|
@getList="getList">
|
||||||
<el-table-column slot="activeTime" width="220px" label="活动时间" align="center">
|
<el-table-column slot="activeTime" width="220px" label="活动时间" align="center">
|
||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
<div class="table-options">{{row.beginTime.substring(0, 10)}}至{{row.endTime.substring(0, 10)}}</div>
|
<div class="table-options">{{row.beginTime.substring(0, 10)}}至{{row.endTime.substring(0, 10)}}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column slot="options" width="220px" fixed="right" label="操作" align="center">
|
<el-table-column slot="options" width="180px" fixed="right" label="操作" align="center">
|
||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
<div class="table-options">
|
<div class="table-options">
|
||||||
<el-button type="text" @click="toDetail(row.id)">详情</el-button>
|
<el-button type="text" @click="toDetail(row.id)">详情</el-button>
|
||||||
|
|||||||
@@ -177,15 +177,13 @@ export default {
|
|||||||
delete e.children;
|
delete e.children;
|
||||||
return { ...e, checked: true };
|
return { ...e, checked: true };
|
||||||
});
|
});
|
||||||
this.instance
|
this.instance.post("/app/apppartyreportconfig/addOrUpdate", arr).then((res) => {
|
||||||
.post("/app/apppartyreportconfig/addOrUpdate", arr)
|
if (res?.code == 0) {
|
||||||
.then((res) => {
|
this.$message.success("修改成功");
|
||||||
if (res?.code == 0) {
|
this.searchSysAll();
|
||||||
this.$message.success("修改成功");
|
this.editDialog = false;
|
||||||
this.searchSysAll();
|
}
|
||||||
this.editDialog = false;
|
});
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
findParent(data, ops) {
|
findParent(data, ops) {
|
||||||
ops = {
|
ops = {
|
||||||
@@ -251,12 +249,12 @@ export default {
|
|||||||
|
|
||||||
header {
|
header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 32px;
|
|
||||||
background: rgba(255, 243, 232, 1);
|
background: rgba(255, 243, 232, 1);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 1px solid rgba(255, 136, 34, 1);
|
border: 1px solid rgba(255, 136, 34, 1);
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
.iconfont.iconModal_Warning {
|
.iconfont.iconModal_Warning {
|
||||||
color: #ff8822;
|
color: #ff8822;
|
||||||
|
|||||||
Reference in New Issue
Block a user