diff --git a/pages/factory-operation/index.vue b/pages/factory-operation/index.vue index 70abb2c..6cd16ef 100644 --- a/pages/factory-operation/index.vue +++ b/pages/factory-operation/index.vue @@ -148,9 +148,7 @@ export default { if (options.id) { this.id = options.id this.operation = 'edit' - if (this.operation == 'edit') { - this.title = '编辑工厂' - } + this.title = '编辑工厂' } }, methods: { diff --git a/pages/promotion/index.vue b/pages/promotion/index.vue index b8391d7..96b2ceb 100644 --- a/pages/promotion/index.vue +++ b/pages/promotion/index.vue @@ -187,7 +187,7 @@ export default { go2, back, editFactory() { - go2('complete-info', { id: this.factoryId, role: 'enterprise' }) + go2('factory-operation', { id: this.factoryId, role: 'edit' }) }, getCompanyInfo() { getFactoryInfo({ id: this.factoryId }).then((res) => {