|
|
@ -1,15 +1,15 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="app-container" id="app-container">
|
|
|
|
<div class="app-container" id="app-container">
|
|
|
|
<el-form id="I-form" :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch">
|
|
|
|
<el-form id="I-form" :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch">
|
|
|
|
<el-form-item label="模版名称" prop="templateName">
|
|
|
|
<el-form-item label="申报任务标题" prop="enterpriseDirectory">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="queryParams.templateName"
|
|
|
|
v-model="queryParams.enterpriseDirectory"
|
|
|
|
placeholder="请输入模版名称"
|
|
|
|
placeholder="请输入模版名称"
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="申报类型" prop="type">
|
|
|
|
<!-- <el-form-item label="申报类型" prop="type">
|
|
|
|
<el-select v-model="queryParams.type" placeholder="请选择申报类型" clearable>
|
|
|
|
<el-select v-model="queryParams.type" placeholder="请选择申报类型" clearable>
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
|
v-for="dict in dict.type.bms_declaration_type"
|
|
|
|
v-for="dict in dict.type.bms_declaration_type"
|
|
|
@ -18,7 +18,7 @@
|
|
|
|
:value="dict.value"
|
|
|
|
:value="dict.value"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item> -->
|
|
|
|
<el-form-item label="责任单位" prop="responsibilityUnit">
|
|
|
|
<el-form-item label="责任单位" prop="responsibilityUnit">
|
|
|
|
<el-select v-model="queryParams.responsibilityUnit" placeholder="请选择责任单位" clearable>
|
|
|
|
<el-select v-model="queryParams.responsibilityUnit" placeholder="请选择责任单位" clearable>
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
@ -57,7 +57,7 @@
|
|
|
|
>补录</el-button>
|
|
|
|
>补录</el-button>
|
|
|
|
</el-col> -->
|
|
|
|
</el-col> -->
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-button
|
|
|
|
<!-- <el-button
|
|
|
|
type="info"
|
|
|
|
type="info"
|
|
|
|
plain
|
|
|
|
plain
|
|
|
|
|
|
|
|
|
|
|
@ -66,7 +66,7 @@
|
|
|
|
v-if="userType == '02'"
|
|
|
|
v-if="userType == '02'"
|
|
|
|
:disabled="deptId != '104' || cityList.length == 0"
|
|
|
|
:disabled="deptId != '104' || cityList.length == 0"
|
|
|
|
class="btn"
|
|
|
|
class="btn"
|
|
|
|
>市级评定结果确认</el-button>
|
|
|
|
>市级评定结果确认</el-button> -->
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
@ -149,6 +149,15 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<!-- :header-cell-style="{
|
|
|
|
<!-- :header-cell-style="{
|
|
|
|
background:'#cfcccc',color:'#000000'}" -->
|
|
|
|
background:'#cfcccc',color:'#000000'}" -->
|
|
|
|
|
|
|
|
<el-row id="I-rowTwo" class="radio_btn" v-if="userType == '01'">
|
|
|
|
|
|
|
|
<el-col>
|
|
|
|
|
|
|
|
<el-radio-group v-model="radioEnter" @change="toggleOptionsEnter">
|
|
|
|
|
|
|
|
<el-radio-button label="">全部</el-radio-button>
|
|
|
|
|
|
|
|
<el-radio-button label="1,8">未填报</el-radio-button>
|
|
|
|
|
|
|
|
<el-radio-button label="2,7">已填报</el-radio-button>
|
|
|
|
|
|
|
|
</el-radio-group>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
<el-table
|
|
|
|
<el-table
|
|
|
|
v-if="refreshTable"
|
|
|
|
v-if="refreshTable"
|
|
|
|
v-loading="loading"
|
|
|
|
v-loading="loading"
|
|
|
@ -164,69 +173,81 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<!-- <el-table-column prop="projectName" label="项目名称" :show-overflow-tooltip="true" min-width="160"></el-table-column> -->
|
|
|
|
<!-- <el-table-column prop="projectName" label="项目名称" :show-overflow-tooltip="true" min-width="160"></el-table-column> -->
|
|
|
|
<el-table-column prop="projectName" label="申报任务标题" :show-overflow-tooltip="true" min-width="160"></el-table-column>
|
|
|
|
<el-table-column prop="enterpriseDirectory" label="申报任务标题" :show-overflow-tooltip="true" min-width="160"></el-table-column>
|
|
|
|
<el-table-column prop="enterpriseName" label="申报单位" :show-overflow-tooltip="true" min-width="180"></el-table-column>
|
|
|
|
<el-table-column prop="enterpriseName" label="申报单位" :show-overflow-tooltip="true" min-width="120"></el-table-column>
|
|
|
|
<el-table-column label="级别" width="60">
|
|
|
|
<!-- width="60" -->
|
|
|
|
|
|
|
|
<el-table-column label="级别">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<dict-tag :options="dict.type.bms_level" :value="scope.row.level"/>
|
|
|
|
<dict-tag :options="dict.type.bms_level" :value="scope.row.level"/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="year" label="年份" :show-overflow-tooltip="true" min-width="80"></el-table-column>
|
|
|
|
<!-- min-width="80" -->
|
|
|
|
<el-table-column prop="component" label="申报类型" min-width="110">
|
|
|
|
<el-table-column prop="year" label="年份" :show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
|
|
|
<!-- <el-table-column prop="component" label="申报类型" min-width="110">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<dict-tag :options="dict.type.bms_declaration_type" :value="scope.row.type"/>
|
|
|
|
<dict-tag :options="dict.type.bms_declaration_type" :value="scope.row.type"/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column> -->
|
|
|
|
<el-table-column label="责任单位" width="80">
|
|
|
|
<!-- width="80" -->
|
|
|
|
|
|
|
|
<el-table-column label="责任单位">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<dict-tag :options="dict.type.bms_responsibility_unit" :value="scope.row.responsibilityUnit"/>
|
|
|
|
<dict-tag :options="dict.type.bms_responsibility_unit" :value="scope.row.responsibilityUnit"/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="申报表单" :show-overflow-tooltip="true" min-width="130">
|
|
|
|
<!-- <el-table-column label="申报表单" :show-overflow-tooltip="true" min-width="130">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
{{ scope.row.projectName.slice(0, scope.row.projectName.length - 2) }}
|
|
|
|
{{ scope.row.projectName.slice(0, scope.row.projectName.length - 2) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column> -->
|
|
|
|
<el-table-column label="申报途径" min-width="80">
|
|
|
|
<!-- <el-table-column label="申报途径" min-width="80">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<dict-tag :options="dict.type.bms_declaration_channels" :value="scope.row.road"/>
|
|
|
|
<dict-tag :options="dict.type.bms_declaration_channels" :value="scope.row.road"/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column> -->
|
|
|
|
<el-table-column prop="status" label="审批状态" min-width="110">
|
|
|
|
<!-- min-width="80" -->
|
|
|
|
|
|
|
|
<el-table-column prop="status" label="审批状态">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span v-if="scope.row.status == 5" class="approval_status5">评审通过</span>
|
|
|
|
<span v-if="scope.row.status == 5" class="approval_status5">评审通过</span>
|
|
|
|
<span v-if="scope.row.status == 4" class="approval_status3">市级评定中</span>
|
|
|
|
<span v-if="scope.row.status == 4" class="approval_status3">市级评定中</span>
|
|
|
|
<span v-if="scope.row.status == 3" class="approval_status3">上级评审中</span>
|
|
|
|
<span v-if="scope.row.status == 3" class="approval_status3">上级评审中</span>
|
|
|
|
<span v-if="scope.row.status == 2" class="approval_status1">复审中</span>
|
|
|
|
<span v-if="scope.row.status == 2" class="approval_status1">复审中</span>
|
|
|
|
<span v-if="scope.row.status == 1" class="approval_status1">初审中</span>
|
|
|
|
<span v-if="scope.row.status == 1" class="approval_status1">初审中</span>
|
|
|
|
<span v-if="scope.row.status == 0" class="approval_status0">草稿</span>
|
|
|
|
<span v-if="scope.row.status == 0" class="approval_status0">待填报</span>
|
|
|
|
<span v-if="scope.row.status == 8" class="approval_status8">初审-拒绝</span>
|
|
|
|
<span v-if="scope.row.status == 8" class="approval_status8">初审-拒绝</span>
|
|
|
|
<span v-if="scope.row.status == 7" class="approval_status9">复审-拒绝</span>
|
|
|
|
<span v-if="scope.row.status == 7" class="approval_status9">复审-拒绝</span>
|
|
|
|
<!-- <span v-if="scope.row.status == 6" class="approval_status9">专家评审-拒绝</span> -->
|
|
|
|
<!-- <span v-if="scope.row.status == 6" class="approval_status9">专家评审-拒绝</span> -->
|
|
|
|
<span v-if="scope.row.status == 9" class="approval_status9">评定不通过</span>
|
|
|
|
<span v-if="scope.row.status == 9" class="approval_status9">评定不通过</span>
|
|
|
|
|
|
|
|
<span v-if="scope.row.status == 10" class="approval_status9">退回修改</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="申报时间" align="center" prop="createTime" min-width="120">
|
|
|
|
<!-- min-width="120" -->
|
|
|
|
|
|
|
|
<el-table-column label="申报时间" align="center" prop="createTime">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="updateTime" label="更新时间" min-width="120">
|
|
|
|
<!-- <el-table-column prop="updateTime" label="更新时间" min-width="120">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column> -->
|
|
|
|
<el-table-column label="操作" align="center" width="200" fixed="right">
|
|
|
|
<el-table-column label="操作" align="center" width="200" fixed="right">
|
|
|
|
<!-- 0: 草稿 8:初审拒绝 7:复审拒绝 6:专家评审拒绝 9:评定不通过 -->
|
|
|
|
<!-- 0: 待填报 8:初审拒绝 7:复审拒绝 6:专家评审拒绝 9:评定不通过 -->
|
|
|
|
<!-- v-if="userType == '01' && (scope.row.status == 0 || scope.row.status == 8||scope.row.status == 7||scope.row.status == 6||scope.row.status == 9)" -->
|
|
|
|
<!-- v-if="userType == '01' && (scope.row.status == 0 || scope.row.status == 8||scope.row.status == 7||scope.row.status == 6||scope.row.status == 9)" -->
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
|
|
@click="handleAdd(scope.row)"
|
|
|
|
|
|
|
|
v-if="userType == '01' && scope.row.status == 0"
|
|
|
|
|
|
|
|
>开始填报</el-button>
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
@click="handleEdit(scope.row)"
|
|
|
|
@click="handleEdit(scope.row)"
|
|
|
|
v-if="userType == '01' && (scope.row.status == 0 || scope.row.status == 8)"
|
|
|
|
v-if="userType == '01' && scope.row.status == 10"
|
|
|
|
>编辑</el-button>
|
|
|
|
>编辑</el-button>
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
@ -238,6 +259,7 @@
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
@click="handleDetail(scope.row)"
|
|
|
|
@click="handleDetail(scope.row)"
|
|
|
|
|
|
|
|
v-if="scope.row.status !== 0"
|
|
|
|
>查看详情</el-button>
|
|
|
|
>查看详情</el-button>
|
|
|
|
<!-- <el-button
|
|
|
|
<!-- <el-button
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
@ -366,9 +388,9 @@ export default {
|
|
|
|
total: 5,
|
|
|
|
total: 5,
|
|
|
|
// 查询参数
|
|
|
|
// 查询参数
|
|
|
|
queryParams: {
|
|
|
|
queryParams: {
|
|
|
|
templateName: undefined,
|
|
|
|
enterpriseDirectory: undefined,
|
|
|
|
responsibilityUnit: undefined,
|
|
|
|
responsibilityUnit: undefined,
|
|
|
|
type: undefined,
|
|
|
|
// type: undefined,
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
pageSize: 10,
|
|
|
|
pageSize: 10,
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -396,7 +418,10 @@ export default {
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
tabHeader: undefined,
|
|
|
|
tabHeader: undefined,
|
|
|
|
|
|
|
|
// 政务端筛选
|
|
|
|
radio:'',
|
|
|
|
radio:'',
|
|
|
|
|
|
|
|
// 企业端筛选
|
|
|
|
|
|
|
|
radioEnter:''
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
components:{
|
|
|
|
components:{
|
|
|
@ -428,9 +453,9 @@ export default {
|
|
|
|
if(this.userType == '02') {
|
|
|
|
if(this.userType == '02') {
|
|
|
|
const headerThree = document.getElementById('I-rowTwo'); // 通过元素的 ID 获取元素
|
|
|
|
const headerThree = document.getElementById('I-rowTwo'); // 通过元素的 ID 获取元素
|
|
|
|
const headerTHeight = headerThree.offsetHeight;
|
|
|
|
const headerTHeight = headerThree.offsetHeight;
|
|
|
|
this.tabHeader = elementHeight - headerHeight - headerOHeight - headerTHeight - paginationtHeight - 100;
|
|
|
|
this.tabHeader = elementHeight - headerHeight - headerOHeight - headerTHeight - paginationtHeight - 120;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.tabHeader = elementHeight - headerHeight - headerOHeight - paginationtHeight - 100;
|
|
|
|
this.tabHeader = elementHeight - headerHeight - headerOHeight - paginationtHeight - 120;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -447,13 +472,13 @@ export default {
|
|
|
|
this.queryParams.enterpriseId = this.$store.state.user.enterpriseId
|
|
|
|
this.queryParams.enterpriseId = this.$store.state.user.enterpriseId
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/** 获取市级需评定数量 */
|
|
|
|
/** 获取市级需评定数量 */
|
|
|
|
listRecords({
|
|
|
|
// listRecords({
|
|
|
|
pageNum: 1,
|
|
|
|
// pageNum: 1,
|
|
|
|
pageSize: 10,
|
|
|
|
// pageSize: 10,
|
|
|
|
['statusStr[0]']:4,
|
|
|
|
// ['statusStr[0]']:4,
|
|
|
|
}).then(response => {
|
|
|
|
// }).then(response => {
|
|
|
|
this.cityList = response.rows;
|
|
|
|
// this.cityList = response.rows;
|
|
|
|
});
|
|
|
|
// });
|
|
|
|
listRecords(this.queryParams).then(response => {
|
|
|
|
listRecords(this.queryParams).then(response => {
|
|
|
|
this.menuList = response.rows;
|
|
|
|
this.menuList = response.rows;
|
|
|
|
this.total = response.total
|
|
|
|
this.total = response.total
|
|
|
@ -531,11 +556,25 @@ export default {
|
|
|
|
// this.queryParams['statusStr[1]'] = value2
|
|
|
|
// this.queryParams['statusStr[1]'] = value2
|
|
|
|
this.queryParams['statusStr[1]'] = arr[1]
|
|
|
|
this.queryParams['statusStr[1]'] = arr[1]
|
|
|
|
this.handleQuery();
|
|
|
|
this.handleQuery();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 政务端切换是否填报
|
|
|
|
|
|
|
|
toggleOptionsEnter(val){
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 新增按钮操作 */
|
|
|
|
/** 新增按钮操作 */
|
|
|
|
|
|
|
|
// handleAdd(row) {
|
|
|
|
|
|
|
|
// this.reset();
|
|
|
|
|
|
|
|
// this.open = true;
|
|
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
/** 开始填报按钮操作 */
|
|
|
|
handleAdd(row){
|
|
|
|
handleAdd(row){
|
|
|
|
this.reset();
|
|
|
|
console.log(row);
|
|
|
|
this.open = true;
|
|
|
|
this.$router.push({name: 'declareAddContent',query: {
|
|
|
|
|
|
|
|
templateId: row.templateId,
|
|
|
|
|
|
|
|
templateRecordId: row.templateRecordId,
|
|
|
|
|
|
|
|
declarationId: row.id,
|
|
|
|
|
|
|
|
pageType: "add",
|
|
|
|
|
|
|
|
}})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 查看审核详情操作 */
|
|
|
|
/** 查看审核详情操作 */
|
|
|
|
handleDetail(row){
|
|
|
|
handleDetail(row){
|
|
|
@ -823,7 +862,7 @@ export default {
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.approval_status0 {
|
|
|
|
.approval_status0 {
|
|
|
|
color: #cdcccc;
|
|
|
|
color: #5EFCE8;
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -833,7 +872,7 @@ export default {
|
|
|
|
width: 7px;
|
|
|
|
width: 7px;
|
|
|
|
height: 7px;
|
|
|
|
height: 7px;
|
|
|
|
border-radius: 50%;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: #cdcccc;
|
|
|
|
background-color: #5EFCE8;
|
|
|
|
left: 5px;
|
|
|
|
left: 5px;
|
|
|
|
top: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|