bufix 0705 zentao
This commit is contained in:
@@ -30,7 +30,6 @@
|
||||
v-if="!!temperatureDialogVisible"
|
||||
:dialog-visible.sync="temperatureDialogVisible"
|
||||
@refreshDataList="getAList" />
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -75,7 +74,7 @@ export default {
|
||||
width: 90,
|
||||
subcomponent: TableOperaionComponent,
|
||||
options: [
|
||||
{ name: "temperature", label: "烧制温度", icon: "odometer", color: '#ff4d00' },
|
||||
{ name: "temperature", label: "烧制温度", icon: "odometer", color: "#ff4d00" },
|
||||
{ name: "to-car-payload", label: "装载详情", icon: "shopping-cart-full" }, // or el-icon-box
|
||||
// { name: "delete", label: "删除", icon: "delete", emitFull: true, promptField: "code" },
|
||||
],
|
||||
@@ -143,6 +142,7 @@ export default {
|
||||
if (deleteConfig && "promptField" in deleteConfig) {
|
||||
promptName = data[deleteConfig.promptField];
|
||||
}
|
||||
let currenPageListLength = this.dataList.length;
|
||||
// 确认是否删除
|
||||
return this.$confirm(`确定要删除记录 "${promptName}" 吗?`, "提示", {
|
||||
confirmButtonText: "确认",
|
||||
@@ -163,8 +163,9 @@ export default {
|
||||
if (res.code === 0) {
|
||||
this.$message.success("删除成功!");
|
||||
|
||||
this.page = 1;
|
||||
this.size = 10;
|
||||
// this.page = 1;
|
||||
// this.size = 10;let currenPageListLength = this.dataList.length;
|
||||
if (currenPageListLength == 1) this.page = this.page > 1 ? this.page - 1 : 1;
|
||||
this.getList();
|
||||
} else {
|
||||
this.$message({
|
||||
|
||||
Reference in New Issue
Block a user