|
@@ -44,7 +44,7 @@
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
import { reactive, ref } from 'vue';
|
|
|
- import { postAction } from '@/api/manage/manage';
|
|
|
+ import { getAction, postAction } from '@/api/manage/manage';
|
|
|
import { useMessage } from '@/hooks/web/useMessage';
|
|
|
import pick from 'lodash.pick';
|
|
|
|
|
@@ -65,6 +65,16 @@
|
|
|
|
|
|
function init(record) {
|
|
|
Object.assign(formState, pick(record, 'code', 'orderUrl', 'domain', 'orderUrlID'));
|
|
|
+ spinning.value = true;
|
|
|
+ getAction('/adweb/adwebSiteManage/getSiteOrderInfo?siteCode=' + record.code, {}).then(function (res) {
|
|
|
+ if (res.code == 200) {
|
|
|
+ formState.orderUrl = res.result.orderInitUrl;
|
|
|
+ formState.orderUrlID = res.result.orderID;
|
|
|
+ }
|
|
|
+
|
|
|
+ spinning.value = false;
|
|
|
+ });
|
|
|
+
|
|
|
modalVisible.value = true;
|
|
|
}
|
|
|
|