Esempio n. 1
0
 def test_3gongDan_lc2(self):
     time.sleep(random.randint(1, 3))
     markPath = getConstant.PROJECT_PATH + "/common/numberMark.txt"
     mark = writeAndReadTextFile().test_read_txt(markPath)
     dict_mark = json.loads(mark)
     number = int(dict_mark['zfj_sb']) + 1
     orderData = self.loginItems['zfj']['user']
     orderData['eorcid'] = getConstant.EORCID_BJ  #事部件类型
     orderData['fieldintro'] = '吉林市 高新开发区 高新开发区街道 恒厦社区 恒厦社区第九网格'
     orderData['mposl'] = '14088524.212997204'
     orderData['description'] = '流程八,路面不干净' + str(number)
     orderData['eventtypeoneId'] = getConstant.BJ_GGSS  #大类
     orderData['gridid'] = '22020600100109'
     # orderData['bgadminId'] =  #上报人id
     orderData['eventtypetwoId'] = getConstant.BJ_GGSS_DLJG  #小类
     orderData['mposb'] = '5437559.658689937'
     sb_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/24.png"
     sb_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/25.png"
     # hs_picpath3 = "E:/test/dcms/ChengGuan/testFile/img/12.png"
     orderData['imgPath'] = [sb_picpath1, sb_picpath2]
     res = submitOrder(orderData).test_app_submitOrder()
     # print(sm_res)
     if res:
         dict_mark["zfj_sb"] = str(number)
         writeAndReadTextFile().test_write_txt(markPath,
                                               json.dumps(dict_mark))
         logging.info("*****3.执法局上报案卷完毕*****")
     else:
         logging.info("XXXXXXXXXX3.执法局上报案卷失败XXXXXXXXXX")
Esempio n. 2
0
 def test_03gongDan_lc2(self):
     time.sleep(random.randint(1, 3))
     markPath = getConstant.PROJECT_PATH + "/common/numberMark.txt"
     mark = writeAndReadTextFile().test_read_txt(markPath)
     dict_mark = json.loads(mark)
     number = int(dict_mark['sm_sb']) + 1
     orderData = self.loginItems['sm']['result']
     orderData['longitude'] = '14090823.883200558'
     orderData['latitude'] = '5446737.409308622'
     orderData['complaincontent'] = '流程十一,设施脏污' + str(number)  #描述
     orderData['bgcode'] = '220202003001'  #网格
     orderData['bgcodename'] = '锦东社区'  #地址
     orderData['gridid'] = '220202003001'
     orderData['wxsource'] = 'GZHJB'
     orderData[
         'imgurl'] = '/image/20181008/f7bffd2e16154c8f817f5fc1b442f21d.jpg'
     orderData['eorcid'] = getConstant.EORCID_SJ
     orderData['eventoneid'] = getConstant.SJ_JMZX
     orderData['eventtwoid'] = getConstant.SJ_JMZX_LTSK
     res = submitOrder(orderData).test_app_sm_submitOrder()
     if res:
         dict_mark["sm_sb"] = str(number)
         writeAndReadTextFile().test_write_txt(markPath,
                                               json.dumps(dict_mark))
         logging.info("*****3.市民上报案卷完毕*****")
Esempio n. 3
0
    def anJuanShangBao_zfj(self, orderData):
        """
        执法局apk上报案卷
        """
        time.sleep(random.randint(1, 3))
        markPath = getConstant.PROJECT_PATH + "/common/numberMark.txt"
        mark = writeAndReadTextFile().test_read_txt(markPath)
        dict_mark = json.loads(mark)
        number = int(dict_mark['zfj_sb']) + 1
        # orderData = self.loginItems['zfj']['user']

        orderData['id'] = orderData['sbUser']['id']
        # orderData['eorcid'] = getConstant.EORCID_SJ #事部件类型
        orderData['fieldintro'] = '吉林市 高新开发区 高新开发区街道 恒厦社区 恒厦社区第九网格'
        orderData['mposl'] = '14088524.212997204'
        orderData['description'] = '流程三,路面不干净' + str(number)
        # orderData['eventtypeoneId'] = getConstant.SJ_SRHJ #大类  市容环境
        orderData['gridid'] = '22020600100109'
        # orderData['bgadminId'] =  #上报人id
        # orderData['eventtypetwoId'] = getConstant.SJ_SRHJ_DLBJ #小类   道路不洁
        orderData['mposb'] = '5437559.658689937'  #执法局上报案卷(移动端)
        sb_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/24.png"
        sb_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/25.png"
        # hs_picpath3 = "E:/test/dcms/ChengGuan/testFile/img/12.png"
        orderData['imgPath'] = [sb_picpath1, sb_picpath2]
        res = submitOrder(orderData).test_app_submitOrder()
        if res:
            dict_mark["zfj_sb"] = str(number)
            writeAndReadTextFile().test_write_txt(markPath,
                                                  json.dumps(dict_mark))
            logging.info("*****3.执法局上报案卷完毕*****")
            return {'description': number}
