Merge remote-tracking branch 'origin/build' into build
This commit is contained in:
@@ -50,7 +50,7 @@
|
|||||||
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>
|
||||||
<el-form-item label="截至时间" prop="stopSignupTime" style="width: 50%">
|
<el-form-item label="报名截止时间" prop="stopSignupTime" style="width: 50%">
|
||||||
<el-date-picker size="small" :picker-options="pickerOptions"
|
<el-date-picker size="small" :picker-options="pickerOptions"
|
||||||
v-model="form.stopSignupTime"
|
v-model="form.stopSignupTime"
|
||||||
type="date"
|
type="date"
|
||||||
|
|||||||
@@ -16,11 +16,11 @@
|
|||||||
<ai-info-item isLine label="发布地区">{{ info.areaName }}</ai-info-item>
|
<ai-info-item isLine label="发布地区">{{ info.areaName }}</ai-info-item>
|
||||||
<ai-info-item isLine label="标题">{{ info.title }}</ai-info-item>
|
<ai-info-item isLine label="标题">{{ info.title }}</ai-info-item>
|
||||||
<ai-info-item isLine label="活动地点">{{ info.address }}</ai-info-item>
|
<ai-info-item isLine label="活动地点">{{ info.address }}</ai-info-item>
|
||||||
<ai-info-item isLine label="参与名额">{{ info.total }}</ai-info-item>
|
<ai-info-item isLine label="参与名额">{{ info.total > 0 ? info.total : '无限制' }}</ai-info-item>
|
||||||
<ai-info-item label="报名状态">{{ dict.getLabel('partyReportSignupStatus', info.signupStatus) }}</ai-info-item>
|
<ai-info-item label="报名状态">{{ dict.getLabel('partyReportSignupStatus', info.signupStatus) }}</ai-info-item>
|
||||||
<ai-info-item label="活动状态">{{ dict.getLabel('activityStatus', info.actionStatus) }}</ai-info-item>
|
<ai-info-item label="活动状态">{{ dict.getLabel('partyReportActionStatus', info.actionStatus) }}</ai-info-item>
|
||||||
<ai-info-item label="活动时间">{{ info.beginTime }} 至 {{ info.endTime }}</ai-info-item>
|
<ai-info-item label="活动时间">{{ info.beginTime }} 至 {{ info.endTime }}</ai-info-item>
|
||||||
<ai-info-item label="截至时间">{{ info.stopSignupTime }}</ai-info-item>
|
<ai-info-item label="报名截止时间">{{ info.stopSignupTime }}</ai-info-item>
|
||||||
<ai-info-item label="联系人">{{ info.contactPerson }}</ai-info-item>
|
<ai-info-item label="联系人">{{ info.contactPerson }}</ai-info-item>
|
||||||
<ai-info-item label="联系电话">{{ info.contactPhone }}</ai-info-item>
|
<ai-info-item label="联系电话">{{ info.contactPhone }}</ai-info-item>
|
||||||
</ai-wrapper>
|
</ai-wrapper>
|
||||||
@@ -51,7 +51,8 @@
|
|||||||
<el-table-column slot="options" width="120px" fixed="right" label="操作" align="center">
|
<el-table-column slot="options" width="120px" 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="viewUser(row)">查看日志</el-button>
|
<el-button type="text" @click="viewUser(row)" v-if="row.logStatus > 0">查看日志</el-button>
|
||||||
|
<el-button type="text" @click="viewUser(row)" v-else disabled>查看日志</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -72,6 +73,16 @@
|
|||||||
</ai-uploader>
|
</ai-uploader>
|
||||||
</ai-info-item>
|
</ai-info-item>
|
||||||
</ai-wrapper>
|
</ai-wrapper>
|
||||||
|
<div v-if="userInfo.logStatus==1">
|
||||||
|
<p style="display: inline-block;">审核结果:</p>
|
||||||
|
<el-radio-group v-model="logCheck">
|
||||||
|
<el-radio label="2">合格</el-radio>
|
||||||
|
<el-radio label="3">不合格</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
</div>
|
||||||
|
<div slot="footer" style="text-align: center;" v-if="userInfo.logStatus==1">
|
||||||
|
<el-button style="width:92px" size="small" type="primary" @click="logCheckFn()">提交</el-button>
|
||||||
|
</div>
|
||||||
</ai-dialog>
|
</ai-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -105,7 +116,8 @@ export default {
|
|||||||
],
|
],
|
||||||
userList: [],
|
userList: [],
|
||||||
showDialog: false,
|
showDialog: false,
|
||||||
userInfo: {}
|
userInfo: {},
|
||||||
|
logCheck: '2'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -114,7 +126,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
this.dict.load('activityStatus', 'partyReportSignupStatus', 'partyReportSignupReportType', 'partyReportPersonSignupStatus', 'partyReportSignupLogStatus').then(() => {
|
this.dict.load('partyReportActionStatus', 'partyReportSignupStatus', 'partyReportSignupReportType', 'partyReportPersonSignupStatus', 'partyReportSignupLogStatus').then(() => {
|
||||||
this.getInfo()
|
this.getInfo()
|
||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
@@ -148,6 +160,7 @@ export default {
|
|||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.userInfo = {...res.data}
|
this.userInfo = {...res.data}
|
||||||
this.userInfo.userName = row.partyName
|
this.userInfo.userName = row.partyName
|
||||||
|
this.userInfo.logStatus = row.logStatus
|
||||||
this.showDialog = true
|
this.showDialog = true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -155,6 +168,18 @@ export default {
|
|||||||
cancel() {
|
cancel() {
|
||||||
this.$emit("goBack")
|
this.$emit("goBack")
|
||||||
},
|
},
|
||||||
|
logCheckFn(){
|
||||||
|
this.instance.post(`/app/apppartyreport/log-check`, {
|
||||||
|
id: this.userInfo.id,
|
||||||
|
logStatus: this.logCheck
|
||||||
|
}).then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.showDialog = false
|
||||||
|
this.getList()
|
||||||
|
this.logCheck = '2'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<ai-search-bar>
|
<ai-search-bar>
|
||||||
<template #left>
|
<template #left>
|
||||||
<el-button size="small" type="primary" icon="iconfont iconAdd" @click="toAdd()">发起活动</el-button>
|
<el-button size="small" type="primary" icon="iconfont iconAdd" @click="toAdd()">发起活动</el-button>
|
||||||
<ai-select v-model="search.actionStatus" placeholder="请选择活动状态" :selectList="dict.getDict('activityStatus')"
|
<ai-select v-model="search.actionStatus" placeholder="请选择活动状态" :selectList="dict.getDict('partyReportActionStatus')"
|
||||||
@change="getListInit"></ai-select>
|
@change="getListInit"></ai-select>
|
||||||
<ai-select v-model="search.signupStatus" placeholder="请选择报名状态" :selectList="dict.getDict('partyReportSignupStatus')"
|
<ai-select v-model="search.signupStatus" placeholder="请选择报名状态" :selectList="dict.getDict('partyReportSignupStatus')"
|
||||||
@change="getListInit"></ai-select>
|
@change="getListInit"></ai-select>
|
||||||
@@ -75,9 +75,9 @@ export default {
|
|||||||
{prop: 'title', label: '活动名称', align: 'center'},
|
{prop: 'title', label: '活动名称', align: 'center'},
|
||||||
{prop: 'areaName', label: '发布地区', align: 'center'},
|
{prop: 'areaName', label: '发布地区', align: 'center'},
|
||||||
{slot: 'activeTime'},
|
{slot: 'activeTime'},
|
||||||
{prop: 'total', label: '报名人数', align: 'center', width: 120},
|
{prop: 'signupCount', label: '报名人数', align: 'center', width: 120},
|
||||||
{prop: 'signupStatus', label: '报名状态', align: 'center', dict: 'partyReportSignupStatus', width: 120},
|
{prop: 'signupStatus', label: '报名状态', align: 'center', dict: 'partyReportSignupStatus', width: 120},
|
||||||
{prop: 'actionStatus', label: '活动状态', align: 'center', dict: 'activityStatus', width: 120},
|
{prop: 'actionStatus', label: '活动状态', align: 'center', dict: 'partyReportActionStatus', width: 120},
|
||||||
{slot: 'option'},
|
{slot: 'option'},
|
||||||
],
|
],
|
||||||
tableData: [],
|
tableData: [],
|
||||||
@@ -88,7 +88,7 @@ export default {
|
|||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.dict.load('activityStatus', 'partyReportSignupStatus').then(() => {
|
this.dict.load('partyReportActionStatus', 'partyReportSignupStatus').then(() => {
|
||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -320,5 +320,10 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::v-deep .organizations_tree .el-tree .is-current>.el-tree-node__content {
|
||||||
|
background-color: #26f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -110,7 +110,7 @@
|
|||||||
size="small"
|
size="small"
|
||||||
placeholder="请输入姓名"
|
placeholder="请输入姓名"
|
||||||
clearable
|
clearable
|
||||||
@change="(search.current = 1), searchList()"
|
@change="(page.current = 1), searchList()"
|
||||||
suffix-icon="iconfont iconSearch"
|
suffix-icon="iconfont iconSearch"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
@@ -502,7 +502,7 @@ export default {
|
|||||||
|
|
||||||
.middle {
|
.middle {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 320px;
|
height: 346px;
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
@@ -653,5 +653,8 @@ export default {
|
|||||||
background-color: none!important;
|
background-color: none!important;
|
||||||
padding: 0!important;
|
padding: 0!important;
|
||||||
}
|
}
|
||||||
|
::v-deep .el-tree .is-current>.el-tree-node__content {
|
||||||
|
min-width: 100%!important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<!-- 网格归属 -->
|
<!-- 网格归属 -->
|
||||||
<el-form-item label="网格归属" prop="girdId" class="girdId">
|
<!-- <el-form-item label="网格归属" prop="girdId" class="girdId">
|
||||||
<el-cascader
|
<el-cascader
|
||||||
v-model="formData.girdId"
|
v-model="formData.girdId"
|
||||||
:options="gridTree"
|
:options="gridTree"
|
||||||
@@ -143,7 +143,7 @@
|
|||||||
clearable
|
clearable
|
||||||
size="small"
|
size="small"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</ai-card>
|
</ai-card>
|
||||||
@@ -389,7 +389,8 @@ export default {
|
|||||||
administratorIdNumber: [
|
administratorIdNumber: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
trigger: "change"
|
trigger: "change",
|
||||||
|
message: "请输入法人身份证",
|
||||||
},
|
},
|
||||||
{ validator: IdCard }
|
{ validator: IdCard }
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -142,7 +142,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<!-- 网格归属 -->
|
<!-- 网格归属 -->
|
||||||
<el-form-item label="网格归属" prop="girdId" >
|
<!-- <el-form-item label="网格归属" prop="girdId" >
|
||||||
<el-cascader
|
<el-cascader
|
||||||
v-model="formData.girdId"
|
v-model="formData.girdId"
|
||||||
:options="gridTree"
|
:options="gridTree"
|
||||||
@@ -150,7 +150,7 @@
|
|||||||
clearable
|
clearable
|
||||||
size="small"
|
size="small"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item> -->
|
||||||
</div>
|
</div>
|
||||||
</ai-card>
|
</ai-card>
|
||||||
<ai-card title="治保负责人信息">
|
<ai-card title="治保负责人信息">
|
||||||
|
|||||||
@@ -219,7 +219,7 @@
|
|||||||
:instance="instance"
|
:instance="instance"
|
||||||
v-model="form.fileList"
|
v-model="form.fileList"
|
||||||
fileType="file"
|
fileType="file"
|
||||||
acceptType=".zip, .rar, .doc, .docx, .xls, .ppt, .pptx, .pdf, .txt, .jpg, .png"
|
acceptType=".zip,.rar,.doc,.docx,.xls,.ppt,.pptx,.pdf,.txt,.jpg,.png,.xlsx"
|
||||||
:limit="9">
|
:limit="9">
|
||||||
<template slot="tips">
|
<template slot="tips">
|
||||||
最多上传9个附件,单个文件最大10MB<br/>
|
最多上传9个附件,单个文件最大10MB<br/>
|
||||||
@@ -593,6 +593,9 @@ export default {
|
|||||||
if(!this.isEdit) {
|
if(!this.isEdit) {
|
||||||
this.form.partyOrgId = this.$route.query.partyOrgId
|
this.form.partyOrgId = this.$route.query.partyOrgId
|
||||||
}
|
}
|
||||||
|
if (this.form.fileList.length > 0) {
|
||||||
|
this.form.files = JSON.stringify(this.form.fileList)
|
||||||
|
}
|
||||||
this.instance.post(`/app/apppartydevelop/addOrUpdate`, {...this.form}).then((res) => {
|
this.instance.post(`/app/apppartydevelop/addOrUpdate`, {...this.form}).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$message.success(this.isEdit ? "编辑成功" : "添加成功");
|
this.$message.success(this.isEdit ? "编辑成功" : "添加成功");
|
||||||
|
|||||||
@@ -21,8 +21,8 @@
|
|||||||
<ai-select v-model="search.sex" placeholder="请选择性别" :selectList="dict.getDict('sex')"
|
<ai-select v-model="search.sex" placeholder="请选择性别" :selectList="dict.getDict('sex')"
|
||||||
@change="search.current = 1, getList()"></ai-select>
|
@change="search.current = 1, getList()"></ai-select>
|
||||||
<ai-search label="年龄">
|
<ai-search label="年龄">
|
||||||
<ai-range v-model="search.age" ref="resetagefoo" @change="search.current = 1, getList()"
|
<ai-range v-model="age" ref="resetagefoo" @change="search.current = 1, getList()"
|
||||||
@closeVal="search.age = []"/>
|
@closeVal="age = []"/>
|
||||||
</ai-search>
|
</ai-search>
|
||||||
<ai-search label="入党时间">
|
<ai-search label="入党时间">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
@@ -120,7 +120,6 @@ export default {
|
|||||||
current: 1,
|
current: 1,
|
||||||
size: 10,
|
size: 10,
|
||||||
con: '',
|
con: '',
|
||||||
age: [],
|
|
||||||
sex: '',
|
sex: '',
|
||||||
joinPartyStart: '',
|
joinPartyStart: '',
|
||||||
joinPartyEnd: ''
|
joinPartyEnd: ''
|
||||||
@@ -138,6 +137,7 @@ export default {
|
|||||||
],
|
],
|
||||||
tableData: [],
|
tableData: [],
|
||||||
ids: '',
|
ids: '',
|
||||||
|
age: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -181,10 +181,15 @@ export default {
|
|||||||
this.loading = true
|
this.loading = true
|
||||||
partyOrgId = partyOrgId || this.selected.id
|
partyOrgId = partyOrgId || this.selected.id
|
||||||
this.instance.post(`/app/apppartydevelop/list`, null, {
|
this.instance.post(`/app/apppartydevelop/list`, null, {
|
||||||
params: {partyOrgId, ...this.search, ageStart: this.search.age[0] || '', ageEnd: this.search.age[1] || '',}
|
params: {partyOrgId, ...this.search, ageStart: this.age[0] || '', ageEnd: this.age[1] || '',}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
|
res.data.records.map((item) => {
|
||||||
|
if(item.applyJoinPartyTime) {
|
||||||
|
item.applyJoinPartyTime = item.applyJoinPartyTime.substring(0, 10)
|
||||||
|
}
|
||||||
|
})
|
||||||
this.tableData = res.data.records
|
this.tableData = res.data.records
|
||||||
this.total = res.data.total
|
this.total = res.data.total
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -406,5 +406,9 @@ export default {
|
|||||||
.pad-l32 {
|
.pad-l32 {
|
||||||
padding-left: 32px;
|
padding-left: 32px;
|
||||||
}
|
}
|
||||||
|
::v-deep .el-tree .is-current>.el-tree-node__content {
|
||||||
|
background-color: #26f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user