Browse Source

complete-info

devlop
mo-bai 3 years ago
parent
commit
cbe00a2c30
2 changed files with 2 additions and 4 deletions
  1. 4
      pages/factory-operation/index.vue
  2. 2
      pages/promotion/index.vue

4
pages/factory-operation/index.vue

@ -148,9 +148,7 @@ export default {
if (options.id) { if (options.id) {
this.id = options.id this.id = options.id
this.operation = 'edit' this.operation = 'edit'
if (this.operation == 'edit') {
this.title = '编辑工厂'
}
this.title = '编辑工厂'
} }
}, },
methods: { methods: {

2
pages/promotion/index.vue

@ -187,7 +187,7 @@ export default {
go2, go2,
back, back,
editFactory() { editFactory() {
go2('complete-info', { id: this.factoryId, role: 'enterprise' })
go2('factory-operation', { id: this.factoryId, role: 'edit' })
}, },
getCompanyInfo() { getCompanyInfo() {
getFactoryInfo({ id: this.factoryId }).then((res) => { getFactoryInfo({ id: this.factoryId }).then((res) => {

Loading…
Cancel
Save