Browse Source

人民建议征集

chengyang
是小王呀\24601 8 months ago
parent
commit
3dfe50c4e6
  1. 25
      src/views/modules/peopleOpinons/cpts/eventDetail.vue
  2. 43
      src/views/modules/solicitationSpecial/index.vue

25
src/views/modules/peopleOpinons/cpts/eventDetail.vue

@ -118,7 +118,7 @@
{ 'm-info-prop-vis': source === 'visiual' },
]" >
<span class="u-info-title-2">建议人身份</span>
<span>{{ info.age }}</span>
<span>{{ info.identityTypeCodeList }}</span>
</div>
<!-- <div :class="[
'm-info-prop',
@ -208,6 +208,7 @@ import foldText from "@/views/components/foldText";
function iniData() {
return {
ideaIdentityList:[],
user: {},
projectPageType: "info",
info: {},
@ -272,11 +273,21 @@ export default {
}
},
mounted() {
this.getIdeaIdentityType()
this.user = this.$store.state.user;
if (this.eventId) {
this.info = JSON.parse(JSON.stringify(this.eventDetailData));
this.agencyId = this.info.agencyId
}
console.log(this.info,"asdhasklflasfkl");
this.info.identityTypeCodeList.map(item=>{
console.log(item,"item1");
this.ideaIdentityList.map(item1=>{
// console.log(it);
})
})
this.$EventBus.$on('handelInputEventContent', ({ type, value }) => {
if (type === 'opinion') {
this.info.transferAdvice = value;
@ -288,6 +299,18 @@ export default {
},
methods: {
async getIdeaIdentityType() {
const url = "/sys/dict/data/dictlist";
const params = {
dictType: "ideaIdentityType",
};
const { data, code, msg } = await requestPost(url, params);
if (code === 0) {
this.ideaIdentityList = data || [];
} else {
this.$message.error(msg);
}
},
onClickDown(data){
data.forEach((item) => {
console.log(item,"奥特玛");

43
src/views/modules/solicitationSpecial/index.vue

@ -98,7 +98,7 @@
</el-table-column>
<el-table-column fixed="right" label="操作" align="center" width="280">
<template slot-scope="scope">
<el-button @click="handleDispose(scope.row)" type="text" size="small" class="">编辑</el-button>
<el-button @click="handleDispose(scope.row)" type="text" size="small" class="">查看</el-button>
<el-button v-if="scope.row.status == '1'" @click="handleOpenClose(scope.row)" type="text" size="small">关闭征集</el-button>
<el-button v-if="scope.row.status == '0'" @click="handleOpenClose(scope.row)" type="text" size="small">开启征集</el-button>
<el-button @click="handleDel(scope.row)"
@ -166,46 +166,7 @@ export default {
orgOptionProps,
showType:"zhuanti",
tableData: [
{
gridName: '人力资源部',
sourceTypeName: '法律征集',
categoryName: '公司法务专题',
responsibleName: '张三',
responsibleMobile: '13800000001',
status: '已发布',
happenTime: '2024-12-31',
createTime: '2024-11-01'
},
{
gridName: '市场部',
sourceTypeName: '科技创新',
categoryName: 'AI技术创新',
responsibleName: '李四',
responsibleMobile: '13800000002',
status: '未发布',
happenTime: '2025-03-15',
createTime: '2024-09-20'
},
{
gridName: '财务部',
sourceTypeName: '财务管理',
categoryName: '年度财务报告',
responsibleName: '王五',
responsibleMobile: '13800000003',
status: '已发布',
happenTime: '2025-01-10',
createTime: '2024-10-10'
},
{
gridName: '研发部',
sourceTypeName: '技术研发',
categoryName: '2024技术规划',
responsibleName: '赵六',
responsibleMobile: '13800000004',
status: '已关闭',
happenTime: '2024-12-25',
createTime: '2024-08-15'
}
],
formTitle:"",
user: {},

Loading…
Cancel
Save