sr 4 years ago
parent
commit
87097aee3a

+ 7 - 0
ruoyi-ui/src/api/statistical/index.js

@@ -70,6 +70,13 @@ export function setReject(data) {
     data
   })
 }
+// 统计分析-在谈线索-榜单
+export function getUnitClueList() {
+  return request({
+    url: '/deptPlan/plan/unitClueList',
+    method: 'post'
+  })
+}
 
 // 统计分析-签约项目-榜单
 export function getUnitAmountList() {

+ 1 - 1
ruoyi-ui/src/components/ProjectDec/SignContract.vue

@@ -1150,7 +1150,7 @@
             } else {
               // 新增
               addOrderinfo(JSON.stringify(data)).then((res) => {
-                this.msgSuccess("存成功");
+                this.msgSuccess("存成功");
                 this.$router.push({
                   path: "/management/info/index",
                 });

+ 2 - 4
ruoyi-ui/src/settings.js

@@ -1,9 +1,7 @@
 module.exports = {
   title: '招商引资管理系统',
-  urls: 'http://192.168.101.11:8010',
-  // urls: 'http://47.99.82.249:80',
-  
-
+  // urls: 'http://192.168.101.11:8010',
+  urls: 'http://47.99.82.249:80',
 
   /**
    * 侧边栏主题 深色主题theme-dark,浅色主题theme-light

+ 2 - 2
ruoyi-ui/src/views/login.vue

@@ -70,8 +70,8 @@ export default {
       codeUrl: "",
       cookiePassword: "",
       loginForm: {
-        username: "admin",
-        password: "admin123",
+        username: "",
+        password: "",
         rememberMe: false,
         code: "",
         uuid: ""

+ 2 - 2
ruoyi-ui/src/views/management/info/index.vue

@@ -27,7 +27,7 @@
     <el-row :gutter="10" class="mb8">
       <el-col :span="1.5">
         <el-button type="primary" plain style="background-color: #1C84C6;color: #fff;border: none;" size="mini" @click="handleAdd"
-          v-hasPermi="['projectInfo:info:add']">添加线索</el-button>
+          v-hasPermi="['bmProject:project:add']">添加线索</el-button>
       </el-col>
       <!-- <el-col :span="1.5">
         <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
@@ -35,7 +35,7 @@
       </el-col> -->
       <el-col :span="1.5">
         <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
-          v-hasPermi="['projectInfo:info:remove']">销号</el-button>
+          v-hasPermi="['bmProject:project:remove']">销号</el-button>
       </el-col>
       <!-- <el-col :span="1.5">
         <el-button

+ 12 - 91
ruoyi-ui/src/views/management/nstruction/index.vue

@@ -5,16 +5,14 @@
         <el-button
           type="primary"
           @click="handleAudit"
-          v-hasPermi="['bmProject:project:examine']"
-          >提交</el-button
-        >
+          v-hasPermi="['projectConstruction:construction:add']"
+          >提交</el-button>
         <el-button
           type="primary"
           @click="submitCtion"
           v-hasPermi="['projectConstruction:construction:add']"
           v-if="tab == 0 || tab == 3"
-          >暂存</el-button
-        >
+          >暂存</el-button>
       </el-col>
       <el-col :span="1.5">
         <el-button type="primary" @click="handleUpdatex">取消</el-button>
@@ -67,14 +65,14 @@
               <span>*</span>
               <span>合同约定开工时间:</span>
             </p>
-            <p>{{ timeList.orderBeginTime }}</p>
+            <p>{{ queryParamstwr.orderBeginTime }}</p>
           </div>
           <div class="nstruction_navne">
             <p>
               <span>*</span>
               <span> 合同约定竣工时间:</span>
             </p>
-            <p>{{ timeList.orderEndTime }}</p>
+            <p>{{ queryParamstwr.orderEndTime }}</p>
           </div>
         </div>
         <div class="naue_tab">
@@ -661,7 +659,7 @@
         <el-form-item label="图片" prop="photo">
           <el-upload
             class="upload-demo"
-            ref="uploadty"
+            ref="upload"
             :action="defaultSettings.urls + process+'/common/upload'"
             :on-preview="handlePreviewther"
             :on-remove="handleRemovether"
@@ -681,7 +679,7 @@
               size="small"
               type="success"
               :disabled = "disfal"
-              @click="submitUploadthers"
+              @click="submitUploadther"
               >上传到服务器</el-button
             >
             <div slot="tip" class="el-upload__tip">
@@ -707,7 +705,6 @@ import {
   listConfigfunding,
   listConfigarrival,
   listConfigintegration,
-  listConfigintegrationsr,
   getConfig,
   delConfig,
   delConfigther,
@@ -859,11 +856,6 @@ export default {
       queryFormhye: {},
       udgment: 0, //项目入统判断是新增  还是修改   新增0   修改1
       udgmentList: [],
-      hfeiteka:false,//判断新增点击
-      ixndgh:false,
-      nbjieug:false,
-      remou:[],
-      timeList:{}
     };
   },
   created() {
@@ -880,7 +872,6 @@ export default {
     console.log(this.bmjdeu);
     this.getList();
     this.getListtoi();
-    this.getListsever()
     // this.getListther()
     // this.getListfour()
     // this.getListfive()
@@ -962,21 +953,7 @@ export default {
     },
     handleChange(file, fileList){
       console.log(file, fileList)
-      if(fileList.length > 1){
-         // this.imagese  = []
-        this.ixndgh = true
-        this.hfeiteka = true
-      }else{
-        // this.imagese  = []
-        this.ixndgh = false
-        this.hfeiteka = false
-      }
-      console.log(986)
     },
-    clearFiles () {
-      console.log(123)
-                this.$refs['uploadty'].clearFiles();
-            },
     beforeAvatarUpload(file) {
       console.log(file);
     },
@@ -1040,22 +1017,13 @@ export default {
       );
     },
     beforeRemovetwo(file, fileList) {
-      // return this.$confirm(`确定移除 ${file.name}?`);
+      return this.$confirm(`确定移除 ${file.name}?`);
     },
     submitUploadther() {
       this.$refs.upload.submit();
     },
-    submitUploadthers(){
-      this.$refs.uploadty.submit();
-    },
     handleRemovether(file, fileList) {
-      console.log(file, fileList);
-      if(fileList.length > 1){
-        this.nbjieug = true
-      }else{
-        this.nbjieug = false
-      }
-      console.log(6554)
+      // console.log(file, fileList);
     },
     handlePreviewther(file) {
       console.log(file, 45);
@@ -1064,13 +1032,6 @@ export default {
     handleSuccther(response, file, fileList) {
       // let imges = []
 
-      // if( this.hfeiteka == false   ){
-      //   this.imagese  = []
-      //   console.log(this.imagese,9876)
-      // }
-      // if(!this.ixndgh){
-      //   this.imagese  = []
-      // }
       this.imagese.push(file.response.url);
       console.log(this.imagese.join(","), 345);
       if (this.numhu == 0) {
@@ -1078,11 +1039,10 @@ export default {
       } else if (this.numhu == 1) {
         this.formtwo.photo = this.imagese.join(",");
       } else if (this.numhu == 2) {
-        this.formther.photo = ''
         this.formther.photo = this.imagese.join(",");
       }
 
-      console.log(this.imagese,34567);
+      console.log(this.form.photo);
       if (file.response.code == 200) {
         this.msgSuccess("上传成功");
       }
@@ -1193,7 +1153,6 @@ export default {
         this.configLisfour.filter((route) => {
           if (route.photo !== null) {
             let poku = [];
-            this.imagese = []
             poku = route.photo.split(",");
             route.photo = route.photo.split(",");
             route.phototwo = route.photo[0];
@@ -1244,20 +1203,6 @@ export default {
         this.loading = false;
       });
     },
-    //合同约定时间查看接口
-    getListsever() {
-      this.loading = true;
-      listConfigintegrationsr(this.bmProjectId).then((response) => {
-        // this.fileListthertwo = [];
-        if (response.data !== undefined) {
-          this.timeList = response.data;
-        } else {
-
-        }
-
-        this.loading = false;
-      });
-    },
     // 参数系统内置字典翻译
     typeFormat(row, column) {
       return this.selectDictLabel(this.typeOptions, row.configType);
@@ -1267,7 +1212,6 @@ export default {
       this.open = false;
       this.opentwo = false;
       this.openther = false;
-      this.hfeiteka  = false
       this.reset();
     },
     // 表单重置
@@ -1283,27 +1227,16 @@ export default {
       this.resetForm("form");
     },
     resettwo() {
-      this.formtwo = {
+      this.form = {
         // configId: undefined,
         // configName: undefined,
         // configKey: undefined,
         // configValue: undefined,
         // configType: "Y",
-        photo: undefined
+        // remark: undefined
       };
       this.resetForm("formtwo");
     },
-    resetther() {
-      this.formther = {
-        // configId: undefined,
-        // configName: undefined,
-        // configKey: undefined,
-        // configValue: undefined,
-        // configType: "Y",
-        photo: undefined
-      };
-      this.resetForm("formther");
-    },
     /** 搜索按钮操作 */
     handleQuery() {
       this.queryParams.pageNum = 1;
@@ -1319,14 +1252,10 @@ export default {
     handleAdd(index) {
       this.numhu = index;
       this.reset();
-
-      // this.hfeiteka = true
       this.fileListtherrt = []
       if (this.numhu == 0) {
         this.open = true;
       } else if (this.numhu == 2) {
-        this.formther.photo = ''
-        this.resetther()
         this.openther = true;
       }
 
@@ -1365,11 +1294,9 @@ export default {
               this.msgSuccess("请上传照片");
               return  false
             }
-            this.imagese = []
             addConfigther(this.form).then((response) => {
               this.msgSuccess("新增成功");
               this.open = false;
-              this.hfeiteka   = false
               this.getListtoi();
             });
           }
@@ -1385,11 +1312,9 @@ export default {
               this.msgSuccess("请上传照片");
               return  false
             }
-            this.imagese = []
             addConfigfour(this.formtwo).then((response) => {
               this.msgSuccess("新增成功");
               this.opentwo = false;
-              this.hfeiteka   = false
               this.getListther();
             });
           }
@@ -1410,12 +1335,9 @@ export default {
               this.msgSuccess("请上传照片");
               return  false
             }
-            this.imagese = []
             addConfigfiv(this.formther).then((response) => {
               this.msgSuccess("新增成功");
               this.openther = false;
-              this.hfeiteka   = false
-              // this.clearFiles()
               this.getListfour();
               this.getListfive()
             });
@@ -1647,7 +1569,6 @@ export default {
       this.numhu = index;
       this.fileListtherrt = []
       this.opentwo = true;
-      this.hfeiteka   = true
       this.titletwo = "添加参数";
     },
     //取消

+ 2 - 1
ruoyi-ui/src/views/statistical/clue/index.vue

@@ -67,6 +67,7 @@
     setExamine,
     setReject,
     getUnitAmountList,
+    getUnitClueList,
     setPass,
     getIndexEharts
   } from '@/api/statistical'
@@ -113,7 +114,7 @@
       },
       bd_btn() {
         console.log(222)
-        getUnitAmountList().then(res => {
+        getUnitClueList().then(res => {
           this.unitList = res.rows
         })
       },

+ 2 - 2
ruoyi-ui/src/views/statistical/underConstruction/index.vue

@@ -49,8 +49,8 @@
           <div class="rig_cont">
             <div class="rig_items" v-for="(item,index) in unitList" :key="index">
               <span>{{item.deptName}}</span>
-              <span>{{item.targetInvestmentNum?item.targetInvestmentNum:0}}万</span>
-              <span>{{item.successMission?item.successMission:0}}万</span>
+              <span>{{item.targetArrivalAmount?item.targetArrivalAmount:0}}万</span>
+              <span>{{item.payForMoney?item.payForMoney:0}}万</span>
             </div>
           </div>
         </div>

+ 2 - 3
ruoyi-ui/src/views/under/index.vue

@@ -5,7 +5,7 @@
         <el-button
           type="primary"
           @click="submitCtion"
-          v-hasPermi="['bmProject:projec:examine']"
+          v-hasPermi="['bmProject:project:examine']"
           >提交</el-button
         >
       </el-col>
@@ -13,7 +13,7 @@
         <el-button
           type="primary"
           @click="emporary"
-          v-hasPermi="['projectInfo:info:add']"
+          v-hasPermi="['bmProject:project:add']"
           >暂存</el-button
         >
       </el-col>
@@ -21,7 +21,6 @@
         <el-button
           type="primary"
           @click="cancelqiu"
-          v-hasPermi="['system:config:edit']"
           >取消</el-button
         >
       </el-col>