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