刘翔宇-旅管家 3 years ago
parent 1a5cce0c8d
commit dd0e8cfb68

@ -301,9 +301,6 @@
import { import {
getToken getToken
} from '@/utils/auth' } from '@/utils/auth'
import {
listdept
} from "../../api/system/department.js"
import { import {
getparameteritem, getparameteritem,
getparameter getparameter
@ -495,10 +492,7 @@
this.selects.ask_types = res.detail this.selects.ask_types = res.detail
}) })
listdept().then(res => {
this.selects.departments = res
})
}, },
handleCurrentChange(page) { handleCurrentChange(page) {

@ -79,9 +79,7 @@
</el-tag> </el-tag>
</div> </div>
<div v-else-if="column.type=='feedback_department_id'"> <div v-else-if="column.type=='feedback_department_id'">
<div v-for="item in departments" v-if="scope.row[column.field] == item.id">
{{item.name}}
</div>
</div> </div>
<div v-else-if="column.type=='ask_type_id'"> <div v-else-if="column.type=='ask_type_id'">
{{scope.row[column.field]}} {{scope.row[column.field]}}
@ -126,9 +124,7 @@
<script> <script>
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import {
listdept
} from "../../api/system/department.js"
import { import {
listall listall
} from '../../api/rain/inspection.js' } from '../../api/rain/inspection.js'
@ -149,7 +145,6 @@ export default {
mainData:[], mainData:[],
comData:[], comData:[],
dailyData:[], dailyData:[],
departments:[],
paginations:{ paginations:{
page:1, page:1,
page_size:10 page_size:10
@ -313,9 +308,6 @@ export default {
}, },
methods:{ methods:{
initload(){ initload(){
listdept().then(res => {
this.departments = res
})
}, },
gowhere(type){ gowhere(type){
let url ="/admin/#/rain/inspection/inspection" let url ="/admin/#/rain/inspection/inspection"

Loading…
Cancel
Save