Merge pull request '修改弹框标题' (#17) from zhoumingxiu into main

Reviewed-on: http://117.73.11.115:3000/Tony/god-ytr/pulls/17
This commit is contained in:
ming 2024-01-04 11:08:16 +08:00
commit bcf9329a04
2 changed files with 15 additions and 15 deletions

View File

@ -130,7 +130,7 @@
@pagination="getList" @pagination="getList"
/> />
<!-- 添加或修改AI识别算法开发对话框 --> <!-- 添加或修改微米颗粒度数据对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="100px"> <el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-form-item label="轧辊编号" prop="reserveTwo"> <el-form-item label="轧辊编号" prop="reserveTwo">
@ -213,7 +213,7 @@ export default {
showSearch: true, showSearch: true,
// //
total: 0, total: 0,
// AI //
godUniversalElectricMeterList: [], godUniversalElectricMeterList: [],
// //
title: "", title: "",
@ -252,7 +252,7 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
/** 查询AI识别算法开发列表 */ /** 查询微米颗粒度数据列表 */
getList() { getList() {
this.loading = true; this.loading = true;
listGodUniversalElectricMeter(this.queryParams).then(response => { listGodUniversalElectricMeter(this.queryParams).then(response => {
@ -276,8 +276,8 @@ export default {
reserveFour: null, reserveFour: null,
reserveFive: null, reserveFive: null,
reserveSix: null, reserveSix: null,
reserveSeven: null, reserveSeven: '正常',
reserveEight: null, reserveEight: '-',
reserveNine: null, reserveNine: null,
reserveTen: null, reserveTen: null,
reserveEleven: null, reserveEleven: null,
@ -310,7 +310,7 @@ export default {
handleAdd() { handleAdd() {
this.reset(); this.reset();
this.open = true; this.open = true;
this.title = "添加AI识别算法开发"; this.title = "添加微米颗粒度数据";
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
@ -319,7 +319,7 @@ export default {
getGodUniversalElectricMeter(id).then(response => { getGodUniversalElectricMeter(id).then(response => {
this.form = response.data; this.form = response.data;
this.open = true; this.open = true;
this.title = "修改AI识别算法开发"; this.title = "修改微米颗粒度数据";
}); });
}, },
/** 提交按钮 */ /** 提交按钮 */
@ -345,7 +345,7 @@ export default {
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
const ids = row.id || this.ids; const ids = row.id || this.ids;
this.$modal.confirm('是否确认删除AI识别算法开发编号为"' + ids + '"的数据项?').then(function () { this.$modal.confirm('是否确认删除微米颗粒度数据编号为"' + ids + '"的数据项?').then(function () {
return delGodUniversalElectricMeter(ids); return delGodUniversalElectricMeter(ids);
}).then(() => { }).then(() => {
this.getList(); this.getList();

View File

@ -130,9 +130,9 @@
@pagination="getList" @pagination="getList"
/> />
<!-- 添加或修改AI识别算法开发对话框 --> <!-- 添加或修改轧辊进回油油温数据对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-form-item label="轧辊编号" prop="reserveTwo"> <el-form-item label="轧辊编号" prop="reserveTwo">
<!-- <el-input v-model="form.reserveTwo" placeholder="请输入轧辊编号"/>--> <!-- <el-input v-model="form.reserveTwo" placeholder="请输入轧辊编号"/>-->
<el-select :disabled="disabled" v-model="form.reserveTwo" placeholder="请选择轧辊编号" style="width: 100%"> <el-select :disabled="disabled" v-model="form.reserveTwo" placeholder="请选择轧辊编号" style="width: 100%">
@ -213,7 +213,7 @@ export default {
showSearch: true, showSearch: true,
// //
total: 0, total: 0,
// AI //
godUniversalElectricMeterList: [], godUniversalElectricMeterList: [],
// //
title: "", title: "",
@ -252,7 +252,7 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
/** 查询AI识别算法开发列表 */ /** 查询轧辊进、回油油温数据列表 */
getList() { getList() {
this.loading = true; this.loading = true;
listGodUniversalElectricMeter(this.queryParams).then(response => { listGodUniversalElectricMeter(this.queryParams).then(response => {
@ -310,7 +310,7 @@ export default {
handleAdd() { handleAdd() {
this.reset(); this.reset();
this.open = true; this.open = true;
this.title = "添加AI识别算法开发"; this.title = "添加轧辊进、回油油温数据";
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
@ -319,7 +319,7 @@ export default {
getGodUniversalElectricMeter(id).then(response => { getGodUniversalElectricMeter(id).then(response => {
this.form = response.data; this.form = response.data;
this.open = true; this.open = true;
this.title = "修改AI识别算法开发"; this.title = "修改轧辊进、回油油温数据";
}); });
}, },
/** 提交按钮 */ /** 提交按钮 */
@ -345,7 +345,7 @@ export default {
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
const ids = row.id || this.ids; const ids = row.id || this.ids;
this.$modal.confirm('是否确认删除AI识别算法开发编号为"' + ids + '"的数据项?').then(function () { this.$modal.confirm('是否确认删除轧辊进、回油油温数据编号为"' + ids + '"的数据项?').then(function () {
return delGodUniversalElectricMeter(ids); return delGodUniversalElectricMeter(ids);
}).then(() => { }).then(() => {
this.getList(); this.getList();