Commit 2c62f0ff authored by 周远喜's avatar 周远喜

bug处理

parent 3173b979
...@@ -227,13 +227,6 @@ export default { ...@@ -227,13 +227,6 @@ export default {
}); });
}, },
// rowclick(row,li){
// return {
// test(){
// alert(1);
// }
// }
// },
add(row) { add(row) {
if(row){ if(row){
this.curId=row.id; this.curId=row.id;
...@@ -268,7 +261,10 @@ export default { ...@@ -268,7 +261,10 @@ export default {
console.warn(row) console.warn(row)
row.status=1; row.status=1;
Api.sendtask(row).then(r=>{ Api.sendtask({
id:row.id,
status:1,
}).then(r=>{
if(r.success){ if(r.success){
this.$Message.info("任务派发成功!"); this.$Message.info("任务派发成功!");
this.search(); this.search();
......
...@@ -56,9 +56,10 @@ ...@@ -56,9 +56,10 @@
</div> </div>
<div class="body-document"> <div class="body-document">
<h4 v-text="title"></h4> <h4 v-text="title"></h4>
<keep-alive> <component v-bind:is="detail" :eid="eid" :data="entity"></component>
<component v-bind:is="detail" :eid="eid" :data="entity"></component> <!-- <keep-alive>
</keep-alive>
</keep-alive> -->
</div> </div>
</div> </div>
</template> </template>
......
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