Commit 8bae5539 authored by caixingbing's avatar caixingbing
parents db1afa43 a67d18e8
...@@ -265,11 +265,11 @@ public class FileUtils ...@@ -265,11 +265,11 @@ public class FileUtils
for (File directory : files) { for (File directory : files) {
// 如果是文件夹则递归调用此方法 // 如果是文件夹则递归调用此方法
if (directory.isDirectory()) { if (directory.isDirectory()) {
fileList.add(new BusinessFileVo(directory.getPath(),new SimpleDateFormat("yyyy-MM-dd").format(directory.lastModified()))); fileList.add(new BusinessFileVo(directory.getPath(),new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(directory.lastModified())));
getAllFiles(directory.getPath()); getAllFiles(directory.getPath());
} else { } else {
// 如果是文件则直接输出路径 // 如果是文件则直接输出路径
fileList.add(new BusinessFileVo(directory.getPath(),new SimpleDateFormat("yyyy-MM-dd").format(directory.lastModified()))); fileList.add(new BusinessFileVo(directory.getPath(),new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(directory.lastModified())));
} }
} }
return fileList; return fileList;
...@@ -301,7 +301,7 @@ public class FileUtils ...@@ -301,7 +301,7 @@ public class FileUtils
tempFile = new File(path + File.separator + fileName); tempFile = new File(path + File.separator + fileName);
} }
if (tempFile.isFile()) { if (tempFile.isFile()) {
fileList.add(new BusinessFileVo(tempFile.getPath(),new SimpleDateFormat("yyyy-MM-dd").format(tempFile.lastModified()))); fileList.add(new BusinessFileVo(tempFile.getPath(),new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(tempFile.lastModified())));
} }
if (tempFile.isDirectory()) { if (tempFile.isDirectory()) {
List<BusinessFileVo> allFiles = getAllFileNames(tempFile.getAbsolutePath()); List<BusinessFileVo> allFiles = getAllFileNames(tempFile.getAbsolutePath());
......
...@@ -739,7 +739,7 @@ select { ...@@ -739,7 +739,7 @@ select {
.checkbox { .checkbox {
display: flex; display: flex;
align-items: center; align-items: flex-start;
} }
.checkbox .checkbox-titel { .checkbox .checkbox-titel {
...@@ -751,7 +751,7 @@ select { ...@@ -751,7 +751,7 @@ select {
.checkbox .checkbox-content { .checkbox .checkbox-content {
display: flex; display: flex;
align-items: center; align-items: flex-start;
} }
.checkbox .el-checkbox__label { .checkbox .el-checkbox__label {
......
...@@ -345,7 +345,7 @@ export default { ...@@ -345,7 +345,7 @@ export default {
getCustomerList(this.searchParam).then(result=>{ getCustomerList(this.searchParam).then(result=>{
this.tableData = result this.tableData = result
this.tableData.rows.forEach(item=>{ this.tableData.rows.forEach(item=>{
item.registerCapital.replace(/^\D*(\d*(?:\.\d{0,6})?).*$/g, '$1') item.registerCapital = item.registerCapital == null?null: item.registerCapital.replace(/^\D*(\d*(?:\.\d{0,6})?).*$/g, '$1')
if(item.mainBusiness != "" && item.mainBusiness != null && item.mainBusiness.length>84){ if(item.mainBusiness != "" && item.mainBusiness != null && item.mainBusiness.length>84){
item.mainBusiness1 = item.mainBusiness.substring(0,81) item.mainBusiness1 = item.mainBusiness.substring(0,81)
item.sq1 = true item.sq1 = true
......
...@@ -961,7 +961,7 @@ export default { ...@@ -961,7 +961,7 @@ export default {
.content_item{ .content_item{
padding-top:20px; padding-top:20px;
display: flex; display: flex;
align-items: center; align-items: flex-start;
.label{ .label{
width: 84px; width: 84px;
font-size: 14px; font-size: 14px;
......
...@@ -123,8 +123,8 @@ export default { ...@@ -123,8 +123,8 @@ export default {
label: 'GDP(亿元)', label: 'GDP(亿元)',
}, },
{ {
prop: 'gdpAddValue', prop: 'gdpGrowth',
label: 'GDP增速', label: 'GDP增速(%)',
}, },
{ {
prop: 'gdpPerCapita', prop: 'gdpPerCapita',
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<!--{{ scope.row.province}}{{scope.row.city ? '-': ''}}{{ scope.row.city}}{{scope.row.area ? '-': ''}}{{ scope.row.area}}--> <!--{{ scope.row.province}}{{scope.row.city ? '-': ''}}{{ scope.row.city}}{{scope.row.area ? '-': ''}}{{ scope.row.area}}-->
<!--</template>--> <!--</template>-->
<template slot-scope="scope"> <template slot-scope="scope">
<span @click="childMethod(scope.row)" class="a-link" style="cursor: pointer;">{{ scope.row.province}}{{scope.row.city ? '-': ''}}{{ scope.row.city}}{{scope.row.area ? '-': ''}}{{ scope.row.area}}</span> <span @click="childMethod(scope.row)" class="a-link" style="cursor: pointer;">{{scope.row.area ? scope.row.area: scope.row.city ? scope.row.city : scope.row.province}}</span>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -124,8 +124,8 @@ export default { ...@@ -124,8 +124,8 @@ export default {
label: 'GDP(亿元)', label: 'GDP(亿元)',
}, },
{ {
prop: 'gdpAddValue', prop: 'gdpGrowth',
label: 'GDP增速', label: 'GDP增速(%)',
}, },
{ {
prop: 'gdpPerCapita', prop: 'gdpPerCapita',
......
...@@ -66,7 +66,8 @@ export default { ...@@ -66,7 +66,8 @@ export default {
// params.provinceId=this.dataQuery.provinceId // params.provinceId=this.dataQuery.provinceId
// } // }
if(this.dataQuery.provinceId){ if(this.dataQuery.provinceId){
this.province=this.dataQuery.province[this.dataQuery.province.length-1]; this.province=this.dataQuery.province;
this.dataQuery.province=[this.dataQuery.province]
this.provinceId.push(this.dataQuery.provinceId) this.provinceId.push(this.dataQuery.provinceId)
}else { }else {
location({}).then(res => { location({}).then(res => {
......
...@@ -53,10 +53,20 @@ ...@@ -53,10 +53,20 @@
<el-table-column label="四库业绩" prop="skyCount" sortable="custom" width="120" :formatter="formatStatus"/> <el-table-column label="四库业绩" prop="skyCount" sortable="custom" width="120" :formatter="formatStatus"/>
<el-table-column label="公路业绩" prop="roadConservancy" sortable="custom" width="100" :formatter="formatStatus"/> <el-table-column label="公路业绩" prop="roadConservancy" sortable="custom" width="100" :formatter="formatStatus"/>
<el-table-column label="水利业绩" prop="waterConservancy" sortable="custom" width="100" :formatter="formatStatus"/> <el-table-column label="水利业绩" prop="waterConservancy" sortable="custom" width="100" :formatter="formatStatus"/>
<el-table-column label="常合作业主" prop="topCustomer" width="150" :formatter="formatStatus"/> <el-table-column label="常合作业主" prop="topCustomer" width="150" :formatter="formatStatus">
<template slot-scope="scope">
<router-link v-if="scope.row.topCustomerId" :to="`/company/${encodeStr(scope.row.topCustomerId)}`" tag="a" class="a-link" v-html="scope.row.topCustomer" ></router-link>
<span v-else v-html="scope.row.topCustomer" ></span>
</template>
</el-table-column>
<el-table-column label="客户(个)" prop="customerCount" sortable="custom" width="120" :formatter="formatStatus"/> <el-table-column label="客户(个)" prop="customerCount" sortable="custom" width="120" :formatter="formatStatus"/>
<el-table-column label="供应商(个)" prop="supplierCount" sortable="custom" width="150" :formatter="formatStatus"/> <el-table-column label="供应商(个)" prop="supplierCount" sortable="custom" width="150" :formatter="formatStatus"/>
<el-table-column label="常合作供应商" prop="topSupplier" width="200" :formatter="formatStatus"/> <el-table-column label="常合作供应商" prop="topSupplier" width="200" :formatter="formatStatus">
<template slot-scope="scope">
<router-link v-if="scope.row.topSupplierId" :to="`/company/${encodeStr(scope.row.topSupplierId)}`" tag="a" class="a-link" v-html="scope.row.topSupplier" ></router-link>
<span v-else v-html="scope.row.topSupplier" ></span>
</template>
</el-table-column>
</el-table> </el-table>
<div class="empty" v-if="tableDataTotal === 0"> <div class="empty" v-if="tableDataTotal === 0">
<img class="img" src="@/assets/images/project/empty.png"> <img class="img" src="@/assets/images/project/empty.png">
......
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
<div class="content"> <div class="content">
<div class="flex-box query-box"> <div class="flex-box query-box">
<div class="flex-box query-params"> <div class="flex-box query-params">
<span class="common-title">主要指标</span> <span class="common-title">城投平台列表</span>
</div> </div>
<div class="flex-box query-ability"> <div class="flex-box query-ability">
<span class="flex-box" @click="handleMessage"><img src="@/assets/images/ability_excel.png">导出EXCEL</span> <span class="flex-box" @click="handleMessage"><img src="@/assets/images/ability_excel.png">导出EXCEL</span>
...@@ -681,7 +681,7 @@ export default { ...@@ -681,7 +681,7 @@ export default {
position: absolute; position: absolute;
top: 25px; top: 25px;
left: 0; left: 0;
z-index: 9999; z-index: 999;
.item{ .item{
margin-bottom: 5px; margin-bottom: 5px;
/*display: flex;*/ /*display: flex;*/
......
<template> <template>
<div> <div>
<el-card class="box-card noborder"> <el-card class="box-card noborder">
<div class="cardtitles" v-if="showtype != 'projectgjdt'">跟进记录</div> <div class="cardtitles">{{indexname}}</div>
<div style="height: 24px" v-if="showtype == 'projectgjdt'"></div> <!--<div style="height: 24px" v-if="showtype == 'projectgjdt'"></div>-->
<div class="records"> <div class="records">
<div class="writeIn" v-if="isDisableds == false"> <div class="writeIn" v-if="isDisableds == false">
<div class="default" v-if="isEdit == false" @click="getEdit"> <div class="default" v-if="isEdit == false" @click="getEdit">
...@@ -87,6 +87,13 @@ ...@@ -87,6 +87,13 @@
</div> </div>
<div class="recordlist" v-if="showtype=='gjjl' || showtype == 'projectgjdt' && recordlist.total>0"> <div class="recordlist" v-if="showtype=='gjjl' || showtype == 'projectgjdt' && recordlist.total>0">
<div class="rec_detail" v-for="(item,index) in recordlist.rows"> <div class="rec_detail" v-for="(item,index) in recordlist.rows">
<div class="delform" v-if="isdel && delID == item.id">
<div class="words">是否删除该条记录</div>
<div>
<div class="btnsmall btn_primary h28" @click="delele">确定</div>
<div class="btnsmall btn_cancel h28" @click="isdel=false">取消</div>
</div>
</div>
<div class="rec_time"> <div class="rec_time">
<i class="el-icon-time"></i> <i class="el-icon-time"></i>
...@@ -151,6 +158,7 @@ ...@@ -151,6 +158,7 @@
name: 'gjjl', name: 'gjjl',
data(){ data(){
return{ return{
indexname:'跟进记录',
showtype:'', showtype:'',
isEdit:false, isEdit:false,
value:'', value:'',
...@@ -174,6 +182,7 @@ ...@@ -174,6 +182,7 @@
userId:this.$store.state.user.userId,//当前用户id userId:this.$store.state.user.userId,//当前用户id
projectList:[],//关联项目 projectList:[],//关联项目
isDisableds:this.isDisabled, isDisableds:this.isDisabled,
keys:1,
} }
}, },
computed: { computed: {
...@@ -186,6 +195,7 @@ ...@@ -186,6 +195,7 @@
this.showtype = this.types this.showtype = this.types
//客户管理跟进动态 //客户管理跟进动态
if(this.showtype == 'gjdt'){ if(this.showtype == 'gjdt'){
this.indexname = '跟进动态'
this.isDisableds = false this.isDisableds = false
getUserList().then(result=>{ getUserList().then(result=>{
this.glqylist = result.data this.glqylist = result.data
...@@ -198,6 +208,7 @@ ...@@ -198,6 +208,7 @@
} }
//项目管理跟进动态 //项目管理跟进动态
if(this.showtype == 'projectgjdt'){ if(this.showtype == 'projectgjdt'){
this.indexname = '跟进动态'
this.isDisableds = false this.isDisableds = false
this.projectId = null//项目id暂时清空,必须手选id this.projectId = null//项目id暂时清空,必须手选id
relateProject(this.userId).then(res=>{ relateProject(this.userId).then(res=>{
...@@ -270,6 +281,7 @@ ...@@ -270,6 +281,7 @@
delRecord(id){ delRecord(id){
this.isdel = true this.isdel = true
this.delID = id this.delID = id
this.keys++;
}, },
delele(){ delele(){
if(this.types == 'gjdt') { if(this.types == 'gjdt') {
...@@ -381,6 +393,9 @@ ...@@ -381,6 +393,9 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.app-main{
overflow: initial !important;
}
.el-card{ .el-card{
overflow: initial; overflow: initial;
} }
......
...@@ -109,8 +109,8 @@ ...@@ -109,8 +109,8 @@
this.value = "" this.value = ""
}, },
add(){ add(){
if(this.queryParam.task == '') if(this.queryParam.task == '' || this.queryParam.finishTime == '')
return false return this.$message.warning('时间和内容需填写完整!')
addGZDB(this.queryParam).then(result=>{ addGZDB(this.queryParam).then(result=>{
if(result.code == 200){ if(result.code == 200){
this.$message.success("添加成功!") this.$message.success("添加成功!")
......
...@@ -21,5 +21,4 @@ export default { ...@@ -21,5 +21,4 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment