干扰源常态化管理页面
This commit is contained in:
@@ -23,11 +23,9 @@
|
||||
<Table ref='tableRef' />
|
||||
</div>
|
||||
|
||||
<Dialog title='干扰源用户详细信息' v-model='dialogVisible' width='85%'>
|
||||
|
||||
<el-dialog title='干扰源用户详细信息' v-model='dialogVisible' width='85%'>
|
||||
<BpmUserReportDetail :id='interId' style='max-height: 600px'></BpmUserReportDetail>
|
||||
</Dialog>
|
||||
|
||||
</el-dialog>
|
||||
|
||||
|
||||
</template>
|
||||
@@ -40,7 +38,6 @@ import TableStore from '@/utils/tableStore'
|
||||
import Table from '@/components/table/index.vue'
|
||||
import TableHeader from '@/components/table/header/index.vue'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
import Dialog from '@/components/Dialog/src/Dialog.vue'
|
||||
|
||||
import BpmUserReportDetail from '../../components/undocumented/detail.vue'
|
||||
|
||||
@@ -86,7 +83,8 @@ const tableStore = new TableStore({
|
||||
}
|
||||
},
|
||||
{ field: 'substation', title: '变电站', minWidth: 100 },
|
||||
{ title: '详细信息',
|
||||
{
|
||||
title: '详细信息',
|
||||
minWidth: 100,
|
||||
render: 'buttons',
|
||||
buttons: [
|
||||
@@ -99,7 +97,7 @@ const tableStore = new TableStore({
|
||||
click: row => {
|
||||
open(row.id)
|
||||
}
|
||||
},
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -116,7 +114,7 @@ const tableStore = new TableStore({
|
||||
icon: 'el-icon-EditPen',
|
||||
render: 'basicButton',
|
||||
click: row => {
|
||||
toFangAn(row.id,1)
|
||||
toFangAn(row.id, 0)
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -126,7 +124,7 @@ const tableStore = new TableStore({
|
||||
icon: 'el-icon-EditPen',
|
||||
render: 'basicButton',
|
||||
click: row => {
|
||||
toFangAn(row.id,2)
|
||||
toFangAn(row.id, 1)
|
||||
|
||||
}
|
||||
}
|
||||
@@ -158,27 +156,18 @@ const open = async (id: string) => {
|
||||
}
|
||||
|
||||
/** 方案审查 */
|
||||
const toFangAn = (id: any,type:Number) => {
|
||||
if(type == 1){
|
||||
push({
|
||||
name: 'ProgramReview',
|
||||
query: {
|
||||
id: id
|
||||
}
|
||||
})
|
||||
}else{
|
||||
push({
|
||||
name: 'projectTreat',
|
||||
query: {
|
||||
id: id
|
||||
}
|
||||
})
|
||||
}
|
||||
const toFangAn = (id: any, typeNo: number) => {
|
||||
push({
|
||||
name: 'ProgramReview',
|
||||
query: {
|
||||
id: id,
|
||||
type: typeNo
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**获取用户性质*/
|
||||
const getUserTypeName = (userType: any) => {
|
||||
if (userType === 0) {
|
||||
|
||||
Reference in New Issue
Block a user