Commit 1436c03a authored by 周昊's avatar 周昊

1、修改详情 任务名称对应字段

2、修改固有风险图标
3、添加详情页无楼栋id,获取固有风险接口
parent d990d924
...@@ -69,8 +69,8 @@ ...@@ -69,8 +69,8 @@
/> />
<van-field <van-field
readonly readonly
name="projectName" name="name"
:value="form.projectName" :value="form.name"
label="任务名称" label="任务名称"
input-align="right" input-align="right"
:rules="[{ required: true, message: '任务名称不能为空' }]" :rules="[{ required: true, message: '任务名称不能为空' }]"
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
<van-image <van-image
width="46" width="46"
height="46" height="46"
src="https://img01.yzcdn.cn/vant/cat.jpeg" src="http://rongtongpc.censoft.com.cn/dev-api/profile/upload/2023/07/08/guyou.png"
/> />
<!-- <van-image width="46" height="46" :src="item.avatar" /> --> <!-- <van-image width="46" height="46" :src="item.avatar" /> -->
</van-col> </van-col>
...@@ -641,6 +641,11 @@ export default { ...@@ -641,6 +641,11 @@ export default {
console.log(res.data, "lll"); console.log(res.data, "lll");
this.riskList = res.data; this.riskList = res.data;
}); });
}else{
getFun(`/risk/plan/inherent/list/${planId}`).then(res => {
console.log(res.data, "lll");
this.riskList = res.data;
});
} }
}, },
postList(id, buildingId) { postList(id, buildingId) {
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</van-row> </van-row>
<van-row type="flex" style="flex-direction: column;align-items: center;"> <van-row type="flex" style="flex-direction: column;align-items: center;">
<van-col> <van-col>
<van-image round width="34" height="34" src="https://img01.yzcdn.cn/vant/cat.jpeg" /> <van-image round width="34" height="34" src="http://rongtongpc.censoft.com.cn/dev-api/profile/upload/2023/07/08/guyou.png" />
</van-col> </van-col>
<van-col> <van-col>
{{ item.userName }} {{ item.userName }}
......
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