Esempio n. 4
0
 def gongDan(self):
     time.sleep(random.randint(1, 3))
     markPath = getConstant.PROJECT_PATH + "/common/numberMark.txt"
     mark = writeAndReadTextFile().test_read_txt(markPath)
     dict_mark = json.loads(mark)
     number = int(dict_mark['zfj_sb']) + 1
     orderData = self.loginItems['zfj']['user']
     orderData['eorcid'] = getConstant.EORCID_SJ  #事部件类型
     orderData['fieldintro'] = '吉林市 经济开发区 工厂 鑫海实业 '
     orderData['mposl'] = '14077292.84373848'
     orderData['description'] = "流程四,经开区道路不干净,环境脏乱差" + str(number)
     orderData['eventtypeoneId'] = getConstant.SJ_JMZX  #大类  街面秩序
     orderData['gridid'] = '220298205118'
     # orderData['bgadminId'] =  #上报人id
     orderData['eventtypetwoId'] = getConstant.SJ_JMZX_LDLF  #小类  乱堆乱放
     orderData['mposb'] = '5459844.618760589'
     sb_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/26.png"
     sb_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/27.png"
     orderData['imgPath'] = [sb_picpath1, sb_picpath2]
     res = submitOrder(orderData).test_app_submitOrder()
     if res:
         dict_mark["zfj_sb"] = str(number)
         writeAndReadTextFile().test_write_txt(markPath,
                                               json.dumps(dict_mark))
         logging.info("*****3.%s上报案卷完毕*****" % orderData['name'])
     else:
         logging.info("XXXXXXXXXX3.%s执法局上报案卷失败XXXXXXXXXX" %
                      orderData['name'])
Esempio n. 5
0
 def anJuanShangBao_xjsb(self, orderData):
     """
     执法局apk 》巡检上报案卷
     """
     time.sleep(random.randint(1, 3))
     markPath = getConstant.PROJECT_PATH + "/common/numberMark.txt"
     mark = writeAndReadTextFile().test_read_txt(markPath)
     dict_mark = json.loads(mark)
     number = int(dict_mark['zfj_sb']) + 1
     orderData['id'] = orderData['sbUser']['id']
     orderData['name'] = orderData['sbUser']['name']
     orderData['fieldintro'] = '吉林市 市管主街路 越山路 越山路 越山路(沙河子广场-解放中路)'
     orderData['gridid'] = '22029904000101'
     orderData['description'] = '流程五,建筑垃圾,渣土管理' + str(number)
     orderData['mposl'] = '14086190.785638873'
     orderData['mposb'] = '5441341.7074305825'
     res = submitOrder(orderData).test_app_reportInspection()
     if res:
         dict_mark["zfj_sb"] = str(number)
         writeAndReadTextFile().test_write_txt(markPath,
                                               json.dumps(dict_mark))
         logging.info("*****3.%s上报案卷完毕*****" % orderData['name'])
         return {'description': number}
     else:
         logging.info("XXXXXXXXXX3.执法局%s上报案卷失败XXXXXXXXXX" %
                      orderData['name'])
