xunjianrenwu
This commit is contained in:
parent
ae9d715bdd
commit
eb23199d31
|
@ -101,7 +101,7 @@
|
||||||
size="small"
|
size="small"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleEdit(scope)"
|
@click="handleEdit(scope)"
|
||||||
/> -->
|
/>
|
||||||
<el-button
|
<el-button
|
||||||
type="danger"
|
type="danger"
|
||||||
size="small"
|
size="small"
|
||||||
|
|
|
@ -9,14 +9,12 @@
|
||||||
stripe
|
stripe
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
@row-click="recorclickRow"
|
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="组织名称"
|
label="组织名称"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.dept__name }}
|
<el-link @click="recorclickRow(scope)" type="primary"> {{ scope.row.dept__name }}</el-link>
|
||||||
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -283,31 +281,30 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
//点击组织弹出清单
|
|
||||||
|
recorclickRow(scope) {
|
||||||
|
|
||||||
|
this.listLoading2 = true;
|
||||||
|
this.listQuery = {pageoff:true, subtask: this.id, dept:scope.row.dept}
|
||||||
|
|
||||||
|
this.getinspectrecordlist();
|
||||||
|
},
|
||||||
|
//点击组织弹出清单
|
||||||
getinspectrecordlist() {
|
getinspectrecordlist() {
|
||||||
getinspectrecordlist(this.listQuery)
|
getinspectrecordlist(this.listQuery)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.inspectitemList = res.data;
|
this.inspectitemList = res.data;
|
||||||
|
console.log(this.inspectitemList)
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
recorclickRow(row) {
|
|
||||||
|
|
||||||
this.listLoading2 = true;
|
|
||||||
this.listQuery = {pageoff:true, subtask: this.id, dept:row.dept}
|
|
||||||
|
|
||||||
this.getinspectrecordlist();
|
|
||||||
},
|
|
||||||
|
|
||||||
handleCheck(scope)
|
handleCheck(scope)
|
||||||
{
|
{
|
||||||
this.dialog=true;
|
this.dialog=true;
|
||||||
|
|
||||||
this.recordid=scope.row.id
|
this.recordid=scope.row.id
|
||||||
this.fileList=[];
|
this.fileList=[];
|
||||||
console.log(this.recordid)
|
|
||||||
getinspectrecord(this.recordid).then((res) => {
|
getinspectrecord(this.recordid).then((res) => {
|
||||||
|
|
||||||
this.inspectrecord = res.data;
|
this.inspectrecord = res.data;
|
||||||
|
|
Loading…
Reference in New Issue