Commit a6cb34d3986664a3fa2e62bb450f8930ddaf2232
1 parent
db09e674
1
Showing
5 changed files
with
1407 additions
and
319 deletions
admin-web-master/src/api/newly.js
| 1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
| 2 | // import request from '@/utils/request2' | 2 | // import request from '@/utils/request2' |
| 3 | +// 租赁信息 | ||
| 4 | +export function cereContractInformationgetPages(data) { | ||
| 5 | + return request({ | ||
| 6 | + url: '/cereContractInformation/getPages', | ||
| 7 | + method: 'post', | ||
| 8 | + data | ||
| 9 | + }) | ||
| 10 | +} | ||
| 11 | +// 物业缴费 | ||
| 12 | +export function cerePaymentInfo(data) { | ||
| 13 | + return request({ | ||
| 14 | + url: '/cerePaymentInfo/queryByPage', | ||
| 15 | + method: 'post', | ||
| 16 | + data | ||
| 17 | + }) | ||
| 18 | +} | ||
| 19 | +// 合同 | ||
| 20 | +export function cereContractInformationgetPage(data) { | ||
| 21 | + return request({ | ||
| 22 | + url: '/cereContractInformation/getPage', | ||
| 23 | + method: 'post', | ||
| 24 | + data | ||
| 25 | + }) | ||
| 26 | +} | ||
| 27 | +// 查看发票 | ||
| 28 | +export function cereInvoiceTitlegetByTenementId(data) { | ||
| 29 | + return request({ | ||
| 30 | + url: 'cereInvoiceTitle/getByTenementId/'+data.id, | ||
| 31 | + method: 'GET', | ||
| 32 | + }) | ||
| 33 | +} | ||
| 34 | +// 上传发票 | ||
| 35 | +export function cereInvoiceTitleadd(data) { | ||
| 36 | + return request({ | ||
| 37 | + url: '/cereInvoiceTitle/add', | ||
| 38 | + method: 'post', | ||
| 39 | + data | ||
| 40 | + }) | ||
| 41 | +} | ||
| 42 | +// 复核 | ||
| 43 | +export function editToRecheck(data) { | ||
| 44 | + return request({ | ||
| 45 | + url: '/cerePropertyOrder/editToRecheck/'+data.id, | ||
| 46 | + method: 'GET', | ||
| 47 | + }) | ||
| 48 | +} | ||
| 49 | +// 缴费记录-租赁缴费 | ||
| 50 | +export function cerePropertyOrder(data) { | ||
| 51 | + return request({ | ||
| 52 | + url: '/cerePropertyOrder/queryByContractId', | ||
| 53 | + method: 'post', | ||
| 54 | + data | ||
| 55 | + }) | ||
| 56 | +} | ||
| 57 | +// 招商过程信息-谈判记录, | ||
| 58 | +export function cereNegotiationDetails(data) { | ||
| 59 | + return request({ | ||
| 60 | + url: '/cereNegotiationDetails/queryByPhone', | ||
| 61 | + method: 'post', | ||
| 62 | + data | ||
| 63 | + }) | ||
| 64 | +} | ||
| 65 | +// 招商过程信息-跟进日志 | ||
| 66 | +export function cereFollowDetails(data) { | ||
| 67 | + return request({ | ||
| 68 | + url: '/cereFollowDetails/queryByPage', | ||
| 69 | + method: 'post', | ||
| 70 | + data | ||
| 71 | + }) | ||
| 72 | +} | ||
| 73 | + | ||
| 74 | + | ||
| 75 | + | ||
| 3 | // 资源数量增长趋势 | 76 | // 资源数量增长趋势 |
| 4 | export function resourceQuantityGrowth(data) { | 77 | export function resourceQuantityGrowth(data) { |
| 5 | return request({ | 78 | return request({ |
admin-web-master/src/components/merchantInformation/index.vue
| 1 | <template> | 1 | <template> |
| 2 | <div> | 2 | <div> |
| 3 | - <div > | ||
| 4 | - <el-tabs v-model="xiangTab"> | ||
| 5 | - <el-tab-pane label="商家信息" name="first"> | ||
| 6 | - <div style="margin-top: 30px;" class="editcss"> | ||
| 7 | - <TitleWithCircle title="基础信息" /> | ||
| 8 | - <div style="padding: 20px;margin-top: 10px;"> | ||
| 9 | - <el-form :model="info" ref="ruleForm" label-width="140px" class="demo-ruleForm"> | ||
| 10 | - <el-row :gutter="20"> | ||
| 11 | - <el-col :span="9"> | ||
| 12 | - <el-form-item label="姓名" prop="name"> | ||
| 13 | - <div class="duiqi">{{info.name}}</div> | ||
| 14 | - </el-form-item> | ||
| 15 | - </el-col> | ||
| 16 | - <el-col :span="9"> | ||
| 17 | - <el-form-item label="手机号" prop="phone"> | ||
| 18 | - <div class="duiqi">{{info.phone}}</div> | ||
| 19 | - </el-form-item> | ||
| 20 | - </el-col> | ||
| 21 | - </el-row> | ||
| 22 | - <el-row :gutter="20"> | ||
| 23 | - <el-col :span="9"> | ||
| 24 | - <el-form-item label="证件类型" prop="idCardType"> | ||
| 25 | - <div class="duiqi">{{info.idCardType}}</div> | ||
| 26 | - </el-form-item> | ||
| 27 | - </el-col> | ||
| 28 | - <el-col :span="9"> | ||
| 29 | - <el-form-item label="身份证号码" prop="idCardNumber"> | ||
| 30 | - <div class="duiqi">{{info.idCardNumber}}</div> | ||
| 31 | - </el-form-item> | ||
| 32 | - </el-col> | ||
| 33 | - </el-row> | ||
| 34 | - <el-form-item label="身份证照片(正)" prop="idCardFrontImage"> | ||
| 35 | - <!-- <div style="margin-top: 10px;"> | ||
| 36 | - <el-image style="width: 200px;" :src="$baseURL+info.idCardFrontImage" fit="contain"></el-image> | ||
| 37 | - </div> --> | ||
| 38 | - <div style="display: flex;"> | ||
| 39 | - <allimg v-if="item" :src="item" fit="contain" v-for="item in info.idCardFrontImage.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | ||
| 40 | - </div> | ||
| 41 | - </el-form-item> | ||
| 42 | - <el-form-item label="身份证照片(反)" prop="idCardBackImage"> | ||
| 43 | - <!-- <div style="margin-top: 10px;"> | ||
| 44 | - <el-image style="width: 200px;" :src="$baseURL+info.idCardBackImage" fit="contain"></el-image> | ||
| 45 | - </div> --> | ||
| 46 | - <div style="display: flex;"> | ||
| 47 | - <allimg v-if="item" :src="item" fit="contain" v-for="item in info.idCardBackImage.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | ||
| 48 | - </div> | ||
| 49 | - </el-form-item> | ||
| 50 | - <el-row :gutter="20"> | ||
| 51 | - <el-col :span="9"> | ||
| 52 | - <el-form-item label="评级" prop="rating"> | ||
| 53 | - <div class="duiqi">{{info.rating || '-'}}</div> | ||
| 54 | - </el-form-item> | ||
| 55 | - </el-col> | ||
| 56 | - <el-col :span="9"> | ||
| 57 | - <el-form-item label="是否黑名单" prop="idCardNumber"> | ||
| 58 | - <div class="duiqi">{{info.isBlackList=='2'?'是':'否'}}</div> | ||
| 59 | - </el-form-item> | ||
| 60 | - </el-col> | ||
| 61 | - </el-row> | ||
| 62 | - </el-form> | 3 | + <div v-if="ontype == '1'"> |
| 4 | + <div > | ||
| 5 | + <el-tabs v-model="xiangTab"> | ||
| 6 | + <el-tab-pane label="商家信息" name="one"> | ||
| 7 | + <div style="margin-top: 30px;" class="editcss"> | ||
| 8 | + <TitleWithCircle title="基础信息" /> | ||
| 9 | + <div style="padding: 20px;margin-top: 10px;"> | ||
| 10 | + <el-form :model="info" ref="ruleForm" label-width="140px" class="demo-ruleForm"> | ||
| 11 | + <el-row :gutter="20"> | ||
| 12 | + <el-col :span="9"> | ||
| 13 | + <el-form-item label="姓名" prop="name"> | ||
| 14 | + <div class="duiqi">{{info.name}}</div> | ||
| 15 | + </el-form-item> | ||
| 16 | + </el-col> | ||
| 17 | + <el-col :span="9"> | ||
| 18 | + <el-form-item label="手机号" prop="phone"> | ||
| 19 | + <div class="duiqi">{{info.phone}}</div> | ||
| 20 | + </el-form-item> | ||
| 21 | + </el-col> | ||
| 22 | + </el-row> | ||
| 23 | + <el-row :gutter="20"> | ||
| 24 | + <el-col :span="9"> | ||
| 25 | + <el-form-item label="证件类型" prop="idCardType"> | ||
| 26 | + <div class="duiqi">{{info.idCardType}}</div> | ||
| 27 | + </el-form-item> | ||
| 28 | + </el-col> | ||
| 29 | + <el-col :span="9"> | ||
| 30 | + <el-form-item label="身份证号码" prop="idCardNumber"> | ||
| 31 | + <div class="duiqi">{{info.idCardNumber}}</div> | ||
| 32 | + </el-form-item> | ||
| 33 | + </el-col> | ||
| 34 | + </el-row> | ||
| 35 | + <el-form-item label="身份证照片(正)" prop="idCardFrontImage"> | ||
| 36 | + <div style="display: flex;"> | ||
| 37 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in info.idCardFrontImage.split(',')" | ||
| 38 | + style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;" /> | ||
| 39 | + </div> | ||
| 40 | + </el-form-item> | ||
| 41 | + <el-form-item label="身份证照片(反)" prop="idCardBackImage"> | ||
| 42 | + <div style="display: flex;"> | ||
| 43 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in info.idCardBackImage.split(',')" | ||
| 44 | + style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;" /> | ||
| 45 | + </div> | ||
| 46 | + </el-form-item> | ||
| 47 | + <el-row :gutter="20"> | ||
| 48 | + <el-col :span="9"> | ||
| 49 | + <el-form-item label="评级" prop="rating"> | ||
| 50 | + <div class="duiqi">{{info.rating || '-'}}</div> | ||
| 51 | + </el-form-item> | ||
| 52 | + </el-col> | ||
| 53 | + <el-col :span="9"> | ||
| 54 | + <el-form-item label="是否黑名单" prop="idCardNumber"> | ||
| 55 | + <div class="duiqi">{{info.isBlackList=='2'?'是':'否'}}</div> | ||
| 56 | + </el-form-item> | ||
| 57 | + </el-col> | ||
| 58 | + </el-row> | ||
| 59 | + </el-form> | ||
| 60 | + </div> | ||
| 63 | </div> | 61 | </div> |
| 64 | - <!-- <TitleWithCircle title="审核信息" /> | ||
| 65 | - <div style="padding: 20px;margin-top: 10px;"> | ||
| 66 | - <el-form :model="info" ref="ruleForm" label-width="140px" class="demo-ruleForm"> | ||
| 67 | - <el-row :gutter="20"> | ||
| 68 | - <el-col :span="9"> | ||
| 69 | - <el-form-item label="审核状态" prop="name"> | ||
| 70 | - <div class="duiqi"> | ||
| 71 | - <span v-if="info.checkState == '1'">待审核</span> | ||
| 72 | - <span v-else-if="info.checkState == '2'">同意</span> | ||
| 73 | - <span v-else-if="info.checkState == '3'">拒绝</span> | ||
| 74 | - </div> | ||
| 75 | - </el-form-item> | ||
| 76 | - </el-col> | ||
| 77 | - <el-col :span="9" v-if="info.checkState != '1' && info.checkOpinion"> | ||
| 78 | - <el-form-item label="审核意见" prop="phone"> | ||
| 79 | - <div class="duiqi">{{info.checkOpinion}}</div> | ||
| 80 | - </el-form-item> | ||
| 81 | - </el-col> | ||
| 82 | - </el-row> | ||
| 83 | - </el-form> | ||
| 84 | - </div> --> | ||
| 85 | - <!-- <div style="padding: 20px;margin-top: 10px;"> | ||
| 86 | - <el-table :data="list" | ||
| 87 | - :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"> | ||
| 88 | - | ||
| 89 | - <el-table-column label="审核时间"> | ||
| 90 | - <template slot-scope="scope"> | ||
| 91 | - {{scope.row.contractChangeReason}} | ||
| 92 | - | ||
| 93 | - </template> | ||
| 94 | - </el-table-column> | ||
| 95 | - <el-table-column label="审核结果"> | ||
| 96 | - <template slot-scope="scope"> | ||
| 97 | - {{scope.row.updateDate}} | ||
| 98 | - | ||
| 99 | - </template> | ||
| 100 | - </el-table-column> | ||
| 101 | - <el-table-column label="驳回意见"> | ||
| 102 | - <template slot-scope="scope"> | ||
| 103 | - {{scope.row.updateDate}} | ||
| 104 | - | ||
| 105 | - </template> | ||
| 106 | - </el-table-column> | ||
| 107 | - </el-table> | ||
| 108 | - | ||
| 109 | - </div> --> | ||
| 110 | - </div> | ||
| 111 | - </el-tab-pane> | ||
| 112 | - </el-tabs> | 62 | + </el-tab-pane> |
| 63 | + <el-tab-pane label="意向信息" name="two"> | ||
| 64 | + <div class="editcss" > | ||
| 65 | + <div style="padding: 20px;"> | ||
| 66 | + <el-table :data="datalistyx" | ||
| 67 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | ||
| 68 | + tooltip-effect="dark custom-tooltip-effect"> | ||
| 69 | + <el-table-column label="序号" width="100"> | ||
| 70 | + <template slot-scope="scope"> | ||
| 71 | + {{scope.$index +1 }} | ||
| 72 | + </template> | ||
| 73 | + </el-table-column> | ||
| 74 | + <el-table-column label="意向租赁类型" prop="leaseType"/> | ||
| 75 | + <el-table-column label="主体名称" prop="leaseCycle" /> | ||
| 76 | + <el-table-column label="主体类型" prop="operationType" /> | ||
| 77 | + <el-table-column label="经营范围" prop="idCardNumber" /> | ||
| 78 | + </el-table> | ||
| 79 | + <div style="display: flex;justify-content: space-between;" class="bom"> | ||
| 80 | + <div style="font-size: 14px;">共 <span style="color: #3F9B6A;">{{totalyx}}</span> 项数据</div> | ||
| 81 | + <el-pagination :current-page="pagequeryyx.pageNumber+1" :page-sizes="[10, 20, 50, 100]" :page-size="pagequeryyx.pageSize" | ||
| 82 | + background small layout="prev, pager, next" :total="totalyx" @size-change="e => handleSizeChange(e,'pagequeryyx')" | ||
| 83 | + @current-change="e=> handleCurrentChange(e,'pagequeryyx')"> | ||
| 84 | + </el-pagination> | ||
| 85 | + </div> | ||
| 86 | + </div> | ||
| 87 | + </div> | ||
| 88 | + </el-tab-pane> | ||
| 89 | + <el-tab-pane label="招商过程信息" name="three"> | ||
| 90 | + <div class="editcss" style="margin-top: 30px;"> | ||
| 91 | + <TitleWithCircle title="跟进记录" /> | ||
| 92 | + <div style="padding: 20px;"> | ||
| 93 | + <el-table :data="datalistgg" | ||
| 94 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | ||
| 95 | + tooltip-effect="dark custom-tooltip-effect"> | ||
| 96 | + <el-table-column label="序号" width="100"> | ||
| 97 | + <template slot-scope="scope"> | ||
| 98 | + {{scope.$index +1 }} | ||
| 99 | + </template> | ||
| 100 | + </el-table-column> | ||
| 101 | + <el-table-column label="跟进时间" prop="followUpTime"/> | ||
| 102 | + <el-table-column label="跟进类型" prop="followUpType" /> | ||
| 103 | + <el-table-column label="客户级别" prop="customerLevel" /> | ||
| 104 | + <el-table-column label="当前阶段" prop="currentStage" /> | ||
| 105 | + <el-table-column label="下次更进时间" prop="plan_Time" > | ||
| 106 | + <template slot-scope="scope"> | ||
| 107 | + {{scope.row.nextFollowUpStartTime}} - {{scope.row.nextFollowUpEndTime}} | ||
| 108 | + </template> | ||
| 109 | + </el-table-column> | ||
| 110 | + <el-table-column label="操作" fixed="right"> | ||
| 111 | + <template slot-scope="scope"> | ||
| 112 | + <div @click="open1(scope.row,'1')" class="tableBtn greens">查看记录</div> | ||
| 113 | + </template> | ||
| 114 | + </el-table-column> | ||
| 115 | + </el-table> | ||
| 116 | + <div style="display: flex;justify-content: space-between;" class="bom"> | ||
| 117 | + <div style="font-size: 14px;">共 <span style="color: #3F9B6A;">{{totalgg}}</span> 项数据</div> | ||
| 118 | + <el-pagination :current-page="pagequerygg.pageNumber+1" :page-sizes="[10, 20, 50, 100]" :page-size="pagequerygg.pageSize" | ||
| 119 | + background small layout="prev, pager, next" :total="totalgg" @size-change="e => handleSizeChange(e,'pagequerygg')" | ||
| 120 | + @current-change="e=> handleCurrentChange(e,'pagequerygg')"> | ||
| 121 | + </el-pagination> | ||
| 122 | + </div> | ||
| 123 | + </div> | ||
| 124 | + <TitleWithCircle title="谈判记录" /> | ||
| 125 | + <div style="padding: 20px;"> | ||
| 126 | + <el-table :data="datalisttp" | ||
| 127 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | ||
| 128 | + tooltip-effect="dark custom-tooltip-effect"> | ||
| 129 | + <el-table-column label="序号" width="100"> | ||
| 130 | + <template slot-scope="scope"> | ||
| 131 | + {{scope.$index +1 }} | ||
| 132 | + </template> | ||
| 133 | + </el-table-column> | ||
| 134 | + <el-table-column label="谈判时间" prop="negotiationTime"/> | ||
| 135 | + <el-table-column label="谈判主题" prop="negotiationTheme" /> | ||
| 136 | + <el-table-column label="标段号" prop="bidSegmentNumber" /> | ||
| 137 | + <el-table-column label="当前阶段" prop="currentStage" /> | ||
| 138 | + <el-table-column label="下次谈判时间" prop="plan_Time" > | ||
| 139 | + <template slot-scope="scope"> | ||
| 140 | + {{scope.row.nextNegotiationStartTime}} - {{scope.row.nextNegotiationEndTime}} | ||
| 141 | + </template> | ||
| 142 | + </el-table-column> | ||
| 143 | + <el-table-column label="操作" fixed="right"> | ||
| 144 | + <template slot-scope="scope"> | ||
| 145 | + <div @click="open1(scope.row,'2')" class="tableBtn greens">查看记录</div> | ||
| 146 | + </template> | ||
| 147 | + </el-table-column> | ||
| 148 | + </el-table> | ||
| 149 | + <div style="display: flex;justify-content: space-between;" class="bom"> | ||
| 150 | + <div style="font-size: 14px;">共 <span style="color: #3F9B6A;">{{totaltp}}</span> 项数据</div> | ||
| 151 | + <el-pagination :current-page="pagequerytp.pageNumber+1" :page-sizes="[10, 20, 50, 100]" :page-size="pagequerytp.pageSize" | ||
| 152 | + background small layout="prev, pager, next" :total="totaltp" @size-change="e => handleSizeChange(e,'pagequerytp')" | ||
| 153 | + @current-change="e=> handleCurrentChange(e,'pagequerytp')"> | ||
| 154 | + </el-pagination> | ||
| 155 | + </div> | ||
| 156 | + </div> | ||
| 157 | + </div> | ||
| 158 | + </el-tab-pane> | ||
| 159 | + <el-tab-pane label="商户租赁信息" name="four"> | ||
| 160 | + <div class="editcss" style="margin-top: 30px;"> | ||
| 161 | + <TitleWithCircle title="商铺资源" /> | ||
| 162 | + <div style="padding: 20px;"> | ||
| 163 | + <el-table :data="zlsplist" | ||
| 164 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | ||
| 165 | + tooltip-effect="dark custom-tooltip-effect"> | ||
| 166 | + <el-table-column label="序号" width="100"> | ||
| 167 | + <template slot-scope="scope"> | ||
| 168 | + {{scope.$index +1 }} | ||
| 169 | + </template> | ||
| 170 | + </el-table-column> | ||
| 171 | + <el-table-column label="商铺名称" prop="followUpTime"> | ||
| 172 | + <template slot-scope="scope"> | ||
| 173 | + {{scope.row.cereBasicInformationShop.shopName?scope.row.cereBasicInformationShop.shopName:scope.row.cereAdvertisingInformation.advertisingName?scope.row.cereAdvertisingInformation.advertisingName:scope.row.cereBasicInformationVenue.venueName}} | ||
| 174 | + </template> | ||
| 175 | + </el-table-column> | ||
| 176 | + <el-table-column label="店铺名称" prop="followUpType" > | ||
| 177 | + <template slot-scope="scope"> | ||
| 178 | + {{scope.row.cereBasicInformationShop?(scope.row.cereBasicInformationShop.storeName || '-'):'-'}} | ||
| 179 | + </template> | ||
| 180 | + </el-table-column> | ||
| 181 | + <el-table-column label="详细位置" prop="detailedLocation" > | ||
| 182 | + <template slot-scope="scope"> | ||
| 183 | + {{scope.row.cereBasicInformationShop.detailedLocation || '-'}} | ||
| 184 | + </template> | ||
| 185 | + </el-table-column> | ||
| 186 | + <el-table-column label="租金(元)/周期" prop="currentStage" > | ||
| 187 | + <template slot-scope="scope"> | ||
| 188 | + {{scope.row.contractAmount}}/{{ scope.row.paymentCycle }} | ||
| 189 | + </template> | ||
| 190 | + </el-table-column> | ||
| 191 | + <el-table-column label="操作" fixed="right"> | ||
| 192 | + <template slot-scope="scope"> | ||
| 193 | + <div @click="open1(scope.row,'1')" class="tableBtn greens">查看</div> | ||
| 194 | + </template> | ||
| 195 | + </el-table-column> | ||
| 196 | + </el-table> | ||
| 197 | + <div style="display: flex;justify-content: space-between;" class="bom"> | ||
| 198 | + <div style="font-size: 14px;">共 <span style="color: #3F9B6A;">{{zlsplist.length}}</span> 项数据</div> | ||
| 199 | + <el-pagination :current-page="1" :page-sizes="[10, 20, 50, 100]" :page-size="50" | ||
| 200 | + background small layout="prev, pager, next" :total="zlsplist.length" > | ||
| 201 | + </el-pagination> | ||
| 202 | + </div> | ||
| 203 | + </div> | ||
| 204 | + <TitleWithCircle title="广告位资源" /> | ||
| 205 | + <div style="padding: 20px;"> | ||
| 206 | + <el-table :data="zlgglist" | ||
| 207 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | ||
| 208 | + tooltip-effect="dark custom-tooltip-effect"> | ||
| 209 | + <el-table-column label="序号" width="100"> | ||
| 210 | + <template slot-scope="scope"> | ||
| 211 | + {{scope.$index +1 }} | ||
| 212 | + </template> | ||
| 213 | + </el-table-column> | ||
| 214 | + <el-table-column label="广告位名称" prop="followUpTime"> | ||
| 215 | + <template slot-scope="scope"> | ||
| 216 | + {{scope.row.cereBasicInformationShop.shopName?scope.row.cereBasicInformationShop.shopName:scope.row.cereAdvertisingInformation.advertisingName?scope.row.cereAdvertisingInformation.advertisingName:scope.row.cereBasicInformationVenue.venueName}} | ||
| 217 | + </template> | ||
| 218 | + </el-table-column> | ||
| 219 | + <el-table-column label="投放时间" prop="followUpTime"> | ||
| 220 | + <template slot-scope="scope"> | ||
| 221 | + {{scope.row.leaseStartDate}} 至 {{scope.row.contractTerminationDate}} | ||
| 222 | + </template> | ||
| 223 | + </el-table-column> | ||
| 224 | + <el-table-column label="广告位类型" prop="followUpTime"> | ||
| 225 | + <template slot-scope="scope"> | ||
| 226 | + {{scope.row.cereAdvertisingInformation.advertisingType}} | ||
| 227 | + </template> | ||
| 228 | + </el-table-column> | ||
| 229 | + <el-table-column label="操作" fixed="right"> | ||
| 230 | + <template slot-scope="scope"> | ||
| 231 | + <div @click="open1(scope.row,'2')" class="tableBtn greens">查看</div> | ||
| 232 | + </template> | ||
| 233 | + </el-table-column> | ||
| 234 | + </el-table> | ||
| 235 | + <div style="display: flex;justify-content: space-between;" class="bom"> | ||
| 236 | + <div style="font-size: 14px;">共 <span style="color: #3F9B6A;">{{zlgglist.length}}</span> 项数据</div> | ||
| 237 | + <el-pagination :current-page="1" :page-sizes="[10, 20, 50, 100]" :page-size="50" | ||
| 238 | + background small layout="prev, pager, next" :total="zlgglist.length" > | ||
| 239 | + </el-pagination> | ||
| 240 | + </div> | ||
| 241 | + </div> | ||
| 242 | + </div> | ||
| 243 | + </el-tab-pane> | ||
| 244 | + <el-tab-pane label="缴费记录" name="five"> | ||
| 245 | + <div class="editcss" style="margin-top: 30px;"> | ||
| 246 | + <TitleWithCircle title="租赁缴费" /> | ||
| 247 | + <div style="padding: 20px;"> | ||
| 248 | + <el-table :data="datalistzljf" | ||
| 249 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | ||
| 250 | + tooltip-effect="dark custom-tooltip-effect"> | ||
| 251 | + <el-table-column label="序号" width="100"> | ||
| 252 | + <template slot-scope="scope"> | ||
| 253 | + {{scope.$index +1 }} | ||
| 254 | + </template> | ||
| 255 | + </el-table-column> | ||
| 256 | + <el-table-column label="资源名称" prop="shopName"/> | ||
| 257 | + <el-table-column label="租金/周期" > | ||
| 258 | + <template slot-scope="scope"> | ||
| 259 | + {{ scope.row.paymentAmount }} / {{ scope.row.payType=='1'?'日':scope.row.payType=='2'?'月':scope.row.payType=='3'?'季':scope.row.payType=='4'?'年':'' }} | ||
| 260 | + </template> | ||
| 261 | + </el-table-column> | ||
| 262 | + <el-table-column label="付款日" prop="payDay"/> | ||
| 263 | + <el-table-column label="缴费时间" prop="paymentTime"/> | ||
| 264 | + <el-table-column label="付款类型" > | ||
| 265 | + <template slot-scope="scope"> | ||
| 266 | + 线上缴费 | ||
| 267 | + </template> | ||
| 268 | + </el-table-column> | ||
| 269 | + | ||
| 270 | + <el-table-column label="状态" prop="payState"> | ||
| 271 | + <template slot-scope="scope"> | ||
| 272 | + {{ scope.row.payState=='0'?'未缴费':scope.row.payState=='1'?'缴费成功':'' }} | ||
| 273 | + </template> | ||
| 274 | + </el-table-column> | ||
| 275 | + <el-table-column label="财务复核" prop="isOpeningInvoice"> | ||
| 276 | + <template slot-scope="scope"> | ||
| 277 | + {{ scope.row.isOpeningInvoice=='0'?'待复核':scope.row.isOpeningInvoice=='1'?'待开发票':scope.row.isOpeningInvoice=='2'?'已开发票':'-'}} | ||
| 278 | + </template> | ||
| 279 | + </el-table-column> | ||
| 280 | + <el-table-column label="操作" fixed="right"> | ||
| 281 | + <template slot-scope="scope"> | ||
| 282 | + <div class="tableBtn greens">查看</div> | ||
| 283 | + <div @click="fhjf(scope.row)" class="tableBtn greens" v-if="scope.row.payState=='1' && scope.row.isOpeningInvoice=='0'">复核</div> | ||
| 284 | + <div @click ="openckfapinfo(scope.row)" class="tableBtn greens" v-if="scope.row.isOpeningInvoice=='2'">查看开票信息</div> | ||
| 285 | + <div @click ="openaddfapinfo(scope.row)" class="tableBtn greens" v-if="scope.row.isOpeningInvoice=='1'">上传发票</div> | ||
| 286 | + </template> | ||
| 287 | + </el-table-column> | ||
| 288 | + </el-table> | ||
| 289 | + <div style="display: flex;justify-content: space-between;" class="bom"> | ||
| 290 | + <div style="font-size: 14px;">共 <span style="color: #3F9B6A;">{{totalzljf}}</span> 项数据</div> | ||
| 291 | + <el-pagination :current-page="pagequeryzljf.pageNumber+1" :page-sizes="[10, 20, 50, 100]" :page-size="pagequeryzljf.pageSize" | ||
| 292 | + background small layout="prev, pager, next" :total="totalzljf" @size-change="e => handleSizeChange(e,'pagequeryzljf')" | ||
| 293 | + @current-change="e=> handleCurrentChange(e,'pagequeryzljf')"> | ||
| 294 | + </el-pagination> | ||
| 295 | + </div> | ||
| 296 | + </div> | ||
| 297 | + <TitleWithCircle title="物业缴费" /> | ||
| 298 | + <div style="padding: 20px;"> | ||
| 299 | + <el-table :data="datalistwyjf" | ||
| 300 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | ||
| 301 | + tooltip-effect="dark custom-tooltip-effect"> | ||
| 302 | + <el-table-column label="序号" width="100"> | ||
| 303 | + <template slot-scope="scope"> | ||
| 304 | + {{scope.$index +1 }} | ||
| 305 | + </template> | ||
| 306 | + </el-table-column> | ||
| 307 | + <el-table-column label="店铺" prop="merchantName"/> | ||
| 308 | + <el-table-column label="金额(元)" prop="actualPaymentFee"> | ||
| 309 | + <template slot-scope="scope"> | ||
| 310 | + {{ scope.row.actualPaymentFee/100}} | ||
| 311 | + </template> | ||
| 312 | + </el-table-column> | ||
| 313 | + <el-table-column label="付款时间" prop="paymentCompletionTime"> | ||
| 314 | + <template slot-scope="scope"> | ||
| 315 | + {{ scope.row.paymentCompletionTime || '-'}} | ||
| 316 | + </template> | ||
| 317 | + </el-table-column> | ||
| 318 | + <el-table-column label="备注" prop="paymentMethod"> | ||
| 319 | + <template slot-scope="scope"> | ||
| 320 | + {{ scope.row.paymentMethod || '-'}} | ||
| 321 | + </template> | ||
| 322 | + </el-table-column> | ||
| 323 | + </el-table> | ||
| 324 | + <div style="display: flex;justify-content: space-between;" class="bom"> | ||
| 325 | + <div style="font-size: 14px;">共 <span style="color: #3F9B6A;">{{totalwyjf}}</span> 项数据</div> | ||
| 326 | + <el-pagination :current-page="pagequerywyjf.pageNumber+1" :page-sizes="[10, 20, 50, 100]" :page-size="pagequerywyjf.pageSize" | ||
| 327 | + background small layout="prev, pager, next" :total="totalwyjf" @size-change="e => handleSizeChange(e,'pagequerywyjf')" | ||
| 328 | + @current-change="e=> handleCurrentChange(e,'pagequerywyjf')"> | ||
| 329 | + </el-pagination> | ||
| 330 | + </div> | ||
| 331 | + </div> | ||
| 332 | + </div> | ||
| 333 | + </el-tab-pane> | ||
| 334 | + <el-tab-pane label="合同信息" name="six"> | ||
| 335 | + <div class="editcss" > | ||
| 336 | + <div style="padding: 20px;"> | ||
| 337 | + <el-table :data="datalistht" | ||
| 338 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | ||
| 339 | + tooltip-effect="dark custom-tooltip-effect"> | ||
| 340 | + <el-table-column label="序号" width="100"> | ||
| 341 | + <template slot-scope="scope"> | ||
| 342 | + {{scope.$index +1 }} | ||
| 343 | + </template> | ||
| 344 | + </el-table-column> | ||
| 345 | + <el-table-column label="合同名称" prop="contractName"/> | ||
| 346 | + <el-table-column label="合同金额(元)" prop="contractAmount"/> | ||
| 347 | + <el-table-column label="签订日期" prop="contractSigningDate"/> | ||
| 348 | + <el-table-column label="终止日期" prop="contractTerminationDate"/> | ||
| 349 | + <el-table-column label="合同类型" prop="contractType"/> | ||
| 350 | + <el-table-column label="状态" prop="dataStatus"> | ||
| 351 | + <template slot-scope="scope"> | ||
| 352 | + <span v-if='scope.row.dataStatus == 1'>使用中</span> | ||
| 353 | + <span v-else-if='scope.row.dataStatus == 2'>往期合同</span> | ||
| 354 | + <span v-else-if='scope.row.dataStatus == 3'>已终止</span> | ||
| 355 | + <span v-else-if='scope.row.dataStatus == 4'>待发起</span> | ||
| 356 | + <span v-else-if='scope.row.dataStatus == 5'>待审核</span> | ||
| 357 | + <span v-else-if='scope.row.dataStatus == 6'>已拒绝</span> | ||
| 358 | + <span v-else>-</span> | ||
| 359 | + </template> | ||
| 360 | + </el-table-column> | ||
| 361 | + <el-table-column label="操作" fixed="right"> | ||
| 362 | + <template slot-scope="scope"> | ||
| 363 | + <div @click="details(scope.row,'1')" class="tableBtn greens">查看</div> | ||
| 364 | + <div v-if='scope.row.dataStatus == 1' @click="removeinfo(scope.row,'合同变更')" class="tableBtn greens">合同变更</div> | ||
| 365 | + <div v-if='scope.row.dataStatus == 1' @click="removeinfo(scope.row,'合同续约')" class="tableBtn greens">合同续约</div> | ||
| 366 | + <div v-if='scope.row.dataStatus == 1' @click="removeinfozz(scope.row,'合同终止')" class="tableBtn greens">合同终止</div> | ||
| 367 | + </template> | ||
| 368 | + </el-table-column> | ||
| 369 | + </el-table> | ||
| 370 | + <div style="display: flex;justify-content: space-between;" class="bom"> | ||
| 371 | + <div style="font-size: 14px;">共 <span style="color: #3F9B6A;">{{totalht}}</span> 项数据</div> | ||
| 372 | + <el-pagination :current-page="pagequeryht.pageNumber+1" :page-sizes="[10, 20, 50, 100]" :page-size="pagequeryht.pageSize" | ||
| 373 | + background small layout="prev, pager, next" :total="totalht" @size-change="e => handleSizeChange(e,'pagequeryht')" | ||
| 374 | + @current-change="e=> handleCurrentChange(e,'pagequeryht')"> | ||
| 375 | + </el-pagination> | ||
| 376 | + </div> | ||
| 377 | + </div> | ||
| 378 | + </div> | ||
| 379 | + </el-tab-pane> | ||
| 380 | + </el-tabs> | ||
| 381 | + </div> | ||
| 382 | + <div v-if="info.checkState == '1' && issp == '2'"> | ||
| 383 | + <TitleWithCircle title="审核情况" /> | ||
| 384 | + <div style="padding: 20px;"> | ||
| 385 | + <el-form :model="info" label-width="100px" class="demo-ruleForm"> | ||
| 386 | + <el-form-item label="状态" style="align-items: center;"> | ||
| 387 | + <el-radio v-model="radio" label="2">通过</el-radio> | ||
| 388 | + <el-radio v-model="radio" label="3">不通过</el-radio> | ||
| 389 | + </el-form-item> | ||
| 390 | + <el-form-item label="审核意见"> | ||
| 391 | + <el-input maxlength="200" show-word-limit rows="4" v-model="checkOpinion" placeholder="请输入审核意见" | ||
| 392 | + type="textarea" /> | ||
| 393 | + </el-form-item> | ||
| 394 | + </el-form> | ||
| 395 | + </div> | ||
| 396 | + </div> | ||
| 397 | + <div v-if="info.checkState == '2' || info.checkState == '3'"> | ||
| 398 | + <TitleWithCircle title="审核结果" /> | ||
| 399 | + <div style="padding: 20px;"> | ||
| 400 | + <el-form :model="info" label-width="100px" class="demo-ruleForm"> | ||
| 401 | + <el-form-item label="状态"> | ||
| 402 | + <div class="duiqi">{{info.checkState=='2'?'已通过':info.checkState=='3'?'不通过':'无'}}</div> | ||
| 403 | + </el-form-item> | ||
| 404 | + <el-form-item label="审核意见"> | ||
| 405 | + <div class="duiqi">{{info.checkOpinion || '无'}}</div> | ||
| 406 | + </el-form-item> | ||
| 407 | + </el-form> | ||
| 408 | + </div> | ||
| 409 | + </div> | ||
| 410 | + <div> | ||
| 411 | + <el-button v-if="info.checkState == '1' && issp == '2'" @click="minSev" | ||
| 412 | + style="background-color: #3F9B6A;color: #fff;">确定</el-button> | ||
| 413 | + <el-button class="buttonHover" | ||
| 414 | + style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;margin-top: 20px;" | ||
| 415 | + @click="changetype">返回</el-button> | ||
| 416 | + </div> | ||
| 113 | </div> | 417 | </div> |
| 114 | - <div v-if="info.checkState == '1' && issp == '2'"> | ||
| 115 | - <TitleWithCircle title="审核情况"/> | ||
| 116 | - <div style="padding: 20px;"> | ||
| 117 | - <el-form :model="info" label-width="100px" class="demo-ruleForm"> | ||
| 118 | - <el-form-item label="状态" style="align-items: center;"> | ||
| 119 | - <el-radio v-model="radio" label="2">通过</el-radio> | ||
| 120 | - <el-radio v-model="radio" label="3">不通过</el-radio> | 418 | + <div class="zhuti" v-if="ontype == '3'" style="margin-top: 30px;"> |
| 419 | + <TitleWithCircle title="跟进日志" v-if="zstype == '1'"/> | ||
| 420 | + <TitleWithCircle title="谈判日志" v-if="zstype == '2'"/> | ||
| 421 | + <div style="padding: 20px;margin-top: 10px;" v-if="zstype == '1'"> | ||
| 422 | + <el-form :model="formInline" ref="formInline" label-width="120px" class="demo-ruleForm"> | ||
| 423 | + <el-row :gutter="20"> | ||
| 424 | + <el-col :span="12"> | ||
| 425 | + <el-form-item label="跟进时间" prop="followUpTime"> | ||
| 426 | + <div class="duiqi">{{formInline.followUpTime || '无'}}</div> | ||
| 427 | + </el-form-item> | ||
| 428 | + </el-col> | ||
| 429 | + <el-col :span="12"> | ||
| 430 | + <el-form-item label="跟进类型" prop="followUpType" > | ||
| 431 | + <div class="duiqi">{{formInline.followUpType || '无'}}</div> | ||
| 432 | + </el-form-item> | ||
| 433 | + </el-col> | ||
| 434 | + <el-col :span="12"> | ||
| 435 | + <el-form-item label="客户级别" prop="customerLevel" style="width: 100%;"> | ||
| 436 | + <div class="duiqi">{{formInline.customerLevel || '无'}}</div> | ||
| 437 | + </el-form-item> | ||
| 438 | + </el-col> | ||
| 439 | + <el-col :span="12"> | ||
| 440 | + <el-form-item label="当前阶段" prop="currentStage"> | ||
| 441 | + <div class="duiqi">{{formInline.currentStage || '无'}}</div> | ||
| 442 | + </el-form-item> | ||
| 443 | + </el-col> | ||
| 444 | + </el-row> | ||
| 445 | + <el-form-item label="意向资源" style="width: 100%;"> | ||
| 446 | + <div style="border: 1px solid #E5E5E5;padding: 1px" id="huodong"> | ||
| 447 | + <div style="padding: 15px;"> | ||
| 448 | + <div style="padding: 0px 20px 0px 0px"> | ||
| 449 | + <el-table :data="addziyuanData" | ||
| 450 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"> | ||
| 451 | + <el-table-column label="序号"> | ||
| 452 | + <template slot-scope="scope"> | ||
| 453 | + {{scope.$index + 1}} | ||
| 454 | + </template> | ||
| 455 | + </el-table-column> | ||
| 456 | + <el-table-column label="资源编号" prop="id" ></el-table-column> | ||
| 457 | + <el-table-column label="意向资源名称" prop="name" show-overflow-tooltip> | ||
| 458 | + <template slot-scope="scope"> | ||
| 459 | + {{scope.row.shopName ? scope.row.shopName : scope.row.advertisingName?scope.row.advertisingName:scope.row.venueName}} | ||
| 460 | + </template> | ||
| 461 | + </el-table-column> | ||
| 462 | + <el-table-column label="意向资源类型" prop="type" > | ||
| 463 | + <template slot-scope="scope"> | ||
| 464 | + {{scope.row.shopName ? '商铺' : scope.row.advertisingType?scope.row.advertisingType:'场地'}} | ||
| 465 | + </template> | ||
| 466 | + </el-table-column> | ||
| 467 | + </el-table> | ||
| 468 | + </div> | ||
| 469 | + </div> | ||
| 470 | + </div> | ||
| 471 | + </el-form-item> | ||
| 472 | + <el-form-item label="内容反馈" prop="contentFeedback"> | ||
| 473 | + <div class="duiqi">{{formInline.contentFeedback || '无'}}</div> | ||
| 474 | + </el-form-item> | ||
| 475 | + <el-form-item label="现场照片"> | ||
| 476 | + <div style="display: flex;"> | ||
| 477 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in imgList" | ||
| 478 | + style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;" /> | ||
| 479 | + </div> | ||
| 480 | + </el-form-item> | ||
| 481 | + <el-form-item label="下次更进时间" prop="plan_Time"> | ||
| 482 | + <div class="duiqi">{{formInline.plan_Time?formInline.plan_Time.length>0?formInline.plan_Time[0]+' 至 '+formInline.plan_Time[1]:'无':'无'}}</div> | ||
| 483 | + </el-form-item> | ||
| 484 | + </el-form> | ||
| 485 | + </div> | ||
| 486 | + <div style="padding: 20px;margin-top: 10px;" v-if="zstype == '2'"> | ||
| 487 | + <el-form ref="tanform" :model="formInline" label-width="120px"> | ||
| 488 | + <el-form-item label="谈判时间" prop="negotiationTime"> | ||
| 489 | + <div class="duiqi">{{formInline.negotiationTime || '无'}}</div> | ||
| 121 | </el-form-item> | 490 | </el-form-item> |
| 122 | - <el-form-item label="审核意见"> | ||
| 123 | - <el-input maxlength="200" show-word-limit rows="4" v-model="checkOpinion" placeholder="请输入审核意见" | ||
| 124 | - type="textarea" /> | 491 | + <el-form-item label="谈判主题" prop="negotiationTheme" > |
| 492 | + <div class="duiqi">{{formInline.negotiationTheme || '无'}}</div> | ||
| 125 | </el-form-item> | 493 | </el-form-item> |
| 126 | - </el-form> | ||
| 127 | - </div> | ||
| 128 | - </div> | ||
| 129 | - <div v-if="info.checkState == '2' || info.checkState == '3'"> | ||
| 130 | - <TitleWithCircle title="审核结果"/> | ||
| 131 | - <div style="padding: 20px;"> | ||
| 132 | - <el-form :model="info" label-width="100px" class="demo-ruleForm" > | ||
| 133 | - <el-form-item label="状态"> | ||
| 134 | - <div class="duiqi">{{info.checkState=='2'?'已通过':info.checkState=='3'?'不通过':'无'}}</div> | 494 | + <el-form-item label="标段号" prop="bidSegmentNumber" > |
| 495 | + <div class="duiqi">{{formInline.bidSegmentNumber || '无'}}</div> | ||
| 496 | + </el-form-item> | ||
| 497 | + | ||
| 498 | + <el-form-item label="会议纪要" prop="meetingMinutes"> | ||
| 499 | + <div class="duiqi">{{formInline.meetingMinutes || '无'}}</div> | ||
| 500 | + </el-form-item> | ||
| 501 | + <el-form-item label="谈判内容" prop="negotiationContent"> | ||
| 502 | + <div class="duiqi">{{formInline.negotiationContent || '无'}}</div> | ||
| 503 | + </el-form-item> | ||
| 504 | + <el-form-item label="谈判结果" prop="negotiationResult"> | ||
| 505 | + <div class="duiqi">{{formInline.negotiationResult || '无'}}</div> | ||
| 506 | + </el-form-item> | ||
| 507 | + <el-form-item label="当前阶段" prop="currentStage"> | ||
| 508 | + <div class="duiqi">{{formInline.currentStage || '无'}}</div> | ||
| 135 | </el-form-item> | 509 | </el-form-item> |
| 136 | - <el-form-item label="审核意见"> | ||
| 137 | - <div class="duiqi">{{info.checkOpinion || '无'}}</div> | 510 | + <el-form-item label="其他附件" prop="otherAttachments"> |
| 511 | + <div class="duiqi greens" | ||
| 512 | + @click="formInline.otherAttachments?openfile(formInline.otherAttachments):''"> | ||
| 513 | + {{formInline.otherAttachments?'查看详情':'暂无文件'}}</div> | ||
| 514 | + </el-form-item> | ||
| 515 | + <el-form-item label="现场照片"> | ||
| 516 | + <div style="display:flex;flex-wrap: wrap"> | ||
| 517 | + <div style="display: flex;"> | ||
| 518 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in imgList" | ||
| 519 | + style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;" /> | ||
| 520 | + </div> | ||
| 521 | + </div> | ||
| 522 | + </el-form-item> | ||
| 523 | + <el-form-item label="下次谈判时间" prop="plan_Time"> | ||
| 524 | + <div class="duiqi">{{formInline.plan_Time?formInline.plan_Time.length>0&&formInline.plan_Time[0]?formInline.plan_Time[0]+' 至 '+formInline.plan_Time[1]:'无':'无'}}</div> | ||
| 138 | </el-form-item> | 525 | </el-form-item> |
| 139 | </el-form> | 526 | </el-form> |
| 140 | </div> | 527 | </div> |
| 528 | + <div style="display: flex;"> | ||
| 529 | + <el-button @click="closeFn" class="buttonHover" | ||
| 530 | + style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">返回</el-button> | ||
| 531 | + </div> | ||
| 141 | </div> | 532 | </div> |
| 142 | - <div> | ||
| 143 | - <el-button v-if="info.checkState == '1' && issp == '2'" @click="minSev" | ||
| 144 | - style="background-color: #3F9B6A;color: #fff;">确定</el-button> | ||
| 145 | - <el-button class="buttonHover" | ||
| 146 | - style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;margin-top: 20px;" | ||
| 147 | - @click="changetype">返回</el-button> | 533 | + <div class="zhuti" v-if="ontype == '4'"> |
| 534 | + <!-- <TitleWithCircle title="合同管理"/> --> | ||
| 535 | + <div> | ||
| 536 | + <busCha :issp="issp" :info="detailsinfo" @removeonaction="removeonaction"></busCha> | ||
| 537 | + </div> | ||
| 538 | + </div> | ||
| 539 | + <div class="zhuti" v-if="ontype == '5'"> | ||
| 540 | + <!-- <TitleWithCircle :title="contractChangeReason"/> --> | ||
| 541 | + <div style="padding: 20px 20px 20px 0;"> | ||
| 542 | + <add :info="detailsinfo" :contractChangeReason="contractChangeReason" @removeonaction="removeonaction"></add> | ||
| 543 | + </div> | ||
| 148 | </div> | 544 | </div> |
| 545 | + <el-dialog :visible.sync="addfapinfo" title="上传发票" width="65%" append-to-body center :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false"> | ||
| 546 | + <el-form :model="fapinfo" :rules="rulesfapinfo" ref="fapForm" label-width="130px" class="demo-ruleForm"> | ||
| 547 | + <el-row :gutter="20" v-if="isaddshow"> | ||
| 548 | + <el-col :span="12"> | ||
| 549 | + <el-form-item label="商铺类型" prop="invoiceType"> | ||
| 550 | + <el-select v-model="fapinfo.invoiceType" placeholder="请选择" style="width: 100%;"> | ||
| 551 | + <el-option label="普通发票" value="普通发票"></el-option> | ||
| 552 | + <el-option label="专用发票" value="专用发票"></el-option> | ||
| 553 | + </el-select> | ||
| 554 | + </el-form-item> | ||
| 555 | + </el-col> | ||
| 556 | + <el-col :span="12"> | ||
| 557 | + <el-form-item label="抬头类型" prop="titleType"> | ||
| 558 | + <el-select v-model="fapinfo.titleType" placeholder="请选择" style="width: 100%;" @change="changeTitleType"> | ||
| 559 | + <el-option label="个人" value="个人"></el-option> | ||
| 560 | + <el-option label="单位" value="单位"></el-option> | ||
| 561 | + </el-select> | ||
| 562 | + </el-form-item> | ||
| 563 | + </el-col> | ||
| 564 | + <el-col :span="12"> | ||
| 565 | + <el-form-item label="发票抬头" prop="invoiceTitle"> | ||
| 566 | + <el-input v-model="fapinfo.invoiceTitle" placeholder="请输入" maxlength="50"></el-input> | ||
| 567 | + </el-form-item> | ||
| 568 | + </el-col> | ||
| 569 | + <el-col :span="12"> | ||
| 570 | + <el-form-item label="单位税号" prop="unitTaxNo"> | ||
| 571 | + <el-input v-model="fapinfo.unitTaxNo" placeholder="请输入" maxlength="50"></el-input> | ||
| 572 | + </el-form-item> | ||
| 573 | + </el-col> | ||
| 574 | + <el-col :span="12"> | ||
| 575 | + <el-form-item label="注册地址" prop="registerAddress"> | ||
| 576 | + <el-input v-model="fapinfo.registerAddress" placeholder="请输入" maxlength="50"></el-input> | ||
| 577 | + </el-form-item> | ||
| 578 | + </el-col> | ||
| 579 | + <el-col :span="12"> | ||
| 580 | + <el-form-item label="注册电话" prop="registerPhone"> | ||
| 581 | + <el-input v-model="fapinfo.registerPhone" placeholder="请输入" maxlength="50"></el-input> | ||
| 582 | + </el-form-item> | ||
| 583 | + </el-col> | ||
| 584 | + <el-col :span="12"> | ||
| 585 | + <el-form-item label="开户银行" prop="openingBank"> | ||
| 586 | + <el-input v-model="fapinfo.openingBank" placeholder="请输入" maxlength="50"></el-input> | ||
| 587 | + </el-form-item> | ||
| 588 | + </el-col> | ||
| 589 | + <el-col :span="12"> | ||
| 590 | + <el-form-item label="收票邮箱" prop="receiptEmail"> | ||
| 591 | + <el-input v-model="fapinfo.receiptEmail" placeholder="请输入" maxlength="50"></el-input> | ||
| 592 | + </el-form-item> | ||
| 593 | + </el-col> | ||
| 594 | + </el-row> | ||
| 595 | + | ||
| 596 | + <el-form-item label="发票图片" prop="invoiceUrl"> | ||
| 597 | + <upimg :cmpOption="{disabled:false,isSetCover:false}" filePath="sp" inputtype="architecturalDrawings" :value="fapinfo.invoiceUrl" | ||
| 598 | + @changimg="e=>changimg(e,'invoiceUrl')"></upimg> | ||
| 599 | + </el-form-item> | ||
| 600 | + <el-form-item> | ||
| 601 | + <div style="margin-top: 20px;display: flex;flex-direction: row-reverse;"> | ||
| 602 | + <el-button @click="addfapinfo = false" class="buttonHover" | ||
| 603 | + style="color: #606266;border: 1px solid #DBDBDB;background-color: #fff;margin-left: 15px;">取消</el-button> | ||
| 604 | + <el-button @click="add()" style="background-color: #3F9B6A;color: #fff;">确定</el-button> | ||
| 605 | + | ||
| 606 | + </div> | ||
| 607 | + </el-form-item> | ||
| 608 | + </el-form> | ||
| 609 | + </el-dialog> | ||
| 610 | + <el-dialog :visible.sync="ckfapinfo" title="查看发票" width="65%" append-to-body center :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false"> | ||
| 611 | + <el-form :model="formInline" :rules="rulesfapinfo" ref="fapForm" label-width="130px" class="demo-ruleForm"> | ||
| 612 | + <el-row :gutter="20"> | ||
| 613 | + <el-col :span="12"> | ||
| 614 | + <el-form-item label="发票类型" prop="invoiceType"> | ||
| 615 | + <div class="duiqi">{{formInline.invoiceType || '无'}}</div> | ||
| 616 | + </el-form-item> | ||
| 617 | + </el-col> | ||
| 618 | + <el-col :span="12"> | ||
| 619 | + <el-form-item label="抬头类型" prop="titleType"> | ||
| 620 | + <div class="duiqi">{{formInline.titleType || '无'}}</div> | ||
| 621 | + </el-form-item> | ||
| 622 | + </el-col> | ||
| 623 | + <el-col :span="12"> | ||
| 624 | + <el-form-item label="发票抬头" prop="invoiceTitle"> | ||
| 625 | + <div class="duiqi">{{formInline.invoiceTitle || '无'}}</div> | ||
| 626 | + </el-form-item> | ||
| 627 | + </el-col> | ||
| 628 | + </el-row> | ||
| 629 | + <el-row :gutter="20"> | ||
| 630 | + <el-col :span="12"> | ||
| 631 | + <el-form-item label="单位税号" prop="unitTaxNo"> | ||
| 632 | + <div class="duiqi">{{formInline.unitTaxNo || '无'}}</div> | ||
| 633 | + </el-form-item> | ||
| 634 | + </el-col> | ||
| 635 | + <el-col :span="12"> | ||
| 636 | + <el-form-item label="注册地址" prop="registerAddress"> | ||
| 637 | + <div class="duiqi">{{formInline.registerAddress || '无'}}</div> | ||
| 638 | + </el-form-item> | ||
| 639 | + </el-col> | ||
| 640 | + <el-col :span="12"> | ||
| 641 | + <el-form-item label="注册电话" prop="registerPhone"> | ||
| 642 | + <div class="duiqi">{{formInline.registerPhone || '无'}}</div> | ||
| 643 | + </el-form-item> | ||
| 644 | + </el-col> | ||
| 645 | + </el-row> | ||
| 646 | + <el-row :gutter="20"> | ||
| 647 | + <el-col :span="12"> | ||
| 648 | + <el-form-item label="开户银行" prop="openingBank"> | ||
| 649 | + <div class="duiqi">{{formInline.openingBank || '无'}}</div> | ||
| 650 | + </el-form-item> | ||
| 651 | + </el-col> | ||
| 652 | + <el-col :span="12"> | ||
| 653 | + <el-form-item label="收票邮箱" prop="receiptEmail"> | ||
| 654 | + <div class="duiqi">{{formInline.receiptEmail || '无'}}</div> | ||
| 655 | + </el-form-item> | ||
| 656 | + </el-col> | ||
| 657 | + </el-row> | ||
| 658 | + <el-form-item label="发票图片" prop="invoiceUrl"> | ||
| 659 | + <div v-if="formInline.invoiceUrl"> | ||
| 660 | + <div style="display: flex;"> | ||
| 661 | + <allimg v-if="item" :src="item" fit="contain" v-for="item in formInline.invoiceUrl.split(',')" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/> | ||
| 662 | + </div> | ||
| 663 | + </div> | ||
| 664 | + <div class="duiqi" v-else>无</div> | ||
| 665 | + </el-form-item> | ||
| 666 | + <el-form-item> | ||
| 667 | + <div style="margin-top: 20px;display: flex;flex-direction: row-reverse;"> | ||
| 668 | + <el-button @click="ckfapinfo = false" class="buttonHover" | ||
| 669 | + style="color: #606266;border: 1px solid #DBDBDB;background-color: #fff;margin-left: 15px;">关闭</el-button> | ||
| 670 | + </div> | ||
| 671 | + </el-form-item> | ||
| 672 | + </el-form> | ||
| 673 | + </el-dialog> | ||
| 149 | </div> | 674 | </div> |
| 150 | </template> | 675 | </template> |
| 151 | 676 | ||
| 152 | <script> | 677 | <script> |
| 678 | + import upimg from "@/components/ImageUpload/index" | ||
| 153 | import { | 679 | import { |
| 154 | - cerePlatformMerchantedit | 680 | + cerePlatformMerchantedit, |
| 681 | + | ||
| 682 | + cereNegotiationDetails, | ||
| 683 | + cereFollowDetails, | ||
| 684 | + cerePropertyOrder, | ||
| 685 | + editToRecheck, | ||
| 686 | + cereInvoiceTitleadd, | ||
| 687 | + cereInvoiceTitlegetByTenementId, | ||
| 688 | + cereContractInformationgetPage, | ||
| 689 | + cerePaymentInfo, | ||
| 690 | + cereContractInformationgetPages | ||
| 155 | } from '@/api/newly.js' | 691 | } from '@/api/newly.js' |
| 692 | + import { | ||
| 693 | + icManAll | ||
| 694 | + } from '@/api/icManagement.js' | ||
| 156 | import TitleWithCircle from '@/components/top/index'; | 695 | import TitleWithCircle from '@/components/top/index'; |
| 157 | import allimg from '@/components/chakan/allimg.vue'; | 696 | import allimg from '@/components/chakan/allimg.vue'; |
| 697 | + import busCha from '@/components/buscha/busCha' | ||
| 698 | + import add from '@/components/add/addht.vue' | ||
| 158 | export default { | 699 | export default { |
| 159 | components: { | 700 | components: { |
| 160 | TitleWithCircle, | 701 | TitleWithCircle, |
| 161 | - allimg | 702 | + allimg, |
| 703 | + upimg, | ||
| 704 | + busCha, | ||
| 705 | + add | ||
| 162 | }, | 706 | }, |
| 163 | props: { | 707 | props: { |
| 164 | info: { | 708 | info: { |
| @@ -176,18 +720,365 @@ | @@ -176,18 +720,365 @@ | ||
| 176 | }, | 720 | }, |
| 177 | data() { | 721 | data() { |
| 178 | return { | 722 | return { |
| 179 | - checkOpinion:'', | 723 | + // 合同 |
| 724 | + contractChangeReason:'', | ||
| 725 | + issp:'1', | ||
| 726 | + detailsinfo:{}, | ||
| 727 | + | ||
| 728 | + isaddshow:true, | ||
| 729 | + fapinfo: { | ||
| 730 | + invoiceType: '', // 发票类型,例如 '普通发票' 或 '专用发票' | ||
| 731 | + titleType: '', // 抬头类型,例如 '个人' 或 '单位' | ||
| 732 | + invoiceTitle: '', // 发票抬头 | ||
| 733 | + unitTaxNo: '', // 单位税号 | ||
| 734 | + registerAddress: '', // 注册地址 | ||
| 735 | + registerPhone: '', // 注册电话 | ||
| 736 | + openingBank: '', // 开户银行 | ||
| 737 | + receiptEmail: '', // 收票邮箱 | ||
| 738 | + invoiceUrl: '' // 发票图片的 URL | ||
| 739 | + }, | ||
| 740 | + ckfapinfo:false, | ||
| 741 | + addfapinfo:false, | ||
| 742 | + rulesfapinfo:{ | ||
| 743 | + invoiceType: [{ | ||
| 744 | + required: true, | ||
| 745 | + message: '请选择商铺类型', | ||
| 746 | + trigger: 'blur' | ||
| 747 | + }, ], | ||
| 748 | + titleType: [{ | ||
| 749 | + required: true, | ||
| 750 | + message: '请选择抬头类型', | ||
| 751 | + trigger: 'blur' | ||
| 752 | + }, ], | ||
| 753 | + invoiceTitle: [{ | ||
| 754 | + required: true, | ||
| 755 | + message: '请输入发票抬头', | ||
| 756 | + trigger: 'blur' | ||
| 757 | + }, ], | ||
| 758 | + }, | ||
| 759 | + addziyuanData:[], | ||
| 760 | + formInline:{}, | ||
| 761 | + ontype:'1', | ||
| 762 | + totalyx: 0, | ||
| 763 | + pagequeryyx:{ | ||
| 764 | + pageNumber: 0, | ||
| 765 | + pageSize: 10, | ||
| 766 | + }, | ||
| 767 | + datalistyx:[], | ||
| 768 | + | ||
| 769 | + totalwyjf: 0, | ||
| 770 | + pagequerywyjf:{ | ||
| 771 | + pageNumber: 0, | ||
| 772 | + pageSize: 10, | ||
| 773 | + }, | ||
| 774 | + datalistwyjf:[], | ||
| 775 | + | ||
| 776 | + totalzljf: 0, | ||
| 777 | + pagequeryzljf:{ | ||
| 778 | + pageNumber: 0, | ||
| 779 | + pageSize: 10, | ||
| 780 | + "relatedMerchants":"27" | ||
| 781 | + }, | ||
| 782 | + datalistzljf:[], | ||
| 783 | + | ||
| 784 | + totalgg: 0, | ||
| 785 | + pagequerygg:{ | ||
| 786 | + pageNumber: 0, | ||
| 787 | + pageSize: 10, | ||
| 788 | + }, | ||
| 789 | + datalistgg:[], | ||
| 790 | + | ||
| 791 | + | ||
| 792 | + totalht: 0, | ||
| 793 | + pagequeryht:{ | ||
| 794 | + pageNumber: 0, | ||
| 795 | + pageSize: 10, | ||
| 796 | + }, | ||
| 797 | + datalistht:[], | ||
| 798 | + | ||
| 799 | + totaltp: 0, | ||
| 800 | + pagequerytp:{ | ||
| 801 | + pageNumber: 0, | ||
| 802 | + pageSize: 10, | ||
| 803 | + }, | ||
| 804 | + datalisttp:[], | ||
| 805 | + | ||
| 806 | + pagequeryzl:{ | ||
| 807 | + pageNumber: 0, | ||
| 808 | + pageSize: 100, | ||
| 809 | + relatedMerchants:'28' | ||
| 810 | + }, | ||
| 811 | + zlgglist:[], | ||
| 812 | + zlsplist:[], | ||
| 813 | + | ||
| 814 | + checkOpinion: '', | ||
| 180 | radio: '2', | 815 | radio: '2', |
| 181 | - xiangTab: 'first', | 816 | + xiangTab: 'one', |
| 182 | list: [], | 817 | list: [], |
| 818 | + zstype:"1" | ||
| 183 | } | 819 | } |
| 184 | }, | 820 | }, |
| 185 | created() { | 821 | created() { |
| 822 | + this.getAllyx() | ||
| 823 | + this.getAlltp() | ||
| 824 | + this.getAllgg() | ||
| 825 | + this.getAllzljf() | ||
| 826 | + this.getAllht() | ||
| 827 | + this.getAllwyjf() | ||
| 828 | + this.getAllzl() | ||
| 186 | }, | 829 | }, |
| 187 | computed: { | 830 | computed: { |
| 188 | 831 | ||
| 189 | }, | 832 | }, |
| 190 | methods: { | 833 | methods: { |
| 834 | + changeTitleType(e) { | ||
| 835 | + console.error(e) | ||
| 836 | + this.isaddshow = false | ||
| 837 | + if(e == '个人') { | ||
| 838 | + this.rulesfapinfo={ | ||
| 839 | + invoiceType: [{ | ||
| 840 | + required: true, | ||
| 841 | + message: '请选择商铺类型', | ||
| 842 | + trigger: 'blur' | ||
| 843 | + }, ], | ||
| 844 | + titleType: [{ | ||
| 845 | + required: true, | ||
| 846 | + message: '请选择抬头类型', | ||
| 847 | + trigger: 'blur' | ||
| 848 | + }, ], | ||
| 849 | + invoiceTitle: [{ | ||
| 850 | + required: true, | ||
| 851 | + message: '请输入发票抬头', | ||
| 852 | + trigger: 'blur' | ||
| 853 | + }, ], | ||
| 854 | + } | ||
| 855 | + } else if(e == '单位') { | ||
| 856 | + this.rulesfapinfo={ | ||
| 857 | + invoiceType: [{ | ||
| 858 | + required: true, | ||
| 859 | + message: '请选择商铺类型', | ||
| 860 | + trigger: 'blur' | ||
| 861 | + }, ], | ||
| 862 | + titleType: [{ | ||
| 863 | + required: true, | ||
| 864 | + message: '请选择抬头类型', | ||
| 865 | + trigger: 'blur' | ||
| 866 | + }, ], | ||
| 867 | + invoiceTitle: [{ | ||
| 868 | + required: true, | ||
| 869 | + message: '请输入发票抬头', | ||
| 870 | + trigger: 'blur' | ||
| 871 | + }, ], | ||
| 872 | + unitTaxNo: [{ | ||
| 873 | + required: true, | ||
| 874 | + message: '请输入单位税号', | ||
| 875 | + trigger: 'blur' | ||
| 876 | + }, ], | ||
| 877 | + registerAddress: [{ | ||
| 878 | + required: true, | ||
| 879 | + message: '请输入注册地址', | ||
| 880 | + trigger: 'blur' | ||
| 881 | + }, ], | ||
| 882 | + registerPhone: [{ | ||
| 883 | + required: true, | ||
| 884 | + message: '请输入注册电话', | ||
| 885 | + trigger: 'blur' | ||
| 886 | + }, ], | ||
| 887 | + openingBank: [{ | ||
| 888 | + required: true, | ||
| 889 | + message: '请输入开户银行', | ||
| 890 | + trigger: 'blur' | ||
| 891 | + }, ], | ||
| 892 | + bankAccount: [{ | ||
| 893 | + required: true, | ||
| 894 | + message: '请输入银行账号', | ||
| 895 | + trigger: 'blur' | ||
| 896 | + }, ], | ||
| 897 | + } | ||
| 898 | + } | ||
| 899 | + this.$nextTick(() => { | ||
| 900 | + this.isaddshow = true | ||
| 901 | + }) | ||
| 902 | + }, | ||
| 903 | + openckfapinfo(item) { | ||
| 904 | + cereInvoiceTitlegetByTenementId({id:item.id}).then(res => { | ||
| 905 | + // console.error(res.data) | ||
| 906 | + this.formInline = res.data | ||
| 907 | + this.ckfapinfo = true | ||
| 908 | + }) | ||
| 909 | + }, | ||
| 910 | + openaddfapinfo(item) { | ||
| 911 | + this.formInline = item | ||
| 912 | + this.addfapinfo = true | ||
| 913 | + }, | ||
| 914 | + add(){ | ||
| 915 | + this.fapinfo.tenementId = this.formInline.id | ||
| 916 | + console.error({...this.fapinfo}) | ||
| 917 | + this.$refs.fapForm.validate((valid) => { | ||
| 918 | + console.log(valid) | ||
| 919 | + if (valid) { | ||
| 920 | + cereInvoiceTitleadd(this.fapinfo).then(res => { | ||
| 921 | + if (res.code == 200) { | ||
| 922 | + this.$message({ | ||
| 923 | + message: '上传成功', | ||
| 924 | + type: 'success' | ||
| 925 | + }) | ||
| 926 | + this.addfapinfo = false | ||
| 927 | + this.pagequeryzljf.pageNumber = 0 | ||
| 928 | + this.getAllzljf() | ||
| 929 | + } else { | ||
| 930 | + this.$message({ | ||
| 931 | + message: res.msg, | ||
| 932 | + type: 'error' | ||
| 933 | + }) | ||
| 934 | + } | ||
| 935 | + }) | ||
| 936 | + } else { | ||
| 937 | + this.$message({ | ||
| 938 | + message: '请填写完整信息', | ||
| 939 | + type: 'error' | ||
| 940 | + }) | ||
| 941 | + } | ||
| 942 | + | ||
| 943 | + | ||
| 944 | + }) | ||
| 945 | + }, | ||
| 946 | + changimg(e, type) { | ||
| 947 | + this.fapinfo[type] = e | ||
| 948 | + }, | ||
| 949 | + closeFn(){ | ||
| 950 | + this.ontype = '1' | ||
| 951 | + }, | ||
| 952 | + open1(item,type){ | ||
| 953 | + this.formInline = {} | ||
| 954 | + this.formInline = item | ||
| 955 | + this.formInline.plan_Time = [item.nextFollowUpStartTime, item.nextFollowUpEndTime] | ||
| 956 | + if (typeof item.intendedResource == 'string' && item.intendedResource != '') { | ||
| 957 | + this.addziyuanData = JSON.parse(item.intendedResource) | ||
| 958 | + } | ||
| 959 | + | ||
| 960 | + if (typeof item.onSitePhotos == 'string') { | ||
| 961 | + this.imgList = item.onSitePhotos.split(',') || [] | ||
| 962 | + } | ||
| 963 | + this.zstype = type | ||
| 964 | + this.ontype = '3' | ||
| 965 | + }, | ||
| 966 | + getAllzl() { | ||
| 967 | + cereContractInformationgetPages(this.pagequeryzl).then(res => { | ||
| 968 | + console.error(res) | ||
| 969 | + if (!Array.isArray(res.data.content)) { | ||
| 970 | + this.datalistht= []; | ||
| 971 | + return; | ||
| 972 | + } | ||
| 973 | + console.error('[[[[[[[[[[]]]]]]]]]]') | ||
| 974 | + this.zlsplist = res.data.content.filter( item => { | ||
| 975 | + return item.cereBasicInformationShop.id || item.cereBasicInformationVenue.id | ||
| 976 | + }) | ||
| 977 | + this.zlgglist = res.data.content.filter( item => { | ||
| 978 | + return item.cereAdvertisingInformation.id | ||
| 979 | + }) | ||
| 980 | + console.error(res.data.content) | ||
| 981 | + }) | ||
| 982 | + }, | ||
| 983 | + getAllht() { | ||
| 984 | + cereContractInformationgetPage(this.pagequeryht).then(res => { | ||
| 985 | + console.error(res) | ||
| 986 | + if (!Array.isArray(res.data.content)) { | ||
| 987 | + this.datalistht= []; | ||
| 988 | + return; | ||
| 989 | + } | ||
| 990 | + this.datalistht = res.data.content | ||
| 991 | + this.totalht = res.data.totalElements | ||
| 992 | + }) | ||
| 993 | + }, | ||
| 994 | + getAllwyjf() { | ||
| 995 | + cerePaymentInfo(this.pagequerywyjf).then(res => { | ||
| 996 | + console.error(res) | ||
| 997 | + if (!Array.isArray(res.data.content)) { | ||
| 998 | + this.datalistwyjf= []; | ||
| 999 | + return; | ||
| 1000 | + } | ||
| 1001 | + this.datalistwyjf = res.data.content | ||
| 1002 | + this.totalwyjf = res.data.totalElements | ||
| 1003 | + }) | ||
| 1004 | + }, | ||
| 1005 | + getAllzljf() { | ||
| 1006 | + cerePropertyOrder(this.pagequeryzljf).then(res => { | ||
| 1007 | + console.error(res) | ||
| 1008 | + if (!Array.isArray(res.data.content)) { | ||
| 1009 | + this.datalistzljf= []; | ||
| 1010 | + return; | ||
| 1011 | + } | ||
| 1012 | + this.datalistzljf = res.data.content | ||
| 1013 | + this.totalzljf = res.data.totalElements | ||
| 1014 | + }) | ||
| 1015 | + }, | ||
| 1016 | + getAllgg() { | ||
| 1017 | + cereFollowDetails(this.pagequerygg).then(res => { | ||
| 1018 | + console.error(res) | ||
| 1019 | + if (!Array.isArray(res.data.content)) { | ||
| 1020 | + this.datalistgg = []; | ||
| 1021 | + return; | ||
| 1022 | + } | ||
| 1023 | + this.datalistgg = res.data.content | ||
| 1024 | + this.totalgg = res.data.totalElements | ||
| 1025 | + }) | ||
| 1026 | + }, | ||
| 1027 | + getAlltp() { | ||
| 1028 | + cereNegotiationDetails(this.pagequerytp).then(res => { | ||
| 1029 | + console.error(res) | ||
| 1030 | + if (!Array.isArray(res.data.content)) { | ||
| 1031 | + this.datalisttp= []; | ||
| 1032 | + return; | ||
| 1033 | + } | ||
| 1034 | + this.datalisttp = res.data.content | ||
| 1035 | + this.totaltp = res.data.totalElements | ||
| 1036 | + }) | ||
| 1037 | + }, | ||
| 1038 | + getAllyx() { | ||
| 1039 | + icManAll(this.pagequeryyx).then(res => { | ||
| 1040 | + console.error(res) | ||
| 1041 | + if (!Array.isArray(res.data.content)) { | ||
| 1042 | + this.datalistyx = []; | ||
| 1043 | + return; | ||
| 1044 | + } | ||
| 1045 | + this.datalistyx = res.data.content | ||
| 1046 | + this.totalyx = res.data.totalElements | ||
| 1047 | + }) | ||
| 1048 | + }, | ||
| 1049 | + handleCurrentChange(val,type) { | ||
| 1050 | + this[type].pageNumber = val - 1 | ||
| 1051 | + if(type == 'pagequeryyx') { | ||
| 1052 | + this.getAllyx() | ||
| 1053 | + } else if(type == 'pagequerytp') { | ||
| 1054 | + this.getAlltp() | ||
| 1055 | + } else if(type == 'pagequerygg') { | ||
| 1056 | + this.getAllgg() | ||
| 1057 | + } else if(type == 'pagequeryzljf') { | ||
| 1058 | + this.getAllzljf() | ||
| 1059 | + } else if(type == 'pagequeryht') { | ||
| 1060 | + this.getAllht() | ||
| 1061 | + } else if(type == 'pagequerywyjf') { | ||
| 1062 | + this.getAllwyjf() | ||
| 1063 | + } | ||
| 1064 | + }, | ||
| 1065 | + handleSizeChange(val,type) { | ||
| 1066 | + this[type].pageSize = val | ||
| 1067 | + this[type].pageNumber = 0 | ||
| 1068 | + if(type == 'pagequeryyx') { | ||
| 1069 | + this.getAllyx() | ||
| 1070 | + } else if(type == 'pagequerytp') { | ||
| 1071 | + this.getAlltp() | ||
| 1072 | + } else if(type == 'pagequerygg') { | ||
| 1073 | + this.getAllgg() | ||
| 1074 | + } else if(type == 'pagequeryzljf') { | ||
| 1075 | + this.getAllzljf() | ||
| 1076 | + } else if(type == 'pagequeryht') { | ||
| 1077 | + this.getAllht() | ||
| 1078 | + } else if(type == 'pagequerywyjf') { | ||
| 1079 | + this.getAllwyjf() | ||
| 1080 | + } | ||
| 1081 | + }, | ||
| 191 | minSev() { | 1082 | minSev() { |
| 192 | let that = this | 1083 | let that = this |
| 193 | console.error(this.info) | 1084 | console.error(this.info) |
| @@ -195,7 +1086,7 @@ | @@ -195,7 +1086,7 @@ | ||
| 195 | cerePlatformMerchantedit({ | 1086 | cerePlatformMerchantedit({ |
| 196 | ...this.info, | 1087 | ...this.info, |
| 197 | 'checkState': this.radio, | 1088 | 'checkState': this.radio, |
| 198 | - checkOpinion: this.checkOpinion?this.checkOpinion:null | 1089 | + checkOpinion: this.checkOpinion ? this.checkOpinion : null |
| 199 | }).then(res => { | 1090 | }).then(res => { |
| 200 | console.error(res) | 1091 | console.error(res) |
| 201 | if (res.code == 200) { | 1092 | if (res.code == 200) { |
| @@ -214,22 +1105,111 @@ | @@ -214,22 +1105,111 @@ | ||
| 214 | } | 1105 | } |
| 215 | }) | 1106 | }) |
| 216 | }, | 1107 | }, |
| 217 | - async setmsg() { | 1108 | + async setmsg() { |
| 218 | let info = { | 1109 | let info = { |
| 219 | - type:'通知消息', | ||
| 220 | - phone:this.info.phone, | ||
| 221 | - content:{ | ||
| 222 | - type:'1', | ||
| 223 | - title:this.radio=='2'?'商家审核已通过':this.radio=='3'?'商家审核已驳回':'商家', | ||
| 224 | - content:this.checkOpinion | 1110 | + type: '通知消息', |
| 1111 | + phone: this.info.phone, | ||
| 1112 | + content: { | ||
| 1113 | + type: '1', | ||
| 1114 | + title: this.radio == '2' ? '商家审核已通过' : this.radio == '3' ? '商家审核已驳回' : '商家', | ||
| 1115 | + content: this.checkOpinion | ||
| 225 | }, | 1116 | }, |
| 226 | } | 1117 | } |
| 227 | await this.$setmsg(info); | 1118 | await this.$setmsg(info); |
| 228 | }, | 1119 | }, |
| 229 | - changetype(){ | ||
| 230 | - this.xiangTab= 'first' | 1120 | + changetype() { |
| 1121 | + this.xiangTab = 'first' | ||
| 231 | this.$emit('removeonaction', '1') | 1122 | this.$emit('removeonaction', '1') |
| 232 | }, | 1123 | }, |
| 1124 | + //复核 | ||
| 1125 | + fhjf(item) { | ||
| 1126 | + const h = this.$createElement; | ||
| 1127 | + this.$msgbox({ | ||
| 1128 | + title: '消息', | ||
| 1129 | + message: h('p', null, [ | ||
| 1130 | + h('span', null, '是否复核 '), | ||
| 1131 | + ]), | ||
| 1132 | + showCancelButton: true, | ||
| 1133 | + showClose: false, | ||
| 1134 | + confirmButtonText: '确定', | ||
| 1135 | + cancelButtonText: '取消', | ||
| 1136 | + customClass: 'oe-dialog-btn', | ||
| 1137 | + beforeClose: (action, instance, done) => { | ||
| 1138 | + if (action === 'confirm') { | ||
| 1139 | + editToRecheck({ | ||
| 1140 | + id: item.id | ||
| 1141 | + }).then(res => { | ||
| 1142 | + this.$message({ | ||
| 1143 | + message: '复核成功', | ||
| 1144 | + type: 'success' | ||
| 1145 | + }) | ||
| 1146 | + this.pagequeryzljf.pageNumber = 0 | ||
| 1147 | + this.getAllzljf() | ||
| 1148 | + done(); | ||
| 1149 | + }) | ||
| 1150 | + } else { | ||
| 1151 | + done(); | ||
| 1152 | + } | ||
| 1153 | + } | ||
| 1154 | + }) | ||
| 1155 | + }, | ||
| 1156 | + //合同操作 | ||
| 1157 | + details(row,e) { | ||
| 1158 | + this.issp = e | ||
| 1159 | + this.detailsinfo = row | ||
| 1160 | + this.ontype = '4' | ||
| 1161 | + }, | ||
| 1162 | + removeonaction(e) { | ||
| 1163 | + this.ontype = '1' | ||
| 1164 | + }, | ||
| 1165 | + removeinfo(row, e) { | ||
| 1166 | + this.contractChangeReason = e | ||
| 1167 | + // console.error(this.contractChangeReason) | ||
| 1168 | + this.detailsinfo = row | ||
| 1169 | + this.ontype = '5' | ||
| 1170 | + }, | ||
| 1171 | + removeinfozz(row, e) { | ||
| 1172 | + let that = this | ||
| 1173 | + this.$confirm('确定要终止合同吗?', '提示', { | ||
| 1174 | + confirmButtonText: '确定', | ||
| 1175 | + cancelButtonText: '取消', | ||
| 1176 | + type: 'warning' | ||
| 1177 | + }).then(() => { | ||
| 1178 | + cereContractInformation({ | ||
| 1179 | + ...row, | ||
| 1180 | + contractChangeReason: e, | ||
| 1181 | + dataStatus: '3', | ||
| 1182 | + originalContractCode: row.contractNumber, | ||
| 1183 | + updateDate: that.gettime(), | ||
| 1184 | + createDate: that.gettime(), | ||
| 1185 | + contractChangeTime: that.gettime(), | ||
| 1186 | + updateUser:localStorage.getItem('roleName') | ||
| 1187 | + }).then(res => { | ||
| 1188 | + console.error(res) | ||
| 1189 | + if (res.code == 200) { | ||
| 1190 | + this.$message({ | ||
| 1191 | + message: '终止成功', | ||
| 1192 | + type: 'success' | ||
| 1193 | + }) | ||
| 1194 | + let c1 = row.shopNumber | ||
| 1195 | + modifyResourceStatus({ | ||
| 1196 | + resourcesId: c1, | ||
| 1197 | + status:"0" | ||
| 1198 | + }).then(res => { | ||
| 1199 | + console.error(res) | ||
| 1200 | + }) | ||
| 1201 | + // this.$emit('removeonaction', '1') | ||
| 1202 | + this.getAll() | ||
| 1203 | + } else { | ||
| 1204 | + this.$message({ | ||
| 1205 | + message: res.msg, | ||
| 1206 | + type: 'error' | ||
| 1207 | + }) | ||
| 1208 | + } | ||
| 1209 | + | ||
| 1210 | + }) | ||
| 1211 | + }) | ||
| 1212 | + }, | ||
| 233 | } | 1213 | } |
| 234 | } | 1214 | } |
| 235 | </script> | 1215 | </script> |
| @@ -237,7 +1217,7 @@ | @@ -237,7 +1217,7 @@ | ||
| 237 | .el-form-item__label { | 1217 | .el-form-item__label { |
| 238 | color: #a2a2a2; | 1218 | color: #a2a2a2; |
| 239 | } | 1219 | } |
| 240 | - | 1220 | + |
| 241 | .greens { | 1221 | .greens { |
| 242 | color: #3F9B6A; | 1222 | color: #3F9B6A; |
| 243 | } | 1223 | } |
admin-web-master/src/utils/request.js
| @@ -17,12 +17,12 @@ let baseURL = '' | @@ -17,12 +17,12 @@ let baseURL = '' | ||
| 17 | if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) { | 17 | if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) { |
| 18 | 18 | ||
| 19 | // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'; | 19 | // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'; |
| 20 | - baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server'; | 20 | + // baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server'; |
| 21 | 21 | ||
| 22 | // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; | 22 | // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; |
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | - baseURL = 'http://128.10.249.44:9003'; | 25 | + baseURL = 'http://128.10.249.41:9003'; |
| 26 | 26 | ||
| 27 | 27 | ||
| 28 | } else { | 28 | } else { |
admin-web-master/src/utils/request2.js
| @@ -17,10 +17,10 @@ let baseURL = '' | @@ -17,10 +17,10 @@ let baseURL = '' | ||
| 17 | // || host === 'localhost:9528' | 17 | // || host === 'localhost:9528' |
| 18 | if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) { | 18 | if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) { |
| 19 | // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; | 19 | // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; |
| 20 | - // baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/business-server'; | 20 | + baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/business-server'; |
| 21 | // baseURL = 'http://172.16.61.125:9004'; | 21 | // baseURL = 'http://172.16.61.125:9004'; |
| 22 | // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/business-server'; | 22 | // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/business-server'; |
| 23 | - baseURL = 'http://128.10.249.44:9004'; | 23 | + // baseURL = 'http://128.10.249.44:9004'; |
| 24 | } else { | 24 | } else { |
| 25 | console.error('---------------------') | 25 | console.error('---------------------') |
| 26 | console.error(hostall) | 26 | console.error(hostall) |
admin-web-master/src/views/business/businessList/index.vue
| @@ -23,10 +23,11 @@ | @@ -23,10 +23,11 @@ | ||
| 23 | </el-button> | 23 | </el-button> |
| 24 | </div> | 24 | </div> |
| 25 | </div> | 25 | </div> |
| 26 | - <div style="margin-bottom:20px;"> | ||
| 27 | - <el-button @click="removeonaction('2')" icon="el-icon-circle-plus-outline" style="background-color: #3F9B6A;color: #fff;">新增 | ||
| 28 | - </el-button> | ||
| 29 | - </div> | 26 | + <div style="margin-bottom:20px;"> |
| 27 | + <el-button @click="removeonaction('2')" icon="el-icon-circle-plus-outline" | ||
| 28 | + style="background-color: #3F9B6A;color: #fff;">新增 | ||
| 29 | + </el-button> | ||
| 30 | + </div> | ||
| 30 | <!-- 表格 --> | 31 | <!-- 表格 --> |
| 31 | 32 | ||
| 32 | <el-table :data="tableData" | 33 | <el-table :data="tableData" |
| @@ -76,8 +77,8 @@ | @@ -76,8 +77,8 @@ | ||
| 76 | <el-table-column label="操作" fixed="right"> | 77 | <el-table-column label="操作" fixed="right"> |
| 77 | <template slot-scope="scope"> | 78 | <template slot-scope="scope"> |
| 78 | <div @click="details(scope.row)" class="tableBtn greens">查看</div> | 79 | <div @click="details(scope.row)" class="tableBtn greens">查看</div> |
| 79 | - <div @click="bianji(scope.row)" class="tableBtn greens">编辑</div> | ||
| 80 | - <div @click="delmsg(scope.row.id)" class="tableBtn greens">删除</div> | 80 | + <div @click="bianji(scope.row)" class="tableBtn greens">编辑</div> |
| 81 | + <div @click="delmsg(scope.row.id)" class="tableBtn greens">删除</div> | ||
| 81 | <!-- <div @click="openyujingSet(scope.row)" class="tableBtn greens">审核</div> --> | 82 | <!-- <div @click="openyujingSet(scope.row)" class="tableBtn greens">审核</div> --> |
| 82 | </template> | 83 | </template> |
| 83 | </el-table-column> | 84 | </el-table-column> |
| @@ -99,7 +100,8 @@ | @@ -99,7 +100,8 @@ | ||
| 99 | 100 | ||
| 100 | 101 | ||
| 101 | 102 | ||
| 102 | - <el-dialog title="审核" :visible.sync="yujingSet" style="padding: 0;" width="60%" center :close-on-click-modal="false" :show-close="false" top="20vh"> | 103 | + <el-dialog title="审核" :visible.sync="yujingSet" style="padding: 0;" width="60%" center :close-on-click-modal="false" |
| 104 | + :show-close="false" top="20vh"> | ||
| 103 | <div> | 105 | <div> |
| 104 | <div style="margin-bottom: 20px;"> | 106 | <div style="margin-bottom: 20px;"> |
| 105 | <el-form ref="form" :model="detailsinfo" label-width="120px"> | 107 | <el-form ref="form" :model="detailsinfo" label-width="120px"> |
| @@ -111,7 +113,8 @@ | @@ -111,7 +113,8 @@ | ||
| 111 | </el-select> | 113 | </el-select> |
| 112 | </el-form-item> | 114 | </el-form-item> |
| 113 | <el-form-item label="审核意见"> | 115 | <el-form-item label="审核意见"> |
| 114 | - <el-input maxlength="200" show-word-limit rows="4" v-model="detailsinfo.checkOpinion" placeholder="请输入审核意见" type="textarea" /> | 116 | + <el-input maxlength="200" show-word-limit rows="4" v-model="detailsinfo.checkOpinion" |
| 117 | + placeholder="请输入审核意见" type="textarea" /> | ||
| 115 | </el-form-item> | 118 | </el-form-item> |
| 116 | </el-form> | 119 | </el-form> |
| 117 | 120 | ||
| @@ -147,16 +150,16 @@ | @@ -147,16 +150,16 @@ | ||
| 147 | @click="removeonaction('1')">返回</el-button> | 150 | @click="removeonaction('1')">返回</el-button> |
| 148 | </div> --> | 151 | </div> --> |
| 149 | </div> | 152 | </div> |
| 150 | - <div class="zhuti" v-if="onaction == '4'"> | ||
| 151 | - <div style="height:58px;line-height:58px;"> | ||
| 152 | - <div style="color:#0006"> <span>合同管理</span> <span style="padding:0 5px;">></span> <span | ||
| 153 | - style="color:#000000e6">编辑</span></div> | ||
| 154 | - </div> | ||
| 155 | - | ||
| 156 | - <div style="padding: 20px 20px 20px 0;"> | ||
| 157 | - <add :info="bianinfo" @removeonaction="removeonaction"></add> | ||
| 158 | - </div> | ||
| 159 | - </div> | 153 | + <div class="zhuti" v-if="onaction == '4'"> |
| 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 | + | ||
| 159 | + <div style="padding: 20px 20px 20px 0;"> | ||
| 160 | + <add :info="bianinfo" @removeonaction="removeonaction"></add> | ||
| 161 | + </div> | ||
| 162 | + </div> | ||
| 160 | 163 | ||
| 161 | </div> | 164 | </div> |
| 162 | <!-- </div> --> | 165 | <!-- </div> --> |
| @@ -166,7 +169,9 @@ | @@ -166,7 +169,9 @@ | ||
| 166 | <script> | 169 | <script> |
| 167 | import add from '@/components/add/addss.vue' | 170 | import add from '@/components/add/addss.vue' |
| 168 | import { | 171 | import { |
| 169 | - cerePlatformMerchant,cerePlatformMerchantedit,cerePlatformMerchantdelet | 172 | + cerePlatformMerchant, |
| 173 | + cerePlatformMerchantedit, | ||
| 174 | + cerePlatformMerchantdelet | ||
| 170 | } from '../../../api/newly.js' | 175 | } from '../../../api/newly.js' |
| 171 | import { | 176 | import { |
| 172 | cereReminderSet, | 177 | cereReminderSet, |
| @@ -185,7 +190,7 @@ | @@ -185,7 +190,7 @@ | ||
| 185 | pagequery: { | 190 | pagequery: { |
| 186 | pageNumber: 0, | 191 | pageNumber: 0, |
| 187 | pageSize: 10, | 192 | pageSize: 10, |
| 188 | - checkState:'2', | 193 | + checkState: '2', |
| 189 | name: '', | 194 | name: '', |
| 190 | 195 | ||
| 191 | }, | 196 | }, |
| @@ -193,7 +198,7 @@ | @@ -193,7 +198,7 @@ | ||
| 193 | total: 0, | 198 | total: 0, |
| 194 | onaction: '1', | 199 | onaction: '1', |
| 195 | info: {}, | 200 | info: {}, |
| 196 | - bianinfo:{} | 201 | + bianinfo: {} |
| 197 | } | 202 | } |
| 198 | }, | 203 | }, |
| 199 | components: { | 204 | components: { |
| @@ -207,12 +212,12 @@ | @@ -207,12 +212,12 @@ | ||
| 207 | }, | 212 | }, |
| 208 | methods: { | 213 | methods: { |
| 209 | calculateDaysUntilExpiration(endDateString) { | 214 | calculateDaysUntilExpiration(endDateString) { |
| 210 | - const endDate = new Date(endDateString); | ||
| 211 | - const today = new Date(); | ||
| 212 | - const timeDifference = endDate - today; | ||
| 213 | - const daysDifference = Math.ceil(timeDifference / (1000 * 60 * 60 * 24)); | ||
| 214 | - return daysDifference >= 0 ? daysDifference : '已过期'; | ||
| 215 | - }, | 215 | + const endDate = new Date(endDateString); |
| 216 | + const today = new Date(); | ||
| 217 | + const timeDifference = endDate - today; | ||
| 218 | + const daysDifference = Math.ceil(timeDifference / (1000 * 60 * 60 * 24)); | ||
| 219 | + return daysDifference >= 0 ? daysDifference : '已过期'; | ||
| 220 | + }, | ||
| 216 | yuclose() { | 221 | yuclose() { |
| 217 | this.yujingSet = false | 222 | this.yujingSet = false |
| 218 | }, | 223 | }, |
| @@ -233,7 +238,7 @@ | @@ -233,7 +238,7 @@ | ||
| 233 | }) | 238 | }) |
| 234 | } | 239 | } |
| 235 | }) | 240 | }) |
| 236 | - | 241 | + |
| 237 | }, | 242 | }, |
| 238 | openyujingSet(row) { | 243 | openyujingSet(row) { |
| 239 | // cereReminderSet({ | 244 | // cereReminderSet({ |
| @@ -249,10 +254,10 @@ | @@ -249,10 +254,10 @@ | ||
| 249 | this.detailsinfo = row | 254 | this.detailsinfo = row |
| 250 | this.onaction = '3' | 255 | this.onaction = '3' |
| 251 | }, | 256 | }, |
| 252 | - bianji(row){ | ||
| 253 | - this.bianinfo = row | ||
| 254 | - this.onaction = '4' | ||
| 255 | - }, | 257 | + bianji(row) { |
| 258 | + this.bianinfo = row | ||
| 259 | + this.onaction = '4' | ||
| 260 | + }, | ||
| 256 | biangeng(row) { | 261 | biangeng(row) { |
| 257 | alert(`合同变更 - 店铺ID: ${row.id}`); | 262 | alert(`合同变更 - 店铺ID: ${row.id}`); |
| 258 | }, | 263 | }, |
| @@ -289,42 +294,42 @@ | @@ -289,42 +294,42 @@ | ||
| 289 | this.pagequery = { | 294 | this.pagequery = { |
| 290 | pageNumber: 0, | 295 | pageNumber: 0, |
| 291 | pageSize: 10, | 296 | pageSize: 10, |
| 292 | - checkState:'2', | 297 | + checkState: '2', |
| 293 | name: '' | 298 | name: '' |
| 294 | }, | 299 | }, |
| 295 | this.getAll() | 300 | this.getAll() |
| 296 | }, | 301 | }, |
| 297 | - delmsg(ids){ | ||
| 298 | - const h = this.$createElement; | ||
| 299 | - this.$msgbox({ | ||
| 300 | - title: '消息', | ||
| 301 | - message: h('p', null, [ | ||
| 302 | - h('span', null, '是否删除 '), | ||
| 303 | - ]), | ||
| 304 | - showCancelButton: true, | ||
| 305 | - showClose: false, | ||
| 306 | - confirmButtonText: '确定', | ||
| 307 | - cancelButtonText: '取消', | ||
| 308 | - customClass: 'oe-dialog-btn', | ||
| 309 | - beforeClose: (action, instance, done) => { | ||
| 310 | - if (action === 'confirm') { | ||
| 311 | - cerePlatformMerchantdelet({ | ||
| 312 | - id: ids | ||
| 313 | - }).then(res => { | ||
| 314 | - this.$message({ | ||
| 315 | - message: '删除成功', | ||
| 316 | - type: 'success' | ||
| 317 | - }) | ||
| 318 | - this.getAll() | ||
| 319 | - done(); | ||
| 320 | - }) | ||
| 321 | - } else { | ||
| 322 | - done(); | ||
| 323 | - } | ||
| 324 | - } | ||
| 325 | - }) | ||
| 326 | - | ||
| 327 | - }, | 302 | + delmsg(ids) { |
| 303 | + const h = this.$createElement; | ||
| 304 | + this.$msgbox({ | ||
| 305 | + title: '消息', | ||
| 306 | + message: h('p', null, [ | ||
| 307 | + h('span', null, '是否删除 '), | ||
| 308 | + ]), | ||
| 309 | + showCancelButton: true, | ||
| 310 | + showClose: false, | ||
| 311 | + confirmButtonText: '确定', | ||
| 312 | + cancelButtonText: '取消', | ||
| 313 | + customClass: 'oe-dialog-btn', | ||
| 314 | + beforeClose: (action, instance, done) => { | ||
| 315 | + if (action === 'confirm') { | ||
| 316 | + cerePlatformMerchantdelet({ | ||
| 317 | + id: ids | ||
| 318 | + }).then(res => { | ||
| 319 | + this.$message({ | ||
| 320 | + message: '删除成功', | ||
| 321 | + type: 'success' | ||
| 322 | + }) | ||
| 323 | + this.getAll() | ||
| 324 | + done(); | ||
| 325 | + }) | ||
| 326 | + } else { | ||
| 327 | + done(); | ||
| 328 | + } | ||
| 329 | + } | ||
| 330 | + }) | ||
| 331 | + | ||
| 332 | + }, | ||
| 328 | } | 333 | } |
| 329 | 334 | ||
| 330 | } | 335 | } |
| @@ -332,20 +337,23 @@ | @@ -332,20 +337,23 @@ | ||
| 332 | 337 | ||
| 333 | <style scoped> | 338 | <style scoped> |
| 334 | .zhuti { | 339 | .zhuti { |
| 335 | - padding: 0 20px 20px 20px; | 340 | + padding: 0 20px 20px 20px; |
| 336 | min-height: calc(100vh - 50px - 20px); | 341 | min-height: calc(100vh - 50px - 20px); |
| 337 | background-color: #Fff; | 342 | background-color: #Fff; |
| 338 | 343 | ||
| 339 | } | 344 | } |
| 340 | - .chengeXia{ | ||
| 341 | - border-bottom: 6px solid #3F9B6A;padding-bottom: 4px;color: #3F9B6A; | 345 | + |
| 346 | + .chengeXia { | ||
| 347 | + border-bottom: 6px solid #3F9B6A; | ||
| 348 | + padding-bottom: 4px; | ||
| 349 | + color: #3F9B6A; | ||
| 342 | } | 350 | } |
| 343 | 351 | ||
| 344 | /deep/ .el-form-item__content { | 352 | /deep/ .el-form-item__content { |
| 345 | /* line-height: 0; */ | 353 | /* line-height: 0; */ |
| 346 | } | 354 | } |
| 347 | 355 | ||
| 348 | - | 356 | + |
| 349 | 357 | ||
| 350 | .formSearch { | 358 | .formSearch { |
| 351 | display: flex; | 359 | display: flex; |
| @@ -362,8 +370,8 @@ | @@ -362,8 +370,8 @@ | ||
| 362 | 370 | ||
| 363 | /deep/ .el-table__row { | 371 | /deep/ .el-table__row { |
| 364 | font-size: 14px; | 372 | font-size: 14px; |
| 365 | - color:#000000e6; | ||
| 366 | - height:42px; | 373 | + color: #000000e6; |
| 374 | + height: 42px; | ||
| 367 | } | 375 | } |
| 368 | 376 | ||
| 369 | .fenye { | 377 | .fenye { |
| @@ -414,21 +422,25 @@ | @@ -414,21 +422,25 @@ | ||
| 414 | background: #fff; | 422 | background: #fff; |
| 415 | height: 50px; | 423 | height: 50px; |
| 416 | } | 424 | } |
| 417 | - /deep/ .bg-purple[data-v-3bebae82]{ | 425 | + |
| 426 | + /deep/ .bg-purple[data-v-3bebae82] { | ||
| 418 | background: #fff; | 427 | background: #fff; |
| 419 | height: 50px; | 428 | height: 50px; |
| 420 | } | 429 | } |
| 421 | 430 | ||
| 422 | -::v-deep .bg-purple{ | 431 | + ::v-deep .bg-purple { |
| 423 | background: #fff; | 432 | background: #fff; |
| 424 | height: 50px; | 433 | height: 50px; |
| 425 | } | 434 | } |
| 435 | + | ||
| 426 | /deep/ .el-form--label-top .el-form-item__label { | 436 | /deep/ .el-form--label-top .el-form-item__label { |
| 427 | padding: 0; | 437 | padding: 0; |
| 428 | } | 438 | } |
| 429 | -::v-deep .el-form-item{ | ||
| 430 | - margin-bottom:16px; | ||
| 431 | -} | 439 | + |
| 440 | + ::v-deep .el-form-item { | ||
| 441 | + margin-bottom: 16px; | ||
| 442 | + } | ||
| 443 | + | ||
| 432 | .device-form .el-form-item__label::after { | 444 | .device-form .el-form-item__label::after { |
| 433 | content: "*"; | 445 | content: "*"; |
| 434 | color: #1A1A1A; | 446 | color: #1A1A1A; |
| @@ -442,133 +454,156 @@ | @@ -442,133 +454,156 @@ | ||
| 442 | background-color: #FAFAFA; | 454 | background-color: #FAFAFA; |
| 443 | } | 455 | } |
| 444 | } | 456 | } |
| 445 | - ::v-deep .el-input__inner:focus { | ||
| 446 | - border: #3F9B6A 1px solid; | ||
| 447 | - } | 457 | + |
| 458 | + ::v-deep .el-input__inner:focus { | ||
| 459 | + border: #3F9B6A 1px solid; | ||
| 460 | + } | ||
| 461 | + | ||
| 448 | .dialog-footer { | 462 | .dialog-footer { |
| 449 | display: flex; | 463 | display: flex; |
| 450 | justify-content: flex-end; | 464 | justify-content: flex-end; |
| 451 | border-top: solid rgba(209, 209, 209, 0.2) 2px; | 465 | border-top: solid rgba(209, 209, 209, 0.2) 2px; |
| 452 | padding-top: 20px; | 466 | padding-top: 20px; |
| 453 | } | 467 | } |
| 454 | - ::v-deep .el-input__inner:focus { | ||
| 455 | - border: #3F9B6A 1px solid; | ||
| 456 | - } | ||
| 457 | - ::v-deep .el-input__inner:hover { | ||
| 458 | - border: #3F9B6A 1px solid; | ||
| 459 | - } | ||
| 460 | - ::v-deep .el-select .el-input.is-focus .el-input__inner{ | ||
| 461 | - border-color:#3F9B6A | ||
| 462 | - } | ||
| 463 | -::v-deep .btn .el-button:focus, | ||
| 464 | -.el-button:hover { | ||
| 465 | - border: 1px solid #3F9B6A; | ||
| 466 | -} | ||
| 467 | -.el-select-dropdown__item.selected{ | 468 | + |
| 469 | + ::v-deep .el-input__inner:focus { | ||
| 470 | + border: #3F9B6A 1px solid; | ||
| 471 | + } | ||
| 472 | + | ||
| 473 | + ::v-deep .el-input__inner:hover { | ||
| 474 | + border: #3F9B6A 1px solid; | ||
| 475 | + } | ||
| 476 | + | ||
| 477 | + ::v-deep .el-select .el-input.is-focus .el-input__inner { | ||
| 478 | + border-color: #3F9B6A | ||
| 479 | + } | ||
| 480 | + | ||
| 481 | + ::v-deep .btn .el-button:focus, | ||
| 482 | + .el-button:hover { | ||
| 483 | + border: 1px solid #3F9B6A; | ||
| 484 | + } | ||
| 485 | + | ||
| 486 | + .el-select-dropdown__item.selected { | ||
| 468 | color: #3F9B6A; | 487 | color: #3F9B6A; |
| 469 | -} | 488 | + } |
| 470 | 489 | ||
| 471 | -.el-pagination__sizes .el-input .el-input__inner:hover{ | 490 | + .el-pagination__sizes .el-input .el-input__inner:hover { |
| 472 | border-color: #3F9B6A; | 491 | border-color: #3F9B6A; |
| 473 | -} | ||
| 474 | -::v-deep .el-dialog__wrapper{ | 492 | + } |
| 493 | + | ||
| 494 | + ::v-deep .el-dialog__wrapper { | ||
| 475 | 495 | ||
| 476 | - .dialog_css{ | 496 | + .dialog_css { |
| 477 | margin-right: 12px; | 497 | margin-right: 12px; |
| 478 | - margin-top:61px !important; | 498 | + margin-top: 61px !important; |
| 499 | + | ||
| 479 | .el-dialog__title { | 500 | .el-dialog__title { |
| 480 | font-size: 16px !important; | 501 | font-size: 16px !important; |
| 481 | font-weight: 600; | 502 | font-weight: 600; |
| 482 | color: #000; | 503 | color: #000; |
| 483 | } | 504 | } |
| 505 | + } | ||
| 506 | + | ||
| 507 | + .diaslog_zhong { | ||
| 508 | + margin-left: 20%; | ||
| 509 | + margin-top: 61px !important; | ||
| 510 | + } | ||
| 511 | + | ||
| 484 | } | 512 | } |
| 485 | - .diaslog_zhong{ | ||
| 486 | - margin-left: 20%; | ||
| 487 | - margin-top:61px !important; | ||
| 488 | - } | ||
| 489 | - | ||
| 490 | -} | ||
| 491 | - ::v-deep .diaslog_zhong{ | ||
| 492 | - margin-left: 20%; | ||
| 493 | - margin-top:61px !important; | ||
| 494 | - .el-dialog__header{ | ||
| 495 | - background-color:#fff; | ||
| 496 | - border-bottom:1px solid #EFEFEF; | ||
| 497 | - .el-dialog__title{ | ||
| 498 | - font-size: 14px; | ||
| 499 | - color: #000000e6; | ||
| 500 | - } | ||
| 501 | - } | ||
| 502 | - .el-dialog__body{ | ||
| 503 | - padding:10px 20px 30px 20px | ||
| 504 | - } | ||
| 505 | - } | ||
| 506 | - | ||
| 507 | - /deep/ .el-table_1_column_8 .hetong{ | ||
| 508 | - color:#7DBB9A; | ||
| 509 | - text-decoration: underline; | ||
| 510 | -} | ||
| 511 | -/deep/ .first-column-bg { | 513 | + |
| 514 | + ::v-deep .diaslog_zhong { | ||
| 515 | + margin-left: 20%; | ||
| 516 | + margin-top: 61px !important; | ||
| 517 | + | ||
| 518 | + .el-dialog__header { | ||
| 519 | + background-color: #fff; | ||
| 520 | + border-bottom: 1px solid #EFEFEF; | ||
| 521 | + | ||
| 522 | + .el-dialog__title { | ||
| 523 | + font-size: 14px; | ||
| 524 | + color: #000000e6; | ||
| 525 | + } | ||
| 526 | + } | ||
| 527 | + | ||
| 528 | + .el-dialog__body { | ||
| 529 | + padding: 10px 20px 30px 20px | ||
| 530 | + } | ||
| 531 | + } | ||
| 532 | + | ||
| 533 | + /deep/ .el-table_1_column_8 .hetong { | ||
| 534 | + color: #7DBB9A; | ||
| 535 | + text-decoration: underline; | ||
| 536 | + } | ||
| 537 | + | ||
| 538 | + /deep/ .first-column-bg { | ||
| 512 | background-color: #FAFAFA !important; | 539 | background-color: #FAFAFA !important; |
| 513 | } | 540 | } |
| 514 | 541 | ||
| 515 | -.el-table tr{ | ||
| 516 | - height:56px; | ||
| 517 | -} | 542 | + .el-table tr { |
| 543 | + height: 56px; | ||
| 544 | + } | ||
| 518 | 545 | ||
| 519 | -::v-deep .table3{ | ||
| 520 | - .el-table__empty-block{ | ||
| 521 | - display:none; | 546 | + ::v-deep .table3 { |
| 547 | + .el-table__empty-block { | ||
| 548 | + display: none; | ||
| 549 | + } | ||
| 522 | } | 550 | } |
| 523 | -} | ||
| 524 | -::v-deep .textarea{ | ||
| 525 | - width: 85%; | ||
| 526 | - .el-textarea__inner{ | ||
| 527 | - width: 100%; | 551 | + |
| 552 | + ::v-deep .textarea { | ||
| 553 | + width: 85%; | ||
| 554 | + | ||
| 555 | + .el-textarea__inner { | ||
| 556 | + width: 100%; | ||
| 557 | + } | ||
| 558 | + } | ||
| 559 | + | ||
| 560 | + ::v-deep .el-button--mini { | ||
| 561 | + padding: 7px 10px; | ||
| 528 | } | 562 | } |
| 529 | -} | ||
| 530 | -::v-deep .el-button--mini{ | ||
| 531 | - padding: 7px 10px; | ||
| 532 | -} | ||
| 533 | -::v-deep .pass_input{ | 563 | + |
| 564 | + ::v-deep .pass_input { | ||
| 534 | width: 100%; | 565 | width: 100%; |
| 566 | + | ||
| 535 | .el-input__inner { | 567 | .el-input__inner { |
| 536 | border: none; | 568 | border: none; |
| 537 | - padding:0; | ||
| 538 | - } | ||
| 539 | - } | ||
| 540 | -::v-deep .pass_select{ | ||
| 541 | - width: 100%; | ||
| 542 | - .el-input__inner { | ||
| 543 | - border: none; | ||
| 544 | - padding:0; | 569 | + padding: 0; |
| 545 | } | 570 | } |
| 546 | - .el-icon-arrow-up:before{ | ||
| 547 | - content:'' | ||
| 548 | } | 571 | } |
| 549 | 572 | ||
| 550 | -} | ||
| 551 | - /deep/ .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{ | ||
| 552 | - background-color: #fff; | ||
| 553 | -} | 573 | + ::v-deep .pass_select { |
| 574 | + width: 100%; | ||
| 575 | + | ||
| 576 | + .el-input__inner { | ||
| 577 | + border: none; | ||
| 578 | + padding: 0; | ||
| 579 | + } | ||
| 580 | + | ||
| 581 | + .el-icon-arrow-up:before { | ||
| 582 | + content: '' | ||
| 583 | + } | ||
| 554 | 584 | ||
| 585 | + } | ||
| 555 | 586 | ||
| 587 | + /deep/ .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell { | ||
| 588 | + background-color: #fff; | ||
| 589 | + } | ||
| 556 | </style> | 590 | </style> |
| 557 | <style lang="scss" scoped> | 591 | <style lang="scss" scoped> |
| 558 | - ::v-deep .bian_css{ | ||
| 559 | - .el-dialog__header{ | ||
| 560 | - padding:0px; | 592 | + ::v-deep .bian_css { |
| 593 | + .el-dialog__header { | ||
| 594 | + padding: 0px; | ||
| 561 | } | 595 | } |
| 562 | } | 596 | } |
| 563 | - ::v-deep .buttonHover:hover{ | ||
| 564 | - color:#3f9b6a !important; | 597 | + |
| 598 | + ::v-deep .buttonHover:hover { | ||
| 599 | + color: #3f9b6a !important; | ||
| 565 | border-color: #c5e1d2 !important; | 600 | border-color: #c5e1d2 !important; |
| 566 | background-color: #ecf5f0 !important; | 601 | background-color: #ecf5f0 !important; |
| 567 | outline: none; | 602 | outline: none; |
| 568 | } | 603 | } |
| 569 | - ::v-deep .el-pagination__total{ | ||
| 570 | - position: absolute; | ||
| 571 | - left: 33px; | 604 | + |
| 605 | + ::v-deep .el-pagination__total { | ||
| 606 | + position: absolute; | ||
| 607 | + left: 33px; | ||
| 572 | } | 608 | } |
| 573 | </style> | 609 | </style> |
| 574 | - |