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