-
@@ -20,7 +20,9 @@
import { getToken } from "@/utils/auth";
import { show, save, store } from "@/api/propertyPlan";
export default {
- props: {},
+ props: {
+ role: Number
+ },
data() {
return {
fileList: [],
diff --git a/src/views/finance/financialEvaluation.vue b/src/views/finance/financialEvaluation.vue
index d7c7373..43c273f 100644
--- a/src/views/finance/financialEvaluation.vue
+++ b/src/views/finance/financialEvaluation.vue
@@ -49,6 +49,12 @@
+
+
+
+
+
+
@@ -67,7 +73,7 @@
-
+
@@ -115,11 +121,17 @@ export default {
prop: "plan_date",
label: "计划评审时间",
width: 170,
+ formatter: (cell, data, value) => {
+ return value ? this.$moment(new Date(value)).format("YYYY年MM月") : '未完成';
+ },
},
{
prop: "actually_date",
label: "实际评审时间",
width: 170,
+ formatter: (cell, data, value) => {
+ return value ? this.$moment(new Date(value)).format("YYYY年MM月DD") : '未完成';
+ },
},
],
total: 0,
@@ -127,12 +139,9 @@ export default {
},
methods: {
destroy (row) {
- let temp = this.originalList.find(i => i.id === row.pid)
- let index = temp?.item?.indexOf(temp?.item?.find(o => o.id === row.id))
- temp.item.splice(index,1)
- save({
- ...temp,
- item_list: temp.item
+ console.log(row)
+ destroy({
+ id: row.pid
}).then(res => {
this.$message({
type: 'success',
@@ -159,7 +168,7 @@ export default {
})
} else {
list.push({
-
+ pid: i.id,
index: index+1,
type: 1,
...i
diff --git a/src/views/statisticalReport/components/addGovPlane.vue b/src/views/statisticalReport/components/addGovPlane.vue
index 1038831..c141d85 100644
--- a/src/views/statisticalReport/components/addGovPlane.vue
+++ b/src/views/statisticalReport/components/addGovPlane.vue
@@ -64,6 +64,7 @@
采购意向公开计划时间 :
招标文件挂网计划时间 :
项目开标计划时间 :
{
- return value ? this.$moment(new Date(value)).format("YYYY年MM月DD") : '未完成';
+ return value ? this.$moment(new Date(value)).format("YYYY年MM月") : '未完成';
},
},
{
@@ -132,7 +132,7 @@ export default {
label: "招标文件挂网计划时间",
width: 190,
formatter: (cell, data, value) => {
- return value ? this.$moment(new Date(value)).format("YYYY年MM月DD") : '未完成';
+ return value ? this.$moment(new Date(value)).format("YYYY年MM月") : '未完成';
},
},
{
@@ -148,7 +148,7 @@ export default {
label: "项目开标计划时间",
width: 180,
formatter: (cell, data, value) => {
- return value ? this.$moment(new Date(value)).format("YYYY年MM月DD") : '未完成';
+ return value ? this.$moment(new Date(value)).format("YYYY年MM月") : '未完成';
},
},
{