def on_pushButton_3_clicked(self): # 存储路径 savePath = self.lineEdit_2.text() # 生成manage 部分的TSX paramsItems = self.tableWidget_2.selectedIndexes() paramsIndexs = DataUtils.getSelectIndexs(paramsItems) filteredData = DataUtils.getSelectFilter(paramsIndexs, self.params) filteredData = DataUtils.convertSelectFilter(filteredData) CreaterTools.generateManage(savePath, filteredData, self.currentItem) self.label_7.setText('状态:生成Manage成功!') self.label_7.repaint()
def on_pushButton_clicked(self): # 存储路径 savePath = self.lineEdit_2.text() # 生成查询参数部分的Form表单TSX paramsItems = self.tableWidget_2.selectedIndexes() paramsIndexs = DataUtils.getSelectIndexs(paramsItems) filteredData = DataUtils.getSelectFilter(paramsIndexs, self.params) filteredData = DataUtils.convertSelectFilter(filteredData) CreaterTools.generateFilterForm(filteredData, savePath) self.label_7.setText(u'状态:生成FilterForm成功!') self.label_7.repaint()