Browse Source

银企对接

chen 5 years ago
parent
commit
8ca79fd4eb

+ 73 - 0
src/layout/intelligentDocking/intelligentDockingForm.vue

@@ -0,0 +1,73 @@
+<template>
+    <div id="followForm">
+        <el-row>
+            <el-col :span="24" class="form">
+                <el-form :model="ruleForm" ref="ruleForm" label-width="200px" class="demo-ruleForm">
+                    <el-form-item label="企业名称:" >
+                        <span>{{ruleForm.company.company_name}}</span>
+                    </el-form-item>
+                    <el-form-item label="联系人:" >
+                        <span>{{ruleForm.person}}</span>
+                    </el-form-item>
+                    <!--<el-form-item label="融资取向:" >-->
+                        <!--<span>{{ruleForm.orientation}}</span>-->
+                    <!--</el-form-item>-->
+                    <el-form-item label="融资金额(万元):" >
+                        <span>{{ruleForm.money}}</span>
+                    </el-form-item>
+                    <el-form-item label="融资期限(个月):" >
+                        <span>{{ruleForm.claims_min_term}}个月~{{ruleForm.claims_max_term}}个月</span>
+                    </el-form-item>
+                    <el-form-item label="融资利率:" >
+                        <span>{{ruleForm.mongey_min_rate}}%~{{ruleForm.mongey_max_rate}}%</span>
+                    </el-form-item>
+                    <el-form-item label="担保方式:" >
+                        <span>{{ruleForm.dictionary.name}}</span>
+                    </el-form-item>
+                    <el-form-item label="预计何时有融资需求:" >
+                        <span>{{ruleForm.when}}</span>
+                    </el-form-item>
+                    <el-form-item label="补充信息:" >
+                        <span>{{ruleForm.additional_information}}</span>
+                    </el-form-item>
+                    <el-form-item label="对接产品:" >
+                        <span>{{ruleForm.finance_claims.name}}</span>
+                    </el-form-item>
+                    <!--<el-form-item label="对接银行:" >-->
+                        <!--<span>{{ruleForm.institution.name}}</span>-->
+                    <!--</el-form-item>-->
+                    <el-form-item>
+                        <el-button  type="primary" size="small" @click="shouxin()">授信</el-button>
+                    </el-form-item>
+                </el-form>
+            </el-col>
+        </el-row>
+    </div>
+</template>
+
+<script>
+  export default {
+    name: 'followForm',
+    props: {
+      ruleForm: null,
+      charList: null,
+    },
+    components: {},
+    data: () => ({
+
+    }),
+    created() {},
+    computed: {},
+    methods: {
+      shouxin() {
+        this.$emit('shouxin');
+      },
+    },
+  };
+</script>
+
+<style lang="less" scoped>
+    .form {
+        padding: 0 200px 0 0;
+    }
+</style>

+ 99 - 0
src/layout/intelligentDocking/intelligentDockingList.vue

