style:权利人信息
Showing
17 changed files
with
32 additions
and
41 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-14 10:52:06 | 4 | * @LastEditTime: 2023-08-14 12:56:43 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -289,6 +289,7 @@ | ... | @@ -289,6 +289,7 @@ |
| 289 | Init(formdata).then((res) => { | 289 | Init(formdata).then((res) => { |
| 290 | if (res.code === 200 && res.result) { | 290 | if (res.code === 200 && res.result) { |
| 291 | this.ruleForm = res.result; | 291 | this.ruleForm = res.result; |
| 292 | this.czrOptions = this.ruleForm.qlrList; | ||
| 292 | this.ruleForm.diyaq.sfczjzhxz = "0"; | 293 | this.ruleForm.diyaq.sfczjzhxz = "0"; |
| 293 | } | 294 | } |
| 294 | this.$endLoading(); | 295 | this.$endLoading(); |
| ... | @@ -339,8 +340,6 @@ | ... | @@ -339,8 +340,6 @@ |
| 339 | } | 340 | } |
| 340 | }); | 341 | }); |
| 341 | }, | 342 | }, |
| 342 | |||
| 343 | // 更新权利人信息 | ||
| 344 | /** | 343 | /** |
| 345 | * @description: 更新权利人信息 | 344 | * @description: 更新权利人信息 |
| 346 | * @param {*} val | 345 | * @param {*} val |
| ... | @@ -352,7 +351,6 @@ | ... | @@ -352,7 +351,6 @@ |
| 352 | this.czrOptions = this.ruleForm.qlrList; | 351 | this.czrOptions = this.ruleForm.qlrList; |
| 353 | } | 352 | } |
| 354 | }, | 353 | }, |
| 355 | // 更新义务人信息 | ||
| 356 | /** | 354 | /** |
| 357 | * @description: 更新义务人信息 | 355 | * @description: 更新义务人信息 |
| 358 | * @param {*} val | 356 | * @param {*} val | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
| 3 | * @Autor: ssq | 3 | * @Autor: ssq |
| 4 | * @LastEditTime: 2023-08-14 11:23:50 | 4 | * @LastEditTime: 2023-08-14 13:02:34 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="slxx"> | 7 | <div class="slxx"> |
| ... | @@ -212,6 +212,7 @@ | ... | @@ -212,6 +212,7 @@ |
| 212 | } | 212 | } |
| 213 | //初始化发证方式,1:小证,2:大正 | 213 | //初始化发证方式,1:小证,2:大正 |
| 214 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; | 214 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; |
| 215 | this.czrOptions = this.ruleForm.qlrList; | ||
| 215 | } | 216 | } |
| 216 | }); | 217 | }); |
| 217 | }, | 218 | }, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-14 10:56:46 | 4 | * @LastEditTime: 2023-08-14 12:57:21 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="slxx"> | 7 | <div class="slxx"> |
| ... | @@ -271,12 +271,13 @@ | ... | @@ -271,12 +271,13 @@ |
| 271 | } | 271 | } |
| 272 | //初始化发证方式,1:小证,2:大正 | 272 | //初始化发证方式,1:小证,2:大正 |
| 273 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; | 273 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; |
| 274 | this.czrOptions = this.ruleForm.qlrList; | ||
| 274 | } | 275 | } |
| 275 | }); | 276 | }) |
| 276 | }, | 277 | }, |
| 277 | components: { qlrCommonTable, tdytTable }, | 278 | components: { qlrCommonTable, tdytTable }, |
| 278 | computed: { | 279 | computed: { |
| 279 | ...mapGetters(["dictData", "flag"]), | 280 | ...mapGetters(["dictData", "flag"]) |
| 280 | }, | 281 | }, |
| 281 | data () { | 282 | data () { |
| 282 | return { | 283 | return { |
| ... | @@ -320,7 +321,6 @@ | ... | @@ -320,7 +321,6 @@ |
| 320 | */ | 321 | */ |
| 321 | upDateTdytxxList (val) { | 322 | upDateTdytxxList (val) { |
| 322 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 323 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
| 323 | |||
| 324 | this.key++; | 324 | this.key++; |
| 325 | }, | 325 | }, |
| 326 | 326 | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-14 12:48:45 | 4 | * @LastEditTime: 2023-08-14 12:58:13 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="slxx"> | 7 | <div class="slxx"> |
| ... | @@ -279,6 +279,7 @@ | ... | @@ -279,6 +279,7 @@ |
| 279 | }; | 279 | }; |
| 280 | //初始化发证方式,1:小证,2:大正 | 280 | //初始化发证方式,1:小证,2:大正 |
| 281 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; | 281 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; |
| 282 | this.czrOptions = this.ruleForm.qlrList; | ||
| 282 | } | 283 | } |
| 283 | }); | 284 | }); |
| 284 | }, | 285 | }, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-14 10:54:26 | 4 | * @LastEditTime: 2023-08-14 12:58:35 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="slxx"> | 7 | <div class="slxx"> |
| ... | @@ -182,6 +182,7 @@ | ... | @@ -182,6 +182,7 @@ |
| 182 | BatchInit(formdata).then((res) => { | 182 | BatchInit(formdata).then((res) => { |
| 183 | if (res.code == 200) { | 183 | if (res.code == 200) { |
| 184 | this.ruleForm = res.result; | 184 | this.ruleForm = res.result; |
| 185 | this.czrOptions = this.ruleForm.qlrList; | ||
| 185 | this.splicingFdcq2Info(); | 186 | this.splicingFdcq2Info(); |
| 186 | } | 187 | } |
| 187 | }) | 188 | }) | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-04 15:45:47 | 4 | * @LastEditTime: 2023-08-14 13:03:32 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -163,7 +163,7 @@ | ... | @@ -163,7 +163,7 @@ |
| 163 | </el-form-item> | 163 | </el-form-item> |
| 164 | </el-col> | 164 | </el-col> |
| 165 | </el-row> | 165 | </el-row> |
| 166 | <qlrCommonTable :tableData="ruleForm.qlrxx" :gyfs="ruleForm.gyfs" :disabled="!ableOperation" /> | 166 | <qlrCommonTable :tableData="ruleForm.qlrList" :gyfs="ruleForm.gyfs" :disabled="!ableOperation" /> |
| 167 | <div class="slxx_title title-block"> | 167 | <div class="slxx_title title-block"> |
| 168 | 登记原因 | 168 | 登记原因 |
| 169 | <div class="triangle"></div> | 169 | <div class="triangle"></div> |
| ... | @@ -206,6 +206,7 @@ | ... | @@ -206,6 +206,7 @@ |
| 206 | ...res.result.qlxxdatas, | 206 | ...res.result.qlxxdatas, |
| 207 | ...res.result.jsydsyqdatas, | 207 | ...res.result.jsydsyqdatas, |
| 208 | }; | 208 | }; |
| 209 | this.czrOptions = this.ruleForm.qlrList; | ||
| 209 | } | 210 | } |
| 210 | }); | 211 | }); |
| 211 | }, | 212 | }, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-14 10:27:43 | 4 | * @LastEditTime: 2023-08-14 13:04:38 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -283,7 +283,6 @@ | ... | @@ -283,7 +283,6 @@ |
| 283 | */ | 283 | */ |
| 284 | upDateTdytxxList (val) { | 284 | upDateTdytxxList (val) { |
| 285 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 285 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
| 286 | this.czrOptions = this.ruleForm.qlrList; | ||
| 287 | this.key++; | 286 | this.key++; |
| 288 | }, | 287 | }, |
| 289 | // 更新权利人信息 | 288 | // 更新权利人信息 | ... | ... |
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | <!-- | 2 | <!-- |
| 3 | * @Description: | 3 | * @Description: |
| 4 | * @Autor: renchao | 4 | * @Autor: renchao |
| 5 | * @LastEditTime: 2023-08-14 10:28:15 | 5 | * @LastEditTime: 2023-08-14 12:54:53 |
| 6 | --> | 6 | --> |
| 7 | <template> | 7 | <template> |
| 8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
| ... | @@ -232,6 +232,7 @@ | ... | @@ -232,6 +232,7 @@ |
| 232 | Init(formdata).then((res) => { | 232 | Init(formdata).then((res) => { |
| 233 | if (res.code === 200 && res.result) { | 233 | if (res.code === 200 && res.result) { |
| 234 | this.ruleForm = res.result; | 234 | this.ruleForm = res.result; |
| 235 | this.czrOptions = this.ruleForm.qlrList; | ||
| 235 | } | 236 | } |
| 236 | this.$endLoading(); | 237 | this.$endLoading(); |
| 237 | }); | 238 | }); | ... | ... |
| ... | @@ -267,6 +267,7 @@ | ... | @@ -267,6 +267,7 @@ |
| 267 | this.ruleForm.slsq.fzfs == null | 267 | this.ruleForm.slsq.fzfs == null |
| 268 | ? (this.ruleForm.slsq.fzfs = "1") | 268 | ? (this.ruleForm.slsq.fzfs = "1") |
| 269 | : this.ruleForm.slsq.fzfs; | 269 | : this.ruleForm.slsq.fzfs; |
| 270 | this.czrOptions = this.ruleForm.qlrList; | ||
| 270 | } | 271 | } |
| 271 | }); | 272 | }); |
| 272 | }, | 273 | }, |
| ... | @@ -314,7 +315,6 @@ | ... | @@ -314,7 +315,6 @@ |
| 314 | upDateTdytxxList (val) { | 315 | upDateTdytxxList (val) { |
| 315 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 316 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
| 316 | }, | 317 | }, |
| 317 | // 更新权利人信息 | ||
| 318 | /** | 318 | /** |
| 319 | * @description: 更新权利人信息 | 319 | * @description: 更新权利人信息 |
| 320 | * @param {*} val | 320 | * @param {*} val |
| ... | @@ -325,9 +325,8 @@ | ... | @@ -325,9 +325,8 @@ |
| 325 | this.czrOptions = this.ruleForm.qlrList; | 325 | this.czrOptions = this.ruleForm.qlrList; |
| 326 | this.key++; | 326 | this.key++; |
| 327 | }, | 327 | }, |
| 328 | // 更新权利人信息 | ||
| 329 | /** | 328 | /** |
| 330 | * @description: 更新权利人信息 | 329 | * @description: 更新业务人信息 |
| 331 | * @param {*} val | 330 | * @param {*} val |
| 332 | * @author: renchao | 331 | * @author: renchao |
| 333 | */ | 332 | */ | ... | ... |
| ... | @@ -258,12 +258,8 @@ | ... | @@ -258,12 +258,8 @@ |
| 258 | formdata.append("isEdit", this.ableOperation); | 258 | formdata.append("isEdit", this.ableOperation); |
| 259 | Init(formdata).then((res) => { | 259 | Init(formdata).then((res) => { |
| 260 | this.ruleForm = res.result; | 260 | this.ruleForm = res.result; |
| 261 | this.czrOptions = this.ruleForm.qlrList; | ||
| 261 | this.$endLoading(); | 262 | this.$endLoading(); |
| 262 | if (res.code === 200) { | ||
| 263 | } | ||
| 264 | else { | ||
| 265 | this.$alert(res.message, '提示'); | ||
| 266 | } | ||
| 267 | }) | 263 | }) |
| 268 | }, | 264 | }, |
| 269 | components: { qlrCommonTable, JtcyTable }, | 265 | components: { qlrCommonTable, JtcyTable }, | ... | ... |
| ... | @@ -263,12 +263,9 @@ | ... | @@ -263,12 +263,9 @@ |
| 263 | formdata.append("isEdit", this.ableOperation); | 263 | formdata.append("isEdit", this.ableOperation); |
| 264 | Init(formdata).then((res) => { | 264 | Init(formdata).then((res) => { |
| 265 | this.ruleForm = res.result; | 265 | this.ruleForm = res.result; |
| 266 | this.czrOptions = this.ruleForm.qlrList; | ||
| 266 | this.$endLoading(); | 267 | this.$endLoading(); |
| 267 | if (res.code === 200) { | 268 | |
| 268 | } | ||
| 269 | else { | ||
| 270 | this.$alert(res.message, '提示'); | ||
| 271 | } | ||
| 272 | }) | 269 | }) |
| 273 | }, | 270 | }, |
| 274 | components: { qlrCommonTable, JtcyTable }, | 271 | components: { qlrCommonTable, JtcyTable }, |
| ... | @@ -310,7 +307,6 @@ | ... | @@ -310,7 +307,6 @@ |
| 310 | } | 307 | } |
| 311 | }); | 308 | }); |
| 312 | }, | 309 | }, |
| 313 | //权利人更新 | ||
| 314 | /** | 310 | /** |
| 315 | * @description: 权利人更新 | 311 | * @description: 权利人更新 |
| 316 | * @param {*} val | 312 | * @param {*} val |
| ... | @@ -320,7 +316,6 @@ | ... | @@ -320,7 +316,6 @@ |
| 320 | this.ruleForm.qlrList = _.cloneDeep(val) | 316 | this.ruleForm.qlrList = _.cloneDeep(val) |
| 321 | this.czrOptions = this.ruleForm.qlrList; | 317 | this.czrOptions = this.ruleForm.qlrList; |
| 322 | }, | 318 | }, |
| 323 | // 更新义务人信息 | ||
| 324 | /** | 319 | /** |
| 325 | * @description: 更新义务人信息 | 320 | * @description: 更新义务人信息 |
| 326 | * @param {*} val | 321 | * @param {*} val | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-04 15:51:27 | 4 | * @LastEditTime: 2023-08-14 13:06:03 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -358,6 +358,7 @@ | ... | @@ -358,6 +358,7 @@ |
| 358 | Init(formdata).then((res) => { | 358 | Init(formdata).then((res) => { |
| 359 | this.$nextTick(() => { | 359 | this.$nextTick(() => { |
| 360 | that.ruleForm = res.result; | 360 | that.ruleForm = res.result; |
| 361 | this.czrOptions = this.ruleForm.qlrList; | ||
| 361 | that.$endLoading(); | 362 | that.$endLoading(); |
| 362 | that.isShow = true; | 363 | that.isShow = true; |
| 363 | this.czrOptions = this.ruleForm.qlrList; | 364 | this.czrOptions = this.ruleForm.qlrList; |
| ... | @@ -403,7 +404,6 @@ | ... | @@ -403,7 +404,6 @@ |
| 403 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 404 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
| 404 | this.key++; | 405 | this.key++; |
| 405 | }, | 406 | }, |
| 406 | // 更新权利人信息 | ||
| 407 | /** | 407 | /** |
| 408 | * @description: 更新权利人信息 | 408 | * @description: 更新权利人信息 |
| 409 | * @param {*} val | 409 | * @param {*} val | ... | ... |
| ... | @@ -228,8 +228,8 @@ | ... | @@ -228,8 +228,8 @@ |
| 228 | formdata.append("isEdit", this.ableOperation); | 228 | formdata.append("isEdit", this.ableOperation); |
| 229 | Init(formdata).then(res => { | 229 | Init(formdata).then(res => { |
| 230 | if (res.code === 200 && res.result) { | 230 | if (res.code === 200 && res.result) { |
| 231 | console.log(res.result.ygdj.ygdjzlmc); | ||
| 232 | this.ruleForm = res.result; | 231 | this.ruleForm = res.result; |
| 232 | this.czrOptions = this.ruleForm.qlrList; | ||
| 233 | this.$endLoading(); | 233 | this.$endLoading(); |
| 234 | } | 234 | } |
| 235 | }) | 235 | }) |
| ... | @@ -258,7 +258,6 @@ | ... | @@ -258,7 +258,6 @@ |
| 258 | }; | 258 | }; |
| 259 | }, | 259 | }, |
| 260 | methods: { | 260 | methods: { |
| 261 | // 更新权利人信息 | ||
| 262 | /** | 261 | /** |
| 263 | * @description: 更新权利人信息 | 262 | * @description: 更新权利人信息 |
| 264 | * @param {*} val | 263 | * @param {*} val |
| ... | @@ -268,9 +267,8 @@ | ... | @@ -268,9 +267,8 @@ |
| 268 | this.ruleForm.qlrList = _.cloneDeep(val); | 267 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 269 | this.czrOptions = this.ruleForm.qlrList | 268 | this.czrOptions = this.ruleForm.qlrList |
| 270 | }, | 269 | }, |
| 271 | // 更新权利人信息 | ||
| 272 | /** | 270 | /** |
| 273 | * @description: 更新权利人信息 | 271 | * @description: 更新业务人信息 |
| 274 | * @param {*} val | 272 | * @param {*} val |
| 275 | * @author: renchao | 273 | * @author: renchao |
| 276 | */ | 274 | */ | ... | ... |
| ... | @@ -198,6 +198,7 @@ | ... | @@ -198,6 +198,7 @@ |
| 198 | if (res.code === 200 && res.result) { | 198 | if (res.code === 200 && res.result) { |
| 199 | this.$endLoading(); | 199 | this.$endLoading(); |
| 200 | this.ruleForm = res.result; | 200 | this.ruleForm = res.result; |
| 201 | this.czrOptions = this.ruleForm.qlrList; | ||
| 201 | } | 202 | } |
| 202 | }); | 203 | }); |
| 203 | }, | 204 | }, |
| ... | @@ -242,7 +243,7 @@ | ... | @@ -242,7 +243,7 @@ |
| 242 | this.czrOptions = this.ruleForm.qlrList; | 243 | this.czrOptions = this.ruleForm.qlrList; |
| 243 | }, | 244 | }, |
| 244 | /** | 245 | /** |
| 245 | * @description: 更新权利人信息 | 246 | * @description: 更新业务人信息 |
| 246 | * @param {*} val | 247 | * @param {*} val |
| 247 | * @author: renchao | 248 | * @author: renchao |
| 248 | */ | 249 | */ | ... | ... |
| ... | @@ -260,6 +260,7 @@ | ... | @@ -260,6 +260,7 @@ |
| 260 | Init(formdata).then((res) => { | 260 | Init(formdata).then((res) => { |
| 261 | if (res.code === 200 && res.result) { | 261 | if (res.code === 200 && res.result) { |
| 262 | that.ruleForm = res.result; | 262 | that.ruleForm = res.result; |
| 263 | this.czrOptions = this.ruleForm.qlrList; | ||
| 263 | setTimeout(() => { | 264 | setTimeout(() => { |
| 264 | that.loading = false | 265 | that.loading = false |
| 265 | }, 300) | 266 | }, 300) | ... | ... |
| ... | @@ -222,9 +222,8 @@ | ... | @@ -222,9 +222,8 @@ |
| 222 | bacthInit(formdata).then((res) => { | 222 | bacthInit(formdata).then((res) => { |
| 223 | this.$endLoading(); | 223 | this.$endLoading(); |
| 224 | if (res.code === 200 && res.result) { | 224 | if (res.code === 200 && res.result) { |
| 225 | this.$nextTick(() => { | ||
| 226 | this.ruleForm = res.result; | 225 | this.ruleForm = res.result; |
| 227 | }) | 226 | this.czrOptions = this.ruleForm.qlrList; |
| 228 | } else { | 227 | } else { |
| 229 | this.$message.error(res.message); | 228 | this.$message.error(res.message); |
| 230 | } | 229 | } | ... | ... |
| ... | @@ -274,8 +274,8 @@ | ... | @@ -274,8 +274,8 @@ |
| 274 | Init(formdata).then((res) => { | 274 | Init(formdata).then((res) => { |
| 275 | if (res.code === 200 && res.result) { | 275 | if (res.code === 200 && res.result) { |
| 276 | this.ruleForm = res.result; | 276 | this.ruleForm = res.result; |
| 277 | this.czrOptions = this.ruleForm.qlrList; | ||
| 277 | this.$endLoading(); | 278 | this.$endLoading(); |
| 278 | //this.ruleForm.diyaq.sfczjzhxz = "0"; | ||
| 279 | } | 279 | } |
| 280 | }) | 280 | }) |
| 281 | }, | 281 | }, | ... | ... |
-
Please register or sign in to post a comment