commit
This commit is contained in:
@@ -211,6 +211,7 @@ export default {
|
|||||||
thenFun.call(this, res.data)
|
thenFun.call(this, res.data)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
console.log(res.data)
|
||||||
// 返回data数组
|
// 返回data数组
|
||||||
thenFun.call(this, res.data)
|
thenFun.call(this, res.data)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
<div class="solicitopinions">
|
<div class="solicitopinions">
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="item in domesticDynamics" :key="item.id" class="time-title">
|
<li v-for="item in domesticDynamics" :key="item.id" class="time-title">
|
||||||
<a class="title" :title="item.title">{{ item.title }}</a>
|
<a class="title" :title="item.title" @click="standForComments(item)">{{ item.cname }}</a>
|
||||||
<span class="time">{{ getDate(item.pubTime) }}</span>
|
<span class="time">{{item.endTime}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@@ -34,16 +34,23 @@ export default {
|
|||||||
},
|
},
|
||||||
//获取数据
|
//获取数据
|
||||||
getAdvice() {
|
getAdvice() {
|
||||||
let obj = {}
|
this.$http.get('slrs/sar-public-idea/SelectAllPage', {}, {
|
||||||
obj.msgType = 'RESOURCE'
|
_this: this
|
||||||
obj.rowLimit = 8
|
}, res => {
|
||||||
this.$http.get('lawss/msgDynamicInfo/page', obj, {
|
console.log('41',res)
|
||||||
_this: this
|
this.domesticDynamics = res.data.records
|
||||||
}, res => {
|
}, e => {
|
||||||
this.domesticDynamics = res.data.list
|
|
||||||
}, e => {
|
} )
|
||||||
})
|
},
|
||||||
}
|
standForComments (item) {
|
||||||
|
this.$router.push({
|
||||||
|
name:'standardForComments',
|
||||||
|
params: {
|
||||||
|
id: item.id
|
||||||
|
}
|
||||||
|
},)
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
<!-- 实施预警 -->
|
<!-- 实施预警 -->
|
||||||
<div class="dynamic" style="overflow-y: auto;">
|
<div class="dynamic" style="overflow-y: auto;">
|
||||||
<div class="container" :style="containerStyle">
|
<div class="container" :style="containerStyle">
|
||||||
<el-tabs v-model="activeName" @tab-click="handleClick">
|
<!-- <el-tabs v-model="activeName" @tab-click="handleClick">-->
|
||||||
<el-tab-pane label="标准预警" name="STANDARD">
|
<!-- <el-tab-pane label="标准预警" name="STANDARD">-->
|
||||||
<div class="dynamic-content">
|
<div class="dynamic-content">
|
||||||
<h5>实施预警</h5>
|
<h5>实施预警</h5>
|
||||||
<div class="more">
|
<div class="more">
|
||||||
@@ -293,105 +293,105 @@
|
|||||||
@pageSizeChange="pageSize => handlePageSizeChange('oldStand', pageSize)"></pagination>
|
@pageSizeChange="pageSize => handlePageSizeChange('oldStand', pageSize)"></pagination>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
<!-- </el-tab-pane>-->
|
||||||
<el-tab-pane label="政策预警" name="POLICY">
|
<!-- <el-tab-pane label="政策预警" name="POLICY">-->
|
||||||
<div class="dynamic-content">
|
<!-- <div class="dynamic-content">-->
|
||||||
<h5>实施预警</h5>
|
<!-- <h5>实施预警</h5>-->
|
||||||
<div class="content" style="height: 100%; padding-top: 5px; ">
|
<!-- <div class="content" style="height: 100%; padding-top: 5px; ">-->
|
||||||
<div class="content-group">
|
<!-- <div class="content-group">-->
|
||||||
<el-divider content-position="left" class="dynamic-child-title">新车型实施日期预警</el-divider>
|
<!-- <el-divider content-position="left" class="dynamic-child-title">新车型实施日期预警</el-divider>-->
|
||||||
<div class="table-wrap">
|
<!-- <div class="table-wrap">-->
|
||||||
<el-table
|
<!-- <el-table-->
|
||||||
:data="newPolicy"
|
<!-- :data="newPolicy"-->
|
||||||
:height="tableHeight"
|
<!-- :height="tableHeight"-->
|
||||||
border
|
<!-- border-->
|
||||||
:resizable="false"
|
<!-- :resizable="false"-->
|
||||||
v-loading="loading.newPolicy"
|
<!-- v-loading="loading.newPolicy"-->
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
<!-- :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"-->
|
||||||
>
|
<!-- >-->
|
||||||
<el-table-column prop="policyId" label="政策编号" align="center">
|
<!-- <el-table-column prop="policyId" label="政策编号" align="center">-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<a @click="showStandDetails(scope.row)">{{ scope.row.policyId }}</a>
|
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.policyId }}</a>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column prop="policyName" label="政策名称" align="center">
|
<!-- <el-table-column prop="policyName" label="政策名称" align="center">-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<a @click="showStandDetails(scope.row)">{{ scope.row.policyName }}</a>
|
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.policyName }}</a>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column prop="putTime" label="新车型实施日期" align="center" sortable>
|
<!-- <el-table-column prop="putTime" label="新车型实施日期" align="center" sortable>-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
{{ (scope.row.putTime ? scope.row.putTime.substring(0, 11) : "") }}
|
<!-- {{ (scope.row.putTime ? scope.row.putTime.substring(0, 11) : "") }}-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column label="操作" align="center" width="150" v-if="isShowBtn">
|
<!-- <el-table-column label="操作" align="center" width="150" v-if="isShowBtn">-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="mini"
|
<!-- size="mini"-->
|
||||||
type="danger"
|
<!-- type="danger"-->
|
||||||
@click="cancelWarning(scope.$index, scope.row)">取消预警</el-button>
|
<!-- @click="cancelWarning(scope.$index, scope.row)">取消预警</el-button>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
</el-table>
|
<!-- </el-table>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<pagination
|
<!-- <pagination-->
|
||||||
style="position: static;"
|
<!-- style="position: static;"-->
|
||||||
:page="pageConfig.newPolicyPage"
|
<!-- :page="pageConfig.newPolicyPage"-->
|
||||||
:pageSize="pageConfig.newPolicyPageSize"
|
<!-- :pageSize="pageConfig.newPolicyPageSize"-->
|
||||||
:total="pageConfig.count5"
|
<!-- :total="pageConfig.count5"-->
|
||||||
autoSize
|
<!-- autoSize-->
|
||||||
@pageChange="page => handlePageChange('newPolicy', page)"
|
<!-- @pageChange="page => handlePageChange('newPolicy', page)"-->
|
||||||
@pageSizeChange="pageSize => handlePageSizeChange('newPolicy', pageSize)"></pagination>
|
<!-- @pageSizeChange="pageSize => handlePageSizeChange('newPolicy', pageSize)"></pagination>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="content-group">
|
<!-- <div class="content-group">-->
|
||||||
<el-divider content-position="left" class="dynamic-child-title">在产车实施日期预警</el-divider>
|
<!-- <el-divider content-position="left" class="dynamic-child-title">在产车实施日期预警</el-divider>-->
|
||||||
<div class="table-wrap">
|
<!-- <div class="table-wrap">-->
|
||||||
<el-table
|
<!-- <el-table-->
|
||||||
:data="oldPolicy"
|
<!-- :data="oldPolicy"-->
|
||||||
:height="tableHeight"
|
<!-- :height="tableHeight"-->
|
||||||
border
|
<!-- border-->
|
||||||
:resizable="false"
|
<!-- :resizable="false"-->
|
||||||
v-loading="loading.oldPolicy"
|
<!-- v-loading="loading.oldPolicy"-->
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
<!-- :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"-->
|
||||||
>
|
<!-- >-->
|
||||||
<el-table-column prop="policyId" label="政策编号" align="center">
|
<!-- <el-table-column prop="policyId" label="政策编号" align="center">-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<a @click="showStandDetails(scope.row)">{{ scope.row.policyId }}</a>
|
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.policyId }}</a>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column prop="policyName" label="政策名称" align="center">
|
<!-- <el-table-column prop="policyName" label="政策名称" align="center">-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<a @click="showStandDetails(scope.row)">{{ scope.row.policyName }}</a>
|
<!-- <a @click="showStandDetails(scope.row)">{{ scope.row.policyName }}</a>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column prop="putTime" label="在产车实施日期" align="center" sortable>
|
<!-- <el-table-column prop="putTime" label="在产车实施日期" align="center" sortable>-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
{{ (scope.row.putTime ? scope.row.putTime.substring(0, 11) : "") }}
|
<!-- {{ (scope.row.putTime ? scope.row.putTime.substring(0, 11) : "") }}-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column label="操作" align="center" width="150" v-if="isShowBtn">
|
<!-- <el-table-column label="操作" align="center" width="150" v-if="isShowBtn">-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="mini"
|
<!-- size="mini"-->
|
||||||
type="danger"
|
<!-- type="danger"-->
|
||||||
@click="cancelWarning(scope.$index, scope.row)">取消预警</el-button>
|
<!-- @click="cancelWarning(scope.$index, scope.row)">取消预警</el-button>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
</el-table>
|
<!-- </el-table>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<pagination
|
<!-- <pagination-->
|
||||||
style="position: static;"
|
<!-- style="position: static;"-->
|
||||||
:page="pageConfig.oldPolicyPage"
|
<!-- :page="pageConfig.oldPolicyPage"-->
|
||||||
:pangSize="pageConfig.oldPolicyPageSize"
|
<!-- :pangSize="pageConfig.oldPolicyPageSize"-->
|
||||||
:total="pageConfig.count6"
|
<!-- :total="pageConfig.count6"-->
|
||||||
autoSize
|
<!-- autoSize-->
|
||||||
@pageChange="page => handlePageChange('oldPolicy', page)"
|
<!-- @pageChange="page => handlePageChange('oldPolicy', page)"-->
|
||||||
@pageSizeChange="pageSize => handlePageSizeChange('oldPolicy', pageSize)"></pagination>
|
<!-- @pageSizeChange="pageSize => handlePageSizeChange('oldPolicy', pageSize)"></pagination>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</el-tab-pane>
|
<!-- </el-tab-pane>-->
|
||||||
</el-tabs>
|
<!-- </el-tabs>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -468,6 +468,7 @@ export default {
|
|||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
},res => {
|
},res => {
|
||||||
|
console.log(res.data);
|
||||||
const result = res.data[0]
|
const result = res.data[0]
|
||||||
for (const field in result) {
|
for (const field in result) {
|
||||||
this[field] = result[field].records
|
this[field] = result[field].records
|
||||||
@@ -565,16 +566,17 @@ export default {
|
|||||||
type: 'warning',
|
type: 'warning',
|
||||||
roundButton: false
|
roundButton: false
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
console.log(569)
|
||||||
this.$http.get('sys/EarlyWarning/ChangePermissions', {
|
this.$http.get('sys/EarlyWarning/ChangePermissions', {
|
||||||
id: row.id,
|
id: row.id,
|
||||||
}, res => {
|
}, {}, res => {
|
||||||
this.pageConfig.newItemsPage = 1
|
this.pageConfig.newItemsPage = 1
|
||||||
this.pageConfig.oldItemsPage = 1
|
this.pageConfig.oldItemsPage = 1
|
||||||
this.pageConfig.newStandPage = 1
|
this.pageConfig.newStandPage = 1
|
||||||
this.pageConfig.oldStandPage = 1
|
this.pageConfig.oldStandPage = 1
|
||||||
this.pageConfig.newPolicyPage = 1
|
this.pageConfig.newPolicyPage = 1
|
||||||
this.pageConfig.oldPolicyPage = 1
|
this.pageConfig.oldPolicyPage = 1
|
||||||
this.activeName === 'STANDARD' ? this.getEarlyDate() : this.getPolicyDate()
|
this.getEarlyDate()
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
@@ -636,28 +638,6 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// queryProductionVehicleByPage() {
|
|
||||||
// this.$http.get("sys/EarlyWarning/StandWarning", {
|
|
||||||
// sarPutType: "ZCCSSRQ",
|
|
||||||
// pageSize: 5
|
|
||||||
// }, {
|
|
||||||
// _this: this
|
|
||||||
// }, res => {
|
|
||||||
// this.productionVehicleDatas = res.data.list;
|
|
||||||
// }, e => {
|
|
||||||
// });
|
|
||||||
// },
|
|
||||||
// queryNewTypeByPage() {
|
|
||||||
// this.$http.get("sys/EarlyWarning/StandWarning", {
|
|
||||||
// sarPutType: "XCXSSRQ",
|
|
||||||
// pageSize: 5
|
|
||||||
// }, {
|
|
||||||
// _this: this
|
|
||||||
// }, res => {
|
|
||||||
// // this.newTypeDatas = res.data.list;
|
|
||||||
// }, e => {
|
|
||||||
// });
|
|
||||||
// },
|
|
||||||
/**
|
/**
|
||||||
* @description: 日期转换
|
* @description: 日期转换
|
||||||
* @author: chenxiaoxi
|
* @author: chenxiaoxi
|
||||||
|
|||||||
@@ -79,8 +79,8 @@
|
|||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
border
|
border
|
||||||
:height="tableHeight"
|
:height="tableHeight"
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '15px',
|
||||||
fontWeight: 'bold', height: '48px'}"
|
fontWeight: 'normal', height: '48px'}"
|
||||||
@selection-change="handleSelectionChange">
|
@selection-change="handleSelectionChange">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
@@ -90,15 +90,19 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="flatform"
|
prop="flatform"
|
||||||
|
align="center"
|
||||||
label="产品平台">
|
label="产品平台">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productNo"
|
prop="productNo"
|
||||||
|
align="center"
|
||||||
|
width="90"
|
||||||
label="项目编号">
|
label="项目编号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="productName"
|
prop="productName"
|
||||||
|
align="center"
|
||||||
label="项目名称">
|
label="项目名称">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.productName }}</a>
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.productName }}</a>
|
||||||
@@ -108,16 +112,16 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="productTypeShow"
|
prop="productTypeShow"
|
||||||
label="项目分类"
|
label="项目分类"
|
||||||
|
align="center"
|
||||||
min-width="120"
|
min-width="120"
|
||||||
sortable
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="productBrandShow"
|
prop="productBrandShow"
|
||||||
label="项目状态"
|
label="项目状态"
|
||||||
|
align="center"
|
||||||
min-width="120"
|
min-width="120"
|
||||||
sortable
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -125,14 +129,15 @@
|
|||||||
prop="productBrandShow"
|
prop="productBrandShow"
|
||||||
label="项目群"
|
label="项目群"
|
||||||
min-width="120"
|
min-width="120"
|
||||||
sortable
|
align="center"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="sopTime"
|
prop="sopTime"
|
||||||
label="项目计划开始日期"
|
label="项目计划开始日期"
|
||||||
min-width="120"
|
min-width="120"
|
||||||
sortable
|
width="160"
|
||||||
|
align="center"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">{{(scope.row.sopTime ? scope.row.sopTime.substring(0, 11): '')}}</template>
|
<template slot-scope="scope">{{(scope.row.sopTime ? scope.row.sopTime.substring(0, 11): '')}}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -140,23 +145,27 @@
|
|||||||
prop="sopTime"
|
prop="sopTime"
|
||||||
label="项目计划完成日期"
|
label="项目计划完成日期"
|
||||||
min-width="120"
|
min-width="120"
|
||||||
sortable
|
width="160"
|
||||||
|
align="center"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">{{(scope.row.sopTime ? scope.row.sopTime.substring(0, 11): '')}}</template>
|
<template slot-scope="scope">{{(scope.row.sopTime ? scope.row.sopTime.substring(0, 11): '')}}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="targetMarketShow"
|
prop="targetMarketShow"
|
||||||
|
align="center"
|
||||||
label="当前节点">
|
label="当前节点">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="leftRight"
|
prop="leftRight"
|
||||||
|
align="center"
|
||||||
label="项目级别">
|
label="项目级别">
|
||||||
<template slot-scope="scope" v-if="scope.row.leftRight">{{(scope.row.leftRight === '1' ? '左驾': '右驾')}}</template>
|
<template slot-scope="scope" v-if="scope.row.leftRight">{{(scope.row.leftRight === '1' ? '左驾': '右驾')}}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="productManagerShow"
|
prop="productManagerShow"
|
||||||
|
align="center"
|
||||||
label="项目经理">
|
label="项目经理">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="" fixed="right" width="50" :resizable="false">
|
<el-table-column label="" fixed="right" width="50" :resizable="false">
|
||||||
|
|||||||
@@ -65,12 +65,12 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="createTime"
|
prop="endTime"
|
||||||
label="征求意见周期"
|
label="征求意见周期"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="createTime"
|
prop="startTime"
|
||||||
label="上传时间"
|
label="上传时间"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
Reference in New Issue
Block a user