@@ -0,0 +1,99 @@
+<template>
+    <div id="claimList">
+        <el-row>
+            <el-col :span="24">
+                <el-table ref="debtTable" :data="debtTable" style="width: 100%" border>
+                    <el-table-column type="index" label="序号" width="50" align="center"> </el-table-column>
+                    <el-table-column property="company.company_name" label="企业名称" align="center"> </el-table-column>
+                    <el-table-column property="finance_claims.name" label="对接产品" align="center"> </el-table-column>
+                    <el-table-column property="institution.name" label="对接机构" align="center"> </el-table-column>
+                    <el-table-column property="money" label="融资金额(万元)" align="center"> </el-table-column>
+                    <el-table-column v-if="follow" label="需求状态" align="center">已接单  </el-table-column>
+                    <el-table-column v-else label="需求状态" align="center">已推送  </el-table-column>
+                    <el-table-column fixed="right" label="操作" align="center">
+                        <template slot-scope="scope">
+                            <el-button @click="$router.push({ path: '/intelligentDocking/intelligentDockingDetail', query: { id: scope.row._id,cid: scope.row.cid } })" type="text" icon="el-icon-search" title="查看详情"></el-button>
+                            <el-button @click="zhipai(scope.row._id)" type="text" icon="el-icon-s-promotion" title="分配"></el-button>
+                        </template>
+                    </el-table-column>
+                </el-table>
+                <el-row class="page">
+                    <el-pagination
+                            @size-change="handleSizeChange"
+                            @current-change="handleCurrentChange"
+                            :current-page="currentPage"
+                            :page-size="10"
+                            layout="total, prev, pager, next, jumper"
+                            :total="total"
+                    >
+                    </el-pagination>
+                </el-row>
+            </el-col>
+            <el-row>
+                <el-dialog title="分配" :visible.sync="dialogFormVisible"  :show-close="false" >
+                    <el-form :model="zhipaiform">
+                        <el-form-item label="客户经理" >
+                            <el-select v-model="zhipaiform.uuid" placeholder="请选客户经理">
+                                <el-option v-for="(item, index)  in jlList" :key="index" :label="item.name" :value="item.id"> </el-option>
+                            </el-select>
+                        </el-form-item>
+                    </el-form>
+                    <div slot="footer" class="dialog-footer">
+                        <el-button @click="quxiao">取 消</el-button>
+                        <el-button type="primary" @click="zhipaiformBtn">确 定</el-button>
+                    </div>
+                </el-dialog>
+            </el-row>
+        </el-row>
+    </div>
+</template>
+
+<script>
+  export default {
+    name: 'claimList',
+    props: {
+      debtTable: null,
+      total: null,
+      jlList:null,
+      zhipaiform:null,
+      dialogFormVisible:null,
+    },
+    components: {},
+    data: () => ({
+      currentPage: 1,
+    }),
+    created() {},
+    computed: {},
+    methods: {
+      deleteRow(id) {
+        this.$emit('deleteRow', id);
+      },
+      clickRest(id) {
+        this.$emit('clickRest', id);
+      },
+      handleSizeChange(val) {
+        console.log(`每页 ${val} 条`);
+      },
+      handleCurrentChange(val) {
+        this.$emit('pagechange', { skip: val});
+      },
+      zhipai(valid){
+        this.$emit('zhipai',  valid);
+      },
+      zhipaiformBtn(){
+        this.$emit('zhipaiformBtn', { data: this.zhipaiform});
+      },
+      quxiao(){
+        this.$emit('quxiao');
+      }
+    },
+  };
+</script>
+
+<style lang="less" scoped>
+    .page {
+        text-align: center;
+        padding: 15px 0;
+    }
+
+</style>

+ 99 - 0
src/layout/intelligentDocking/intelligentForm.vue

