Commit eb438c24e1b6177d8038d993e7d9951ad5ff4414
1 parent
8f8dbfb8
1
Showing
5 changed files
with
1055 additions
and
1299 deletions
admin-web-master/src/views/customer/rsaManagement/genjin.vue
| 1 | 1 | <template> |
| 2 | - <div style="background-color:#f7f7f7;padding:10px 10px;"> | |
| 3 | - <div class="zhuti"> | |
| 4 | - <div style="height:58px;line-height:58px;"> | |
| 5 | - <div style="color:#0006"> <span>商户寻租管理</span> <span style="padding:0 5px;">></span> <span | |
| 6 | - style="color:#000000e6">跟进日志</span></div> | |
| 7 | - </div> | |
| 8 | - <!-- 搜索 --> | |
| 9 | - <div class="formSearch"> | |
| 10 | - <el-form :inline="true" :model="formSel"> | |
| 11 | - <el-form-item label="年月"> | |
| 12 | -<el-date-picker style="width: 100%;" v-model="formSel.yytime" value-format="yyyy-MM" | |
| 13 | - type="month" placeholder="选择日期"> | |
| 14 | - </el-date-picker> | |
| 15 | - </el-form-item> | |
| 16 | - | |
| 2 | + <div style="background-color:#f7f7f7;padding:10px 10px;"> | |
| 3 | + <div class="zhuti" v-if="ontype == '1'"> | |
| 4 | + <div style="height:58px;line-height:58px;"> | |
| 5 | + <div style="color:#0006"> <span>商户寻租管理</span> <span style="padding:0 5px;">></span> <span | |
| 6 | + style="color:#000000e6">跟进日志</span></div> | |
| 7 | + </div> | |
| 8 | + <!-- 搜索 --> | |
| 9 | + <div class="formSearch"> | |
| 10 | + <el-form :inline="true" :model="formSel"> | |
| 11 | + <el-form-item label="年月"> | |
| 12 | + <el-date-picker style="width: 100%;" v-model="formSel.yytime" value-format="yyyy-MM" type="month" | |
| 13 | + placeholder="选择日期"> | |
| 14 | + </el-date-picker> | |
| 15 | + </el-form-item> | |
| 17 | 16 | |
| 18 | - </el-form> | |
| 19 | - <div style="width: 17%;"> | |
| 20 | - <el-button | |
| 21 | - style="background-color: #3F9B6A;color: #fff" | |
| 22 | - @click="onSubmit" | |
| 23 | - >查询 | |
| 24 | - </el-button> | |
| 25 | - <el-button | |
| 26 | - class="buttonHover" | |
| 27 | - style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 28 | - @click="resetting" | |
| 29 | - >重置 | |
| 30 | - </el-button> | |
| 31 | - </div> | |
| 32 | 17 | |
| 33 | - </div> | |
| 34 | - <div style="margin-bottom:20px;"> | |
| 35 | - <el-button style="background-color: #3F9B6A;color: #fff;padding:8px 15px;" icon="el-icon-circle-plus-outline" | |
| 36 | - @click="genad">新增</el-button> | |
| 37 | - </div> | |
| 38 | - <div> | |
| 39 | - <el-calendar v-model="morenCard"> | |
| 40 | - <template | |
| 41 | - slot="dateCell" | |
| 42 | - slot-scope="{date, data}"> | |
| 43 | - {{data.day.split("-").slice(2).join("-")}} | |
| 44 | - <div style="overflow: auto;height:55px;"> | |
| 45 | - <div style="width:100%,height:100%" v-for="(item,index) in tableData" @click="genjinMsg(item)"> | |
| 46 | - <div style="font-size:12px;margin-top:10px;" > | |
| 47 | - {{item.followUpTime == data.day?item.contentFeedback:''}} | |
| 48 | - </div> | |
| 49 | - </div> | |
| 50 | - </div> | |
| 51 | - </template> | |
| 52 | - </el-calendar> | |
| 53 | - </div> | |
| 54 | - <div> | |
| 55 | - <el-button | |
| 56 | - class="buttonHover" | |
| 57 | - style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 58 | - @click="closeGenjin" | |
| 59 | - >返回 | |
| 18 | + </el-form> | |
| 19 | + <div style="width: 17%;"> | |
| 20 | + <el-button style="background-color: #3F9B6A;color: #fff" @click="onSubmit">查询 | |
| 21 | + </el-button> | |
| 22 | + <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 23 | + @click="resetting">重置 | |
| 60 | 24 | </el-button> |
| 61 | 25 | </div> |
| 62 | - </div> | |
| 63 | - <el-dialog :title="msgEit?'查看':'新增'" :visible.sync="ggXin" width="75%" | |
| 64 | - append-to-body :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false"> | |
| 65 | - <div style="padding: 20px;"> | |
| 66 | - <el-form ref="genform" :model="formInline" :rules="rulesOne" label-width="120px"> | |
| 67 | - <el-form-item label="跟进时间" prop="followUpTime"> | |
| 68 | - <el-date-picker | |
| 69 | - :disabled="msgEit" | |
| 70 | - v-model="formInline.followUpTime" | |
| 71 | - type="date" | |
| 72 | - value-format="yyyy-MM-dd" | |
| 73 | - placeholder="选择日期" | |
| 74 | - tyle="width: 100%;"> | |
| 75 | - </el-date-picker> | |
| 76 | - </el-form-item> | |
| 77 | - <el-form-item label="跟进类型" prop="followUpType" tyle="width: 100%;"> | |
| 78 | - <el-select v-model="formInline.followUpType" placeholder="请选择" :disabled="msgEit"> | |
| 79 | - <el-option label="电话跟进" value="电话跟进" /> | |
| 80 | - <el-option label="现场跟进" value="现场跟进" /> | |
| 81 | - <el-option label="微信跟进" value="微信跟进" /> | |
| 82 | - </el-select> | |
| 83 | - </el-form-item> | |
| 84 | - <el-form-item label="客户级别" prop="customerLevel" tyle="width: 100%;" > | |
| 85 | - <el-select v-model="formInline.customerLevel" placeholder="请选择" style="width:168px;margin-right: 15px" :disabled="msgEit"> | |
| 86 | - <el-option label="A" value="A" /> | |
| 87 | - <el-option label="B" value="B" /> | |
| 88 | - <el-option label="C" value="C" /> | |
| 89 | - </el-select> | |
| 90 | - </el-form-item> | |
| 91 | - <div style="border:1px solid #DCDFE6;font-size:14px;margin-bottom:10px;"> | |
| 92 | - <div style="padding: 10px 20px;border-bottom: 1px solid #DCDFE6;display: flex;justify-content: space-between;"> | |
| 93 | - <div>意向资源</div> | |
| 94 | - <div style="color: #3F9B6A;margin-left: 10px;" @click="addZi" v-if="msgEit==false"> | |
| 95 | - 添加 | |
| 96 | - </div> | |
| 97 | - </div> | |
| 98 | - <div style="padding:20px;"> | |
| 99 | - <el-table :data="addziyuanData.slice((currentPage - 1) * pageSize, currentPage * pageSize)" | |
| 100 | - :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | |
| 101 | - > | |
| 102 | - <el-table-column label="序号" width="80" > | |
| 103 | - <template slot-scope="scope"> | |
| 104 | - {{scope.$index + 1}} | |
| 105 | - </template> | |
| 106 | - </el-table-column> | |
| 107 | - <el-table-column label="资源编号" prop="id" width="150"> | |
| 108 | - | |
| 109 | - </el-table-column> | |
| 110 | - </el-table-column> | |
| 111 | - <el-table-column label="意向资源类型" width="150"> | |
| 112 | - <template slot-scope="scope"> | |
| 113 | - {{scope.row.advertisingType ?scope.row.advertisingType:'商铺'}} | |
| 114 | - </template> | |
| 115 | - </el-table-column> | |
| 116 | - | |
| 117 | - | |
| 118 | - <el-table-column label="意向租期" prop="leaseTerm" min-width="150"> | |
| 119 | - </el-table-column> | |
| 120 | - <el-table-column label="意向租金(元)" prop="rent" min-width="150"> | |
| 121 | - </el-table-column> | |
| 122 | - <el-table-column label="操作" min-width="80" v-if="msgEit==false"> | |
| 123 | - <template slot-scope="scope"> | |
| 124 | - <div class="tableBtn greens" @click="closemsg(scope.$index)">删除</div> | |
| 125 | - </template> | |
| 126 | - </el-table-column> | |
| 127 | - </el-table> | |
| 128 | - </div> | |
| 129 | - </div> | |
| 130 | - <el-form-item label="当前阶段" prop="currentStage"> | |
| 131 | - <el-select v-model="formInline.currentStage" placeholder="请选择" style="width:100%" :disabled="msgEit"> | |
| 132 | - <el-option label="继续跟进" value="继续跟进" /> | |
| 133 | - <el-option label="达成共识" value="达成共识" /> | |
| 134 | - </el-select> | |
| 135 | - </el-form-item> | |
| 136 | - <el-form-item label="内容反馈" prop="contentFeedback"> | |
| 137 | - <el-input type="textarea" v-model="formInline.contentFeedback" :rows="4" :disabled="msgEit"></el-input> | |
| 138 | - </el-form-item> | |
| 139 | - | |
| 140 | - <el-form-item label="现场照片" > | |
| 141 | - <div style="display:flex;flex-wrap: wrap;" v-if="msgEit" > | |
| 142 | - <!-- <el-image | |
| 143 | - style="width: 100px; height: 100px;margin-right: 10px;" | |
| 144 | - fit="fill" | |
| 145 | - :src="$baseURL+item" | |
| 146 | - v-for="(item,index) in imgList" :key="index" | |
| 147 | - > | |
| 148 | - <div slot="error" class="image-slot"> | |
| 149 | 26 | |
| 150 | - </div></el-image> --> | |
| 151 | - <div style="display: flex;"> | |
| 152 | - <allimg v-if="item" :src="item" fit="contain" v-for="item in imgList" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | |
| 27 | + </div> | |
| 28 | + <div style="margin-bottom:20px;"> | |
| 29 | + <el-button style="background-color: #3F9B6A;color: #fff;padding:8px 15px;" icon="el-icon-circle-plus-outline" | |
| 30 | + @click="genad">新增</el-button> | |
| 31 | + </div> | |
| 32 | + <div> | |
| 33 | + <el-calendar v-model="morenCard"> | |
| 34 | + <template slot="dateCell" slot-scope="{date, data}"> | |
| 35 | + {{data.day.split("-").slice(2).join("-")}} | |
| 36 | + <div style="overflow: auto;height:55px;"> | |
| 37 | + <div style="width:100%," v-for="(item,index) in tableData" @click="genjinMsg(item)"> | |
| 38 | + <div style="font-size:12px;margin-top:10px;"> | |
| 39 | + {{item.followUpTime == data.day?item.contentFeedback:''}} | |
| 40 | + </div> | |
| 153 | 41 | </div> |
| 154 | 42 | </div> |
| 155 | - <upimg filePath="yixiang" inputtype="onSitePhotos" :value="formInline.onSitePhotos" | |
| 156 | - @changimg="e=>changimg(e,'onSitePhotos')" :limit="3" v-if="msgEit==false" ></upimg> | |
| 157 | - | |
| 158 | - </el-form-item> | |
| 159 | - <el-form-item label="下次更进时间" prop="plan_Time"> | |
| 160 | - <el-date-picker style="width: 100%;" v-model="formInline.plan_Time" value-format="yyyy-MM-dd" | |
| 161 | - :disabled="msgEit" | |
| 162 | - type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" align="right" @change="changeNext"> | |
| 163 | - </el-date-picker> | |
| 164 | - </el-form-item> | |
| 165 | - </el-form> | |
| 166 | - </div> | |
| 167 | - <div style="display: flex;justify-content: flex-end;"> | |
| 168 | - <el-button @click="closeFn" class="buttonHover" | |
| 169 | - style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">返回</el-button> | |
| 170 | - <el-button @click="addCheck" style="background-color: #3F9B6A;color: #fff" v-if="msgEit==false">确定</el-button> | |
| 171 | - </div> | |
| 172 | - <!-- 资源选择 --> | |
| 173 | - <el-dialog :visible.sync="addziyuan" title="添加" style="padding: 0;" width="50%" | |
| 174 | - append-to-body :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false"> | |
| 175 | - | |
| 176 | - <div style="padding:20px;max-height: calc(100vh - 200px); | |
| 177 | - overflow-y: auto;"> | |
| 178 | - <el-form ref="form" :model="formInline" label-width="120px"> | |
| 179 | - <el-row :gutter="20"> | |
| 180 | - <el-col :span="12"> | |
| 181 | - <el-form-item label="意向租期" prop="currentStage"> | |
| 182 | - <el-select v-model="formInline.leaseTerm" placeholder="请选择" style="width: 168px;margin-right: 15px"> | |
| 183 | - <el-option label="年" value="年"></el-option> | |
| 184 | - <el-option label="月" value="月"></el-option> | |
| 185 | - <el-option label="日" value="日"></el-option> | |
| 186 | - </el-select> | |
| 187 | - </el-form-item> | |
| 188 | - </el-col> | |
| 189 | - <el-col :span="12"> | |
| 190 | - <el-form-item label="意向租金"> | |
| 191 | - <el-input v-model="formInline.rent" ></el-input> | |
| 192 | - </el-form-item> | |
| 193 | - </el-col> | |
| 194 | - </el-row> | |
| 195 | - | |
| 196 | - | |
| 197 | - | |
| 198 | - </el-form> | |
| 43 | + </template> | |
| 44 | + </el-calendar> | |
| 45 | + </div> | |
| 46 | + <div> | |
| 47 | + <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 48 | + @click="closeGenjin">返回 | |
| 49 | + </el-button> | |
| 50 | + </div> | |
| 51 | + </div> | |
| 52 | + <div class="zhuti" v-if="ontype == '2'"> | |
| 53 | + <div style="height:58px;line-height:58px;"> | |
| 54 | + <div style="color:#0006"> <span>跟进日志</span> <span style="padding:0 5px;">></span> <span | |
| 55 | + style="color:#000000e6">新增</span></div> | |
| 56 | + </div> | |
| 57 | + <div style="padding: 20px;"> | |
| 58 | + <el-form ref="genform" :model="formInline" :rules="rulesOne" label-width="120px"> | |
| 59 | + <el-row :gutter="20"> | |
| 60 | + <el-col :span="12"> | |
| 61 | + <el-form-item label="跟进时间" prop="followUpTime"> | |
| 62 | + <el-date-picker v-model="formInline.followUpTime" type="date" value-format="yyyy-MM-dd" | |
| 63 | + placeholder="选择日期" style="width:100%"> | |
| 64 | + </el-date-picker> | |
| 65 | + </el-form-item> | |
| 66 | + </el-col> | |
| 67 | + <el-col :span="12"> | |
| 68 | + <el-form-item label="跟进类型" prop="followUpType" > | |
| 69 | + <el-select v-model="formInline.followUpType" placeholder="请选择" style="width:100%"> | |
| 70 | + <el-option label="电话跟进" value="电话跟进" /> | |
| 71 | + <el-option label="现场跟进" value="现场跟进" /> | |
| 72 | + <el-option label="微信跟进" value="微信跟进" /> | |
| 73 | + </el-select> | |
| 74 | + </el-form-item> | |
| 75 | + </el-col> | |
| 76 | + <el-col :span="12"> | |
| 77 | + <el-form-item label="客户级别" prop="customerLevel" tyle="width: 100%;"> | |
| 78 | + <el-select v-model="formInline.customerLevel" placeholder="请选择" style="width:100%"> | |
| 79 | + <el-option label="A" value="A" /> | |
| 80 | + <el-option label="B" value="B" /> | |
| 81 | + <el-option label="C" value="C" /> | |
| 82 | + </el-select> | |
| 83 | + </el-form-item> | |
| 84 | + </el-col> | |
| 85 | + <el-col :span="12"> | |
| 86 | + <el-form-item label="当前阶段" prop="currentStage"> | |
| 87 | + <el-select v-model="formInline.currentStage" placeholder="请选择" style="width:100%" > | |
| 88 | + <el-option label="继续跟进" value="继续跟进" /> | |
| 89 | + <el-option label="达成共识" value="达成共识" /> | |
| 90 | + </el-select> | |
| 91 | + </el-form-item> | |
| 92 | + </el-col> | |
| 93 | + </el-row> | |
| 94 | + <el-form-item label="意向资源" style="width: 100%;"> | |
| 199 | 95 | <div style="border: 1px solid #E5E5E5;padding: 1px" id="huodong"> |
| 200 | - <div style="padding: 10px 13px;font-size: 14px;border-bottom: 1px solid #E5E5E5;display: flex;justify-content: space-between;"> | |
| 201 | - <div>选择资源</div> | |
| 96 | + <div v-if="addziyuanData.length != 1" | |
| 97 | + style="font-size: 14px;border-bottom: 1px solid #E5E5E5;display: flex;justify-content: space-between;line-height:20px;background:#F2F3F5;"> | |
| 98 | + <div></div> | |
| 99 | + <div style="color: #3F9B6A;padding:10px;" @click="addZi()"> | |
| 100 | + 添加 | |
| 101 | + </div> | |
| 202 | 102 | </div> |
| 203 | 103 | <div style="padding: 15px;"> |
| 204 | 104 | <div style="padding: 0px 20px 0px 0px"> |
| 205 | - <el-table :data="ziyuanData" | |
| 206 | - @selection-change="handleSelectionChange" tooltip-effect="dark" ref="singleTable" | |
| 207 | - :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | |
| 208 | - > | |
| 209 | - <el-table-column | |
| 210 | - label="选择" | |
| 211 | - type="selection" | |
| 212 | - width="55"> | |
| 213 | - </el-table-column> | |
| 214 | - <el-table-column label="序号" min-width="8%" > | |
| 105 | + <el-table :data="addziyuanData" | |
| 106 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"> | |
| 107 | + <el-table-column label="序号"> | |
| 215 | 108 | <template slot-scope="scope"> |
| 216 | 109 | {{scope.$index + 1}} |
| 217 | 110 | </template> |
| 218 | 111 | </el-table-column> |
| 219 | - <el-table-column label="编号" prop="id" min-width="22%"> | |
| 220 | - | |
| 112 | + <el-table-column label="资源编号" prop="id" ></el-table-column> | |
| 113 | + <el-table-column label="意向资源名称" prop="name" show-overflow-tooltip> | |
| 114 | + <template slot-scope="scope"> | |
| 115 | + {{scope.row.shopName ? scope.row.shopName : scope.row.advertisingName?scope.row.advertisingName:scope.row.venueName}} | |
| 116 | + </template> | |
| 221 | 117 | </el-table-column> |
| 222 | - <el-table-column label="资源名称" min-width="15%"> | |
| 223 | - <template slot-scope="scope"> | |
| 224 | - {{scope.row.shopName ? scope.row.shopName : scope.row.advertisingName}} | |
| 225 | - </template> | |
| 118 | + <el-table-column label="意向资源类型" prop="type" > | |
| 119 | + <template slot-scope="scope"> | |
| 120 | + {{scope.row.shopName ? '商铺' : scope.row.advertisingType?scope.row.advertisingType:'场地'}} | |
| 121 | + </template> | |
| 226 | 122 | </el-table-column> |
| 227 | - <el-table-column label="资源类型" min-width="15%"> | |
| 123 | + <el-table-column label="操作"> | |
| 228 | 124 | <template slot-scope="scope"> |
| 229 | - {{scope.row.advertisingType ?scope.row.advertisingType:'商铺'}} | |
| 125 | + <div @click="MingDelete(scope.$index)" class="tableBtn greens">删除</div> | |
| 230 | 126 | </template> |
| 231 | 127 | </el-table-column> |
| 232 | - <!-- <el-table-column prop="notes" label="对应策略" min-width="15%"> | |
| 233 | - </el-table-column> --> | |
| 234 | - | |
| 235 | 128 | </el-table> |
| 236 | 129 | </div> |
| 237 | 130 | </div> |
| 238 | 131 | </div> |
| 239 | - </div> | |
| 240 | - <template #footer> | |
| 241 | - <div style="display: flex; justify-content: flex-end; align-items: center;"> | |
| 242 | - | |
| 243 | - <el-button @click="minSev" style="background-color: #3F9B6A;color: #fff;">确定 | |
| 244 | - </el-button> | |
| 245 | - <el-button @click="mingClose" class="buttonHover" | |
| 246 | - style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">取消 | |
| 247 | - </el-button> | |
| 132 | + </el-form-item> | |
| 133 | + <el-form-item label="内容反馈" prop="contentFeedback"> | |
| 134 | + <el-input type="textarea" v-model="formInline.contentFeedback" :rows="4" ></el-input> | |
| 135 | + </el-form-item> | |
| 136 | + <el-form-item label="现场照片"> | |
| 137 | + <upimg filePath="yixiang" inputtype="onSitePhotos" :value="formInline.onSitePhotos" @changimg="e=>changimg(e,'onSitePhotos')" :limit="3"></upimg> | |
| 138 | + </el-form-item> | |
| 139 | + <el-form-item label="下次更进时间" prop="plan_Time"> | |
| 140 | + <el-date-picker style="width: 100%;" v-model="formInline.plan_Time" value-format="yyyy-MM-dd" | |
| 141 | + type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" | |
| 142 | + align="right" @change="changeNext"> | |
| 143 | + </el-date-picker> | |
| 144 | + </el-form-item> | |
| 145 | + </el-form> | |
| 146 | + </div> | |
| 147 | + <div style="display: flex;"> | |
| 148 | + <el-button @click="closeFn" class="buttonHover" | |
| 149 | + style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">返回</el-button> | |
| 150 | + <el-button @click="addCheck" style="background-color: #3F9B6A;color: #fff">确定</el-button> | |
| 151 | + </div> | |
| 152 | + </div> | |
| 153 | + <div class="zhuti" v-if="ontype == '3'"> | |
| 154 | + <div style="height:58px;line-height:58px;"> | |
| 155 | + <div style="color:#0006"> <span>跟进日志</span> <span style="padding:0 5px;">></span> <span | |
| 156 | + style="color:#000000e6">查看</span></div> | |
| 157 | + </div> | |
| 158 | + <el-form :model="formInline" ref="formInline" label-width="120px" class="demo-ruleForm"> | |
| 159 | + <el-row :gutter="20"> | |
| 160 | + <el-col :span="12"> | |
| 161 | + <el-form-item label="跟进时间" prop="followUpTime"> | |
| 162 | + <div class="duiqi">{{formInline.followUpTime || '无'}}</div> | |
| 163 | + </el-form-item> | |
| 164 | + </el-col> | |
| 165 | + <el-col :span="12"> | |
| 166 | + <el-form-item label="跟进类型" prop="followUpType" > | |
| 167 | + <div class="duiqi">{{formInline.followUpType || '无'}}</div> | |
| 168 | + </el-form-item> | |
| 169 | + </el-col> | |
| 170 | + <el-col :span="12"> | |
| 171 | + <el-form-item label="客户级别" prop="customerLevel" style="width: 100%;"> | |
| 172 | + <div class="duiqi">{{formInline.customerLevel || '无'}}</div> | |
| 173 | + </el-form-item> | |
| 174 | + </el-col> | |
| 175 | + <el-col :span="12"> | |
| 176 | + <el-form-item label="当前阶段" prop="currentStage"> | |
| 177 | + <div class="duiqi">{{formInline.currentStage || '无'}}</div> | |
| 178 | + </el-form-item> | |
| 179 | + </el-col> | |
| 180 | + </el-row> | |
| 181 | + <el-form-item label="意向资源" style="width: 100%;"> | |
| 182 | + <div style="border: 1px solid #E5E5E5;padding: 1px" id="huodong"> | |
| 183 | + <div style="padding: 15px;"> | |
| 184 | + <div style="padding: 0px 20px 0px 0px"> | |
| 185 | + <el-table :data="addziyuanData" | |
| 186 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"> | |
| 187 | + <el-table-column label="序号"> | |
| 188 | + <template slot-scope="scope"> | |
| 189 | + {{scope.$index + 1}} | |
| 190 | + </template> | |
| 191 | + </el-table-column> | |
| 192 | + <el-table-column label="资源编号" prop="id" ></el-table-column> | |
| 193 | + <el-table-column label="意向资源名称" prop="name" show-overflow-tooltip> | |
| 194 | + <template slot-scope="scope"> | |
| 195 | + {{scope.row.shopName ? scope.row.shopName : scope.row.advertisingName?scope.row.advertisingName:scope.row.venueName}} | |
| 196 | + </template> | |
| 197 | + </el-table-column> | |
| 198 | + <el-table-column label="意向资源类型" prop="type" > | |
| 199 | + <template slot-scope="scope"> | |
| 200 | + {{scope.row.shopName ? '商铺' : scope.row.advertisingType?scope.row.advertisingType:'场地'}} | |
| 201 | + </template> | |
| 202 | + </el-table-column> | |
| 203 | + </el-table> | |
| 204 | + </div> | |
| 248 | 205 | </div> |
| 249 | - </template> | |
| 250 | - | |
| 251 | - </el-dialog> | |
| 252 | - | |
| 253 | - </el-dialog> | |
| 254 | - </div> | |
| 206 | + </div> | |
| 207 | + </el-form-item> | |
| 208 | + <el-form-item label="内容反馈" prop="contentFeedback"> | |
| 209 | + <div class="duiqi">{{formInline.contentFeedback || '无'}}</div> | |
| 210 | + </el-form-item> | |
| 211 | + <el-form-item label="现场照片"> | |
| 212 | + <div style="display: flex;"> | |
| 213 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in imgList" | |
| 214 | + style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;" /> | |
| 215 | + </div> | |
| 216 | + </el-form-item> | |
| 217 | + <el-form-item label="下次更进时间" prop="plan_Time"> | |
| 218 | + <div class="duiqi">{{formInline.plan_Time?formInline.plan_Time.length>0?formInline.plan_Time[0]+' 至 '+formInline.plan_Time[1]:'无':'无'}}</div> | |
| 219 | + </el-form-item> | |
| 220 | + </el-form> | |
| 221 | + <div style="display: flex;"> | |
| 222 | + <el-button @click="closeFn" class="buttonHover" | |
| 223 | + style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">返回</el-button> | |
| 224 | + </div> | |
| 225 | + </div> | |
| 226 | + <!-- 资源选择 --> | |
| 227 | + <el-dialog :visible.sync="addziyuan" title="选择资源" width="65%" append-to-body center :close-on-click-modal="false" | |
| 228 | + :close-on-press-escape="false" :show-close="false"> | |
| 229 | + <zy :maxSelection="1" publishStatus="2" v-if="addziyuan" @mingClose="mingClose" @minSev="minSev"></zy> | |
| 230 | + </el-dialog> | |
| 231 | + </div> | |
| 255 | 232 | </template> |
| 256 | 233 | |
| 257 | 234 | <script> |
| 235 | + import zy from "@/components/change/zy" | |
| 258 | 236 | import { |
| 259 | - genGetAll, | |
| 260 | - genAdd, | |
| 261 | - genEdit, | |
| 262 | - genDel, | |
| 263 | - rsaManEdit | |
| 237 | + genGetAll, | |
| 238 | + genAdd, | |
| 239 | + genEdit, | |
| 240 | + genDel, | |
| 241 | + rsaManEdit | |
| 264 | 242 | } from '../../../api/followup.js' |
| 265 | 243 | import upimg from "@/components/ImageUpload/index" |
| 266 | 244 | import { |
| 267 | - getAlls | |
| 245 | + getAlls | |
| 268 | 246 | } from '../../../api/information.js' |
| 269 | 247 | import { |
| 270 | 248 | getAlls as map1 |
| ... | ... | @@ -272,43 +250,46 @@ |
| 272 | 250 | import allimg from '@/components/chakan/allimg.vue'; |
| 273 | 251 | export default { |
| 274 | 252 | components: { |
| 275 | - upimg,allimg | |
| 253 | + upimg, | |
| 254 | + allimg, | |
| 255 | + zy | |
| 256 | + }, | |
| 257 | + props: { | |
| 258 | + message: { | |
| 259 | + type: Number, // 指定数据的类型 | |
| 260 | + required: true, // 指定该数据是必需的 | |
| 261 | + default: null, // 指定默认值 | |
| 262 | + } | |
| 276 | 263 | }, |
| 277 | - props: { | |
| 278 | - message: { | |
| 279 | - type: Number, // 指定数据的类型 | |
| 280 | - required: true, // 指定该数据是必需的 | |
| 281 | - default: null ,// 指定默认值 | |
| 282 | - } | |
| 283 | - } , | |
| 284 | 264 | data() { |
| 285 | 265 | return { |
| 286 | - formSel:{ | |
| 287 | - yytime:'' | |
| 266 | + ontype: "1", | |
| 267 | + formSel: { | |
| 268 | + yytime: '' | |
| 288 | 269 | }, |
| 289 | - formInline:{ | |
| 290 | - followUpTime:'',//跟进时间 | |
| 291 | - followUpType:'',//跟进类型 | |
| 292 | - customerLevel:'', | |
| 293 | - potentialCustomer:'',//意向客户 | |
| 294 | - intendedResource:'',//意向资源 | |
| 295 | - currentStage:'',//当前阶段 | |
| 296 | - contentFeedback:'',//内容反馈 | |
| 297 | - onSitePhotos:'',//现场照片 | |
| 298 | - plan_Time:[], | |
| 299 | - nextFollowUpStartTime:'',//下次跟进开始时间 | |
| 300 | - nextFollowUpEndTime:'',//下次跟进结束时间 | |
| 301 | - status:'1'//状态 | |
| 270 | + formInline: { | |
| 271 | + followUpTime: '', //跟进时间 | |
| 272 | + followUpType: '', //跟进类型 | |
| 273 | + customerLevel: '', | |
| 274 | + potentialCustomer: '', //意向客户 | |
| 275 | + intendedResource: '', //意向资源 | |
| 276 | + currentStage: '', //当前阶段 | |
| 277 | + contentFeedback: '', //内容反馈 | |
| 278 | + onSitePhotos: '', //现场照片 | |
| 279 | + plan_Time: null, | |
| 280 | + nextFollowUpStartTime: '', //下次跟进开始时间 | |
| 281 | + nextFollowUpEndTime: '', //下次跟进结束时间 | |
| 282 | + status: '1' //状态 | |
| 302 | 283 | }, |
| 303 | - addziyuanData:[], | |
| 304 | - ziyuanData:[],//资源 | |
| 284 | + addziyuanData: [], | |
| 285 | + ziyuanData: [], //资源 | |
| 305 | 286 | morenCard: new Date(), |
| 306 | - multipleSelection:[], | |
| 307 | - addziyuan:false, | |
| 308 | - pageSize:10, | |
| 287 | + multipleSelection: [], | |
| 288 | + addziyuan: false, | |
| 289 | + pageSize: 10, | |
| 309 | 290 | currentPage: 1, |
| 310 | 291 | total: 0, |
| 311 | - ggXin:false, | |
| 292 | + ggXin: false, | |
| 312 | 293 | rulesOne: { |
| 313 | 294 | followUpTime: [{ |
| 314 | 295 | required: true, |
| ... | ... | @@ -342,17 +323,17 @@ |
| 342 | 323 | }, ], |
| 343 | 324 | }, |
| 344 | 325 | pageindex: { |
| 345 | - pageNumber: 0, | |
| 346 | - pageSize: 10, | |
| 347 | - potentialCustomer:null | |
| 348 | - }, | |
| 349 | - zipageindex: { | |
| 350 | 326 | pageNumber: 0, |
| 351 | 327 | pageSize: 10, |
| 352 | - }, | |
| 353 | - tableData:[], | |
| 354 | - msgEit:false, | |
| 355 | - imgList:[] | |
| 328 | + potentialCustomer: null | |
| 329 | + }, | |
| 330 | + zipageindex: { | |
| 331 | + pageNumber: 0, | |
| 332 | + pageSize: 10, | |
| 333 | + }, | |
| 334 | + tableData: [], | |
| 335 | + msgEit: false, | |
| 336 | + imgList: [] | |
| 356 | 337 | } |
| 357 | 338 | }, |
| 358 | 339 | created() { |
| ... | ... | @@ -362,135 +343,153 @@ |
| 362 | 343 | this.pageindex.potentialCustomer = this.message |
| 363 | 344 | this.getAll() |
| 364 | 345 | }, |
| 365 | - methods: { | |
| 366 | - changimg(e,type) { | |
| 367 | - this.formInline[type] = e | |
| 368 | - // this.imgList.push(e) | |
| 369 | - }, | |
| 370 | - async getAll() { | |
| 371 | - const res = await genGetAll(this.pageindex) | |
| 372 | - this.tableData = res.data.content | |
| 373 | - }, | |
| 374 | - genjinMsg(item){ | |
| 375 | - this.msgEit = true | |
| 376 | - this.formInline = {} | |
| 377 | - this.formInline = item | |
| 378 | - this.formInline.plan_Time = [item.nextFollowUpStartTime,item.nextFollowUpEndTime] | |
| 346 | + methods: { | |
| 347 | + changimg(e, type) { | |
| 348 | + this.formInline[type] = e | |
| 349 | + // this.imgList.push(e) | |
| 350 | + }, | |
| 351 | + async getAll() { | |
| 352 | + const res = await genGetAll(this.pageindex) | |
| 353 | + this.tableData = res.data.content | |
| 354 | + }, | |
| 355 | + genjinMsg(item) { | |
| 356 | + this.msgEit = true | |
| 357 | + this.formInline = {} | |
| 358 | + this.formInline = item | |
| 359 | + this.formInline.plan_Time = [item.nextFollowUpStartTime, item.nextFollowUpEndTime] | |
| 360 | + if (typeof item.intendedResource == 'string' && item.intendedResource != '') { | |
| 361 | + this.addziyuanData = JSON.parse(item.intendedResource) | |
| 362 | + } | |
| 379 | 363 | |
| 380 | - if(typeof item.intendedResource == 'string' && item.intendedResource!=''){ | |
| 381 | - this.addziyuanData = JSON.parse(item.intendedResource) | |
| 382 | - } | |
| 383 | - | |
| 384 | - if(typeof item.onSitePhotos == 'string'){ | |
| 385 | - this.imgList = item.onSitePhotos.split(',') ||[] | |
| 386 | - } | |
| 364 | + if (typeof item.onSitePhotos == 'string') { | |
| 365 | + this.imgList = item.onSitePhotos.split(',') || [] | |
| 366 | + } | |
| 387 | 367 | |
| 388 | - this.ggXin = true | |
| 389 | - }, | |
| 390 | - onSubmit(){ | |
| 368 | + this.ontype = '3' | |
| 369 | + }, | |
| 370 | + onSubmit() { | |
| 391 | 371 | this.morenCard = this.formSel.yytime |
| 392 | 372 | this.getAll() |
| 393 | - }, | |
| 394 | - resetting(){ | |
| 373 | + }, | |
| 374 | + resetting() { | |
| 395 | 375 | this.morenCard = new Date() |
| 396 | 376 | this.formSel.yytime = '' |
| 397 | 377 | this.getAll() |
| 398 | - }, | |
| 399 | - async addZi(){ | |
| 400 | - const ziyuan = await getAlls(this.zipageindex) | |
| 401 | - const ggw = await map1(this.zipageindex) | |
| 402 | - this.ziyuanData = [...ziyuan.data.content,...ggw.data.content] | |
| 403 | - this.addziyuan = true | |
| 404 | - }, | |
| 405 | - genad(){ | |
| 406 | - this.msgEit = false | |
| 407 | - this.ggXin = true | |
| 408 | - this.$refs.genform.resetFields() | |
| 409 | - this.formInline ={ | |
| 410 | - followUpTime:'',//跟进时间 | |
| 411 | - followUpType:'',//跟进类型 | |
| 412 | - customerLevel:'', | |
| 413 | - potentialCustomer:'',//意向客户 | |
| 414 | - intendedResource:'',//意向资源 | |
| 415 | - currentStage:'',//当前阶段 | |
| 416 | - contentFeedback:'',//内容反馈 | |
| 417 | - onSitePhotos:'',//现场照片 | |
| 418 | - plan_Time:[], | |
| 419 | - nextFollowUpStartTime:'',//下次跟进开始时间 | |
| 420 | - nextFollowUpEndTime:'',//下次跟进结束时间 | |
| 421 | - status:'1'//状态 | |
| 378 | + }, | |
| 379 | + async addZi() { | |
| 380 | + this.addziyuan = true | |
| 381 | + | |
| 382 | + | |
| 383 | + // const ziyuan = await getAlls(this.zipageindex) | |
| 384 | + // const ggw = await map1(this.zipageindex) | |
| 385 | + // this.ziyuanData = [...ziyuan.data.content, ...ggw.data.content] | |
| 386 | + // this.addziyuan = true | |
| 387 | + }, | |
| 388 | + genad() { | |
| 389 | + // this.msgEit = false | |
| 390 | + // this.ggXin = true | |
| 391 | + // this.$refs.genform.resetFields() | |
| 392 | + this.ontype = '2' | |
| 393 | + this.formInline = { | |
| 394 | + followUpTime: '', //跟进时间 | |
| 395 | + followUpType: '', //跟进类型 | |
| 396 | + customerLevel: '', | |
| 397 | + potentialCustomer: '', //意向客户 | |
| 398 | + intendedResource: '', //意向资源 | |
| 399 | + currentStage: '', //当前阶段 | |
| 400 | + contentFeedback: '', //内容反馈 | |
| 401 | + onSitePhotos: '', //现场照片 | |
| 402 | + plan_Time: [], | |
| 403 | + nextFollowUpStartTime: '', //下次跟进开始时间 | |
| 404 | + nextFollowUpEndTime: '', //下次跟进结束时间 | |
| 405 | + status: '1' //状态 | |
| 422 | 406 | } |
| 423 | - }, | |
| 424 | - closeGenjin(){ | |
| 425 | - this.$emit('cancel',false) | |
| 426 | - }, | |
| 427 | - handleSelectionChange(selection) { | |
| 428 | - this.multipleSelection = selection[0] | |
| 429 | - // 确保只有一行被选中 | |
| 430 | - if (selection.length > 1) { | |
| 431 | - this.$refs.singleTable.clearSelection(); | |
| 432 | - this.$refs.singleTable.toggleRowSelection(selection[selection.length - 1]); | |
| 433 | - } | |
| 434 | - }, | |
| 435 | - minSev() { | |
| 436 | - this.multipleSelection.leaseTerm = this.formInline.leaseTerm | |
| 437 | - this.multipleSelection.rent = this.formInline.rent | |
| 438 | - this.addziyuanData.push(this.multipleSelection) | |
| 439 | - this.addziyuan = false | |
| 440 | - this.multipleSelection =[] | |
| 441 | - this.formInline.leaseTerm = '' | |
| 442 | - this.formInline.rent = '' | |
| 443 | - this.$refs.singleTable.clearSelection() | |
| 444 | - }, | |
| 445 | - changeNext(e){ | |
| 407 | + }, | |
| 408 | + closeGenjin() { | |
| 409 | + this.$emit('cancel', false) | |
| 410 | + }, | |
| 411 | + handleSelectionChange(selection) { | |
| 412 | + this.multipleSelection = selection[0] | |
| 413 | + // 确保只有一行被选中 | |
| 414 | + if (selection.length > 1) { | |
| 415 | + this.$refs.singleTable.clearSelection(); | |
| 416 | + this.$refs.singleTable.toggleRowSelection(selection[selection.length - 1]); | |
| 417 | + } | |
| 418 | + }, | |
| 419 | + minSev(data) { | |
| 420 | + // this.multipleSelection.leaseTerm = this.formInline.leaseTerm | |
| 421 | + // this.multipleSelection.rent = this.formInline.rent | |
| 422 | + // this.addziyuanData.push(this.multipleSelection) | |
| 423 | + // this.addziyuan = false | |
| 424 | + // this.multipleSelection = [] | |
| 425 | + // this.formInline.leaseTerm = '' | |
| 426 | + // this.formInline.rent = '' | |
| 427 | + // this.$refs.singleTable.clearSelection() | |
| 446 | 428 | |
| 447 | - this.formInline.nextFollowUpStartTime = e[0] | |
| 448 | - this.formInline.nextFollowUpEndTime = e[1] | |
| 449 | 429 | |
| 450 | - }, | |
| 451 | - mingClose(){ | |
| 452 | - this.multipleSelection =[] | |
| 453 | - this.addziyuan = false | |
| 454 | - }, | |
| 455 | - closemsg(index){ | |
| 456 | - this.addziyuanData.splice(index, 1); | |
| 457 | - }, | |
| 458 | - closeFn(val) { | |
| 459 | - this.formInline.plan_Time =[] | |
| 460 | - this.addziyuanData =[] | |
| 461 | - this.ggXin = false | |
| 462 | - }, | |
| 463 | - // 新增确定按钮 | |
| 464 | - addCheck(val) { | |
| 465 | - this.$refs.genform.validate((valid) => { | |
| 466 | - if (valid) { | |
| 467 | - this.formInline.potentialCustomer = this.message | |
| 468 | - if(this.addziyuanData.length !=0){ | |
| 469 | - this.formInline.intendedResource = JSON.stringify(this.addziyuanData) | |
| 470 | - } | |
| 471 | - // console.log(this.formInline.onSitePhotos) | |
| 472 | - // return | |
| 473 | - // this.formInline.onSitePhotos = this.imgList.join(',') | |
| 474 | - if(this.formInline.currentStage == '达成共识'){ | |
| 475 | - this.formInline.status = '2' | |
| 476 | - } | |
| 477 | - genAdd(this.formInline).then(()=>{ | |
| 478 | - this.ggXin = false | |
| 479 | - this.addziyuanData =[] | |
| 480 | - this.getAll() | |
| 481 | - }) | |
| 430 | + data.leaseTerm = this.formInline.leaseTerm | |
| 431 | + data.rent = this.formInline.rent | |
| 432 | + console.log('资源选择确认:', data); | |
| 433 | + this.addziyuanData = data | |
| 434 | + this.multipleSelection = null | |
| 435 | + this.formInline.leaseTerm = '' | |
| 436 | + this.formInline.rent = '' | |
| 437 | + | |
| 438 | + this.addziyuan = false; // 关闭资源对话框 | |
| 439 | + }, | |
| 440 | + MingDelete(item) { | |
| 441 | + this.addziyuanData = [] | |
| 442 | + }, | |
| 443 | + changeNext(e) { | |
| 482 | 444 | |
| 483 | - }else { | |
| 484 | - this.$message({ | |
| 485 | - message: '请填写完整信息', | |
| 486 | - type: 'error' | |
| 487 | - }) | |
| 445 | + this.formInline.nextFollowUpStartTime = e[0] | |
| 446 | + this.formInline.nextFollowUpEndTime = e[1] | |
| 488 | 447 | |
| 448 | + }, | |
| 449 | + mingClose() { | |
| 450 | + this.multipleSelection = [] | |
| 451 | + this.addziyuan = false | |
| 452 | + }, | |
| 453 | + closemsg(index) { | |
| 454 | + this.addziyuanData.splice(index, 1); | |
| 455 | + }, | |
| 456 | + closeFn(val) { | |
| 457 | + this.formInline.plan_Time = [] | |
| 458 | + this.addziyuanData = [] | |
| 459 | + this.ontype = '1' | |
| 460 | + }, | |
| 461 | + // 新增确定按钮 | |
| 462 | + addCheck(val) { | |
| 463 | + this.$refs.genform.validate((valid) => { | |
| 464 | + if (valid) { | |
| 465 | + this.formInline.potentialCustomer = this.message | |
| 466 | + if (this.addziyuanData.length != 0) { | |
| 467 | + this.formInline.intendedResource = JSON.stringify(this.addziyuanData) | |
| 468 | + } | |
| 469 | + | |
| 470 | + // this.formInline.onSitePhotos = this.imgList.join(',') | |
| 471 | + if (this.formInline.currentStage == '达成共识') { | |
| 472 | + this.formInline.status = '2' | |
| 489 | 473 | } |
| 490 | - }) | |
| 474 | + console.log(this.formInline) | |
| 475 | + // return | |
| 476 | + genAdd(this.formInline).then(() => { | |
| 477 | + this.ontype = '1' | |
| 478 | + this.addziyuanData = [] | |
| 479 | + this.getAll() | |
| 480 | + }) | |
| 491 | 481 | |
| 492 | - }, | |
| 493 | - } | |
| 482 | + } else { | |
| 483 | + this.$message({ | |
| 484 | + message: '请填写完整信息', | |
| 485 | + type: 'error' | |
| 486 | + }) | |
| 487 | + | |
| 488 | + } | |
| 489 | + }) | |
| 490 | + | |
| 491 | + }, | |
| 492 | + } | |
| 494 | 493 | } |
| 495 | 494 | </script> |
| 496 | 495 | |
| ... | ... | @@ -498,10 +497,12 @@ |
| 498 | 497 | ::v-deep .el-calendar button-group { |
| 499 | 498 | display: none; |
| 500 | 499 | } |
| 500 | + | |
| 501 | 501 | .zhuti { |
| 502 | 502 | padding: 0 20px 20px 20px; |
| 503 | - min-height: calc(100vh - 50px - 20px); | |
| 503 | + min-height: calc(100vh - 50px - 20px); | |
| 504 | 504 | background-color: #fff; |
| 505 | + box-sizing: border-box; | |
| 505 | 506 | } |
| 506 | 507 | |
| 507 | 508 | .formSearch { |
| ... | ... | @@ -512,7 +513,16 @@ |
| 512 | 513 | justify-content: space-between; |
| 513 | 514 | |
| 514 | 515 | } |
| 515 | -::v-deep .el-calendar-table:not(.is-range)td.next{display: none;} | |
| 516 | -::v-deep .el-calendar-table:not(.is-range)td.prev{visibility:hidden;} | |
| 517 | -::v-deep .el-calendar__button-group {display: none;} | |
| 516 | + | |
| 517 | + ::v-deep .el-calendar-table:not(.is-range)td.next { | |
| 518 | + display: none; | |
| 519 | + } | |
| 520 | + | |
| 521 | + ::v-deep .el-calendar-table:not(.is-range)td.prev { | |
| 522 | + visibility: hidden; | |
| 523 | + } | |
| 524 | + | |
| 525 | + ::v-deep .el-calendar__button-group { | |
| 526 | + display: none; | |
| 527 | + } | |
| 518 | 528 | </style> | ... | ... |
admin-web-master/src/views/customer/rsaManagement/index.vue
| ... | ... | @@ -46,7 +46,7 @@ |
| 46 | 46 | {{scope.$index+1}} |
| 47 | 47 | </template> |
| 48 | 48 | </el-table-column> |
| 49 | - <el-table-column label="意向客户名称" prop="intentCustomerName" min-width="150" /> | |
| 49 | + <el-table-column label="意向客户名称" prop="intentCustomerName" min-width="150" /> | |
| 50 | 50 | <el-table-column label="手机号" prop="phone" min-width="180" /> |
| 51 | 51 | <el-table-column label="意向租赁类型" prop="leaseType" min-width="120" /> |
| 52 | 52 | <el-table-column label="意向租赁周期" prop="leaseCycle" min-width="120" /> |
| ... | ... | @@ -58,23 +58,23 @@ |
| 58 | 58 | <div class="tableBtn greens" @click="handleEditForm(scope.row)"> |
| 59 | 59 | 查看 |
| 60 | 60 | </div> |
| 61 | - <div class="tableBtn greens" @click="bianjilist(scope.row)" > | |
| 61 | + <div class="tableBtn greens" @click="bianjilist(scope.row)"> | |
| 62 | 62 | 编辑 |
| 63 | 63 | </div> |
| 64 | 64 | <!-- v-if="scope.row.auditStatus =='1'" --> |
| 65 | 65 | <div class="tableBtn greens" @click="delGuan(scope.row)"> |
| 66 | 66 | 删除 |
| 67 | 67 | </div> |
| 68 | - <!-- <div class="tableBtn greens" @click="chehui(scope.row)" v-if="scope.row.auditStatus =='2'"> | |
| 68 | + <!-- <div class="tableBtn greens" @click="chehui(scope.row)" v-if="scope.row.auditStatus =='2'"> | |
| 69 | 69 | 撤回 |
| 70 | 70 | </div> |
| 71 | 71 | <div class="tableBtn greens" @click="getshen(scope.row)" v-if="scope.row.auditStatus =='1'"> |
| 72 | 72 | 提交审核 |
| 73 | 73 | </div> --> |
| 74 | - <div class="tableBtn greens" @click="shengRenwu(scope.row)" > | |
| 74 | + <div class="tableBtn greens" @click="shengRenwu(scope.row)"> | |
| 75 | 75 | 跟进日志 |
| 76 | 76 | </div> |
| 77 | - <div class="tableBtn greens" @click="tanRenwu(scope.row)" > | |
| 77 | + <div class="tableBtn greens" @click="tanRenwu(scope.row)"> | |
| 78 | 78 | 谈判日志 |
| 79 | 79 | </div> |
| 80 | 80 | <!-- <div class="tableBtn greens" @click="pipei(scope.row)" v-if="scope.row.auditStatus =='1'"> |
| ... | ... | @@ -83,10 +83,17 @@ |
| 83 | 83 | </template> |
| 84 | 84 | </el-table-column> |
| 85 | 85 | </el-table> |
| 86 | - <div class="fenye"> | |
| 86 | + <!-- <div class="fenye"> | |
| 87 | 87 | <el-pagination class="pagination" :hide-on-single-page="flag" background small :current-page="currentPage" |
| 88 | 88 | layout="prev, pager, next,total" :total="total" @size-change="handleSizeChange" |
| 89 | 89 | @current-change="handleCurrentChange" /> |
| 90 | + </div> --> | |
| 91 | + <div style="display: flex;justify-content: space-between;" class="bom"> | |
| 92 | + <div style="font-size: 14px;">共 <span style="color: #3F9B6A;">{{total}}</span> 项数据</div> | |
| 93 | + <el-pagination :current-page="currentPage" :page-sizes="[10, 20, 50, 100]" | |
| 94 | + background small layout="prev, pager, next" :total="total" @size-change="handleSizeChange" | |
| 95 | + @current-change="handleCurrentChange"> | |
| 96 | + </el-pagination> | |
| 90 | 97 | </div> |
| 91 | 98 | </div> |
| 92 | 99 | </div> |
| ... | ... | @@ -179,225 +186,228 @@ |
| 179 | 186 | |
| 180 | 187 | <!-- 查看 --> |
| 181 | 188 | <div class="zhuti" v-if='detbox'> |
| 182 | - <div style="height:58px;line-height:58px;"> | |
| 183 | - <div style="color:#0006"> <span>商户寻租管理</span> <span style="padding:0 5px;">></span> <span | |
| 184 | - style="color:#000000e6">查看</span></div> | |
| 185 | - </div> | |
| 186 | - | |
| 187 | - <div style="margin-top: 30px;" class="editcss"> | |
| 188 | - <TitleWithCircle title="意向信息"></TitleWithCircle> | |
| 189 | - <div style="padding: 20px;"> | |
| 190 | - <el-form :model="secondData" ref="ruleForm" label-width="150px" class="demo-ruleForm"> | |
| 191 | - <el-row :gutter="20"> | |
| 192 | - <el-col :span="12"> | |
| 193 | - | |
| 194 | - | |
| 195 | - | |
| 196 | - <el-form-item label="意向租赁类型" prop="leaseType"> | |
| 197 | - <div class="duiqi">{{secondData.leaseType}}</div> | |
| 198 | - | |
| 199 | - </el-form-item> | |
| 200 | - </el-col> | |
| 201 | - <el-col :span="12"> | |
| 202 | - <el-form-item label="意向租赁周期" prop="leaseCycle"> | |
| 203 | - <div class="duiqi">{{secondData.leaseCycle}}</div> | |
| 204 | - | |
| 205 | - </el-form-item> | |
| 206 | - </el-col> | |
| 207 | - </el-row> | |
| 208 | - <el-row :gutter="20"> | |
| 209 | - <el-col :span="12"> | |
| 210 | - <el-form-item label="意向租金(月)" prop="rentalRent"> | |
| 211 | - <div class="duiqi">{{secondData.rentalRent}}</div> | |
| 212 | - | |
| 213 | - </el-form-item> | |
| 214 | - </el-col> | |
| 215 | - <el-col :span="12"> | |
| 216 | - <el-form-item label="意向经营类型" prop="operationType"> | |
| 217 | - <div class="duiqi">{{secondData.operationType}}</div> | |
| 218 | - | |
| 219 | - </el-form-item> | |
| 220 | - </el-col> | |
| 221 | - </el-row> | |
| 222 | - <el-row :gutter="20"> | |
| 223 | - <el-col :span="12"> | |
| 224 | - <el-form-item label="意向区域" prop="intentionRegion"> | |
| 225 | - <div class="duiqi">{{secondData.intentionRegion}}</div> | |
| 226 | - </el-form-item> | |
| 227 | - </el-col> | |
| 228 | - | |
| 229 | - </el-row> | |
| 230 | - <TitleWithCircle title="商家信息"></TitleWithCircle> | |
| 231 | - <el-row :gutter="20"> | |
| 232 | - <el-col :span="12"> | |
| 233 | - <el-form-item label="姓名" prop="intentCustomerName"> | |
| 234 | - <div class="duiqi">{{secondData.intentCustomerName}}</div> | |
| 235 | - </el-form-item> | |
| 236 | - </el-col> | |
| 237 | - <el-col :span="12"> | |
| 238 | - <el-form-item label="手机号" prop="phone"> | |
| 239 | - <div class="duiqi">{{secondData.phone}}</div> | |
| 240 | - </el-form-item> | |
| 241 | - </el-col> | |
| 242 | - </el-row> | |
| 243 | - <el-row :gutter="20"> | |
| 244 | - <el-col :span="12"> | |
| 245 | - <el-form-item label="身份证号码" prop="idCardNumber"> | |
| 246 | - <div class="duiqi">{{secondData.idCardNumber}}</div> | |
| 247 | - </el-form-item> | |
| 248 | - </el-col> | |
| 249 | - <el-col :span="12"> | |
| 250 | - <el-form-item label="身份证有效期"> | |
| 251 | - <div class="duiqi">{{secondData.idCardValidStart}}-{{secondData.idCardValidEnd}}</div> | |
| 252 | - </el-form-item> | |
| 253 | - </el-col> | |
| 254 | - </el-row> | |
| 255 | - <el-row :gutter="20"> | |
| 256 | - <el-col :span="12"> | |
| 257 | - <el-form-item label="身份证照片(正面)" prop="idCardPhotoFront"> | |
| 258 | - <div style="display: flex;"> | |
| 259 | - <allimg :src="secondData.idCardPhotoFront" fit="contain" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | |
| 260 | - </div> | |
| 261 | - <!-- {{idCardPhotoFront}} --> | |
| 262 | - <!-- <el-image :src="$baseURL +secondData.idCardPhotoFront" style="width:140px;height:140px;"></el-image> --> | |
| 263 | - </el-form-item> | |
| 264 | - </el-col> | |
| 265 | - </el-row> | |
| 266 | - <el-row :gutter="20"> | |
| 267 | - <el-col :span="12"> | |
| 268 | - <el-form-item label="身份证照片(反面)" prop="idCardPhotoBack"> | |
| 269 | - <div style="display: flex;"> | |
| 270 | - <allimg :src="secondData.idCardPhotoBack" fit="contain" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | |
| 271 | - </div> | |
| 272 | - <!-- idCardPhotoBack --> | |
| 273 | - <!-- <el-image :src="$baseURL +secondData.idCardPhotoBack" style="width:140px;height:140px;"></el-image> --> | |
| 274 | - </el-form-item> | |
| 275 | - </el-col> | |
| 276 | - </el-row> | |
| 277 | - </el-form> | |
| 278 | - </div> | |
| 279 | - </div> | |
| 280 | - <el-row :gutter="20"> | |
| 281 | - <el-col :span="12"> | |
| 282 | - <div style="padding-left:160px;"> | |
| 283 | - <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 284 | - @click="detbox = false">取消</el-button> | |
| 285 | - </div> | |
| 189 | + <div style="height:58px;line-height:58px;"> | |
| 190 | + <div style="color:#0006"> <span>商户寻租管理</span> <span style="padding:0 5px;">></span> <span | |
| 191 | + style="color:#000000e6">查看</span></div> | |
| 192 | + </div> | |
| 286 | 193 | |
| 287 | - </el-col> | |
| 288 | - </el-row> | |
| 194 | + <div style="margin-top: 30px;" class="editcss"> | |
| 195 | + <TitleWithCircle title="意向信息"></TitleWithCircle> | |
| 196 | + <div style="padding: 20px;"> | |
| 197 | + <el-form :model="secondData" ref="ruleForm" label-width="150px" class="demo-ruleForm"> | |
| 198 | + <el-row :gutter="20"> | |
| 199 | + <el-col :span="12"> | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + <el-form-item label="意向租赁类型" prop="leaseType"> | |
| 204 | + <div class="duiqi">{{secondData.leaseType}}</div> | |
| 205 | + | |
| 206 | + </el-form-item> | |
| 207 | + </el-col> | |
| 208 | + <el-col :span="12"> | |
| 209 | + <el-form-item label="意向租赁周期" prop="leaseCycle"> | |
| 210 | + <div class="duiqi">{{secondData.leaseCycle}}</div> | |
| 211 | + | |
| 212 | + </el-form-item> | |
| 213 | + </el-col> | |
| 214 | + </el-row> | |
| 215 | + <el-row :gutter="20"> | |
| 216 | + <el-col :span="12"> | |
| 217 | + <el-form-item label="意向租金(月)" prop="rentalRent"> | |
| 218 | + <div class="duiqi">{{secondData.rentalRent}}</div> | |
| 219 | + | |
| 220 | + </el-form-item> | |
| 221 | + </el-col> | |
| 222 | + <el-col :span="12"> | |
| 223 | + <el-form-item label="意向经营类型" prop="operationType"> | |
| 224 | + <div class="duiqi">{{secondData.operationType}}</div> | |
| 225 | + | |
| 226 | + </el-form-item> | |
| 227 | + </el-col> | |
| 228 | + </el-row> | |
| 229 | + <el-row :gutter="20"> | |
| 230 | + <el-col :span="12"> | |
| 231 | + <el-form-item label="意向区域" prop="intentionRegion"> | |
| 232 | + <div class="duiqi">{{secondData.intentionRegion}}</div> | |
| 233 | + </el-form-item> | |
| 234 | + </el-col> | |
| 235 | + | |
| 236 | + </el-row> | |
| 237 | + <TitleWithCircle title="商家信息"></TitleWithCircle> | |
| 238 | + <el-row :gutter="20"> | |
| 239 | + <el-col :span="12"> | |
| 240 | + <el-form-item label="姓名" prop="intentCustomerName"> | |
| 241 | + <div class="duiqi">{{secondData.intentCustomerName}}</div> | |
| 242 | + </el-form-item> | |
| 243 | + </el-col> | |
| 244 | + <el-col :span="12"> | |
| 245 | + <el-form-item label="手机号" prop="phone"> | |
| 246 | + <div class="duiqi">{{secondData.phone}}</div> | |
| 247 | + </el-form-item> | |
| 248 | + </el-col> | |
| 249 | + </el-row> | |
| 250 | + <el-row :gutter="20"> | |
| 251 | + <el-col :span="12"> | |
| 252 | + <el-form-item label="身份证号码" prop="idCardNumber"> | |
| 253 | + <div class="duiqi">{{secondData.idCardNumber}}</div> | |
| 254 | + </el-form-item> | |
| 255 | + </el-col> | |
| 256 | + <el-col :span="12"> | |
| 257 | + <el-form-item label="身份证有效期"> | |
| 258 | + <div class="duiqi">{{secondData.idCardValidStart}}-{{secondData.idCardValidEnd}}</div> | |
| 259 | + </el-form-item> | |
| 260 | + </el-col> | |
| 261 | + </el-row> | |
| 262 | + <el-row :gutter="20"> | |
| 263 | + <el-col :span="12"> | |
| 264 | + <el-form-item label="身份证照片(正面)" prop="idCardPhotoFront"> | |
| 265 | + <div style="display: flex;"> | |
| 266 | + <allimg :src="secondData.idCardPhotoFront" fit="contain" | |
| 267 | + style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;" /> | |
| 268 | + </div> | |
| 269 | + <!-- {{idCardPhotoFront}} --> | |
| 270 | + <!-- <el-image :src="$baseURL +secondData.idCardPhotoFront" style="width:140px;height:140px;"></el-image> --> | |
| 271 | + </el-form-item> | |
| 272 | + </el-col> | |
| 273 | + </el-row> | |
| 274 | + <el-row :gutter="20"> | |
| 275 | + <el-col :span="12"> | |
| 276 | + <el-form-item label="身份证照片(反面)" prop="idCardPhotoBack"> | |
| 277 | + <div style="display: flex;"> | |
| 278 | + <allimg :src="secondData.idCardPhotoBack" fit="contain" | |
| 279 | + style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;" /> | |
| 280 | + </div> | |
| 281 | + <!-- idCardPhotoBack --> | |
| 282 | + <!-- <el-image :src="$baseURL +secondData.idCardPhotoBack" style="width:140px;height:140px;"></el-image> --> | |
| 283 | + </el-form-item> | |
| 284 | + </el-col> | |
| 285 | + </el-row> | |
| 286 | + </el-form> | |
| 289 | 287 | </div> |
| 290 | - <!-- 新增 --> | |
| 291 | - <div class="zhuti" v-if="ggXin"> | |
| 292 | - <div style="height:58px;line-height:58px;"> | |
| 293 | - <div style="color:#0006"> <span>商户寻租管理</span> <span style="padding:0 5px;">></span> <span | |
| 294 | - style="color:#000000e6">{{edit?'新增':'编辑'}}</span></div> | |
| 288 | + </div> | |
| 289 | + <el-row :gutter="20"> | |
| 290 | + <el-col :span="12"> | |
| 291 | + <div style="padding-left:160px;"> | |
| 292 | + <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 293 | + @click="detbox = false">取消</el-button> | |
| 295 | 294 | </div> |
| 296 | - <div style="margin-top: 30px;"> | |
| 297 | - <TitleWithCircle title="意向信息"></TitleWithCircle> | |
| 298 | - <div style="padding: 20px 20px 20px 0;"> | |
| 299 | - <el-form ref="AddFromOne" :model="ruleForm" :rules="rulesOne" label-width="150px"> | |
| 300 | - <el-row :gutter="20"> | |
| 301 | - <el-col :span="12"> | |
| 302 | - <el-form-item label="意向租赁类型" prop="leaseType"> | |
| 303 | - <el-select v-model="ruleForm.leaseType" placeholder="请选择" style="width:100%"> | |
| 304 | - <el-option label="商铺" value="商铺" /> | |
| 305 | - <el-option label="场地" value="场地" /> | |
| 306 | - <el-option label="广告位" value="广告位" /> | |
| 307 | - </el-select> | |
| 308 | - </el-form-item> | |
| 309 | - </el-col> | |
| 310 | - <el-col :span="12"> | |
| 311 | - <el-form-item label="意向租赁周期" prop="leaseCycle"> | |
| 312 | - <el-input v-model="ruleForm.leaseCycle" placeholder="请输入" /> | |
| 313 | - </el-form-item> | |
| 314 | - </el-col> | |
| 315 | - </el-row> | |
| 316 | - <el-row :gutter="20"> | |
| 317 | - <el-col :span="12"> | |
| 318 | - <el-form-item label="意向租金(月)" prop="rentalRent" :rules="getCoordinateRules('rentalRent')"> | |
| 319 | - <el-input v-model.number="ruleForm.rentalRent" placeholder="请输入" /> | |
| 320 | - </el-form-item> | |
| 321 | - </el-col> | |
| 322 | - <el-col :span="12"> | |
| 323 | - <el-form-item label="意向经营类型" prop="operationType"> | |
| 324 | - <el-input v-model="ruleForm.operationType" placeholder="请输入" /> | |
| 325 | - </el-form-item> | |
| 326 | - </el-col> | |
| 327 | - </el-row> | |
| 328 | - <el-row :gutter="20"> | |
| 329 | - <el-col :span="12"> | |
| 330 | - <el-form-item label="意向区域" prop="intentionRegion"> | |
| 331 | - <el-input v-model="ruleForm.intentionRegion" placeholder="请输入" /> | |
| 332 | - | |
| 333 | - </el-form-item> | |
| 334 | - </el-col> | |
| 335 | - </el-row> | |
| 336 | - <TitleWithCircle title="商家信息"></TitleWithCircle> | |
| 337 | - <el-row :gutter="20"> | |
| 338 | - <el-col :span="12"> | |
| 339 | - <el-form-item label="姓名" prop="intentCustomerName"> | |
| 340 | - <el-input v-model="ruleForm.intentCustomerName" placeholder="请输入" /> | |
| 341 | - </el-form-item> | |
| 342 | - </el-col> | |
| 343 | - <el-col :span="12"> | |
| 344 | - <el-form-item label="手机号" prop="phone"> | |
| 345 | - <el-input v-model.number="ruleForm.phone" placeholder="请输入" /> | |
| 346 | - </el-form-item> | |
| 347 | - </el-col> | |
| 348 | - </el-row> | |
| 349 | - | |
| 350 | - <el-row :gutter="20"> | |
| 351 | - <el-col :span="12"> | |
| 352 | - <el-form-item label="身份证号码" prop="idCardNumber"> | |
| 353 | - <el-input v-model="ruleForm.idCardNumber" placeholder="请输入" /> | |
| 354 | - </el-form-item> | |
| 355 | - </el-col> | |
| 356 | - <el-col :span="12"> | |
| 357 | - <el-form-item label="身份证有效期" prop="idCardValidStart"> | |
| 358 | - <el-date-picker v-model="ruleForm.idTime" type="daterange" range-separator="至" | |
| 359 | - start-placeholder="开始时间" end-placeholder="结束时间" value-format="yyyy-MM-dd" style="width:100%" @change="idCardchange"/> | |
| 360 | - </el-form-item> | |
| 361 | - </el-col> | |
| 362 | - </el-row> | |
| 363 | - <el-row :gutter="20"> | |
| 364 | - <el-col :span="12"> | |
| 365 | - <el-form-item label="身份证照片(正面)" prop="idCardPhotoFront"> | |
| 366 | - <upimg filePath="yixiang" inputtype="idCardPhotoFront" :value="ruleForm.idCardPhotoFront" | |
| 367 | - @changimg="e=>changimg(e,'idCardPhotoFront')" :limit="1" ></upimg> | |
| 368 | - | |
| 369 | - </el-form-item> | |
| 370 | - </el-col> | |
| 371 | - </el-row> | |
| 372 | - <el-row :gutter="20"> | |
| 373 | - <el-col :span="12"> | |
| 374 | - <el-form-item label="身份证照片(反面)" prop="idCardPhotoBack"> | |
| 375 | - <upimg filePath="yixiang" inputtype="idCardPhotoBack" :value="ruleForm.idCardPhotoBack" | |
| 376 | - @changimg="e=>changimg(e,'idCardPhotoBack')" :limit="1" ></upimg> | |
| 377 | - </el-form-item> | |
| 378 | - </el-col> | |
| 379 | - </el-row> | |
| 380 | - <el-row :gutter="20"> | |
| 381 | - <el-col :span="12"> | |
| 382 | - <el-form-item> | |
| 383 | - <div style="margin-top: 20px"> | |
| 384 | - <el-button style="background-color: #3F9B6A;color: #fff" | |
| 385 | - @click="addCheck">确 定</el-button> | |
| 386 | - <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 387 | - @click="closeFn">取 消</el-button> | |
| 388 | 295 | |
| 389 | - </div> | |
| 390 | - | |
| 391 | - </el-form-item> | |
| 392 | - </el-col> | |
| 393 | - </el-row> | |
| 296 | + </el-col> | |
| 297 | + </el-row> | |
| 298 | + </div> | |
| 299 | + <!-- 新增 --> | |
| 300 | + <div class="zhuti" v-if="ggXin"> | |
| 301 | + <div style="height:58px;line-height:58px;"> | |
| 302 | + <div style="color:#0006"> <span>商户寻租管理</span> <span style="padding:0 5px;">></span> <span | |
| 303 | + style="color:#000000e6">{{edit?'新增':'编辑'}}</span></div> | |
| 304 | + </div> | |
| 305 | + <div style="margin-top: 30px;"> | |
| 306 | + <TitleWithCircle title="意向信息"></TitleWithCircle> | |
| 307 | + <div style="padding: 20px 20px 20px 0;"> | |
| 308 | + <el-form ref="AddFromOne" :model="ruleForm" :rules="rulesOne" label-width="150px"> | |
| 309 | + <el-row :gutter="20"> | |
| 310 | + <el-col :span="12"> | |
| 311 | + <el-form-item label="意向租赁类型" prop="leaseType"> | |
| 312 | + <el-select v-model="ruleForm.leaseType" placeholder="请选择" style="width:100%"> | |
| 313 | + <el-option label="商铺" value="商铺" /> | |
| 314 | + <el-option label="场地" value="场地" /> | |
| 315 | + <el-option label="广告位" value="广告位" /> | |
| 316 | + </el-select> | |
| 317 | + </el-form-item> | |
| 318 | + </el-col> | |
| 319 | + <el-col :span="12"> | |
| 320 | + <el-form-item label="意向租赁周期" prop="leaseCycle"> | |
| 321 | + <el-input v-model="ruleForm.leaseCycle" placeholder="请输入" /> | |
| 322 | + </el-form-item> | |
| 323 | + </el-col> | |
| 324 | + </el-row> | |
| 325 | + <el-row :gutter="20"> | |
| 326 | + <el-col :span="12"> | |
| 327 | + <el-form-item label="意向租金(月)" prop="rentalRent" :rules="getCoordinateRules('rentalRent')"> | |
| 328 | + <el-input v-model.number="ruleForm.rentalRent" placeholder="请输入" /> | |
| 329 | + </el-form-item> | |
| 330 | + </el-col> | |
| 331 | + <el-col :span="12"> | |
| 332 | + <el-form-item label="意向经营类型" prop="operationType"> | |
| 333 | + <el-input v-model="ruleForm.operationType" placeholder="请输入" /> | |
| 334 | + </el-form-item> | |
| 335 | + </el-col> | |
| 336 | + </el-row> | |
| 337 | + <el-row :gutter="20"> | |
| 338 | + <el-col :span="12"> | |
| 339 | + <el-form-item label="意向区域" prop="intentionRegion"> | |
| 340 | + <el-input v-model="ruleForm.intentionRegion" placeholder="请输入" /> | |
| 341 | + | |
| 342 | + </el-form-item> | |
| 343 | + </el-col> | |
| 344 | + </el-row> | |
| 345 | + <TitleWithCircle title="商家信息"></TitleWithCircle> | |
| 346 | + <el-row :gutter="20"> | |
| 347 | + <el-col :span="12"> | |
| 348 | + <el-form-item label="姓名" prop="intentCustomerName"> | |
| 349 | + <el-input v-model="ruleForm.intentCustomerName" placeholder="请输入" /> | |
| 350 | + </el-form-item> | |
| 351 | + </el-col> | |
| 352 | + <el-col :span="12"> | |
| 353 | + <el-form-item label="手机号" prop="phone"> | |
| 354 | + <el-input v-model.number="ruleForm.phone" placeholder="请输入" /> | |
| 355 | + </el-form-item> | |
| 356 | + </el-col> | |
| 357 | + </el-row> | |
| 358 | + | |
| 359 | + <el-row :gutter="20"> | |
| 360 | + <el-col :span="12"> | |
| 361 | + <el-form-item label="身份证号码" prop="idCardNumber"> | |
| 362 | + <el-input v-model="ruleForm.idCardNumber" placeholder="请输入" /> | |
| 363 | + </el-form-item> | |
| 364 | + </el-col> | |
| 365 | + <el-col :span="12"> | |
| 366 | + <el-form-item label="身份证有效期" prop="idCardValidStart"> | |
| 367 | + <el-date-picker v-model="ruleForm.idTime" type="daterange" range-separator="至" | |
| 368 | + start-placeholder="开始时间" end-placeholder="结束时间" value-format="yyyy-MM-dd" style="width:100%" | |
| 369 | + @change="idCardchange" /> | |
| 370 | + </el-form-item> | |
| 371 | + </el-col> | |
| 372 | + </el-row> | |
| 373 | + <el-row :gutter="20"> | |
| 374 | + <el-col :span="12"> | |
| 375 | + <el-form-item label="身份证照片(正面)" prop="idCardPhotoFront"> | |
| 376 | + <upimg filePath="yixiang" inputtype="idCardPhotoFront" :value="ruleForm.idCardPhotoFront" | |
| 377 | + @changimg="e=>changimg(e,'idCardPhotoFront')" :limit="1"></upimg> | |
| 378 | + | |
| 379 | + </el-form-item> | |
| 380 | + </el-col> | |
| 381 | + </el-row> | |
| 382 | + <el-row :gutter="20"> | |
| 383 | + <el-col :span="12"> | |
| 384 | + <el-form-item label="身份证照片(反面)" prop="idCardPhotoBack"> | |
| 385 | + <upimg filePath="yixiang" inputtype="idCardPhotoBack" :value="ruleForm.idCardPhotoBack" | |
| 386 | + @changimg="e=>changimg(e,'idCardPhotoBack')" :limit="1"></upimg> | |
| 387 | + </el-form-item> | |
| 388 | + </el-col> | |
| 389 | + </el-row> | |
| 390 | + <el-row :gutter="20"> | |
| 391 | + <el-col :span="12"> | |
| 392 | + <el-form-item> | |
| 393 | + <div style="margin-top: 20px"> | |
| 394 | + <el-button style="background-color: #3F9B6A;color: #fff" @click="addCheck">确 定</el-button> | |
| 395 | + <el-button class="buttonHover" | |
| 396 | + style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" @click="closeFn">取 | |
| 397 | + 消</el-button> | |
| 398 | + | |
| 399 | + </div> | |
| 400 | + | |
| 401 | + </el-form-item> | |
| 402 | + </el-col> | |
| 403 | + </el-row> | |
| 394 | 404 | |
| 395 | - </el-form> | |
| 396 | - </div> | |
| 397 | - </div> | |
| 405 | + </el-form> | |
| 398 | 406 | </div> |
| 399 | - <genjin v-if="genjinShow" @cancel="cancel" :message="genjinId"></genjin> | |
| 400 | - <tanpan v-if="tanpanShow" @cancel="tancel" :message="genjinId"></tanpan> | |
| 407 | + </div> | |
| 408 | + </div> | |
| 409 | + <genjin v-if="genjinShow" @cancel="cancel" :message="genjinId"></genjin> | |
| 410 | + <tanpan v-if="tanpanShow" @cancel="tancel" :message="genjinId"></tanpan> | |
| 401 | 411 | </div> |
| 402 | 412 | </template> |
| 403 | 413 | |
| ... | ... | @@ -454,26 +464,26 @@ |
| 454 | 464 | stepNum: 0, // 切换 |
| 455 | 465 | formSel: { |
| 456 | 466 | intentCustomerName: '', |
| 457 | - leaseType:'', | |
| 467 | + leaseType: '', | |
| 458 | 468 | pageNumber: 0, |
| 459 | 469 | pageSize: 10, |
| 460 | 470 | }, |
| 461 | 471 | ruleForm: { |
| 462 | - intentCustomerName:'', //意向客户名称 | |
| 463 | - leaseType:'',//租赁类型 | |
| 464 | - leaseCycle:'',//租赁周期 | |
| 465 | - rentalRent:null,//意向租金 | |
| 466 | - operationType:'',//经营类型 | |
| 467 | - intentionRegion:'',//意向区域 | |
| 468 | - idCardNumber:'',//身份证号 | |
| 469 | - idCardType:'',//证件类型 | |
| 470 | - phone:null,//手机号 | |
| 471 | - idTime:[], | |
| 472 | - idCardValidStart:'',//身份证有效开始时间 | |
| 473 | - idCardValidEnd:'',//身份证有效结束时间 | |
| 474 | - idCardPhotoFront:'',//身份证照片(正面) | |
| 475 | - idCardPhotoBack:'',//身份证照片(反面) | |
| 476 | - source:0 | |
| 472 | + intentCustomerName: '', //意向客户名称 | |
| 473 | + leaseType: '', //租赁类型 | |
| 474 | + leaseCycle: '', //租赁周期 | |
| 475 | + rentalRent: null, //意向租金 | |
| 476 | + operationType: '', //经营类型 | |
| 477 | + intentionRegion: '', //意向区域 | |
| 478 | + idCardNumber: '', //身份证号 | |
| 479 | + idCardType: '', //证件类型 | |
| 480 | + phone: null, //手机号 | |
| 481 | + idTime: [], | |
| 482 | + idCardValidStart: '', //身份证有效开始时间 | |
| 483 | + idCardValidEnd: '', //身份证有效结束时间 | |
| 484 | + idCardPhotoFront: '', //身份证照片(正面) | |
| 485 | + idCardPhotoBack: '', //身份证照片(反面) | |
| 486 | + source: 0 | |
| 477 | 487 | }, |
| 478 | 488 | |
| 479 | 489 | secondData: {}, |
| ... | ... | @@ -544,11 +554,11 @@ |
| 544 | 554 | required: true, |
| 545 | 555 | message: '请输入手机号', |
| 546 | 556 | trigger: 'blur' |
| 547 | - },{ | |
| 557 | + }, { | |
| 548 | 558 | pattern: /^[0-9]+$/, |
| 549 | 559 | message: '手机号只能包含数字', |
| 550 | - trigger: 'blur' , | |
| 551 | - }], | |
| 560 | + trigger: 'blur', | |
| 561 | + }], | |
| 552 | 562 | idCardValidStart: [{ |
| 553 | 563 | required: true, |
| 554 | 564 | message: '请选择身份证有效时间', |
| ... | ... | @@ -565,9 +575,9 @@ |
| 565 | 575 | trigger: 'change' |
| 566 | 576 | }, ], |
| 567 | 577 | }, |
| 568 | - genjinId:'', | |
| 569 | - genjinShow:false, | |
| 570 | - tanpanShow:false, | |
| 578 | + genjinId: '', | |
| 579 | + genjinShow: false, | |
| 580 | + tanpanShow: false, | |
| 571 | 581 | } |
| 572 | 582 | }, |
| 573 | 583 | |
| ... | ... | @@ -582,13 +592,20 @@ |
| 582 | 592 | // }, |
| 583 | 593 | methods: { |
| 584 | 594 | getCoordinateRules(coord) { |
| 585 | - return [ | |
| 586 | - { required: true, message: `意向租金不能为空且必须是数字`, trigger: 'blur'}, | |
| 587 | - { pattern: /^(\d+|\d*\.\d{1,10})$/, message: `意向租金为整数或最多三位小数,`, trigger: 'blur' }, | |
| 595 | + return [{ | |
| 596 | + required: true, | |
| 597 | + message: `意向租金不能为空且必须是数字`, | |
| 598 | + trigger: 'blur' | |
| 599 | + }, | |
| 600 | + { | |
| 601 | + pattern: /^(\d+|\d*\.\d{1,10})$/, | |
| 602 | + message: `意向租金为整数或最多三位小数,`, | |
| 603 | + trigger: 'blur' | |
| 604 | + }, | |
| 588 | 605 | |
| 589 | 606 | ] |
| 590 | 607 | }, |
| 591 | - changimg(e,type) { | |
| 608 | + changimg(e, type) { | |
| 592 | 609 | this.ruleForm[type] = e |
| 593 | 610 | }, |
| 594 | 611 | // 获取当前时间 |
| ... | ... | @@ -634,10 +651,10 @@ |
| 634 | 651 | this.ruleForm.idTime = [] |
| 635 | 652 | this.ruleForm.idTime[0] = item.idCardValidStart |
| 636 | 653 | this.ruleForm.idTime[1] = item.idCardValidEnd |
| 637 | - if(this.edit){ | |
| 638 | - this.edit =false | |
| 639 | - } | |
| 640 | - this.ggXin = true | |
| 654 | + if (this.edit) { | |
| 655 | + this.edit = false | |
| 656 | + } | |
| 657 | + this.ggXin = true | |
| 641 | 658 | }, |
| 642 | 659 | async chehui(item) { |
| 643 | 660 | await rsaManEdit({ |
| ... | ... | @@ -663,70 +680,70 @@ |
| 663 | 680 | // 新增 |
| 664 | 681 | addbuss() { |
| 665 | 682 | this.ruleForm = { |
| 666 | - intentCustomerName:'', //意向客户名称 | |
| 667 | - leaseType:'',//租赁类型 | |
| 668 | - leaseCycle:'',//租赁周期 | |
| 669 | - rentalRent:null,//意向租金 | |
| 670 | - operationType:'',//经营类型 | |
| 671 | - intentionRegion:'',//意向区域 | |
| 672 | - idCardNumber:'',//身份证号 | |
| 673 | - idCardType:'',//证件类型 | |
| 674 | - phone:null,//手机号 | |
| 675 | - idTime:[], | |
| 676 | - idCardValidStart:'',//身份证有效开始时间 | |
| 677 | - idCardValidEnd:'',//身份证有效结束时间 | |
| 678 | - idCardPhotoFront:'',//身份证照片(正面) | |
| 679 | - idCardPhotoBack:'',//身份证照片(反面) | |
| 680 | - source:0 | |
| 683 | + intentCustomerName: '', //意向客户名称 | |
| 684 | + leaseType: '', //租赁类型 | |
| 685 | + leaseCycle: '', //租赁周期 | |
| 686 | + rentalRent: null, //意向租金 | |
| 687 | + operationType: '', //经营类型 | |
| 688 | + intentionRegion: '', //意向区域 | |
| 689 | + idCardNumber: '', //身份证号 | |
| 690 | + idCardType: '', //证件类型 | |
| 691 | + phone: null, //手机号 | |
| 692 | + idTime: [], | |
| 693 | + idCardValidStart: '', //身份证有效开始时间 | |
| 694 | + idCardValidEnd: '', //身份证有效结束时间 | |
| 695 | + idCardPhotoFront: '', //身份证照片(正面) | |
| 696 | + idCardPhotoBack: '', //身份证照片(反面) | |
| 697 | + source: 0 | |
| 681 | 698 | } |
| 682 | -this.edit = true | |
| 699 | + this.edit = true | |
| 683 | 700 | this.ggXin = true |
| 684 | 701 | this.getAll(); |
| 685 | 702 | }, |
| 686 | - idCardchange(e){ | |
| 703 | + idCardchange(e) { | |
| 687 | 704 | |
| 688 | - this.ruleForm.idCardValidStart = e[0] | |
| 689 | - this.ruleForm.idCardValidEnd = e[1] | |
| 705 | + this.ruleForm.idCardValidStart = e[0] | |
| 706 | + this.ruleForm.idCardValidEnd = e[1] | |
| 690 | 707 | |
| 691 | 708 | }, |
| 692 | 709 | // 新增确定 |
| 693 | - addCheck() { | |
| 694 | - | |
| 695 | - this.$refs.AddFromOne.validate((valid) => { | |
| 696 | - if (valid) { | |
| 697 | - if(this.edit){ | |
| 698 | - rsaManAdd(this.ruleForm).then(res => { | |
| 699 | - icManAdd(this.ruleForm).then(res=>{ | |
| 700 | - this.$message({ | |
| 701 | - message: '保存成功', | |
| 702 | - type: 'success' | |
| 703 | - }) | |
| 704 | - this.getAll(); | |
| 705 | - this.ggXin = false | |
| 706 | - this.$refs.AddFrom.resetFields() | |
| 707 | - }) | |
| 708 | - | |
| 709 | - }) | |
| 710 | - }else{ | |
| 711 | - rsaManEdit(this.ruleForm).then(res => { | |
| 712 | - this.$message({ | |
| 713 | - message: '修改成功', | |
| 714 | - type: 'success' | |
| 715 | - }) | |
| 716 | - this.getAll(); | |
| 717 | - this.ggXin = false | |
| 718 | - this.$refs.AddFrom.resetFields() | |
| 719 | - }) | |
| 720 | - } | |
| 710 | + addCheck() { | |
| 711 | + | |
| 712 | + this.$refs.AddFromOne.validate((valid) => { | |
| 713 | + if (valid) { | |
| 714 | + if (this.edit) { | |
| 715 | + rsaManAdd(this.ruleForm).then(res => { | |
| 716 | + icManAdd(this.ruleForm).then(res => { | |
| 717 | + this.$message({ | |
| 718 | + message: '保存成功', | |
| 719 | + type: 'success' | |
| 720 | + }) | |
| 721 | + this.getAll(); | |
| 722 | + this.ggXin = false | |
| 723 | + this.$refs.AddFrom.resetFields() | |
| 724 | + }) | |
| 721 | 725 | |
| 726 | + }) | |
| 722 | 727 | } else { |
| 723 | - this.$message({ | |
| 724 | - message: '请填写完整信息', | |
| 725 | - type: 'error' | |
| 728 | + rsaManEdit(this.ruleForm).then(res => { | |
| 729 | + this.$message({ | |
| 730 | + message: '修改成功', | |
| 731 | + type: 'success' | |
| 732 | + }) | |
| 733 | + this.getAll(); | |
| 734 | + this.ggXin = false | |
| 735 | + this.$refs.AddFrom.resetFields() | |
| 726 | 736 | }) |
| 727 | - | |
| 728 | 737 | } |
| 729 | - }) | |
| 738 | + | |
| 739 | + } else { | |
| 740 | + this.$message({ | |
| 741 | + message: '请填写完整信息', | |
| 742 | + type: 'error' | |
| 743 | + }) | |
| 744 | + | |
| 745 | + } | |
| 746 | + }) | |
| 730 | 747 | }, |
| 731 | 748 | handleCurrentChange(val) { |
| 732 | 749 | this.currentPage = val; |
| ... | ... | @@ -737,7 +754,7 @@ this.edit = true |
| 737 | 754 | // 取消 |
| 738 | 755 | closeFn(val) { |
| 739 | 756 | this.getAll() |
| 740 | - this.ggXin = false; | |
| 757 | + this.ggXin = false; | |
| 741 | 758 | |
| 742 | 759 | }, |
| 743 | 760 | //删除管理列表 |
| ... | ... | @@ -784,17 +801,17 @@ this.edit = true |
| 784 | 801 | resetting() { |
| 785 | 802 | this.formSel = { |
| 786 | 803 | intentCustomerName: '', |
| 787 | - leaseType:'', | |
| 804 | + leaseType: '', | |
| 788 | 805 | pageNumber: 0, |
| 789 | 806 | pageSize: 10, |
| 790 | 807 | } |
| 791 | - this.currentPage =1 | |
| 808 | + this.currentPage = 1 | |
| 792 | 809 | this.getAll() |
| 793 | 810 | }, |
| 794 | 811 | // 查询 |
| 795 | 812 | async onSubmit() { |
| 796 | 813 | const res = await rsaManAll(this.formSel) |
| 797 | - this.currentPage =1 | |
| 814 | + this.currentPage = 1 | |
| 798 | 815 | this.tableData = res.data.content |
| 799 | 816 | this.total = res.data.content.length |
| 800 | 817 | }, |
| ... | ... | @@ -813,8 +830,8 @@ this.edit = true |
| 813 | 830 | this.pipData = [] |
| 814 | 831 | }, |
| 815 | 832 | shengRenwu(item) { |
| 816 | - this.genjinId = item.id | |
| 817 | - this.genjinShow = true | |
| 833 | + this.genjinId = item.id | |
| 834 | + this.genjinShow = true | |
| 818 | 835 | // genAdd({ |
| 819 | 836 | // potentialCustomer: item.id, |
| 820 | 837 | // status: '1' |
| ... | ... | @@ -826,7 +843,7 @@ this.edit = true |
| 826 | 843 | // }) |
| 827 | 844 | |
| 828 | 845 | }, |
| 829 | - tanRenwu(item){ | |
| 846 | + tanRenwu(item) { | |
| 830 | 847 | this.genjinId = item.id |
| 831 | 848 | this.tanpanShow = true |
| 832 | 849 | }, |
| ... | ... | @@ -857,384 +874,63 @@ this.edit = true |
| 857 | 874 | }, |
| 858 | 875 | this.pipData = [] |
| 859 | 876 | }, |
| 860 | - cancel(e){ | |
| 877 | + cancel(e) { | |
| 861 | 878 | this.genjinShow = e |
| 862 | 879 | this.getAll() |
| 863 | 880 | }, |
| 864 | - tancel(e){ | |
| 881 | + tancel(e) { | |
| 865 | 882 | this.tanpanShow = e |
| 866 | 883 | this.getAll() |
| 867 | 884 | }, |
| 868 | 885 | } |
| 869 | 886 | } |
| 870 | 887 | </script> |
| 871 | -<style src="@wangeditor/editor/dist/css/style.css"></style> | |
| 872 | 888 | <style scoped> |
| 873 | - /deep/ .first-column-bg { | |
| 874 | - background-color: #f4f4f5 !important; | |
| 875 | - } | |
| 876 | - | |
| 877 | 889 | .zhuti { |
| 878 | 890 | padding: 0 20px 20px 20px; |
| 879 | 891 | min-height: calc(100vh - 50px - 20px); |
| 880 | - background-color: #fff; | |
| 881 | - } | |
| 882 | - | |
| 892 | + background-color: #Fff; | |
| 883 | 893 | |
| 894 | + } | |
| 895 | + .chengeXia { | |
| 896 | + border-bottom: 6px solid #3F9B6A; | |
| 897 | + padding-bottom: 4px; | |
| 898 | + color: #3F9B6A; | |
| 899 | + } | |
| 884 | 900 | |
| 885 | 901 | |
| 886 | 902 | .formSearch { |
| 887 | - | |
| 888 | 903 | display: flex; |
| 889 | 904 | width: 100%; |
| 890 | 905 | font-size: 14px; |
| 891 | 906 | justify-content: space-between; |
| 892 | - | |
| 893 | 907 | } |
| 894 | - | |
| 895 | 908 | .greens { |
| 896 | - color: #3f9b6a; | |
| 897 | - } | |
| 898 | - | |
| 899 | - /deep/ .el-table__row { | |
| 900 | - font-size: 14px; | |
| 901 | - color: #000000e6; | |
| 902 | - height: 42px; | |
| 903 | - } | |
| 904 | - | |
| 905 | - .fenye { | |
| 906 | - margin-top: 20px; | |
| 907 | - display: flex; | |
| 908 | - justify-content: flex-end; | |
| 909 | - position: relative; | |
| 910 | - } | |
| 911 | - | |
| 912 | - /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { | |
| 913 | - background-color: #3f9b6a; | |
| 909 | + color: #3F9B6A; | |
| 914 | 910 | } |
| 915 | - | |
| 916 | - :last-child { | |
| 917 | - margin-bottom: 0; | |
| 918 | - } | |
| 919 | - | |
| 920 | - .el-col { | |
| 921 | - border-radius: 4px; | |
| 922 | - } | |
| 923 | - | |
| 924 | 911 | .bg-purple-dark { |
| 925 | 912 | background: #99a9bf; |
| 926 | 913 | } |
| 927 | 914 | |
| 928 | 915 | .bg-purple { |
| 929 | - /* background: #d3dce6; */ | |
| 916 | + background: #d3dce6; | |
| 930 | 917 | } |
| 931 | 918 | |
| 932 | 919 | .bg-purple-light { |
| 933 | 920 | background: #e5e9f2; |
| 934 | 921 | } |
| 935 | - | |
| 936 | 922 | .grid-content { |
| 937 | 923 | border-radius: 4px; |
| 938 | 924 | min-height: 36px; |
| 939 | 925 | } |
| 940 | 926 | |
| 941 | - .row-bg { | |
| 942 | - padding: 10px 0; | |
| 943 | - background-color: #f9fafc; | |
| 944 | - } | |
| 945 | - | |
| 946 | - /deep/ .bg-purple[data-v-0e3fe4ec] { | |
| 947 | - background: #fff; | |
| 948 | - height: 50px; | |
| 949 | - } | |
| 950 | - | |
| 951 | - /deep/ .el-form--label-top .el-form-item__label { | |
| 952 | - padding: 0; | |
| 953 | - } | |
| 954 | - | |
| 955 | - .demo-input-suffix { | |
| 956 | - display: flex; | |
| 957 | - margin-right: 20px; | |
| 958 | - } | |
| 959 | - | |
| 960 | - .pagination { | |
| 961 | - text-align: right; | |
| 962 | - line-height: 20px; | |
| 963 | - } | |
| 964 | - | |
| 965 | - | |
| 966 | - .dialog_css { | |
| 967 | - padding: 0px; | |
| 968 | - } | |
| 969 | - | |
| 970 | - .dialog_xin { | |
| 971 | - padding: 0px; | |
| 972 | - } | |
| 973 | - | |
| 974 | - /deep/.el-dialog__body { | |
| 975 | - padding: 0px; | |
| 976 | - } | |
| 977 | - | |
| 978 | - /deep/ .el-dialog__header { | |
| 979 | - background-color: #fff; | |
| 980 | - padding: 0; | |
| 981 | - } | |
| 982 | - | |
| 983 | - /deep/.el-dialog__title { | |
| 984 | - color: #000; | |
| 985 | - } | |
| 986 | - | |
| 987 | - .el-row { | |
| 988 | - margin-bottom: 16px; | |
| 989 | - } | |
| 990 | - | |
| 991 | - /deep/ .avatar-uploader .el-upload { | |
| 992 | - border: 1px dashed #d9d9d9; | |
| 993 | - border-radius: 6px; | |
| 994 | - cursor: pointer; | |
| 995 | - position: relative; | |
| 996 | - overflow: hidden; | |
| 997 | - } | |
| 998 | - | |
| 999 | - .avatar-uploader .el-upload:hover { | |
| 1000 | - border-color: #409eff; | |
| 1001 | - } | |
| 1002 | - | |
| 1003 | - .avatar-uploader-icon { | |
| 1004 | - font-size: 28px; | |
| 1005 | - color: #8c939d; | |
| 1006 | - width: 108px; | |
| 1007 | - height: 108px; | |
| 1008 | - line-height: 108px; | |
| 1009 | - /*text-align: center;*/ | |
| 1010 | - } | |
| 1011 | - | |
| 1012 | - .avatar { | |
| 1013 | - width: 108px; | |
| 1014 | - height: 108px; | |
| 1015 | - display: block; | |
| 1016 | - } | |
| 1017 | - | |
| 1018 | - ::v-deep .el-tabs__item.is-active { | |
| 1019 | - color: #3f9b6a; | |
| 1020 | - opacity: 1; | |
| 1021 | - } | |
| 1022 | - | |
| 1023 | - /deep/ .el-tabs__nav-wrap::after { | |
| 1024 | - background-color: #fff; | |
| 1025 | - } | |
| 1026 | - | |
| 1027 | - ::v-deep .el-tabs__item:hover { | |
| 1028 | - color: #3f9b6a; | |
| 1029 | - cursor: pointer; | |
| 1030 | - opacity: 1; | |
| 1031 | - } | |
| 1032 | - | |
| 1033 | - /deep/ .el-tabs__active-bar { | |
| 1034 | - background-color: #389865; | |
| 1035 | - } | |
| 1036 | - | |
| 1037 | - /deep/ .el-table_2_column_13 { | |
| 1038 | - font-weight: 100; | |
| 1039 | - } | |
| 1040 | - | |
| 1041 | - ::v-deep .el-input__inner:focus { | |
| 1042 | - border: #3f9b6a 1px solid; | |
| 1043 | - } | |
| 1044 | - | |
| 1045 | - ::v-deep .el-input__inner:hover { | |
| 1046 | - border: #3f9b6a 1px solid; | |
| 1047 | - } | |
| 1048 | - | |
| 1049 | - ::v-deep .el-select .el-input.is-focus .el-input__inner { | |
| 1050 | - border-color: #3f9b6a; | |
| 1051 | - } | |
| 1052 | - | |
| 1053 | - | |
| 1054 | - /* ::v-deep .el-steps .el-step__head.is-wait { | |
| 1055 | - background-color: red; /* 修改为你想要的颜色 */ | |
| 1056 | - | |
| 1057 | - /* 修改未进行步骤的描述文字颜色 */ | |
| 1058 | - ::v-deep .el-steps .el-step__description.is-wait { | |
| 1059 | - color: #999; | |
| 1060 | - /* 修改为你想要的颜色 */ | |
| 1061 | - } | |
| 1062 | - | |
| 1063 | - /* 修改未进行步骤的图标颜色 */ | |
| 1064 | - ::v-deep .el-steps .el-step__icon.is-text.is-wait { | |
| 1065 | - color: #999; | |
| 1066 | - /* 修改为你想要的颜色 */ | |
| 1067 | - } | |
| 1068 | - | |
| 1069 | - /* 修改未进行步骤的边框色 */ | |
| 1070 | - ::v-deep .el-steps .el-step__line.is-wait { | |
| 1071 | - border-color: #eee; | |
| 1072 | - /* 修改为你想要的颜色 */ | |
| 1073 | - } | |
| 1074 | - | |
| 1075 | - ::v-deep .el-steps .is-process .el-step__line { | |
| 1076 | - background-color: #3f9b6a; | |
| 1077 | - /* 修改线的颜色 */ | |
| 1078 | - } | |
| 1079 | - | |
| 1080 | - ::v-deep .el-steps .is-process .el-step__title { | |
| 1081 | - color: #fe7b6a; | |
| 1082 | - /* 修改进行中步骤的标题颜色 */ | |
| 1083 | - } | |
| 1084 | - | |
| 1085 | - ::v-deep .el-steps .is-process .el-step__icon { | |
| 1086 | - color: #fff; | |
| 1087 | - /* 修改进行中步骤的图标颜色 */ | |
| 1088 | - background: #3f9b6a; | |
| 1089 | - /* 修改进行中步骤图标的边框颜色 */ | |
| 1090 | - border: 0px; | |
| 1091 | - } | |
| 1092 | - | |
| 1093 | - ::v-deep .el-step__icon-inner { | |
| 1094 | - line-height: 0; | |
| 1095 | - } | |
| 1096 | - | |
| 1097 | - /* 线条长度 */ | |
| 1098 | - ::v-deep .el-step.is-vertical .el-step__line { | |
| 1099 | - top: 30px; | |
| 1100 | - height: 60px; | |
| 1101 | - } | |
| 1102 | - | |
| 1103 | - ::v-deep .moren { | |
| 1104 | - .el-input__inner { | |
| 1105 | - margin-top: 5px; | |
| 1106 | - padding: 0 20px; | |
| 1107 | - } | |
| 1108 | - } | |
| 1109 | - | |
| 1110 | - /deep/ .el-radio-group { | |
| 1111 | - margin-top: 11px; | |
| 1112 | - } | |
| 1113 | - | |
| 1114 | - /deep/ .el-radio__input.is-checked .el-radio__inner { | |
| 1115 | - border-color: #3f9b6a; | |
| 1116 | - background: #3f9b6a; | |
| 1117 | - } | |
| 1118 | - | |
| 1119 | - ::v-deep .el-col { | |
| 1120 | - padding: 0 !important; | |
| 1121 | - } | |
| 1122 | - | |
| 1123 | - /deep/ .el-radio-group { | |
| 1124 | - width: 100%; | |
| 1125 | - } | |
| 1126 | - | |
| 1127 | - .radio-right-side { | |
| 1128 | - width: 100%; | |
| 1129 | - display: flex; | |
| 1130 | - justify-content: space-between; | |
| 1131 | - } | |
| 1132 | - | |
| 1133 | - /deep/ .radio-right-side .el-radio__label { | |
| 1134 | - display: flex; | |
| 1135 | - align-items: center; | |
| 1136 | - } | |
| 1137 | - | |
| 1138 | - /deep/ .radio-right-side .el-radio__inner { | |
| 1139 | - order: 1; | |
| 1140 | - } | |
| 1141 | - | |
| 1142 | - /deep/ .radio-right-side .el-radio__input { | |
| 1143 | - display: flex; | |
| 1144 | - order: 2; | |
| 1145 | - } | |
| 1146 | - | |
| 1147 | - /deep/ .radio-right-side { | |
| 1148 | - &:hover { | |
| 1149 | - color: #000; | |
| 1150 | - } | |
| 1151 | - } | |
| 1152 | - | |
| 1153 | - ::v-deep .el-dialog__wrapper { | |
| 1154 | - .dialog_css { | |
| 1155 | - margin-right: 12px; | |
| 1156 | - margin-top: 61px !important; | |
| 1157 | - | |
| 1158 | - .el-dialog__title { | |
| 1159 | - font-size: 16px !important; | |
| 1160 | - font-weight: 600; | |
| 1161 | - color: #000; | |
| 1162 | - } | |
| 1163 | - } | |
| 1164 | - } | |
| 1165 | - | |
| 1166 | - ::v-deep .setup { | |
| 1167 | - .el-steps { | |
| 1168 | - justify-content: center; | |
| 1169 | - } | |
| 1170 | - } | |
| 1171 | - | |
| 1172 | - ::v-deep .el-step__head.is-finish { | |
| 1173 | - color: #c0c4cc; | |
| 1174 | - border-color: #c0c4cc; | |
| 1175 | - } | |
| 1176 | - | |
| 1177 | - ::v-deep .el-step__title.is-finish { | |
| 1178 | - color: #c0c4cc; | |
| 1179 | - } | |
| 1180 | - | |
| 1181 | - ::v-deep .el-step__title.is-process { | |
| 1182 | - color: #c0c4cc; | |
| 1183 | - } | |
| 1184 | - | |
| 1185 | - ::v-deep .el-tabs { | |
| 1186 | - width: 100%; | |
| 1187 | - } | |
| 1188 | - | |
| 1189 | - ::v-deep .setup { | |
| 1190 | - .el-step__main { | |
| 1191 | - margin-left: -17px; | |
| 1192 | - } | |
| 1193 | - | |
| 1194 | - .el-step__title.is-process { | |
| 1195 | - color: #3f9b6a; | |
| 1196 | - } | |
| 1197 | - | |
| 1198 | - } | |
| 1199 | - | |
| 1200 | - ::v-deep .el-pagination__jump { | |
| 1201 | - margin-top: 5px; | |
| 1202 | - } | |
| 1203 | - | |
| 1204 | - ::v-deep .linClass { | |
| 1205 | - .el-dialog__header { | |
| 1206 | - padding: 20px 20px 10px; | |
| 1207 | - font-size: 14px; | |
| 1208 | - } | |
| 1209 | - } | |
| 1210 | 927 | </style> |
| 1211 | 928 | <style lang="scss" scoped> |
| 1212 | - ::v-deep .bian_css { | |
| 1213 | - .el-dialog__header { | |
| 1214 | - padding: 0px; | |
| 1215 | - } | |
| 929 | + ::v-deep .el-dialog__body { | |
| 930 | + padding: 0 0 !important; | |
| 1216 | 931 | } |
| 1217 | - | |
| 1218 | - ::v-deep .buttonHover:hover { | |
| 1219 | - color: #3f9b6a !important; | |
| 1220 | - border-color: #c5e1d2 !important; | |
| 1221 | - background-color: #ecf5f0 !important; | |
| 1222 | - outline: none; | |
| 1223 | - } | |
| 1224 | - | |
| 1225 | - ::v-deep .el-pagination__total { | |
| 1226 | - position: absolute; | |
| 1227 | - left: 10px; | |
| 1228 | - } | |
| 1229 | - | |
| 1230 | - ::v-deep .diaslog_zhong { | |
| 1231 | - .el-dialog__body { | |
| 1232 | - padding: 10px 20px 20px 20px; | |
| 1233 | - } | |
| 1234 | - | |
| 1235 | - .el-upload--picture-card { | |
| 1236 | - width: 130px; | |
| 1237 | - height: 130px; | |
| 1238 | - } | |
| 932 | + .el-dialog__header{ | |
| 933 | + padding: 0; | |
| 934 | + display: none; | |
| 1239 | 935 | } |
| 1240 | 936 | </style> | ... | ... |
admin-web-master/src/views/customer/rsaManagement/tanpan.vue
| 1 | 1 | <template> |
| 2 | - <div style="background-color:#f7f7f7;padding:10px 10px;"> | |
| 3 | - <div class="zhuti"> | |
| 4 | - <div style="height:58px;line-height:58px;"> | |
| 5 | - <div style="color:#0006"> <span>商户寻租管理</span> <span style="padding:0 5px;">></span> <span | |
| 6 | - style="color:#000000e6">谈判日志</span></div> | |
| 7 | - </div> | |
| 8 | - <!-- 搜索 --> | |
| 9 | - <div class="formSearch"> | |
| 10 | - <el-form :inline="true" :model="formSel"> | |
| 11 | - <el-form-item label="年月"> | |
| 12 | -<el-date-picker style="width: 100%;" v-model="formSel.yytime" value-format="yyyy-MM" | |
| 13 | - type="month" placeholder="选择日期"> | |
| 14 | - </el-date-picker> | |
| 15 | - </el-form-item> | |
| 16 | - | |
| 17 | - | |
| 18 | - </el-form> | |
| 19 | - <div style="width: 17%;"> | |
| 20 | - <el-button | |
| 21 | - style="background-color: #3F9B6A;color: #fff" | |
| 22 | - @click="onSubmit" | |
| 23 | - >查询 | |
| 24 | - </el-button> | |
| 25 | - <el-button | |
| 26 | - class="buttonHover" | |
| 27 | - style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 28 | - @click="resetting" | |
| 29 | - >重置 | |
| 30 | - </el-button> | |
| 31 | - </div> | |
| 32 | - | |
| 33 | - </div> | |
| 34 | - <div style="margin-bottom:20px;"> | |
| 35 | - <el-button style="background-color: #3F9B6A;color: #fff;padding:8px 15px;" icon="el-icon-circle-plus-outline" | |
| 36 | - @click="genad">新增</el-button> | |
| 37 | - </div> | |
| 38 | - <div> | |
| 39 | - <el-calendar v-model="morenCard"> | |
| 40 | - <template | |
| 41 | - slot="dateCell" | |
| 42 | - slot-scope="{date, data}"> | |
| 43 | - {{data.day.split("-").slice(2).join("-")}} | |
| 44 | - <div style="overflow: auto;height:55px;"> | |
| 45 | - <div style="width:100%" v-for="(item,index) in tableData" @click="genjinMsg(item)"> | |
| 46 | - <div style="font-size:12px;margin-top:10px;width:48%" > | |
| 47 | - {{item.negotiationTime == data.day?item.negotiationResult:''}} | |
| 48 | - </div> | |
| 49 | - </div> | |
| 50 | - </div> | |
| 51 | - </template> | |
| 52 | - </el-calendar> | |
| 53 | - </div> | |
| 54 | - <div> | |
| 55 | - <el-button | |
| 56 | - class="buttonHover" | |
| 57 | - style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 58 | - @click="closeGenjin" | |
| 59 | - >返回 | |
| 2 | + <div style="background-color:#f7f7f7;padding:10px 10px;"> | |
| 3 | + <div class="zhuti" v-if="ontype == '1'"> | |
| 4 | + <div style="height:58px;line-height:58px;"> | |
| 5 | + <div style="color:#0006"> <span>商户寻租管理</span> <span style="padding:0 5px;">></span> <span | |
| 6 | + style="color:#000000e6">谈判日志</span></div> | |
| 7 | + </div> | |
| 8 | + <!-- 搜索 --> | |
| 9 | + <div class="formSearch"> | |
| 10 | + <el-form :inline="true" :model="formSel"> | |
| 11 | + <el-form-item label="年月"> | |
| 12 | + <el-date-picker style="width: 100%;" v-model="formSel.yytime" value-format="yyyy-MM" type="month" | |
| 13 | + placeholder="选择日期"> | |
| 14 | + </el-date-picker> | |
| 15 | + </el-form-item> | |
| 16 | + | |
| 17 | + | |
| 18 | + </el-form> | |
| 19 | + <div style="width: 17%;"> | |
| 20 | + <el-button style="background-color: #3F9B6A;color: #fff" @click="onSubmit">查询 | |
| 21 | + </el-button> | |
| 22 | + <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 23 | + @click="resetting">重置 | |
| 60 | 24 | </el-button> |
| 61 | 25 | </div> |
| 62 | - </div> | |
| 63 | - <el-dialog :title="msgEit?'查看':'新增'" :visible.sync="ggXin" width="75%" | |
| 64 | - append-to-body :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false"> | |
| 65 | - <div style="padding: 20px;"> | |
| 66 | - <el-form ref="tanform" :model="formInline" :rules="rulesOne" label-width="120px"> | |
| 67 | - <el-form-item label="谈判时间" prop="negotiationTime"> | |
| 68 | - <el-date-picker | |
| 69 | - :disabled="msgEit" | |
| 70 | - v-model="formInline.negotiationTime" | |
| 71 | - type="date" | |
| 72 | - value-format="yyyy-MM-dd" | |
| 73 | - placeholder="选择日期" | |
| 74 | - tyle="width: 100%;"> | |
| 75 | - </el-date-picker> | |
| 76 | - </el-form-item> | |
| 77 | - <el-form-item label="谈判主题" prop="negotiationTheme" tyle="width: 100%;"> | |
| 78 | - <el-input v-model="formInline.negotiationTheme" :disabled="msgEit"></el-input> | |
| 79 | - </el-form-item> | |
| 80 | - <el-form-item label="标段号" prop="bidSegmentNumber" tyle="width: 100%;"> | |
| 81 | - <el-input v-model="formInline.bidSegmentNumber" :disabled="msgEit"></el-input> | |
| 82 | - </el-form-item> | |
| 26 | + | |
| 27 | + </div> | |
| 28 | + <div style="margin-bottom:20px;"> | |
| 29 | + <el-button style="background-color: #3F9B6A;color: #fff;padding:8px 15px;" icon="el-icon-circle-plus-outline" | |
| 30 | + @click="genad">新增</el-button> | |
| 31 | + </div> | |
| 32 | + <div> | |
| 33 | + <el-calendar v-model="morenCard"> | |
| 34 | + <template slot="dateCell" slot-scope="{date, data}"> | |
| 35 | + {{data.day.split("-").slice(2).join("-")}} | |
| 36 | + <div style="overflow: auto;height:55px;"> | |
| 37 | + <div style="width:100%" v-for="(item,index) in tableData" @click="genjinMsg(item)"> | |
| 38 | + <div style="font-size:12px;margin-top:10px;width:48%"> | |
| 39 | + {{item.negotiationTime == data.day?item.negotiationResult:''}} | |
| 40 | + </div> | |
| 41 | + </div> | |
| 42 | + </div> | |
| 43 | + </template> | |
| 44 | + </el-calendar> | |
| 45 | + </div> | |
| 46 | + <div> | |
| 47 | + <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 48 | + @click="closeGenjin">返回 | |
| 49 | + </el-button> | |
| 50 | + </div> | |
| 51 | + </div> | |
| 52 | + <div class="zhuti" v-if="ontype == '2'"> | |
| 53 | + <div style="height:58px;line-height:58px;"> | |
| 54 | + <div style="color:#0006"> <span>谈判日志</span> <span style="padding:0 5px;">></span> <span | |
| 55 | + style="color:#000000e6">新增</span></div> | |
| 56 | + </div> | |
| 57 | + <div> | |
| 58 | + <el-form ref="tanform" :model="formInline" :rules="rulesOne" label-width="120px"> | |
| 59 | + <el-form-item label="谈判时间" prop="negotiationTime"> | |
| 60 | + <el-date-picker v-model="formInline.negotiationTime" type="date" | |
| 61 | + value-format="yyyy-MM-dd" placeholder="选择日期" style="width: 100%;"> | |
| 62 | + </el-date-picker> | |
| 63 | + </el-form-item> | |
| 64 | + <el-form-item label="谈判主题" prop="negotiationTheme" > | |
| 65 | + <el-input v-model="formInline.negotiationTheme" ></el-input> | |
| 66 | + </el-form-item> | |
| 67 | + <el-form-item label="标段号" prop="bidSegmentNumber" > | |
| 68 | + <el-input v-model="formInline.bidSegmentNumber" ></el-input> | |
| 69 | + </el-form-item> | |
| 83 | 70 | |
| 84 | 71 | <el-form-item label="会议纪要" prop="meetingMinutes"> |
| 85 | - <el-input type="textarea" v-model="formInline.meetingMinutes" :rows="4" :disabled="msgEit"></el-input> | |
| 72 | + <el-input type="textarea" v-model="formInline.meetingMinutes" :rows="4" ></el-input> | |
| 86 | 73 | </el-form-item> |
| 87 | 74 | <el-form-item label="谈判内容" prop="negotiationContent"> |
| 88 | - <el-input type="textarea" v-model="formInline.negotiationContent" :rows="4" :disabled="msgEit"></el-input> | |
| 75 | + <el-input type="textarea" v-model="formInline.negotiationContent" :rows="4" ></el-input> | |
| 89 | 76 | </el-form-item> |
| 90 | 77 | <el-form-item label="谈判结果" prop="negotiationResult"> |
| 91 | - <el-input type="textarea" v-model="formInline.negotiationResult" :rows="4" :disabled="msgEit"></el-input> | |
| 78 | + <el-input type="textarea" v-model="formInline.negotiationResult" :rows="4" ></el-input> | |
| 92 | 79 | </el-form-item> |
| 93 | 80 | <el-form-item label="当前阶段" prop="currentStage"> |
| 94 | - <el-select v-model="formInline.currentStage" placeholder="请选择" style="width:100%" :disabled="msgEit"> | |
| 81 | + <el-select v-model="formInline.currentStage" placeholder="请选择" style="width:100%" > | |
| 95 | 82 | <el-option label="继续跟进" value="继续跟进" /> |
| 96 | 83 | <el-option label="达成共识" value="达成共识" /> |
| 97 | 84 | </el-select> |
| 98 | 85 | </el-form-item> |
| 99 | 86 | <el-form-item label="其他附件" prop="otherAttachments"> |
| 100 | - <upfile filePath="yixiang" inputtype="otherAttachments" :value="formInline.otherAttachments" v-if="msgEit==false" accept=".docx" @changimg="e=>changimg(e,'otherAttachments')"></upfile> | |
| 101 | - <div class="duiqi greens" v-if="msgEit" @click="formInline.otherAttachments?openfile(formInline.otherAttachments):''">{{formInline.otherAttachments?'查看详情':'暂无文件'}}</div> | |
| 87 | + <upfile filePath="yixiang" inputtype="otherAttachments" :value="formInline.otherAttachments" | |
| 88 | + accept=".docx" @changimg="e=>changimg(e,'otherAttachments')"></upfile> | |
| 102 | 89 | </el-form-item> |
| 103 | - <el-form-item label="现场照片" > | |
| 104 | - <div v-if="msgEit" style="display:flex;flex-wrap: wrap"> | |
| 105 | - <!-- <el-image | |
| 106 | - style="width: 100px; height: 100px;margin-right: 10px;" | |
| 107 | - fit="fill" | |
| 108 | - :src="$baseURL+item" | |
| 109 | - v-for="(item,index) in imgList" :key="index" | |
| 110 | - > | |
| 111 | - <div slot="error" class="image-slot"> | |
| 112 | - </div> | |
| 113 | - </el-image> --> | |
| 114 | - <div style="display: flex;"> | |
| 115 | - <allimg v-if="item" :src="item" fit="contain" v-for="item in imgList" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | |
| 116 | - </div> | |
| 117 | - </div> | |
| 90 | + <el-form-item label="现场照片"> | |
| 118 | 91 | <upimg filePath="yixiang" inputtype="onSitePhotos" :value="formInline.onSitePhotos" |
| 119 | - @changimg="e=>changimg(e,'onSitePhotos')" :limit="3" v-if="msgEit==false" ></upimg> | |
| 92 | + @changimg="e=>changimg(e,'onSitePhotos')" :limit="3" ></upimg> | |
| 120 | 93 | |
| 121 | 94 | </el-form-item> |
| 122 | 95 | <el-form-item label="下次谈判时间" prop="plan_Time"> |
| 123 | 96 | <el-date-picker style="width: 100%;" v-model="formInline.plan_Time" value-format="yyyy-MM-dd" |
| 124 | - :disabled="msgEit" | |
| 125 | - type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" align="right" @change="changeNext"> | |
| 97 | + type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" | |
| 98 | + align="right" @change="changeNext"> | |
| 126 | 99 | </el-date-picker> |
| 127 | 100 | </el-form-item> |
| 128 | 101 | </el-form> |
| 129 | - </div> | |
| 130 | - <div style="display: flex;justify-content: flex-end;"> | |
| 131 | - <el-button @click="closeFn" class="buttonHover" | |
| 132 | - style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">返回</el-button> | |
| 133 | - <el-button @click="addCheck" style="background-color: #3F9B6A;color: #fff" v-if="msgEit==false">确定</el-button> | |
| 134 | - </div> | |
| 135 | - </el-dialog> | |
| 136 | - </div> | |
| 102 | + </div> | |
| 103 | + <div style="display: flex;"> | |
| 104 | + <el-button @click="closeFn" class="buttonHover" | |
| 105 | + style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">返回</el-button> | |
| 106 | + <el-button @click="addCheck" style="background-color: #3F9B6A;color: #fff" >确定</el-button> | |
| 107 | + </div> | |
| 108 | + </div> | |
| 109 | + <div class="zhuti" v-if="ontype == '3'"> | |
| 110 | + <div style="height:58px;line-height:58px;"> | |
| 111 | + <div style="color:#0006"> <span>谈判日志</span> <span style="padding:0 5px;">></span> <span | |
| 112 | + style="color:#000000e6">查看</span></div> | |
| 113 | + </div> | |
| 114 | + <div> | |
| 115 | + <el-form ref="tanform" :model="formInline" label-width="120px"> | |
| 116 | + <el-form-item label="谈判时间" prop="negotiationTime"> | |
| 117 | + <div class="duiqi">{{formInline.negotiationTime || '无'}}</div> | |
| 118 | + </el-form-item> | |
| 119 | + <el-form-item label="谈判主题" prop="negotiationTheme" > | |
| 120 | + <div class="duiqi">{{formInline.negotiationTheme || '无'}}</div> | |
| 121 | + </el-form-item> | |
| 122 | + <el-form-item label="标段号" prop="bidSegmentNumber" > | |
| 123 | + <div class="duiqi">{{formInline.bidSegmentNumber || '无'}}</div> | |
| 124 | + </el-form-item> | |
| 125 | + | |
| 126 | + <el-form-item label="会议纪要" prop="meetingMinutes"> | |
| 127 | + <div class="duiqi">{{formInline.meetingMinutes || '无'}}</div> | |
| 128 | + </el-form-item> | |
| 129 | + <el-form-item label="谈判内容" prop="negotiationContent"> | |
| 130 | + <div class="duiqi">{{formInline.negotiationContent || '无'}}</div> | |
| 131 | + </el-form-item> | |
| 132 | + <el-form-item label="谈判结果" prop="negotiationResult"> | |
| 133 | + <div class="duiqi">{{formInline.negotiationResult || '无'}}</div> | |
| 134 | + </el-form-item> | |
| 135 | + <el-form-item label="当前阶段" prop="currentStage"> | |
| 136 | + <div class="duiqi">{{formInline.currentStage || '无'}}</div> | |
| 137 | + </el-form-item> | |
| 138 | + <el-form-item label="其他附件" prop="otherAttachments"> | |
| 139 | + <div class="duiqi greens" | |
| 140 | + @click="formInline.otherAttachments?openfile(formInline.otherAttachments):''"> | |
| 141 | + {{formInline.otherAttachments?'查看详情':'暂无文件'}}</div> | |
| 142 | + </el-form-item> | |
| 143 | + <el-form-item label="现场照片"> | |
| 144 | + <div style="display:flex;flex-wrap: wrap"> | |
| 145 | + <div style="display: flex;"> | |
| 146 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in imgList" | |
| 147 | + style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;" /> | |
| 148 | + </div> | |
| 149 | + </div> | |
| 150 | + </el-form-item> | |
| 151 | + <el-form-item label="下次谈判时间" prop="plan_Time"> | |
| 152 | + <div class="duiqi">{{formInline.plan_Time?formInline.plan_Time.length>0&&formInline.plan_Time[0]?formInline.plan_Time[0]+' 至 '+formInline.plan_Time[1]:'无':'无'}}</div> | |
| 153 | + </el-form-item> | |
| 154 | + </el-form> | |
| 155 | + </div> | |
| 156 | + <div style="display: flex;"> | |
| 157 | + <el-button @click="closeFn" class="buttonHover" | |
| 158 | + style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">返回</el-button> | |
| 159 | + <el-button @click="addCheck" style="background-color: #3F9B6A;color: #fff" >确定</el-button> | |
| 160 | + </div> | |
| 161 | + </div> | |
| 162 | + </div> | |
| 137 | 163 | </template> |
| 138 | 164 | |
| 139 | 165 | <script> |
| 140 | 166 | import { |
| 141 | - tanGetAll, | |
| 142 | - tanAdd, | |
| 143 | - tanEdit, | |
| 144 | - tanDel, | |
| 167 | + tanGetAll, | |
| 168 | + tanAdd, | |
| 169 | + tanEdit, | |
| 170 | + tanDel, | |
| 145 | 171 | } from '../../../api/inr.js' |
| 146 | 172 | import upimg from "@/components/ImageUpload/index" |
| 147 | 173 | import upfile from "@/components/fujianUpload/fujianList" |
| 148 | 174 | import allimg from '@/components/chakan/allimg.vue'; |
| 149 | 175 | import { |
| 150 | - getAlls | |
| 176 | + getAlls | |
| 151 | 177 | } from '../../../api/information.js' |
| 152 | 178 | import { |
| 153 | 179 | getAlls as map1 |
| ... | ... | @@ -158,39 +184,40 @@ |
| 158 | 184 | upfile, |
| 159 | 185 | allimg |
| 160 | 186 | }, |
| 161 | - props: { | |
| 162 | - message: { | |
| 163 | - type: Number, // 指定数据的类型 | |
| 164 | - required: true, // 指定该数据是必需的 | |
| 165 | - default: null ,// 指定默认值 | |
| 166 | - } | |
| 167 | - } , | |
| 187 | + props: { | |
| 188 | + message: { | |
| 189 | + type: Number, // 指定数据的类型 | |
| 190 | + required: true, // 指定该数据是必需的 | |
| 191 | + default: null, // 指定默认值 | |
| 192 | + } | |
| 193 | + }, | |
| 168 | 194 | data() { |
| 169 | 195 | return { |
| 170 | - formSel:{ | |
| 171 | - yytime:'' | |
| 196 | + ontype:'1', | |
| 197 | + formSel: { | |
| 198 | + yytime: '' | |
| 172 | 199 | }, |
| 173 | - formInline:{ | |
| 174 | - negotiationTime:'', | |
| 175 | - negotiationTheme:'', | |
| 176 | - bidSegmentNumber:'', | |
| 177 | - meetingMinutes:'', | |
| 178 | - negotiationContent:'', | |
| 179 | - negotiationResult:'', | |
| 180 | - otherAttachments:'', | |
| 181 | - onSitePhotos:'', | |
| 182 | - nextNegotiationStartTime:'', | |
| 183 | - nextNegotiationEndTime:'', | |
| 184 | - potentialCustomer:'', | |
| 185 | - plan_Time:[], | |
| 200 | + formInline: { | |
| 201 | + negotiationTime: '', | |
| 202 | + negotiationTheme: '', | |
| 203 | + bidSegmentNumber: '', | |
| 204 | + meetingMinutes: '', | |
| 205 | + negotiationContent: '', | |
| 206 | + negotiationResult: '', | |
| 207 | + otherAttachments: '', | |
| 208 | + onSitePhotos: '', | |
| 209 | + nextNegotiationStartTime: '', | |
| 210 | + nextNegotiationEndTime: '', | |
| 211 | + potentialCustomer: '', | |
| 212 | + plan_Time: [], | |
| 186 | 213 | }, |
| 187 | - addziyuanData:[], | |
| 214 | + addziyuanData: [], | |
| 188 | 215 | |
| 189 | 216 | morenCard: new Date(), |
| 190 | - pageSize:10, | |
| 217 | + pageSize: 10, | |
| 191 | 218 | currentPage: 1, |
| 192 | 219 | total: 0, |
| 193 | - ggXin:false, | |
| 220 | + ggXin: false, | |
| 194 | 221 | rulesOne: { |
| 195 | 222 | negotiationTime: [{ |
| 196 | 223 | required: true, |
| ... | ... | @@ -224,17 +251,17 @@ |
| 224 | 251 | }, ], |
| 225 | 252 | }, |
| 226 | 253 | pageindex: { |
| 227 | - pageNumber: 0, | |
| 228 | - pageSize: 10, | |
| 229 | - potentialCustomer:null | |
| 230 | - }, | |
| 231 | - zipageindex: { | |
| 232 | 254 | pageNumber: 0, |
| 233 | 255 | pageSize: 10, |
| 234 | - }, | |
| 235 | - tableData:[], | |
| 236 | - msgEit:false, | |
| 237 | - imgList:[] | |
| 256 | + potentialCustomer: null | |
| 257 | + }, | |
| 258 | + zipageindex: { | |
| 259 | + pageNumber: 0, | |
| 260 | + pageSize: 10, | |
| 261 | + }, | |
| 262 | + tableData: [], | |
| 263 | + msgEit: false, | |
| 264 | + imgList: [] | |
| 238 | 265 | } |
| 239 | 266 | }, |
| 240 | 267 | created() { |
| ... | ... | @@ -244,119 +271,124 @@ |
| 244 | 271 | this.pageindex.potentialCustomer = this.message |
| 245 | 272 | this.getAll() |
| 246 | 273 | }, |
| 247 | - methods: { | |
| 248 | - openfile(e) { | |
| 249 | - if (e) { | |
| 250 | - const fullUrl = this.$baseURL + e; | |
| 251 | - try { | |
| 252 | - window.open(fullUrl, '_blank'); // 在新标签页中打开文件 | |
| 253 | - } catch (error) { | |
| 254 | - console.error('打开文件失败:', error); | |
| 255 | - } | |
| 256 | - } else { | |
| 257 | - console.error('无文件可查看'); | |
| 274 | + methods: { | |
| 275 | + openfile(e) { | |
| 276 | + if (e) { | |
| 277 | + const fullUrl = this.$baseURL + e; | |
| 278 | + try { | |
| 279 | + window.open(fullUrl, '_blank'); // 在新标签页中打开文件 | |
| 280 | + } catch (error) { | |
| 281 | + console.error('打开文件失败:', error); | |
| 258 | 282 | } |
| 259 | - }, | |
| 260 | - changimg(e,type) { | |
| 261 | - // if(type == 'onSitePhotos'){ | |
| 262 | - // this.imgList.push(e) | |
| 263 | - // } | |
| 264 | - this.formInline[type] = e | |
| 283 | + } else { | |
| 284 | + console.error('无文件可查看'); | |
| 285 | + } | |
| 286 | + }, | |
| 287 | + changimg(e, type) { | |
| 288 | + // if(type == 'onSitePhotos'){ | |
| 289 | + // this.imgList.push(e) | |
| 290 | + // } | |
| 291 | + this.formInline[type] = e | |
| 265 | 292 | |
| 266 | - }, | |
| 267 | - async getAll() { | |
| 268 | - const res = await tanGetAll(this.pageindex) | |
| 269 | - this.tableData = res.data.content | |
| 270 | - }, | |
| 271 | - genjinMsg(item){ | |
| 272 | - this.msgEit = true | |
| 273 | - this.formInline ={} | |
| 274 | - this.formInline = item | |
| 275 | - this.formInline.plan_Time = [item.nextNegotiationStartTime,item.nextNegotiationEndTime] | |
| 276 | - | |
| 277 | - if(typeof item.intendedResource == 'string' && item.intendedResource != ''){ | |
| 278 | - this.addziyuanData = JSON.parse(item.intendedResource) | |
| 279 | - } | |
| 280 | - if(typeof item.onSitePhotos == 'string'){ | |
| 281 | - this.imgList = item.onSitePhotos.split(',') ||[] | |
| 282 | - } | |
| 293 | + }, | |
| 294 | + async getAll() { | |
| 295 | + const res = await tanGetAll(this.pageindex) | |
| 296 | + this.tableData = res.data.content | |
| 297 | + }, | |
| 298 | + genjinMsg(item) { | |
| 299 | + | |
| 300 | + this.msgEit = true | |
| 301 | + this.formInline = {} | |
| 302 | + this.formInline = item | |
| 303 | + this.formInline.plan_Time = [item.nextNegotiationStartTime, item.nextNegotiationEndTime] | |
| 283 | 304 | |
| 284 | - this.ggXin = true | |
| 285 | - }, | |
| 286 | - onSubmit(){ | |
| 305 | + if (typeof item.intendedResource == 'string' && item.intendedResource != '') { | |
| 306 | + this.addziyuanData = JSON.parse(item.intendedResource) | |
| 307 | + } | |
| 308 | + if (typeof item.onSitePhotos == 'string') { | |
| 309 | + this.imgList = item.onSitePhotos.split(',') || [] | |
| 310 | + } | |
| 311 | + | |
| 312 | + this.ggXin = true | |
| 313 | + this.ontype = '3' | |
| 314 | + }, | |
| 315 | + onSubmit() { | |
| 287 | 316 | this.morenCard = this.formSel.yytime |
| 288 | 317 | this.getAll() |
| 289 | - }, | |
| 290 | - resetting(){ | |
| 318 | + }, | |
| 319 | + resetting() { | |
| 291 | 320 | this.morenCard = new Date() |
| 292 | 321 | this.formSel.yytime = '' |
| 293 | 322 | this.getAll() |
| 294 | - }, | |
| 323 | + }, | |
| 295 | 324 | |
| 296 | - genad(){ | |
| 297 | - | |
| 298 | - this.formInline ={ | |
| 299 | - negotiationTime:'', | |
| 300 | - negotiationTheme:'', | |
| 301 | - bidSegmentNumber:'', | |
| 302 | - meetingMinutes:'', | |
| 303 | - negotiationContent:'', | |
| 304 | - negotiationResult:'', | |
| 305 | - otherAttachments:'', | |
| 306 | - onSitePhotos:'', | |
| 307 | - nextNegotiationStartTime:'', | |
| 308 | - nextNegotiationEndTime:'', | |
| 309 | - potentialCustomer:'', | |
| 310 | - plan_Time:[] | |
| 325 | + genad() { | |
| 326 | + | |
| 327 | + this.formInline = { | |
| 328 | + negotiationTime: '', | |
| 329 | + negotiationTheme: '', | |
| 330 | + bidSegmentNumber: '', | |
| 331 | + meetingMinutes: '', | |
| 332 | + negotiationContent: '', | |
| 333 | + negotiationResult: '', | |
| 334 | + otherAttachments: '', | |
| 335 | + onSitePhotos: '', | |
| 336 | + nextNegotiationStartTime: '', | |
| 337 | + nextNegotiationEndTime: '', | |
| 338 | + potentialCustomer: '', | |
| 339 | + plan_Time: [] | |
| 311 | 340 | } |
| 312 | - this.msgEit = false | |
| 313 | - this.ggXin = true | |
| 314 | - this.$refs.tanform.resetFields() | |
| 315 | - }, | |
| 316 | - closeGenjin(){ | |
| 317 | - this.$emit('cancel',false) | |
| 318 | - }, | |
| 341 | + this.ontype = '2' | |
| 342 | + // this.msgEit = false | |
| 343 | + // this.ggXin = true | |
| 344 | + // this.$refs.tanform.resetFields() | |
| 345 | + }, | |
| 346 | + closeGenjin() { | |
| 347 | + this.$emit('cancel', false) | |
| 348 | + }, | |
| 319 | 349 | |
| 320 | 350 | |
| 321 | - changeNext(e){ | |
| 322 | - this.formInline.nextNegotiationStartTime = e[0] | |
| 323 | - this.formInline.nextNegotiationEndTime = e[1] | |
| 324 | - | |
| 325 | - }, | |
| 326 | - | |
| 327 | - closemsg(index){ | |
| 328 | - this.addziyuanData.splice(index, 1); | |
| 329 | - }, | |
| 330 | - closeFn(val) { | |
| 331 | - this.formInline.plan_Time =[] | |
| 332 | - | |
| 333 | - this.ggXin = false | |
| 334 | - }, | |
| 335 | - // 新增确定按钮 | |
| 336 | - addCheck(val) { | |
| 337 | - | |
| 338 | - this.$refs.tanform.validate((valid) => { | |
| 339 | - if (valid) { | |
| 340 | - this.formInline.potentialCustomer = this.message | |
| 341 | - // this.formInline.onSitePhotos = this.imgList.join(',') | |
| 342 | - if(this.formInline.currentStage == '达成共识'){ | |
| 343 | - this.formInline.status = '2' | |
| 344 | - } | |
| 345 | - tanAdd(this.formInline).then(()=>{ | |
| 346 | - this.ggXin = false | |
| 347 | - this.getAll() | |
| 348 | - }) | |
| 349 | - }else { | |
| 350 | - this.$message({ | |
| 351 | - message: '请填写完整信息', | |
| 352 | - type: 'error' | |
| 353 | - }) | |
| 354 | - | |
| 355 | - } | |
| 356 | - }) | |
| 357 | - | |
| 358 | - }, | |
| 359 | - } | |
| 351 | + changeNext(e) { | |
| 352 | + this.formInline.nextNegotiationStartTime = e[0] | |
| 353 | + this.formInline.nextNegotiationEndTime = e[1] | |
| 354 | + | |
| 355 | + }, | |
| 356 | + | |
| 357 | + closemsg(index) { | |
| 358 | + this.addziyuanData.splice(index, 1); | |
| 359 | + }, | |
| 360 | + closeFn(val) { | |
| 361 | + this.formInline.plan_Time = [] | |
| 362 | + | |
| 363 | + // this.ggXin = false | |
| 364 | + this.ontype = '1' | |
| 365 | + }, | |
| 366 | + // 新增确定按钮 | |
| 367 | + addCheck(val) { | |
| 368 | + | |
| 369 | + this.$refs.tanform.validate((valid) => { | |
| 370 | + if (valid) { | |
| 371 | + this.formInline.potentialCustomer = this.message | |
| 372 | + // this.formInline.onSitePhotos = this.imgList.join(',') | |
| 373 | + if (this.formInline.currentStage == '达成共识') { | |
| 374 | + this.formInline.status = '2' | |
| 375 | + } | |
| 376 | + tanAdd(this.formInline).then(() => { | |
| 377 | + // this.ggXin = false | |
| 378 | + this.getAll() | |
| 379 | + this.ontype = '1' | |
| 380 | + }) | |
| 381 | + } else { | |
| 382 | + this.$message({ | |
| 383 | + message: '请填写完整信息', | |
| 384 | + type: 'error' | |
| 385 | + }) | |
| 386 | + | |
| 387 | + } | |
| 388 | + }) | |
| 389 | + | |
| 390 | + }, | |
| 391 | + } | |
| 360 | 392 | } |
| 361 | 393 | </script> |
| 362 | 394 | |
| ... | ... | @@ -364,6 +396,7 @@ |
| 364 | 396 | ::v-deep .el-calendar button-group { |
| 365 | 397 | display: none; |
| 366 | 398 | } |
| 399 | + | |
| 367 | 400 | .zhuti { |
| 368 | 401 | padding: 0 20px 20px 20px; |
| 369 | 402 | min-height: calc(100vh - 50px - 20px); |
| ... | ... | @@ -378,12 +411,29 @@ |
| 378 | 411 | justify-content: space-between; |
| 379 | 412 | |
| 380 | 413 | } |
| 414 | + | |
| 381 | 415 | .greens { |
| 382 | 416 | color: #3F9B6A; |
| 383 | 417 | } |
| 384 | -::v-deep .el-calendar-table:not(.is-range)td.next{display: none;} | |
| 385 | -::v-deep .el-calendar-table:not(.is-range)td.prev{visibility:hidden;} | |
| 386 | -::v-deep .el-calendar__button-group {display: none;} | |
| 387 | -::v-deep .el-backtop, .el-calendar-table td.is-today{color: #3F9B6A;} | |
| 388 | -::v-deep .el-calendar-table .el-calendar-day {min-height:85px;} | |
| 418 | + | |
| 419 | + ::v-deep .el-calendar-table:not(.is-range)td.next { | |
| 420 | + display: none; | |
| 421 | + } | |
| 422 | + | |
| 423 | + ::v-deep .el-calendar-table:not(.is-range)td.prev { | |
| 424 | + visibility: hidden; | |
| 425 | + } | |
| 426 | + | |
| 427 | + ::v-deep .el-calendar__button-group { | |
| 428 | + display: none; | |
| 429 | + } | |
| 430 | + | |
| 431 | + ::v-deep .el-backtop, | |
| 432 | + .el-calendar-table td.is-today { | |
| 433 | + color: #3F9B6A; | |
| 434 | + } | |
| 435 | + | |
| 436 | + ::v-deep .el-calendar-table .el-calendar-day { | |
| 437 | + min-height: 85px; | |
| 438 | + } | |
| 389 | 439 | </style> | ... | ... |
admin-web-master/src/views/detect/examine/index.vue
| ... | ... | @@ -71,11 +71,11 @@ |
| 71 | 71 | {{scope.row.shopinfo.rentalPrice}} /{{ scope.row.shopinfo.leaseTerm }} |
| 72 | 72 | </template> |
| 73 | 73 | </el-table-column> |
| 74 | - <el-table-column label="付款日" prop="payDay" show-overflow-tooltip> | |
| 74 | + <!-- <el-table-column label="付款日" prop="payDay" show-overflow-tooltip> | |
| 75 | 75 | <template slot-scope="scope"> |
| 76 | 76 | {{scope.row.shopinfo.payDay}} |
| 77 | 77 | </template> |
| 78 | - </el-table-column> | |
| 78 | + </el-table-column> --> | |
| 79 | 79 | <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 80 | 80 | <template slot-scope="scope"> |
| 81 | 81 | {{scope.row.cereBasicInformationShop.publishStatus=='0'?'空置中':scope.row.cereBasicInformationShop.publishStatus=='1'?'待审核':scope.row.cereBasicInformationShop.publishStatus=='2'?'已发布':scope.row.cereBasicInformationShop.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} |
| ... | ... | @@ -116,11 +116,11 @@ |
| 116 | 116 | {{scope.row.shopinfo.rentalPrice}} /{{ scope.row.shopinfo.leaseTerm }} |
| 117 | 117 | </template> |
| 118 | 118 | </el-table-column> |
| 119 | - <el-table-column label="付款日" prop="payDay" show-overflow-tooltip> | |
| 119 | + <!-- <el-table-column label="付款日" prop="payDay" show-overflow-tooltip> | |
| 120 | 120 | <template slot-scope="scope"> |
| 121 | 121 | {{scope.row.shopinfo.payDay}} |
| 122 | 122 | </template> |
| 123 | - </el-table-column> | |
| 123 | + </el-table-column> --> | |
| 124 | 124 | <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 125 | 125 | <template slot-scope="scope"> |
| 126 | 126 | {{scope.row.cereAdvertisingInformation.publishStatus=='0'?'空置中':scope.row.cereAdvertisingInformation.publishStatus=='1'?'待审核':scope.row.cereAdvertisingInformation.publishStatus=='2'?'已发布':scope.row.cereAdvertisingInformation.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} |
| ... | ... | @@ -161,11 +161,11 @@ |
| 161 | 161 | {{scope.row.shopinfo.rentalPrice}} /{{ scope.row.shopinfo.leaseTerm }} |
| 162 | 162 | </template> |
| 163 | 163 | </el-table-column> |
| 164 | - <el-table-column label="付款日" prop="payDay" show-overflow-tooltip> | |
| 164 | + <!-- <el-table-column label="付款日" prop="payDay" show-overflow-tooltip> | |
| 165 | 165 | <template slot-scope="scope"> |
| 166 | 166 | {{scope.row.shopinfo.payDay}} |
| 167 | 167 | </template> |
| 168 | - </el-table-column> | |
| 168 | + </el-table-column> --> | |
| 169 | 169 | <el-table-column label="状态" prop="publishStatus" show-overflow-tooltip> |
| 170 | 170 | <template slot-scope="scope"> |
| 171 | 171 | {{scope.row.cereBasicInformationVenue.publishStatus=='0'?'空置中':scope.row.cereBasicInformationVenue.publishStatus=='1'?'待审核':scope.row.cereBasicInformationVenue.publishStatus=='2'?'已发布':scope.row.cereBasicInformationVenue.publishStatus=='3'?'不通过':scope.row.publishStatus=='4'?'已租赁':'-'}} | ... | ... |