lion 3 years ago
parent 0b61927be7
commit 193955d7d6

@ -32,6 +32,9 @@
style="margin-left: 10px;">编辑</Button>
<Button ghost size="small" @click="del(scope.row)" type="error" style="margin-left: 10px;">删除</Button>
</div>
<div v-else-if="column.type=='format'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<div v-else>{{scope.row[column.field]}}</div>
</template>
@ -372,9 +375,9 @@
align: "center"
},
{
field: "admin_id",
field: "admin",
title: "提交人",
type: "string",
type: "format",
align: "center",
width:180
},

@ -29,6 +29,9 @@
<el-tag v-if="scope.row[column.field]==2" type="success"></el-tag>
<el-tag v-if="scope.row[column.field]==3" type="danger"></el-tag>
</div>
<div v-else-if="column.type=='format'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<div v-else>{{scope.row[column.field]}}</div>
</template>
</el-table-column>
@ -239,9 +242,9 @@ import AvueMap from 'avue-plugin-map'
align: "center"
},
{
field: "admin_id",
field: "admin",
title: "提交人",
type: "string",
type: "format",
align: "center",
width:180
},

@ -29,6 +29,9 @@
<el-tag v-if="scope.row[column.field]==2" type="success"></el-tag>
<el-tag v-if="scope.row[column.field]==3"></el-tag>
</div>
<div v-else-if="column.type=='format'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<div v-else>{{scope.row[column.field]}}</div>
</template>
</el-table-column>
@ -211,9 +214,9 @@ import AvueMap from 'avue-plugin-map'
align: "center"
},
{
field: "admin_id",
field: "admin",
title: "提交人",
type: "string",
type: "format",
align: "center",
width:180
},

@ -46,6 +46,9 @@
<div v-else-if="column.type=='ask_type_id'">
{{scope.row[column.field]}}
</div>
<div v-else-if="column.type=='format'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<div v-else>{{scope.row[column.field]}}</div>
</template>
</el-table-column>
@ -416,16 +419,16 @@
width:120
},
{
field: "username",
field: "user",
title: "提交人",
type: "user",
type: "format",
align: "center",
width:180
},
{
field: "department_id",
field: "department",
title: "提交科室",
type: "string",
type: "format",
align: "center",
width:180
},
@ -509,7 +512,7 @@
keyword: this.searchFields.KeyWord
}).then(response => {
for(var m of response.data){
m.username = m.user?m.user.name:""
// m.username = m.user?m.user.name:""
m.ask_type_name = m.ask_type_detail?m.ask_type_detail.value:""
m.ask_content_name = m.ask_content_detail?m.ask_content_detail.value:""
}

@ -24,6 +24,9 @@
style="margin-left: 10px;">编辑</Button>
<Button ghost size="small" @click="del(scope.row)" type="error" style="margin-left: 10px;">删除</Button>
</div>
<div v-else-if="column.type=='format'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<div v-else>{{scope.row[column.field]}}</div>
</template>
</el-table-column>
@ -211,30 +214,30 @@
align: "center"
},
{
field: "area_id",
field: "area",
title: "所属片区",
type: "string",
type: "format",
align: "center"
},
{
field: "maintain_id",
field: "maintain",
title: "所属养护单位",
type: "string",
type: "format",
align: "center"
},
{
field: "group_id",
field: "group",
title: "所属巡查养护组",
type: "string",
type: "format",
align: "center"
},
{
field: "admin_id",
title: "提交人",
type: "string",
align: "center",
width:180
},
// {
// field: "admin_id",
// title: "",
// type: "string",
// align: "center",
// width:180
// },
{
field: "created_at",
title: "提交日期",

@ -24,6 +24,9 @@
style="margin-left: 10px;">编辑</Button>
<Button ghost size="small" @click="del(scope.row)" type="error" style="margin-left: 10px;">删除</Button>
</div>
<div v-else-if="column.type=='format'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<div v-else>{{scope.row[column.field]}}</div>
</template>
</el-table-column>
@ -158,9 +161,9 @@
align: "center"
},
{
field: "admin_id",
field: "admin",
title: "提交人",
type: "string",
type: "format",
align: "center"
},
{

@ -24,6 +24,9 @@
style="margin-left: 10px;">编辑</Button>
<Button ghost size="small" @click="del(scope.row)" type="error" style="margin-left: 10px;">删除</Button>
</div>
<div v-else-if="column.type=='format'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<div v-else>{{scope.row[column.field]}}</div>
</template>
</el-table-column>
@ -158,9 +161,9 @@
align: "center"
},
{
field: "admin_id",
field: "admin",
title: "提交人",
type: "string",
type: "format",
align: "center"
},
{

@ -31,6 +31,9 @@
</div>
</div>
</div>
<div v-else-if="column.type=='format'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<div v-else>{{scope.row[column.field]}}</div>
</template>
</el-table-column>
@ -247,9 +250,9 @@
width:120
},
{
field: "admin_id",
field: "admin",
title: "提交人",
type: "string",
type: "format",
align: "center",
width:120
},

@ -24,6 +24,9 @@
style="margin-left: 10px;">编辑</Button>
<Button ghost size="small" @click="del(scope.row)" type="error" style="margin-left: 10px;">删除</Button>
</div>
<div v-else-if="column.type=='format'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<div v-else>{{scope.row[column.field]}}</div>
</template>
</el-table-column>
@ -156,9 +159,9 @@
align: "center"
},
{
field: "admin_id",
field: "admin",
title: "提交人",
type: "string",
type: "format",
align: "center"
},
{

@ -49,6 +49,9 @@
<el-tag type="warning" v-if="scope.row[column.field]==2"></el-tag>
<el-tag type="info" v-if="scope.row[column.field]==3">退</el-tag>
</div>
<div v-else-if="column.type=='format'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<!-- <div v-else-if="column.type=='end_type'">
<el-tag v-if="scope.row[column.field]==0"></el-tag>
@ -797,9 +800,9 @@
// width:160
// },
{
field: "admin_id",
field: "admin",
title: "提交人",
type: "string",
type: "format",
align: "center",
width: 180
},

@ -53,6 +53,9 @@
<el-tag type="danger" v-if="scope.row[column.field]==4"></el-tag>
</div>
<div v-else-if="column.type=='format'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<!-- <div v-else-if="column.type=='end_type'">
<el-tag v-if="scope.row[column.field]==0"></el-tag>
<el-tag type="danger" v-if="scope.row[column.field]==1" >违法转办</el-tag>
@ -845,9 +848,9 @@
// width:160
// },
{
field: "admin_id",
field: "admin",
title: "提交人",
type: "string",
type: "admin",
align: "center",
width:180
},
@ -898,14 +901,14 @@
page: 1,
page_size: 99
}).then(res => {
for(var m of res.data){
that.selects.areasList.push({
id:m.id,
name:m.name
})
}
})
},
handleCurrentChange(page) {

@ -24,6 +24,9 @@
style="margin-left: 10px;">编辑</Button>
<Button ghost size="small" @click="del(scope.row)" type="error" style="margin-left: 10px;">删除</Button>
</div>
<div v-else-if="column.type=='format'">
{{scope.row[column.field]?scope.row[column.field].name:""}}
</div>
<div v-else>{{scope.row[column.field]}}</div>
</template>
</el-table-column>
@ -264,9 +267,9 @@
width:180
},
{
field: "admin_id",
field: "admin",
title: "提交人",
type: "string",
type: "format",
align: "center",
width:180
},

Loading…
Cancel
Save