Esempio n. 6
0
 def gongDan(self):
     time.sleep(random.randint(1, 3))
     markPath = getConstant.PROJECT_PATH + "/common/numberMark.txt"
     mark = writeAndReadTextFile().test_read_txt(markPath)
     dict_mark = json.loads(mark)
     number = int(dict_mark['wggly_sb']) + 1
     orderData = self.loginItems['wggly']['user']
     orderData['eorcid'] = getConstant.EORCID_BJ  #事部件类型
     orderData['fieldintro'] = '吉林市 高新开发区 高新开发区街道 恒厦社区 恒厦社区第九网格'
     orderData['mposl'] = '14088524.212997204'
     orderData['description'] = "流程四,道路不干净,环境脏乱差" + str(number)
     orderData['eventtypeoneId'] = getConstant.BJ_JTSS  #大类  市容环境
     orderData['gridid'] = '22020600100109'
     # orderData['bgadminId'] =  #上报人id
     orderData['eventtypetwoId'] = getConstant.BJ_JTSS_DXTD  #小类   道路不洁
     orderData['mposb'] = '5437559.658689937'
     sb_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/26.png"
     sb_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/27.png"
     orderData['imgPath'] = [sb_picpath1, sb_picpath2]
     res = submitOrder(orderData).test_app_submitOrder()
     if res:
         dict_mark["wggly_sb"] = str(number)
         writeAndReadTextFile().test_write_txt(markPath,
                                               json.dumps(dict_mark))
         logging.info("*****3.%s上报案卷完毕*****" % orderData['name'])
     else:
         logging.info("XXXXXXXXXX3.%s执法局上报案卷失败XXXXXXXXXX" %
                      orderData['name'])
Esempio n. 7
0
 def huiFu(self):
     gzItem = {}
     gzItem['resultprocess'] = '恢复'
     gzItem['operatingComments'] = '恢复案卷流程'
     gz_res = hangUp(gzItem).test_hangUpDetail()
     if gz_res == True:
         logging.info("*****6.web挂账案卷恢复成功*****")
Esempio n. 8
0
 def anJuanShangBao_wggly(self, orderData):
     """
     网格管理员apk 》案卷上报
     """
     time.sleep(random.randint(1, 3))
     markPath = getConstant.PROJECT_PATH + "/common/numberMark.txt"
     mark = writeAndReadTextFile().test_read_txt(markPath)
     dict_mark = json.loads(mark)
     number = int(dict_mark['wggly_sb']) + 1
     orderData['id'] = orderData['sbUser']['id']
     orderData['name'] = orderData['sbUser']['name']
     orderData['fieldintro'] = '吉林市 高新开发区 高新开发区街道 恒厦社区 恒厦社区第九网格'
     orderData['mposl'] = '14088524.212997204'
     orderData['description'] = "流程四,道路不干净,环境脏乱差" + str(number)
     orderData['gridid'] = '22020600100109'
     orderData['mposb'] = '5437559.658689937'
     sb_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/26.png"
     sb_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/27.png"
     orderData['imgPath'] = [sb_picpath1, sb_picpath2]
     res = submitOrder(orderData).test_app_submitOrder()
     if res:
         dict_mark["wggly_sb"] = str(number)
         writeAndReadTextFile().test_write_txt(markPath,
                                               json.dumps(dict_mark))
         logging.info("*****3.%s上报案卷完毕*****" % orderData['name'])
         return {'description': number}
     else:
         logging.info("XXXXXXXXXX3.%s执法局上报案卷失败XXXXXXXXXX" %
                      orderData['name'])
Esempio n. 9
0
 def anJuanShangBao_sm(self, orderData):
     """
     市民apk案卷上报
     """
     time.sleep(random.randint(1, 3))
     markPath = getConstant.PROJECT_PATH + "/common/numberMark.txt"
     mark = writeAndReadTextFile().test_read_txt(markPath)
     dict_mark = json.loads(mark)
     number = int(dict_mark['sm_sb']) + 1
     orderData['id'] = orderData['sbUser']['id']
     orderData['name'] = orderData['sbUser']['name']
     orderData['longitude'] = '14090823.883200558'
     orderData['latitude'] = '5446737.409308622'
     orderData['complaincontent'] = '流程二,设施脏污' + str(number)  #描述
     orderData['bgcode'] = '220202003001'  #网格
     orderData['bgcodename'] = '锦东社区'  #地址
     orderData['gridid'] = '220202003001'
     orderData['wxsource'] = 'GZHJB'
     orderData[
         'imgurl'] = '/image/20181008/f7bffd2e16154c8f817f5fc1b442f21d.jpg'
     orderData['is_login'] = orderData['sbUser']['is_login']
     orderData['token'] = orderData['sbUser']['token']
     orderData['phoneNumber'] = orderData['sbUser']['phoneNumber']
     res = submitOrder(orderData).test_app_sm_submitOrder()
     if res:
         dict_mark["sm_sb"] = str(number)
         writeAndReadTextFile().test_write_txt(markPath,
                                               json.dumps(dict_mark))
         logging.info("*****3.市民上报案卷完毕*****")
         return {'description': number}
Esempio n. 10
0
 def tiaoZhengPiShi(self):
     time.sleep(random.randint(1,2)) 
     dataItem = {}
     dataItem['resultprocess'] = "批准"
     dataItem['leaderComments'] = "批准了"
     tzpsOK = adjustmentApproval(dataItem).adjustmentApprovalDetail()
     if tzpsOK != False:
         logging.info("*****8.web端调整批示成功(%s)*****"%dataItem['resultprocess'])
Esempio n. 11
0
 def test_09huiFu(self):
     time.sleep(random.randint(1, 2))
     gzItem = {}
     gzItem['resultprocess'] = '恢复'
     gzItem['operatingComments'] = '恢复案卷流程'
     gz_res = hangUp(gzItem).test_hangUpDetail()
     if gz_res == True:
         logging.info("*****9.web挂账案卷恢复成功*****")
Esempio n. 12
0
 def chuLi(self):
     time.sleep(random.randint(1,2)) 
     cl_loginItem = self.loginItems['zfj']['user']
     cl_loginItem['resultprocess'] = '申请调整'   #不可更改
     cl_loginItem['operatingComments'] = '请求调整'  #
     cl_loginItem['applyReason'] = '非我辖区'  #调整原因
     cl_result = fileFandling(cl_loginItem).test_requestAdjustment()
     if cl_result:
         logging.info("*****7.移动端权属单位申请调整成功*****")
Esempio n. 13
0
 def test_11fuHe(self):
     hfItem = {}
     hfItem['resultprocess'] = '回访通过'
     hfItem['operatingComments'] = '回访用户很满意。'
     ff_result = reviewAndReturnVisit(hfItem).test_returnDetailsAndVisit()
     if ff_result:
         logging.info("*****11.web端回访完毕*****")
     else:
         logging.info("XXXXXXXXXX11.web端回访失败XXXXXXXXXX")
Esempio n. 14
0
 def test_09piZhunJieAn(self):
     time.sleep(random.randint(1,2)) 
     dataItem = {}
     dataItem['resultprocess'] = "批准"
     dataItem['leaderComments'] = "批准了"
     psres = Approval(dataItem).stayApprovalDetail()
     if psres:
         logging.info("*****9.web批示完毕(%s)*****"%dataItem['resultprocess'])  
     else:
         logging.info("*****9.web批示出错(%s)*****"%dataItem['resultprocess']) 
Esempio n. 15
0
 def huiFu(self):
     time.sleep(random.randint(1,2)) 
     gzItem = {}
     gzItem['oderNumber'] = self.oderNumber
     gzItem['resultprocess'] = '恢复'
     gzItem['operatingComments'] = '恢复案卷流程'
     gz_res = hangUp(gzItem).test_hangUpDetail()
     if gz_res:
         logging.info("6.web挂账案卷恢复成功")
         return True
Esempio n. 16
0
 def huiFang(self, userItem):
     """
     坐席回访【回访通过,回访不通过】
     """
     userItem['resultprocess'] = '回访通过'
     userItem['operatingComments'] = '回访用户很满意。'
     ff_result = reviewAndReturnVisit(userItem).test_returnDetailsAndVisit()
     if ff_result:
         logging.info("*****9.web端回访完毕*****")
     return ff_result
Esempio n. 17
0
 def test_5heShi_lc5(self):
     time.sleep(random.randint(1, 2))
     loginItem_hs = self.loginItems['wggly']['user']
     loginItem_hs['casestateid'] = getConstant.HSYX
     hs_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/33.png"
     hs_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/34.png"
     loginItem_hs['imgPath'] = [hs_picpath1, hs_picpath2]
     hs_res = verify(loginItem_hs).test_app_daiHeShiDetail()
     if hs_res:
         logging.info("*****5.网格管理员核实案卷完毕*****")
Esempio n. 18
0
 def liAn(self):
     time.sleep(random.randint(1,3)) 
     lianData = {}
     lianData['resultprocess'] = "立案"
     lianData['operatingComments'] = "批准立案"
     lian_result = setUpCase(lianData).test_detailsAndFiling()
     if lian_result:
         logging.info("*****5.web立案完毕*****")
     else:
         logging.info("*****5.web立案失败*****")
Esempio n. 19
0
 def heShi(self):
     time.sleep(random.randint(1,2))
     loginItem_hs = self.loginItems['zfj']['user']
     hs_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/10.png"
     hs_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/11.png"
     loginItem_hs['oderNumber'] = self.oderNumber #工单号
     loginItem_hs['imgPath'] = [hs_picpath1,hs_picpath2]
     loginItem_hs['casestateid'] = getConstant.HSYX
     hs_res = verify(loginItem_hs).test_app_daiHeShiDetail()
     if hs_res:
         logging.info("*****5.执法局核实案卷完毕(%s)*****"%(self.oderNumber))
Esempio n. 20
0
 def piShi(self):
     time.sleep(random.randint(1, 2))
     dataItem = {}
     dataItem['oderNumber'] = self.oderNumber
     dataItem['resultprocess'] = "批准"
     dataItem['leaderComments'] = "批准了"
     psres = Approval(dataItem).stayApprovalDetail()
     if psres:
         logging.info("*****8.web批示完毕(%s)*****" % dataItem['resultprocess'])
     else:
         logging.info("*****8.web批示出错(%s)*****" % dataItem['resultprocess'])
Esempio n. 21
0
 def chuLis(self):
     time.sleep(random.randint(1,2)) 
     cl_loginItem = self.loginItems['zfj']['user']
     cl_loginItem['resultprocess'] = '处理结束'
     cl_loginItem['operatingComments'] = '处理完成11'
     cl_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/15.png"
     cl_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/18.png"
     cl_loginItem['imgPath'] = [cl_picpath1,cl_picpath2]
     cl_result = fileFandling(cl_loginItem).test_app_handlingDetailsAndHandling()
     if cl_result:
         logging.info("*****10.移动端权属单位处理完毕*****")
Esempio n. 22
0
 def liAn(self):
     time.sleep(random.randint(1, 3))
     lianData = {}
     lianData['resultprocess'] = "立案"
     # lianData['startConditionId'] = "4028838358b04eb70158b310c8ba5295"  #立案条件?
     lianData['operatingComments'] = "批准立案"
     lian_result = setUpCase(lianData).test_detailsAndFiling()
     if lian_result:
         logging.info("*****4.web立案完毕*****")
     else:
         logging.info("*****4.web立案失败*****")
Esempio n. 23
0
 def test_06shenQingTiaoZheng(self):
     time.sleep(random.randint(1, 3))
     cl_loginItem = self.loginItems['zfj']['user']
     cl_loginItem['resultprocess'] = '申请调整'  #不可更改
     cl_loginItem['operatingComments'] = '请求调整'  #
     cl_loginItem['applyReason'] = '非我辖区'  #调整原因
     cl_result = fileFandling(cl_loginItem).test_requestAdjustment()
     if cl_result:
         logging.info("*****6.移动端权属单位申请调整成功*****")
     else:
         logging.info(
             "XXXXXXXXXXXXXXXXXXXXXX6.移动端权属单位申请调整失败XXXXXXXXXXXXXXXXXXX")
Esempio n. 24
0
 def fuHe_lc2(self):
     fh_loginUser = self.loginItems['wggly']['user']
     fh_loginUser['checkdesc'] = '经复核有效'
     fh_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/30.png"
     fh_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/31.png"
     fh_loginUser['imgPath'] = [fh_picpath1, fh_picpath2]
     fh_result = reviewAndReturnVisit(
         fh_loginUser).test_app_returnDetailsAndVisit()
     if fh_result:
         logging.info("*****7.移动端网格管理员复核完毕*****")
     else:
         logging.info("XXXXXXXXXX7.移动端网格管理员复核失败XXXXXXXXXX")
