Commit 40c809cf authored by wei's avatar wei

wenzi

parent 55498264
...@@ -196,16 +196,16 @@ ...@@ -196,16 +196,16 @@
<van-row gutter=""> <van-row gutter="">
<van-col span="17"> <van-col span="17">
<van-row gutter=""> <van-row gutter="">
<van-col span="9">风险系数</van-col> <van-col span="9">风险名称</van-col>
<van-col span="15">{{ item.time }}</van-col> <van-col span="15">{{ item.name }}</van-col>
</van-row> </van-row>
<van-row gutter=""> <van-row gutter="">
<van-col span="9">创建时间:</van-col> <van-col span="9">创建时间:</van-col>
<van-col span="15">{{ item.name }}</van-col> <van-col span="15">{{ timestampToTimes(item.createTime) }}</van-col>
</van-row> </van-row>
<van-row gutter=""> <van-row gutter="">
<van-col span="9">风险描述:</van-col> <van-col span="9">风险描述:</van-col>
<van-col span="15">{{ item.name }}</van-col> <van-col span="15">{{ item.describe }}</van-col>
</van-row> </van-row>
</van-col> </van-col>
<van-col span="7" :style="{ color: item.state == 1 ? '#0069e5' : '#03b615' }"> <van-col span="7" :style="{ color: item.state == 1 ? '#0069e5' : '#03b615' }">
...@@ -277,6 +277,7 @@ ...@@ -277,6 +277,7 @@
import LHeader from "@/components/header.vue"; import LHeader from "@/components/header.vue";
import SelectList from "@/components/selectList.vue"; import SelectList from "@/components/selectList.vue";
import selectFloor from "@/components/selectFloor.vue"; import selectFloor from "@/components/selectFloor.vue";
import { timestampToTime, generateId } from "@/utils/format";
// import selectPeople from "@/views/riskTask/selectPeople/index.vue"; // import selectPeople from "@/views/riskTask/selectPeople/index.vue";
import { getFun, postFun } from "@/service/table.js"; import { getFun, postFun } from "@/service/table.js";
// import { // import {
...@@ -380,6 +381,9 @@ export default { ...@@ -380,6 +381,9 @@ export default {
this.getZSGLX(); this.getZSGLX();
}, },
methods: { methods: {
timestampToTimes(time) {
return timestampToTime(new Date(time), "DT2", true);
},
tabList(value) { tabList(value) {
console.log( console.log(
"%c [ value ]-527", "%c [ value ]-527",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment