Browse Source

项目管理

feature
jiangyy 3 years ago
parent
commit
d9c3a5a833
  1. 30
      src/views/modules/shequzhili/xiangmu/cpts/project-info.vue
  2. 4
      src/views/modules/shequzhili/xiangmu/xiangmu-ling.vue

30
src/views/modules/shequzhili/xiangmu/cpts/project-info.vue

@ -26,9 +26,17 @@
</div>
<div :class="['info-prop',{'info-prop-vis':source==='visiual'}]"
v-if="projectInfo.departmentNameList.length > 0">
v-if="projectInfo.departmentList.length > 0">
<span class="info-title-2">当前处理部门</span>
<span>{{ projectInfo.departmentNameList.join("、") }}</span>
<div class="div_depart">
<div v-for="(item,index) in projectInfo.departmentList"
:key="index"
class="div_depart">
<span>{{item.departmentName+'('+ item.staffList.join("、")+')' }}</span>
</div>
</div>
</div>
<div :class="['info-prop',{'info-prop-vis':source==='visiual'}]"
@ -967,6 +975,17 @@ export default {
if (code === 0) {
this.projectInfo = data;
// this.projectInfo.departmentList = [
// {
// departmentName: "",
// staffList: ["", ""]
// }, {
// departmentName: "",
// staffList: ["", ""]
// }
// ]
if (data.projectStatus == "pending") {
this.getMyDepartmentList();
this.getAssistanceUnitList();
@ -1254,3 +1273,10 @@ export default {
src="@/assets/scss/modules/shequzhili/project-info.scss"
scoped
></style>
<style lang="scss" scoped>
.div_depart {
display: flex;
flex-direction: column;
}
</style>

4
src/views/modules/shequzhili/xiangmu/xiangmu-ling.vue

@ -282,7 +282,7 @@
<el-table-column prop="address"
align="center"
label="地址 "
label="地址"
:show-overflow-tooltip="true" />
<el-table-column prop="status"
align="center"
@ -290,7 +290,7 @@
width="70" />
<el-table-column prop="closedStatus"
align="center"
label="解决状态 "
label="解决状态"
width="90" />
<!-- <template slot-scope="scope">
{{ scope.row.status == 'pending' ? '处理中' : '已结案' }}

Loading…
Cancel
Save