去除log修改报错、工作台搜索跳转

prod
吕天方 8 months ago
parent a778fcfb81
commit 6fa255edea

@ -5,7 +5,7 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统
ENV = 'development'
# 金鸡湖现代服务业品牌管理系统/开发环境
VUE_APP_BASE_API = 'http://192.168.0.105:9040'
VUE_APP_BASE_API = 'http://192.168.0.104:9040'
# VUE_APP_BASE_API = 'http://39.101.188.84:9040'
# 路由懒加载

@ -1,6 +1,6 @@
{
"name": "ruoyi",
"version": "1.0.202405281704",
"version": "1.0.202405291050",
"description": "金鸡湖现代服务业品牌管理系统",
"author": "若依",
"license": "MIT",

@ -3,7 +3,7 @@
<div class="schedule-title" id="L-header-list">项目清单</div>
<div class="schedule-timeline">
<section>
<el-table v-loading="loading" border class="tabTwo-table" :data="tableData" :row-class-name="tableRowClassName" :height="tabHeader" :max-height="tabHeader">
<el-table v-loading="loading" border class="tabTwo-table" :data="tableData" :row-class-name="tableRowClassName" :max-height="tabHeader">
<el-table-column type="index" width="55" label="序号"/>
<el-table-column label="项目名称" prop="projectName" />
<el-table-column label="操作" prop="userId" class-name="table-operation">

@ -193,7 +193,10 @@ export default {
mounted() {
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
if(this.$route.params.enterpriseName) {
this.formInline.enterpriseName = this.$route.params.enterpriseName;
this.pagination = { ...this.pagination,...this.formInline };
}
this.getList();
},
destroyed() {

@ -569,7 +569,7 @@ export default {
// },
/** 开始填报按钮操作 */
handleAdd(row){
console.log(row);
// console.log(row);
this.$router.push({name: 'declareAddContent',query: {
templateId: row.templateId,
templateRecordId: row.templateRecordId,
@ -601,7 +601,7 @@ export default {
pageSize: 10,
}
templateList(params).then(response => {
console.log(response);
// console.log(response);
this.templateDataList = response.rows
})
} else {
@ -702,7 +702,7 @@ export default {
// } else {
this.$refs["cityFormRef"].validate(valid => {
if (valid) {
console.log('this.form.reviewList',this.cityForm.reviewList);
// console.log('this.form.reviewList',this.cityForm.reviewList);
putMunicipalBureauReview(this.cityForm).then(response => {
this.$modal.msgSuccess("评审成功");
this.openCity = false;

@ -149,8 +149,8 @@ export default {
},
props:{
id:{
type:String,
default:"",
type:Number,
default:null,
}
},
mounted(){

@ -81,6 +81,7 @@ export default {
this.loading = false;
this.detailedInfo = JSON.parse(res.data.otherJson);
this.fileJson = JSON.parse(res.data.fileJson);
console.log(this.fileJson,"this.fileJson");
// for (var key in obj) {
// if (obj.hasOwnProperty(key)) {
// var value = obj[key];

@ -22,7 +22,7 @@
@select="handleSelect"
class="input-with-select"
>
<template slot="append" class="work-btn">搜索</template>
<el-button slot="append" class="work-btn" @click="searchBtn"></el-button>
</el-autocomplete>
</div>
</div>
@ -226,7 +226,12 @@ export default {
let results = []
if(this.checked == 0) {
workSearch({enterpriseInfo: queryString}).then(res => {
console.log(res,"res");
res.data.forEach(item => {
results.push({
value: item.enterpriseName,
id: item.id
})
})
})
} else if(this.checked == 1) {
selectAll({ name: queryString }).then(res => {
@ -253,6 +258,22 @@ export default {
handleSelect(item) {
console.log(item);
},
searchBtn(){
console.log(this.search);
if(this.checked == 0) {
this.$router.push({
name: 'Enterpriselibrary',
params: { enterpriseName: this.search }
})
} else if(this.checked == 1) {
this.$router.push({
name: 'Project',
params: { projectName: this.search }
})
} else if(this.checked == 2) {
}
},
handleFileUpload(params) {
const file = params.file
let form = new FormData()

Loading…
Cancel
Save