Merge branch 'master' of https://e.coding.net/ctcdevteam/cma_search
This commit is contained in:
commit
c79e09d7cf
|
@ -101,7 +101,7 @@
|
|||
size="small"
|
||||
icon="el-icon-edit"
|
||||
@click="handleEdit(scope)"
|
||||
/> -->
|
||||
/>
|
||||
<el-button
|
||||
type="danger"
|
||||
size="small"
|
||||
|
|
|
@ -9,14 +9,12 @@
|
|||
stripe
|
||||
highlight-current-row
|
||||
style="width: 100%"
|
||||
@row-click="recorclickRow"
|
||||
>
|
||||
<el-table-column
|
||||
label="组织名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.dept__name }}
|
||||
|
||||
<el-link @click="recorclickRow(scope)" type="primary"> {{ scope.row.dept__name }}</el-link>
|
||||
|
||||
</template>
|
||||
</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(this.listQuery)
|
||||
.then((res) => {
|
||||
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)
|
||||
{
|
||||
this.dialog=true;
|
||||
|
||||
this.recordid=scope.row.id
|
||||
this.fileList=[];
|
||||
console.log(this.recordid)
|
||||
getinspectrecord(this.recordid).then((res) => {
|
||||
|
||||
this.inspectrecord = res.data;
|
||||
|
|
Loading…
Reference in New Issue