def queRen(self): time.sleep(random.randint(1,3)) loginUser = self.loginItems['wggly']['user']#核实人 dataObject = {} dataObject['loginUser'] = loginUser dataObject['eorcId'] = getConstant.EORCID_SJ #事件 dataObject['eventtypeoneId'] = getConstant.SJ_JMZX #大类 dataObject['eventtypetwoId'] = getConstant.SJ_JMZX_LTSK #小类 dataObject['regioncodeId'] = '220206' #高新开发区 dataObject['bgcodeId'] = '220206001' #高新开发区街道 dataObject['needconfirm'] = getConstant.NEEDCONFIRM_NO #不核实 dataObject['isFh'] = getConstant.ISFH_NO #不复核 qr_picpath = "E:/test/dcms/ChengGuan/testFile/img/36.png" qr_img = ('img.png', open(qr_picpath,'rb'),'multipart/form-data') dataObject['upload'] = qr_img qr_res = confirm(dataObject).test_web_UnconfirmedDetail() if qr_res: logging.info("*****4.web确认案卷完毕*****")
def queRen(self, userItem): """ web端坐席确认案卷 """ time.sleep(random.randint(1, 3)) userItem['id'] = userItem['hsfhUser']['id'] userItem['name'] = userItem['hsfhUser']['name'] userItem['mposl'] = '14088724.001551798' #经度 userItem['mposb'] = '5448421.821538827' #维度 userItem['regioncodeId'] = '220299' #区编码 userItem['bgcodeId'] = '220299027' #街道编码 qr_picpath = "E:/test/dcms/ChengGuan/testFile/img/36.png" qr_img = ('img.png', open(qr_picpath, 'rb'), 'multipart/form-data') userItem['upload'] = qr_img qr_res = confirm(userItem).test_web_UnconfirmedDetail() if qr_res: logging.info("*****4.web确认案卷完毕*****") return qr_res
def queRen(self): time.sleep(random.randint(1,3)) dataObject = self.loginItems['zfj']['user']#核实人 dataObject['oderNumber'] = self.oderNumber #工单号 dataObject['eorcId'] = getConstant.EORCID_SJ #事件 dataObject['eventtypeoneId'] = getConstant.SJ_SGGL #大类 dataObject['eventtypetwoId'] = getConstant.SJ_SGGL_WZJL #小类 dataObject['regioncodeId'] = '220206' #高新开发区 dataObject['bgcodeId'] = '220206001' #高新开发区街道 # dataObject['gridId'] = '22020600100706' #万米网格 # dataObject['fieldintro'] = '吉林市 高新开发区 高新开发区街道 日升社区 日升社区第六网格' #位置描述 dataObject['needconfirm'] = getConstant.NEEDCONFIRM_YES #核实 dataObject['isFh'] = getConstant.ISFH_YES #复核 qr_picpath = "E:/test/dcms/ChengGuan/testFile/img/36.png" qr_img = ('img.png', open(qr_picpath,'rb'),'multipart/form-data') dataObject['upload'] = qr_img qr_res = confirm(dataObject).test_web_UnconfirmedDetail() if qr_res: logging.info("*****4.web确认案卷完毕*****") return True
def test_4queRen_lc5(self): time.sleep(random.randint(1, 3)) loginUser = self.loginItems['wggly']['user'] #核实人 dataObject = {} dataObject['loginUser'] = loginUser dataObject['eorcId'] = getConstant.EORCID_BJ #部件 dataObject['eventtypeoneId'] = getConstant.BJ_GGSS #大类 dataObject['eventtypetwoId'] = getConstant.BJ_GGSS_RLJG #小类 dataObject['regioncodeId'] = '220299' #高新开发区 dataObject['bgcodeId'] = '220299040' #高新开发区街道 # dataObject['gridId'] = '22020600100706' #万米网格 # dataObject['fieldintro'] = '吉林市 高新开发区 高新开发区街道 日升社区 日升社区第六网格' #位置描述 dataObject['needconfirm'] = getConstant.NEEDCONFIRM_YES #核实 dataObject['isFh'] = getConstant.ISFH_NO #复核 qr_picpath = "E:/test/dcms/ChengGuan/testFile/img/35.png" qr_img = ('img.png', open(qr_picpath, 'rb'), 'multipart/form-data') dataObject['upload'] = qr_img webqueren_res = confirm(dataObject).test_web_UnconfirmedDetail() if webqueren_res: logging.info("*****4.web确认案卷完毕*****")