|
|
@ -34,8 +34,14 @@ |
|
|
|
type="text" |
|
|
|
@click="republishHandler(history.planOrderId)" |
|
|
|
:disabled="history.status!=100"> 再次发布</el-button> |
|
|
|
<el-button size="mini" |
|
|
|
style="float:right;margin-right: 10px;" |
|
|
|
class="edit-button-style" |
|
|
|
type="text" |
|
|
|
@click="lookErrorHandler(history.publishedVersionNr)" |
|
|
|
> 日志</el-button> |
|
|
|
<el-button size="mini" |
|
|
|
style="float:right;margin-right: 20px;" |
|
|
|
style="float:right;margin-right: 10px;" |
|
|
|
class="edit-button-style" |
|
|
|
type="text" |
|
|
|
:disabled="history.status!=100" |
|
|
@ -68,6 +74,7 @@ |
|
|
|
<script> |
|
|
|
import { publishIdentify, publicData, planOrderQuery, republish } from '@/server/productionPlanning/customerForecastDemandReview' |
|
|
|
import PublicDetail from "./publicDetail.vue" |
|
|
|
import { baseURL } from "@/server/request" |
|
|
|
export default { |
|
|
|
emits: ["cancelHandle"], |
|
|
|
components:{ |
|
|
@ -119,17 +126,16 @@ |
|
|
|
this.loading = false |
|
|
|
}); |
|
|
|
}, |
|
|
|
lookErrorHandler(versionNr,mode = "plan"){ |
|
|
|
window.open(baseURL + "admin/common/log/read/"+mode+"/"+versionNr) |
|
|
|
}, |
|
|
|
lookDetailHandler(versionNr) { |
|
|
|
console.log('%cpublic.vue line:123 this.showPublicDetail 1', 'color: #007acc;', this.showPublicDetail); |
|
|
|
this.showPublicDetail = true |
|
|
|
console.log('%cpublic.vue line:123 this.showPublicDetail 2', 'color: #007acc;', this.showPublicDetail); |
|
|
|
this.versionNr = versionNr |
|
|
|
|
|
|
|
}, |
|
|
|
closePublicDetailDialog(){ |
|
|
|
console.log('%cpublic.vue line:123 closePublicDetailDialog this.showPublicDetail 1', 'color: #007acc;', this.showPublicDetail); |
|
|
|
this.showPublicDetail = false |
|
|
|
console.log('%cpublic.vue line:123 closePublicDetailDialog this.showPublicDetail 2', 'color: #007acc;', this.showPublicDetail); |
|
|
|
}, |
|
|
|
publishIdentify() { |
|
|
|
this.loading = true |
|
|
|