@@ -0,0 +1,99 @@
+<template>
+    <div id="claimForm">
+        <el-row>
+            <el-col :span="24" class="form">
+                <el-form :model="ruleForm"   ref="ruleForm" label-width="200px" class="demo-ruleForm">
+                    <el-form-item label="企业名称:" >
+                        <span>{{ruleForm.company.company_name}}</span>
+                    </el-form-item>
+                    <el-form-item label="联系人:" >
+                        <span>{{ruleForm.person}}</span>
+                    </el-form-item>
+                    <!--<el-form-item label="融资取向:" >-->
+                    <!--<span>{{ruleForm.orientation}}</span>-->
+                    <!--</el-form-item>-->
+                    <el-form-item label="融资金额(万元):" >
+                        <span>{{ruleForm.money}}</span>
+                    </el-form-item>
+                    <el-form-item label="融资期限(个月):" >
+                        <span>{{ruleForm.claims_min_term}}个月~{{ruleForm.claims_max_term}}个月</span>
+                    </el-form-item>
+                    <el-form-item label="融资利率:" >
+                        <span>{{ruleForm.mongey_min_rate}}%~{{ruleForm.mongey_max_rate}}%</span>
+                    </el-form-item>
+                    <el-form-item label="担保方式:" >
+                        <span>{{ruleForm.dictionary.name}}</span>
+                    </el-form-item>
+                    <el-form-item label="预计何时有融资需求:" >
+                        <span>{{ruleForm.when}}</span>
+                    </el-form-item>
+                    <el-form-item label="补充信息:" >
+                        <span>{{ruleForm.additional_information}}</span>
+                    </el-form-item>
+                    <el-form-item label="对接产品:" >
+                        <span>{{ruleForm.finance_claims.name}}</span>
+                    </el-form-item>
+                    <!--<el-form-item label="对接银行:" >-->
+                    <!--<span>{{ruleForm.institution.name}}</span>-->
+                    <!--</el-form-item>-->
+                    <el-form-item v-if=' saw=="1" '>
+                        <el-button  type="primary" size="small" @click="fallow">分配</el-button>
+                    </el-form-item>
+                    <el-form-item v-else>
+                        <el-button  type="info" size="small">已分配</el-button>
+                    </el-form-item>
+            </el-form>
+            </el-col>
+        </el-row>
+        <el-dialog title="指派" :visible.sync="dialogFormVisible"  :show-close="false" >
+            <el-form :model="zhipaiform">
+                <el-form-item label="客户经理" >
+                    <el-select v-model="zhipaiform.uuid" placeholder="请选客户经理">
+                        <el-option v-for="(item, index)  in jlList" :key="index" :label="item.name" :value="item.id"> </el-option>
+                    </el-select>
+                </el-form-item>
+            </el-form>
+            <div slot="footer" class="dialog-footer">
+                <el-button @click="quxiao">取 消</el-button>
+                <el-button type="primary" @click="zhipaiformBtn">确 定</el-button>
+            </div>
+        </el-dialog>
+    </div>
+</template>
+
+<script>
+  export default {
+    name: 'claimForm',
+    props: {
+      ruleForm: null,
+      charList: null,
+      saw:null,
+      dialogFormVisible:null,
+      zhipaiform:null,
+      jlList:null
+    },
+    components: {},
+    data: () => ({
+
+    }),
+    created() {},
+    computed: {},
+    methods: {
+      fallow() {
+        this.$emit('fallow');
+      },
+      zhipaiformBtn(){
+        this.$emit('zhipaiformBtn', { data: this.zhipaiform});
+      },
+      quxiao(){
+        this.$emit('quxiao');
+      }
+    },
+  };
+</script>
+
+<style lang="less" scoped>
+    .form {
+        padding: 0 200px 0 0;
+    }
+</style>

+ 15 - 0
src/layout/layout-part/menus.vue

@@ -58,6 +58,21 @@
           <el-menu-item index="/financeclaims/insitionIndex">金融机构提交至审核</el-menu-item>
         </el-menu-item-group>
       </el-submenu>
+      <el-submenu index="5">
+        <template v-slot:title>
+          <i class="el-icon-s-grid"></i>
+          <span>银企对接</span>
+        </template>
+        <el-menu-item-group>
+          <el-menu-item index="/intelligentDocking/intelligentDockingIndex">银企对接需求列表</el-menu-item>
+        </el-menu-item-group>
+        <el-menu-item-group>
+          <el-menu-item index="/intelligentDocking/intelligentDockingFollow">银企对接关注列表</el-menu-item>
+        </el-menu-item-group>
+        <el-menu-item-group>
+          <el-menu-item index="/intelligentDocking/intelligentDockingFinish">银企对接已完成列表</el-menu-item>
+        </el-menu-item-group>
+      </el-submenu>
       <el-menu-item index="/companyup/index"> <i class="el-icon-s-grid"></i>企业修改信息审核管理</el-menu-item>
 
       <!--<el-menu-item index="/tUrgeHandle/seeIndex"> <i class="el-icon-s-grid"></i>企业申请信息催办处理</el-menu-item>-->

