update i18n
This commit is contained in:
@ -38,7 +38,7 @@
|
||||
/>
|
||||
<el-table-column label="手机号" align="center" prop="mobile" />
|
||||
<el-table-column
|
||||
label="发布时间"
|
||||
:label="t('admin.table.publishTime')"
|
||||
align="center"
|
||||
prop="createTime"
|
||||
width="180"
|
||||
@ -103,6 +103,7 @@
|
||||
import { demandList } from "@/api/admin/enterprise";
|
||||
import { updateDemand } from "@/api/admin/enterprise/demand";
|
||||
import { ElMessage, ElMessageBox } from "element-plus";
|
||||
import modal from "@/plugins/modal";
|
||||
import { getCurrentInstance, onActivated } from "vue";
|
||||
import { useRouter } from "vue-router";
|
||||
import { useI18n } from "vue-i18n";
|
||||
@ -171,7 +172,8 @@ function resetQuery() {
|
||||
}
|
||||
/** 删除按钮操作 */
|
||||
function handleDelete(id) {
|
||||
ElMessageBox.confirm('是否确认删除订单号为"' + id + '"的数据项?')
|
||||
modal
|
||||
.confirm('是否确认删除订单号为"' + id + '"的数据项?')
|
||||
.then(function () {
|
||||
return demandDelete(postIds);
|
||||
})
|
||||
@ -187,7 +189,8 @@ function handleEdit(id) {
|
||||
|
||||
// 修改为完成状态
|
||||
const complete = (id) => {
|
||||
ElMessageBox.confirm(`是否确认结束编号为${id}的数据项?`)
|
||||
modal
|
||||
.confirm(`是否确认结束编号为${id}的数据项?`)
|
||||
.then(async () => {
|
||||
await updateDemand({ id, status: 4 });
|
||||
getList();
|
||||
|
Reference in New Issue
Block a user