Esempio n. 25
0
 def liAn(self):
     time.sleep(random.randint(1,2)) 
     lianData = {}
     lianData['oderNumber'] = self.oderNumber #工单号
     lianData['resultprocess'] = "立案"
     lianData['operatingComments'] = "批准立案"
     lian_result = setUpCase(lianData).test_detailsAndFiling()
     if lian_result:
         logging.info("*****6.web立案完毕*****")
         return True
     else:
         logging.info("*****6.web立案失败*****")
Esempio n. 26
0
 def fuHe(self):
     time.sleep(random.randint(1,2))
     fh_loginUser = self.loginItems['zfj']['user']
     fh_loginUser['checkdesc'] = '经复核有效'
     fh_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/14.png"
     # fh_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/15.png"
     # fh_picpath3 = "E:/test/dcms/ChengGuan/testFile/img/16.png"
     fh_loginUser['oderNumber'] = self.oderNumber
     fh_loginUser['imgPath'] = [fh_picpath1]
     fh_result = reviewAndReturnVisit(fh_loginUser).test_app_returnDetailsAndVisit()
     if fh_result:
         logging.info("*****9.移动端执法局复核完毕*****")
Esempio n. 27
0
 def daiTiaoZheng(self):
     time.sleep(random.randint(1,2)) 
     dtz_dataItem = self.loginItems['zfj']['user']
     outDir = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
     dtz_dataItem['resultprocess'] = "派发"
     dtz_dataItem['limittime'] = outDir
     dtz_dataItem['operatingComments'] = "尽快处理"
     #待调整列表url
     dtz_dataItem['pflist_url'] = getConstant.dtz_ListUrl
     dtz_dataItem['pf_url'] = getConstant.pf_url
     paifa_result = distribution(dtz_dataItem).test_sendDetailsAndSendOut()
     if paifa_result:
         logging.info("*****9.web调整完毕*****")
Esempio n. 28
0
 def test_08feiZhengChangJieAn(self):
     time.sleep(random.randint(1,2))  
     dtz_loginItem = self.loginItems['qsdw']['user']
     dtz_loginItem['limittime'] = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
     dtz_loginItem['resultprocess'] = "申请非正常结案"
     dtz_loginItem['operatingComments'] = "流程无法继续,申请非正常结案"
     #待调整列表url
     dtz_loginItem['pflist_url'] = '/dcms/cwsCase/Case-adjustlist.action?casestate=40&menuId=402880822f9490ad012f949b98b4004c&keywords=402880eb2f90e905012f9138a5fb00a4'
     #申请非正常结案url
     dtz_loginItem['pf_url'] = '/dcms/cwsCase/Case-applyabnormal.action'
     paifa_result = distribution(dtz_loginItem).test_sendDetailsAndSendOut()
     if paifa_result:
         logging.info("*****8.web申请非正常结案完毕*****")    
Esempio n. 29
0
 def fuHe(self):
     time.sleep(random.randint(1,3)) 
     fh_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/6.png"
     fh_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/7.png"
     fh_loginUser = self.loginItems['wggly']['user']
     fh_loginUser['oderNumber'] = self.oderNumber
     fh_loginUser['casestateid'] = getConstant.FHYX  #复核通过、复核不通过
     fh_loginUser['checkdesc'] = '经复核有效'
     fh_loginUser['imgPath'] = [fh_picpath1,fh_picpath2]
     fh_result = reviewAndReturnVisit(fh_loginUser).test_app_returnDetailsAndVisit()
     if fh_result:
         logging.info("9.移动端网格管理员复核完毕")
         return True
Esempio n. 30
0
 def test_12fuHe(self):
     time.sleep(random.randint(1, 2))
     fh_loginUser = self.loginItems['wggly']['user']
     fh_loginUser['checkdesc'] = '经复核有效'
     fh_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/10.png"
     fh_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/11.png"
     fh_loginUser['imgPath'] = [fh_picpath1, fh_picpath2]
     fh_result = reviewAndReturnVisit(
         fh_loginUser).test_app_returnDetailsAndVisit()
     if fh_result:
         logging.info("*****12.移动端网格管理员复核完毕*****")
     else:
         logging.info("XXXXXXXXXX12.移动端网格管理员复核失败XXXXXXXXXX")