Commit bd940371b3b429e28766ae7821e9b9cf2dd707a3
1 parent
08becbb241
Exists in
admin
update ui code
Showing
4 changed files
with
7 additions
and
76 deletions
Show diff stats
config/dev.env.js
... | ... | @@ -7,7 +7,7 @@ module.exports = merge(prodEnv, { |
7 | 7 | // APIurl: '"https://cors-anywhere.herokuapp.com/https://www.gigsfor.me/_functions"', |
8 | 8 | // APIurl: '"https://stg-api.gigsfor.me/api"', |
9 | 9 | APIurl: '"https://stg-api.gigsfor.me/api"', |
10 | - siteUrl: '"http://localhost:1500"', | |
10 | + siteUrl: '"http://134.209.156.59:8082"', | |
11 | 11 | imageUrl: '"https://stg-api.gigsfor.me/"', |
12 | 12 | fileUploadKey: '"AYqgvDoo4RyBC0STV6og2z"', |
13 | 13 | landbotUrl: '"https://landbot.io/u/H-347617-SIJESECF8DSSQ06L/index.html"', | ... | ... |
config/index.js
... | ... | @@ -13,8 +13,8 @@ module.exports = { |
13 | 13 | proxyTable: {}, |
14 | 14 | |
15 | 15 | // Various Dev Server settings |
16 | - host: 'localhost', // can be overwritten by process.env.HOST | |
17 | - port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined | |
16 | + host: '134.209.156.59', // can be overwritten by process.env.HOST | |
17 | + port: 8082, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined | |
18 | 18 | autoOpenBrowser: false, |
19 | 19 | errorOverlay: true, |
20 | 20 | notifyOnErrors: true, | ... | ... |
src/components/Profile.vue
... | ... | @@ -658,80 +658,10 @@ export default { |
658 | 658 | this.getUserList(); |
659 | 659 | this.getTemplateList(); |
660 | 660 | this.getInsightList(); |
661 | - // this.demo(); | |
662 | 661 | } |
663 | 662 | }, |
664 | 663 | methods: { |
665 | - demo() { | |
666 | - var obj = { | |
667 | - responseMessage: "success", | |
668 | - callflowsDetails: { | |
669 | - metadata: { | |
670 | - "6f4f3ec8d8bd0d169a33cdeb49c005d4": { | |
671 | - name: "neeraj.sharma@viithiisys.com", | |
672 | - pvt_type: "faxbox", | |
673 | - }, | |
674 | - "1968018a933a6ce069b583f2dfe0d91b": { | |
675 | - name: "Rohit Saini", | |
676 | - pvt_type: "user", | |
677 | - }, | |
678 | - "48f409d64c69b52dbe114b86ee4579ea": { | |
679 | - name: "hello", | |
680 | - pvt_type: "device", | |
681 | - }, | |
682 | - }, | |
683 | - patterns: [], | |
684 | - numbers: ["+9876541023"], | |
685 | - id: "2360eb2f7dc04994382ab58fe48da46c", | |
686 | - ui_metadata: { | |
687 | - ui: "monster-ui", | |
688 | - origin: "callflows", | |
689 | - version: "4.3-139", | |
690 | - }, | |
691 | - flow: { | |
692 | - data: { | |
693 | - dial_strategy: "simultaneous", | |
694 | - delay: 0, | |
695 | - can_call_self: false, | |
696 | - id: "48f409d64c69b52dbe114b86ee4579ea", | |
697 | - timeout: 20, | |
698 | - }, | |
699 | - children: { | |
700 | - _: { | |
701 | - data: { id: "6f4f3ec8d8bd0d169a33cdeb49c005d4" }, | |
702 | - children: { | |
703 | - _: { | |
704 | - data: { | |
705 | - owner_id: "1968018a933a6ce069b583f2dfe0d91b", | |
706 | - media: { fax_option: false }, | |
707 | - }, | |
708 | - children: {}, | |
709 | - module: "receive_fax", | |
710 | - }, | |
711 | - }, | |
712 | - module: "faxbox", | |
713 | - }, | |
714 | - }, | |
715 | - module: "device", | |
716 | - }, | |
717 | - }, | |
718 | - }; | |
719 | - var string = JSON.stringify(obj); | |
720 | - var count = string.match(/children/gi).length; | |
721 | - var array = []; | |
722 | - var name = []; | |
723 | - for (var i = 0; i < count - 1; i++) { | |
724 | - name = name + "children"; | |
725 | - var value = JSON.parse(string); | |
726 | - // console.log("-1-",name); | |
727 | - console.log("-1-", value.callflowsDetails.flow[name]); | |
728 | - console.log("-2-", value.callflowsDetails.flow[name]["_"][name]); | |
729 | - console.log( | |
730 | - "-3-", | |
731 | - value.callflowsDetails.flow[name]["_"][name]["_"][name] | |
732 | - ); | |
733 | - } | |
734 | - }, | |
664 | + | |
735 | 665 | changeIntroScreen(){ |
736 | 666 | |
737 | 667 | }, | ... | ... |
src/main.js
... | ... | @@ -38,10 +38,11 @@ Vue.use(Auth0Plugin, { |
38 | 38 | Vue.config.productionTip = false |
39 | 39 | // https://api.productgrowth.org/pg |
40 | 40 | // http://174.138.121.70:3006/pg |
41 | -// http://174.138.121.70:3006/pd | |
41 | +// http://productgrowth.vizitorapp.com/pg | |
42 | +// http://0.0.0.0:3000/pg | |
42 | 43 | |
43 | 44 | Vue.prototype.moment = moment |
44 | -axios.defaults.baseURL = 'http://0.0.0.0:3000/pg' | |
45 | +axios.defaults.baseURL = 'http://productgrowth.vizitorapp.com/pg' | |
45 | 46 | |
46 | 47 | /* eslint-disable no-new */ |
47 | 48 | new Vue({ | ... | ... |