-
+
-
+
To activate the service, please take note of the following important details:
+
+ - The minimum transfer amount for each transaction is CNY 10,000.
+ - The purchase order must be filled in before making payments.
+ - The processing time for each transaction is 3-7 working days.
+
+
+
+
-
-
{{ buttonText }}
+
Activate Service
@@ -27,28 +39,27 @@
import componentHandler from '../../../general/mixins/componentHandler';
import ModalFormHandler from '../../../general/mixins/modalFormHandler';
export default {
- props: {
- contentText: {
- type: String,
- required: true
- },
- modalType: {
- type: String,
- default: 'confirm'
- },
- buttonText: {
- type: String,
- default: 'Confirm'
- },
- apiMethod: {
- type: String,
- required: true
- },
+ data(){
+ return {
+ acknowledge_c2c: false,
+ parameters: {
+ segment_id: ''
+ },
+ }
},
methods: {
- test() {
- console.log('sjhb');
+ activateServiceC2C(){
+ this.parameters = {
+ segment_id: 28
+ };
+ if(this.acknowledge_c2c){
+ this.submit(this.route('api.company.segment.assign', this.data.id), 'post', 'activateService', true, true);
+ }
+ // location.reload();
},
+ successHandler(){
+ location.reload();
+ }
},
mixins: [componentHandler, ModalFormHandler]