Commit 9c8eb867 authored by 耿迪迪's avatar 耿迪迪

物理删除 gengdidi

parent a12ce464
...@@ -71,6 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -71,6 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectTWorkOrderList" parameterType="TWorkOrder" resultMap="TWorkOrderResult"> <select id="selectTWorkOrderList" parameterType="TWorkOrder" resultMap="TWorkOrderResult">
<include refid="selectTWorkOrderVo"/> <include refid="selectTWorkOrderVo"/>
<where> <where>
workOrder.is_del = '0'
<if test="workTitle != null and workTitle != ''"> and workOrder.work_title like concat('%', #{workTitle}, '%')</if> <if test="workTitle != null and workTitle != ''"> and workOrder.work_title like concat('%', #{workTitle}, '%')</if>
<if test="workType != null and workType != ''"> and workOrder.work_type = #{workType}</if> <if test="workType != null and workType != ''"> and workOrder.work_type = #{workType}</if>
<if test="workContent != null and workContent != ''"> and workOrder.work_content = #{workContent}</if> <if test="workContent != null and workContent != ''"> and workOrder.work_content = #{workContent}</if>
......
...@@ -304,7 +304,8 @@ export default { ...@@ -304,7 +304,8 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning"
}).then(function() { }).then(function() {
return delHiddenInfo(hiddenTroubleId); //return delHiddenInfo(hiddenTroubleId);
return updateHiddenInfo({hiddenTroubleId: hiddenTroubleId,isDel: '1'})
}).then(() => { }).then(() => {
this.getHiddenInfoList({workId:this.workId}); this.getHiddenInfoList({workId:this.workId});
this.msgSuccess("删除成功"); this.msgSuccess("删除成功");
......
...@@ -347,7 +347,7 @@ ...@@ -347,7 +347,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="23"> <el-col :span="12">
<el-form-item label="截止日期" prop="expiryDate"> <el-form-item label="截止日期" prop="expiryDate">
<el-date-picker clearable size="small" <el-date-picker clearable size="small"
v-model="form.expiryDate" v-model="form.expiryDate"
...@@ -869,7 +869,8 @@ export default { ...@@ -869,7 +869,8 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning"
}).then(function() { }).then(function() {
return delOrder(workIds); //return delOrder(workIds);
updateOrder({workId: workIds,isDel: '1'})
}).then(() => { }).then(() => {
this.getList(); this.getList();
this.msgSuccess("删除成功"); this.msgSuccess("删除成功");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment