Commit 38b0dcc8 authored by jingnan's avatar jingnan 👀

‘合并冲突’

parents fa9062bf c7088b1d
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</div> </div>
</template> </template>
<script> <script>
import { post } from '@/utils/http' import { post, get } from '@/utils/http'
export default { export default {
componentName: '新增项目维护生成按钮', componentName: '新增项目维护生成按钮',
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
} }
post(`/ORProduction/create`, params).then(res => { post(`/ORProduction/create`, params).then(res => {
const id = res.items.id const id = res.items.id
post(`/MilestonePlan/generate?orProductionId=${id}`).then(res => { get(`/MilestonePlan/generate?orProductionId=${id}`).then(res => {
this.$util.showMessageSuccess(res.message) this.$util.showMessageSuccess(res.message)
this.$emit('cancel') this.$emit('cancel')
}).catch((err) => { }).catch((err) => {
......
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