|
@@ -120,7 +120,7 @@
|
|
|
</div>
|
|
|
<el-input v-show="Str === '打回'" v-model="launchRepulseInfo" type="textarea" placeholder="请输入打回原因..." :rows="3" />
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
- <el-button type="primary" size="mini" @click="dailySend(scope.row.id)">确 定</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="dailySend(CallBackId)">确 定</el-button>
|
|
|
<el-button type="danger" size="mini" @click="dialog_daily = false">取 消</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
@@ -391,8 +391,10 @@ export default {
|
|
|
|
|
|
async dailySend(e) { // 测试日报删除
|
|
|
console.log(e)
|
|
|
- const res = await dailyReportDelete(e)
|
|
|
+ const res = await dailyReportDelete({}, this.CallBackId)
|
|
|
if (res.code === 200) {
|
|
|
+ this.dialog_daily = false
|
|
|
+ this.getDaily()
|
|
|
this.$message({ type: 'success', message: '删除成功' })
|
|
|
}
|
|
|
},
|
|
@@ -400,6 +402,8 @@ export default {
|
|
|
async clientSend() { // 准出报告删除
|
|
|
const res = await projectTestReportDelete(this.CallBackId)
|
|
|
if (res.code === 200) {
|
|
|
+ this.dialog_client = false
|
|
|
+ this.getClient()
|
|
|
this.$message({ type: 'success', message: '删除成功' })
|
|
|
}
|
|
|
},
|