+ 10 - 0
src/router/index.js

@@ -134,6 +134,16 @@ const routes = [
     path: '/financeclaims/applymmDetail',
     component: () => import('../views/financeclaims/applymmDetail.vue'),
   },
+  // 银企对接数据列表
+  {
+    path: '/intelligentDocking/intelligentDockingIndex',
+    component: () => import('../views/intelligentDocking/intelligentDockingIndex.vue'),
+  },
+  // 银企对接数据列表详情
+  {
+    path: '/intelligentDocking/intelligentDockingDetail',
+    component: () => import('../views/intelligentDocking/intelligentDockingDetail.vue'),
+  },
   // 企业信息管理-列表
   {
     path: '/companyup/index',

+ 4 - 0
src/store/index.js

@@ -12,6 +12,8 @@ import institution from './institution';
 import dictionary from './dictionary';
 import managemoney from './managemoney';
 import applymmoney from './applymmoney';
+import intelligentDocking from './intelligentDocking';
+import intelligentFollow from './intelligentFollow';
 import tUrgeHandle from './tUrgeHandle';
 import tNewAssign from './tNewAssign';
 import companyup from './companyup';
@@ -31,6 +33,8 @@ export default new Vuex.Store({
     dictionary,
     managemoney,
     applymmoney,
+    intelligentDocking,
+    intelligentFollow,
     tUrgeHandle,
     tNewAssign,
     companyup,

+ 39 - 0
src/store/intelligentDocking.js

@@ -0,0 +1,39 @@
+import Vue from 'vue';
+import Vuex from 'vuex';
+import _ from 'lodash';
+Vue.use(Vuex);
+const api = {
+  intelligentDockingInfo: `/api/financial/intelligentDocking`,
+};
+const state = () => ({});
+const mutations = {};
+
+const actions = {
+  //列表查询
+  async dockingSearch({ commit }, payload) {// 列表
+    const res = await this.$axios.$post(`${api.intelligentDockingInfo}/dockingSearch`, payload);
+    return res;
+  },
+  // 修改
+  async update({ commit }, { id, ...data }) {
+    const res = await this.$axios.$post(`${api.intelligentDockingInfo}/update/${id}`, data);
+    return res;
+  },
+  // 详情
+  async one({ commit }, payload) {
+    const res = await this.$axios.$post(`${api.intelligentDockingInfo}/one`,payload);
+    return res;
+  },
+  // 拒绝
+  async refuseDocking({ commit }, payload) {
+    const res = await this.$axios.$post(`${api.intelligentDockingInfo}/refuseDocking`, payload);
+    return res;
+  },
+
+};
+export default {
+  namespaced: true,
+  state,
+  mutations,
+  actions,
+};

+ 39 - 0
src/store/intelligentFollow.js

@@ -0,0 +1,39 @@
+import Vue from 'vue';
+import Vuex from 'vuex';
+import _ from 'lodash';
+Vue.use(Vuex);
+const api = {
+  intelligentFollow: `/api/financial/intelligentFollow`,
+};
+const state = () => ({});
+const mutations = {};
+
+const actions = {
+
+  // 关注前请求的接口
+  async beforFollow({ commit }, payload) {
+    const res = await this.$axios.$post(`${api.intelligentFollow}/beforFollow`,payload);
+    return res;
+  },
+  // 授信
+  async credit({ commit }, payload) {
+    const res = await this.$axios.$post(`${api.intelligentFollow}/credit`, payload);
+    return res;
+  },
+  // 删除
+  async delete({ commit }, payload) {
+    const res = await this.$axios.$delete(`${api.intelligentFollow}/${payload}`);
+    return res;
+  },
+  // 列表
+  async followIntelligent({ commit }, payload) {
+    const res = await this.$axios.$post(`${api.intelligentFollow}/followIntelligent`, payload);
+    return res;
+  },
+};
+export default {
+  namespaced: true,
+  state,
+  mutations,
+  actions,
+};

+ 149 - 0
src/views/intelligentDocking/intelligentDockingDetail.vue

@@ -0,0 +1,149 @@
+<template>
+    <div id="claimDetail">
+        <el-row>
+            <el-col :span="24" class="debt">
+                <el-col :span="24" class="top">
+                    <topInfo :topTitle="topTitle" :display="display"></topInfo>
+                </el-col>
+                <el-col :span="24" class="main">
+                    <el-col :span="24" class="back">
+                        <detailTop @goBack="goBack"></detailTop>
+                    </el-col>
+                    <el-col :span="24" class="info">
+                        <intelligentForm :ruleForm="intelligentForm" :saw="saw" @fallow = "fallow" :jlList="jlList" :dialogFormVisible="dialogFormVisible" :zhipaiform="zhipaiform" @zhipaiformBtn="zhipaiformBtn" @quxiao="quxiao"></intelligentForm>
+                    </el-col>
+                </el-col>
+            </el-col>
+        </el-row>
+    </div>
+</template>
+
+<script>
+  import topInfo from '@/layout/common/topInfo.vue';
+  import detailTop from '@/layout/common/detailTop.vue';
+  import intelligentForm from '@/layout/intelligentDocking/intelligentForm.vue';
+  import { createNamespacedHelpers, mapGetters,mapState } from 'vuex';
+  const { mapActions: intelligent } = createNamespacedHelpers('intelligentDocking');
+  const { mapActions: intelligentFollow } = createNamespacedHelpers('intelligentFollow');
+  const { mapActions: otheruser } = createNamespacedHelpers('otheruser');
+
+  export default {
+    name: 'intelligentDetail',
+    props: {},
+    components: {
+      topInfo, //头部导航
+      detailTop, //头部返回
+      intelligentForm, //债权需求详情
+    },
+    data: () => ({
+      display: 'none',
+      topTitle: '对接信息详情',
+      intelligentForm: {},
+      charList: {
+        name: '10',
+      },
+      saw:'1',                              //1是显示 0是显示已关注
+      dialogFormVisible:false,
+      zhipaiform:{},
+      jlList:[]
+    }),
+    created() {
+      this.searchInfo();
+      this.safollow();
+      this.setjlList();
+    },
+    computed: {
+      ...mapState(['user']),
+      id() {
+        return this.$route.query.id;
+      },
+    },
+    methods: {
+      ...intelligent(['dockingSearch']),// 列表,修改关注状态
+      ...intelligentFollow(['beforFollow','followIntelligent']),
+      ...otheruser(['fetch','query']),
+      async searchInfo() {
+        console.log(this.id)
+        if (this.id) {
+          const res = await this.dockingSearch({id:this.id});
+          console.log(res)
+          this.$set(this, `intelligentForm`, res.result[0]);
+        }
+      },
+      async safollow() {
+        if (this.id) {
+          var userid = this.user.userid;
+          const ress = await this.beforFollow({ xqid: this.id, userid: userid });
+          console.log('before',ress)
+          if (ress.data.finstatus == 'SUCCESS') {
+            this.$set(this, `saw`, '0');
+          }else{
+            this.$set(this, `saw`, '1');
+          }
+        }
+      },
+      async setjlList() {
+        var userid = this.user.uid;
+        const res = await this.query({ pid: userid});
+        this.$set(this, `jlList`, res.data);
+
+      },
+      fallow() {
+        this.dialogFormVisible=true;
+      },
+      quxiao(){
+        this.dialogFormVisible=false;
+      },
+      // 指派
+      async zhipaiformBtn({data}){
+        console.log(this.id);
+        console.log(data.uuid);
+        let xqid=this.id;
+        let userid = this.user.userid;
+        let uuid = data.uuid;
+        const res = await this.beforFollow({xqid:xqid,userid:userid});
+        if(res.data.finstatus=='SUCCESS'){
+          this.$message({
+            message: '您已分配成功',
+            type: 'success',
+          });
+        }else{
+          const followres = await this.followIntelligent({xqid:xqid,userid:userid,uuid:uuid});
+          if(followres.errcode===0){
+            this.$message({
+              message: '分配成功',
+              type: 'success',
+            });
+          }else{
+            this.$message({
+              message: '分配失败',
+              type: 'error',
+            });
+          }
+          this.goBack();
+        }
+      },
+      // 返回
+      goBack() {
+        this.$router.go(-1);
+      },
+    },
+  };
+</script>
+
+<style lang="less" scoped>
+    .debt {
+        padding: 20px;
+    }
+    .top {
+        border-bottom: 1px solid #ccc;
+    }
+    .main {
+        border-radius: 10px;
+        margin: 20px 0 0 0;
+        box-shadow: 0 0 3px #666;
+    }
+    .main .back {
+        padding: 10px 0 10px 15px;
+    }
+</style>

+ 0 - 0
src/views/intelligentDocking/intelligentDockingFinish.vue


+ 0 - 0
src/views/intelligentDocking/intelligentDockingFollow.vue


+ 146 - 0
src/views/intelligentDocking/intelligentDockingIndex.vue

@@ -0,0 +1,146 @@
+<template>
+    <div id="intelligent">
+        <el-col :span="24" class="debt">
+            <el-col :span="24" class="top">
+                <topInfo :topTitle="topTitle" :display="display" ></topInfo>
+            </el-col>
+
+            <el-col :span="24" class="main">
+                <intelligentDockingList :debtTable="debtTable" :total="total" :jlList="jlList" :dialogFormVisible="dialogFormVisible" :zhipaiform="zhipaiform"  @pagechange="pagechange" @zhipai="zhipai" @zhipaiformBtn="zhipaiformBtn" @quxiao="quxiao"></intelligentDockingList>
+            </el-col>
+        </el-col>
+    </div>
+</template>
+
+<script>
+  import topInfo from '@/layout/common/topInfo.vue';
+  import intelligentDockingList from '@/layout/intelligentDocking/intelligentDockingList.vue';
+  import { createNamespacedHelpers, mapGetters,mapState } from 'vuex';
+
+  const { mapActions: intelligent } = createNamespacedHelpers('intelligentDocking');
+  const { mapActions: intelligentFollow } = createNamespacedHelpers('intelligentFollow');
+  const { mapActions: otheruser } = createNamespacedHelpers('otheruser');
+  export default {
+    name: 'intelligent',
+    props: {},
+    components: {
+      topInfo, //头部导航
+      intelligentDockingList, //需求列表
+    },
+    data: () => ({
+      topTitle: '银企对接需求',
+      display: 'none',
+      debtTable: [],
+      total: 0,
+      jgpro: '0',
+      jlList:'',
+      zpid:'',
+      dialogFormVisible:false,
+      zhipaiform:{},
+    }),
+    created() {
+      this.intelligentDockingList();
+      this.setjlList();
+    },
+    computed: {
+      ...mapState(['user']),
+    },
+    methods: {
+      ...intelligent(['dockingSearch','update']),// 列表,修改关注状态
+      ...intelligentFollow(['beforFollow','followIntelligent']),
+      ...otheruser(['fetch','query']),
+      async intelligentDockingList({ skip = 1, limit = 10,jg_id = this.user.userid} = {}) {
+        const res = await this.dockingSearch({ skip, limit,jg_id });
+        this.$set(this, `debtTable`, res.result);
+        this.$set(this, `total`, res.total);
+      },
+      async setjlList() {
+        var userid = this.user.uid;
+        const res = await this.query({ pid: userid});
+        this.$set(this, `jlList`, res.data);
+      },
+      async pagechange(data) {
+        var skip = data.skip;
+        var limit = 10;
+        var jg_id ;
+        if(this.jgpro =='0'){
+          jg_id='0';
+        }else{
+          jg_id =  this.user.userid;
+        }
+        const res = await this.dockingSearch({ skip, limit,jg_id });
+        this.$set(this, `debtTable`, res.result);
+        this.$set(this, `total`, res.total);
+      },
+      async clickBtn(message) {//查询
+        this.jgpro = message;
+        var skip = 0;
+        var limit =10;
+        if(message==1){
+          var jg_id = '0';
+          const res = await this.dockingSearch({ skip, limit,jg_id});
+          this.$set(this, `debtTable`, res.result);
+          this.$set(this, `total`, res.total);
+        }else{
+          var jg_id =  this.user.userid;
+          const res = await this.dockingSearch({ skip, limit,jg_id});
+          this.$set(this, `debtTable`, res.result);
+          this.$set(this, `total`, res.total);
+        }
+      },
+      quxiao(){
+        this.dialogFormVisible=false;
+      },
+      //指派
+      async zhipai(valid){
+        this.zpid = valid;
+        let userid = this.user.userid;
+        const res = await this.beforFollow({xqid:valid,userid:userid});
+        if(res.data.finstatus=='SUCCESS') {
+          this.$message({
+            message: '您已分配过该需求',
+            type: 'success',
+          });
+        }else{
+          this.dialogFormVisible=true;
+        }
+      },
+      async zhipaiformBtn({data}){
+        let xqid=this.zpid;
+        let userid = this.user.userid;
+        let uuid = data.uuid;
+        const res = await this.beforFollow({xqid:xqid,userid:userid});
+        if(res.data.finstatus=='SUCCESS'){
+          this.$message({
+            message: '您已分配成功',
+            type: 'success',
+          });
+        }else{
+          console.log('data=======',data)
+          const followres = await this.followIntelligent({xqid:xqid,userid:userid,uuid:uuid});
+          if(followres.errcode===0){
+            this.$message({
+              message: '分配成功',
+              type: 'success',
+            });
+          }else{
+            this.$message({
+              message: '分配失败',
+              type: 'error',
+            });
+          }
+        }
+        this.dialogFormVisible=false;
+      },
+    },
+  };
+</script>
+
+<style lang="less" scoped>
+    .debt {
+        padding: 20px;
+    }
+    .top {
+        border-bottom: 1px solid #ccc;
+    }
+</style>

+ 0 - 53
vue.config.js

@@ -1,53 +0,0 @@
-const path = require('path');
-
-module.exports = {
-    publicPath: process.env.NODE_ENV === 'development' ? '/' : process.env.VUE_APP_ROOT_URL,
-
-    configureWebpack: config => {
-        Object.assign(config, {
-            // 开发生产共同配置
-            resolve: {
-                alias: {
-                    '@': path.resolve(__dirname, './src'),
-                    '@c': path.resolve(__dirname, './src/components'),
-                    '@a': path.resolve(__dirname, './src/assets'),
-                },
-            },
-        });
-    },
-    devServer: {
-        port: '8001',
-        //api地址前缀
-        proxy: {
-            '/files': {
-                target: 'http://smart.cc-lotus.info',
-                changeOrigin: true,
-                ws: true,
-            },
-            '/ws': {
-                target: 'http://smart.cc-lotus.info',
-                ws: true,
-            },
-            '/weixin': {
-                target: 'http://smart.cc-lotus.info',
-                changeOrigin: true,
-                ws: true,
-            },
-            // '/api': {
-            //   target: 'http://127.0.0.1:7004',
-            //   changeOrigin: true,
-            //   ws: true,
-            // },
-            //   '/api': {
-            //      target: 'http://free.liaoningdoupo.com',
-            //     changeOrigin: true,
-            //     ws: true,
-            // },
-            '/api': {
-                target: 'http://124.235.209.122:88',
-                changeOrigin: true,
-                ws: true,
-            },
-        },
-    },
-};