some fix
This commit is contained in:
parent
52c1ed13d9
commit
52f7b2436e
|
@ -26,7 +26,7 @@
|
|||
</div>
|
||||
<div style="margin-top: 10px">
|
||||
<el-button type="primary" icon="el-icon-plus" @click="handleCreate"
|
||||
>创建报送任务</el-button
|
||||
>创建巡查任务</el-button
|
||||
>
|
||||
</div>
|
||||
</el-card>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<el-card style="float:left;width: 25%;">
|
||||
<el-row :gutter="6">
|
||||
<el-col :span="8">
|
||||
<el-card>
|
||||
<el-button type="primary" icon="el-icon-plus" @click="handleAddinspectTables"
|
||||
>创建模板</el-button
|
||||
>
|
||||
|
@ -26,7 +28,6 @@
|
|||
<el-table-column
|
||||
align="center"
|
||||
label="操作"
|
||||
width="200px"
|
||||
fixed="right"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
|
@ -48,7 +49,9 @@
|
|||
</el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
<el-card style="float:right;width: 75%;">
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<el-card >
|
||||
<el-button type="primary" icon="el-icon-plus" @click="handleAddinspectTable"
|
||||
>新增</el-button
|
||||
>
|
||||
|
@ -109,6 +112,10 @@
|
|||
</el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
|
||||
<el-dialog
|
||||
:visible.sync="dialogVisible"
|
||||
:title="dialogType === 'edit' ? '编辑资料' : '新增资料'"
|
||||
|
@ -275,7 +282,6 @@ export default {
|
|||
this.listLoading = false;
|
||||
});
|
||||
},
|
||||
|
||||
recorclickRow(row) {
|
||||
|
||||
this.template=row.id;
|
||||
|
|
|
@ -96,12 +96,12 @@
|
|||
fixed="right"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
<!-- <el-button
|
||||
type="primary"
|
||||
size="small"
|
||||
icon="el-icon-edit"
|
||||
@click="handleEdit(scope)"
|
||||
/>
|
||||
/> -->
|
||||
<el-button
|
||||
type="danger"
|
||||
size="small"
|
||||
|
|
|
@ -9,14 +9,13 @@
|
|||
stripe
|
||||
highlight-current-row
|
||||
style="width: 100%"
|
||||
|
||||
@row-click="recorclickRow"
|
||||
>
|
||||
<el-table-column
|
||||
label="组织名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-link type="primary"
|
||||
@click="recorclickRow(scope)"> {{ scope.row.dept__name }}</el-link>
|
||||
{{ scope.row.dept__name }}
|
||||
|
||||
|
||||
</template>
|
||||
|
@ -244,9 +243,11 @@ export default {
|
|||
|
||||
},
|
||||
|
||||
recorclickRow(scope) {
|
||||
recorclickRow(row) {
|
||||
|
||||
this.listLoading2 = true;
|
||||
this.listQuery = {pageoff:true, subtask: this.id, dept:scope.row.dept}
|
||||
this.listQuery = {pageoff:true, subtask: this.id, dept:row.dept}
|
||||
|
||||
this.getinspectrecordlist();
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue