优化测试问题
This commit is contained in:
parent
2a284b8d52
commit
42a8e5c561
|
|
@ -714,7 +714,7 @@ export default {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let params = {
|
let params = {
|
||||||
companyId: this.companyId,
|
// companyId: this.companyId,
|
||||||
...this.queryParams,
|
...this.queryParams,
|
||||||
}
|
}
|
||||||
const res = await ApiGetBackApplyList(params)
|
const res = await ApiGetBackApplyList(params)
|
||||||
|
|
|
||||||
|
|
@ -400,7 +400,7 @@
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
this.sendMessageParams.message = `宁夏送变电工程有限公司提示:您有一条任务单号为 <span style="color:#529b2e">${taskCode}</span> 的待办任务未处理,请及时处理。`
|
this.sendMessageParams.message = `宁夏送变电工程有限公司提示:您有一条任务单号为 <span style="color:#529b2e">${taskCode}</span> 的待办任务未处理,请及时处理`
|
||||||
this.sendMessageParams.taskId = taskId
|
this.sendMessageParams.taskId = taskId
|
||||||
|
|
||||||
this.urgingDialogVisible = true
|
this.urgingDialogVisible = true
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@
|
||||||
:sendApi="getDialogListApi"
|
:sendApi="getDialogListApi"
|
||||||
:config="dialogConfig"
|
:config="dialogConfig"
|
||||||
>
|
>
|
||||||
<template slot="imgPreview" >
|
<template slot="imgPreview">
|
||||||
<ImagePreview
|
<ImagePreview
|
||||||
:src="`https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg`"
|
:src="`https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg`"
|
||||||
:width="`60px`"
|
:width="`60px`"
|
||||||
|
|
@ -135,18 +135,18 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import TableModel from '@/components/TableModel'
|
import TableModel from '@/components/TableModel'
|
||||||
import DialogModel from '@/components/DialogModel'
|
import DialogModel from '@/components/DialogModel'
|
||||||
import SelDepart from '../../component/selDepart.vue'
|
import SelDepart from '../../component/selDepart.vue'
|
||||||
import AuditingReturn from '../auditingReturn/index.vue' // 退料驳回页面
|
import AuditingReturn from '../auditingReturn/index.vue' // 退料驳回页面
|
||||||
import AuditingDetails from '../../component/auditingDetails.vue'
|
import AuditingDetails from '../../component/auditingDetails.vue'
|
||||||
import {
|
import {
|
||||||
getPreScrapListApi,
|
getPreScrapListApi,
|
||||||
getDialogListApi,
|
getDialogListApi,
|
||||||
submitScrapApi,
|
submitScrapApi,
|
||||||
} from '@/api/scrap/forecastWaste.js'
|
} from '@/api/scrap/forecastWaste.js'
|
||||||
import { config, dialogConfig, getSelList } from './config'
|
import { config, dialogConfig, getSelList } from './config'
|
||||||
export default {
|
export default {
|
||||||
name: 'scrapListing',
|
name: 'scrapListing',
|
||||||
components: {
|
components: {
|
||||||
TableModel,
|
TableModel,
|
||||||
|
|
@ -189,6 +189,7 @@
|
||||||
this.dialogConfig.outerVisible = true
|
this.dialogConfig.outerVisible = true
|
||||||
},
|
},
|
||||||
handleSubmitScrap(row) {
|
handleSubmitScrap(row) {
|
||||||
|
this.submitScrapParams.taskIdList = []
|
||||||
this.submitScrapParams.taskIdList.push(row.taskId)
|
this.submitScrapParams.taskIdList.push(row.taskId)
|
||||||
this.dialogConfig.outerTitle = '选择审批部门'
|
this.dialogConfig.outerTitle = '选择审批部门'
|
||||||
this.dialogConfig.outerWidth = '50%'
|
this.dialogConfig.outerWidth = '50%'
|
||||||
|
|
@ -207,8 +208,6 @@
|
||||||
|
|
||||||
/* 关闭选择审批部门弹框 */
|
/* 关闭选择审批部门弹框 */
|
||||||
async closeDepartSel(val, list) {
|
async closeDepartSel(val, list) {
|
||||||
console.log(list, '选择的部门---')
|
|
||||||
|
|
||||||
if (list.length < 1) {
|
if (list.length < 1) {
|
||||||
this.$message.error('请选择审批部门')
|
this.$message.error('请选择审批部门')
|
||||||
return
|
return
|
||||||
|
|
@ -222,8 +221,8 @@
|
||||||
this.dialogConfig.outerVisible = val
|
this.dialogConfig.outerVisible = val
|
||||||
this.$refs.listingTbRef.getList()
|
this.$refs.listingTbRef.getList()
|
||||||
}
|
}
|
||||||
this.submitScrapParams.deptIds =
|
this.submitScrapParams.deptIds = this.submitScrapParams.taskIdList =
|
||||||
this.submitScrapParams.taskIdList = []
|
[]
|
||||||
},
|
},
|
||||||
/* 批量提交报废按钮 */
|
/* 批量提交报废按钮 */
|
||||||
handelSubmitScrap() {
|
handelSubmitScrap() {
|
||||||
|
|
@ -237,7 +236,7 @@
|
||||||
},
|
},
|
||||||
/* 表格复选框选中的数据 */
|
/* 表格复选框选中的数据 */
|
||||||
getTableSelectionChange(val) {
|
getTableSelectionChange(val) {
|
||||||
this.tableSelList = []
|
this.tableSelList = this.submitScrapParams.taskIdList = []
|
||||||
this.tableSelList = val
|
this.tableSelList = val
|
||||||
this.tableSelList.map((e) => {
|
this.tableSelList.map((e) => {
|
||||||
this.submitScrapParams.taskIdList.push(e.taskId)
|
this.submitScrapParams.taskIdList.push(e.taskId)
|
||||||
|
|
@ -256,5 +255,5 @@
|
||||||
this.dialogConfig.innerVisible = false
|
this.dialogConfig.innerVisible = false
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue