|
@@ -37,19 +37,6 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="24">
|
|
|
-<!-- <el-col :span="8">-->
|
|
|
-<!-- <el-form-item label="发布时间">-->
|
|
|
-<!-- <el-date-picker-->
|
|
|
-<!-- v-model="infoPublishTime"-->
|
|
|
-<!-- type="datetimerange"-->
|
|
|
-<!-- value-format="yyyy-MM-dd HH:mm:ss"-->
|
|
|
-<!-- range-separator="至"-->
|
|
|
-<!-- start-placeholder="开始月份"-->
|
|
|
-<!-- end-placeholder="结束月份"-->
|
|
|
-<!-- >-->
|
|
|
-<!-- {{this.areaObj.infoPublishTime}}</el-date-picker>-->
|
|
|
-<!-- </el-form-item>-->
|
|
|
-<!-- </el-col>-->
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="项目所属省份" prop="areaProvince">
|
|
|
<el-select v-model="form.areaProvince" placeholder="请选择" style="width: 100%;" clearable>
|
|
@@ -142,6 +129,19 @@
|
|
|
<el-input v-model="form.bidingKeyword" clearable>{{this.areaObj.bidingKeyword}}</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="发布时间">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="infoPublishTime"
|
|
|
+ type="daterange"
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="开始月份"
|
|
|
+ end-placeholder="结束月份"
|
|
|
+ >
|
|
|
+ {{this.areaObj.infoPublishTime}}</el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="24">
|
|
|
<el-col :span="8">
|
|
@@ -213,7 +213,6 @@
|
|
|
<el-button type="primary" @click="submitForm" >保存</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
-
|
|
|
</el-card>
|
|
|
|
|
|
</div>
|
|
@@ -419,11 +418,20 @@ export default {
|
|
|
getDetail(id){
|
|
|
queryById(id).then(res =>{
|
|
|
this.form=res.data
|
|
|
- this.form.infoTypeSegment=this.form.infoTypeSegment.split(',')
|
|
|
- this.form.biddingType=this.form.biddingType.split(',')
|
|
|
+ if(this.form.infoTypeSegment.length>0){
|
|
|
+ this.form.infoTypeSegment=this.form.infoTypeSegment.split(',')
|
|
|
+ }
|
|
|
+ if(this.form.biddingType.length>0){
|
|
|
+ this.form.biddingType=this.form.biddingType.split(',')
|
|
|
+ }
|
|
|
this.form.zhaoBiaoUnit=this.form.zhaoBiaoUnit.split(',')
|
|
|
this.form.subscriptionPusher=this.form.subscriptionPusher.split(',')
|
|
|
this.form.unitNameMatch=this.form.unitNameMatch.split(',')
|
|
|
+ if(this.form.infoPublishStartTime !=null && this.form.infoPublishEndTime != null){
|
|
|
+ this.infoPublishTime=[this.form.infoPublishStartTime,this.form.infoPublishEndTime]
|
|
|
+ }
|
|
|
+
|
|
|
+ console.log("this.infoPublishTime",this.infoPublishTime)
|
|
|
})
|
|
|
},
|
|
|
cancel(){
|