Ejemplo n.º 1
0
 def get_field_depend(self, row):
     col = data_config.get_field_depend()
     depend_key = self.opera_excel.get_cell(row, col)
     if depend_key == "":
         return None
     else:
         return depend_key
Ejemplo n.º 2
0
 def get_depend_field(self, row):
     col = int(data_config.get_field_depend())
     data = self.oper_excel.get_cell_value(row, col)
     if data == '':
         return None
     else:
         return data
Ejemplo n.º 3
0
 def get_depend_field(self, row):
     col = data_config.get_field_depend()
     data = self.opera_excel.get_cell(row, col)
     if data == '':
         return None
     else:
         return data
Ejemplo n.º 4
0
 def is_depend(self, row):
     col = int(data_config.get_field_depend())
     depend_case_id = self.opera_excel.get_cell_vlaue(row, col)
     if depend_case_id == " ":
         return None
     else:
         return depend_case_id
Ejemplo n.º 5
0
 def get_depend_field(self, row):
     col = int(data_config.get_field_depend())
     depend_field = self.opera_exel.get_cell_value(row, col)
     if depend_field == "":
         return None
     else:
         return depend_field
Ejemplo n.º 6
0
 def get_depend_field(self, row):
     """获取数据依赖字段"""
     col = data_config.get_field_depend()
     data = self.opera_excel.get_cell_value(row, col)
     if data == "":
         return None
     else:
         return data
Ejemplo n.º 7
0
 def get_depend_field(self, row):
     """获取请求依赖 字段"""
     column = int(data_config.get_field_depend())
     data = self.use_excel.get_cell_value(row, column)
     if data == "":
         return None
     else:
         return data
Ejemplo n.º 8
0
 def get_depend_field(self,row):
     col = int(data_config.get_field_depend())
     depend_data = self.opera_excel.get_cell_velue(row,col)
     if depend_data == "":
         return None
     else:
         print('依赖的字段:',depend_data)
         return depend_data
Ejemplo n.º 9
0
 def get_depend_field(self, row):
     # 等会要处理出列表
     col = int(data_config.get_field_depend())
     data = self.opera_excel.get_cell_value(row, col)
     if data == "":
         return None
     else:
         if "#" in data:
             datalist = data.split("#")
             return datalist
         else:
             return data
Ejemplo n.º 10
0
 def get_depend_field(self, row):
     """
     获取依赖字段
     :param row:
     :return:
     """
     col = int(data_config.get_field_depend())
     data = self.opera_excel.get_cell_value(row, col)
     if data == "":
         return None
     else:
         return data
Ejemplo n.º 11
0
 def get_depend_source_key(self, row):
     col = data_config.get_field_depend()
     depend_source_key = OperateExcel().get_cell_value(row, col)
     return depend_source_key