|
@@ -148,7 +148,7 @@ void ProjectDialog::clearFormData() {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- ui->comboBoxBlast->setEditText("请选择爆破员");
|
|
|
+ ui->comboBoxBlast->setEditText("请选择井下爆破员");
|
|
|
}
|
|
|
|
|
|
if (ui->comboBoxOperator->model()) {
|
|
@@ -161,7 +161,7 @@ void ProjectDialog::clearFormData() {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- ui->comboBoxOperator->setEditText("请选择操作员");
|
|
|
+ ui->comboBoxOperator->setEditText("请选择井上爆破员");
|
|
|
}
|
|
|
|
|
|
// 清除普通ComboBox
|
|
@@ -207,12 +207,12 @@ void ProjectDialog::validateAndSaveProject() {
|
|
|
}
|
|
|
|
|
|
if (selectedBlasters.isEmpty()) {
|
|
|
- QMessageBox::warning(nullptr, "选择错误", "请至少选择一名爆破员!");
|
|
|
+ QMessageBox::warning(nullptr, "选择错误", "请至少选择一名井下爆破员!");
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (selectedOperators.isEmpty()) {
|
|
|
- QMessageBox::warning(nullptr, "选择错误", "请至少选择一名操作员!");
|
|
|
+ QMessageBox::warning(nullptr, "选择错误", "请至少选择一名井上爆破员!");
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -274,7 +274,7 @@ void ProjectDialog::setFormData(const HProject &Project) {
|
|
|
ui->editRegCount->setText(Project.getBlastCount());
|
|
|
ui->level4Address->setText(Project.getLevel4Address());
|
|
|
|
|
|
- // 设置爆破员多选
|
|
|
+ // 设置井下爆破员多选
|
|
|
QStringList blasterNames = Project.getBlasterName().split(", ");
|
|
|
QStringList blasterIdList = Project.getBlasterIdentity().split(",");
|
|
|
QStandardItemModel *blastModel = qobject_cast<QStandardItemModel *>(ui->comboBoxBlast->model());
|
|
@@ -287,7 +287,7 @@ void ProjectDialog::setFormData(const HProject &Project) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // 设置操作员多选
|
|
|
+ // 设置井上爆破员多选
|
|
|
QStringList operatorNames = Project.getOperatorName().split(", ");
|
|
|
QStringList operatorIdList = Project.getOperatorIdentity().split(",");
|
|
|
QStandardItemModel *operatorModel = qobject_cast<QStandardItemModel *>(ui->comboBoxOperator->model());
|
|
@@ -381,7 +381,7 @@ void ProjectDialog::updateSelectedBlasters() {
|
|
|
|
|
|
// 更新显示的文本
|
|
|
if (selectedBlasters.isEmpty()) {
|
|
|
- ui->comboBoxBlast->setEditText("请选择爆破员");
|
|
|
+ ui->comboBoxBlast->setEditText("请选择井下爆破员");
|
|
|
} else {
|
|
|
ui->comboBoxBlast->setEditText(selectedBlasters.join(", "));
|
|
|
}
|
|
@@ -404,7 +404,7 @@ void ProjectDialog::updateSelectedOperators() {
|
|
|
|
|
|
// 更新显示的文本
|
|
|
if (selectedOperators.isEmpty()) {
|
|
|
- ui->comboBoxOperator->setEditText("请选择操作员");
|
|
|
+ ui->comboBoxOperator->setEditText("请选择井上爆破员");
|
|
|
} else {
|
|
|
ui->comboBoxOperator->setEditText(selectedOperators.join(", "));
|
|
|
}
|