locale ru
This commit is contained in:
@ -24,10 +24,18 @@
|
||||
</el-radio-group>
|
||||
|
||||
<el-table v-loading="loading" :data="dataList" style="margin-top: 20px">
|
||||
<!-- <el-table-column label="需求名称" align="center" prop="title" /> -->
|
||||
<el-table-column label="需求类别" align="center" prop="kind" />
|
||||
<!-- <el-table-column label="状态" align="center" prop="status" /> -->
|
||||
<el-table-column label="联系人" align="center" prop="name" />
|
||||
<!-- <el-zh-column :label="t('admin.form.name', {type: t('admin.common.demand')})" align="center" prop="title" /> -->
|
||||
<el-table-column
|
||||
:label="t('admin.form.category', { type: t('admin.common.demand') })"
|
||||
align="center"
|
||||
prop="kind"
|
||||
/>
|
||||
<!-- <el-zh-column :label="t('common.status')" align="center" prop="status" /> -->
|
||||
<el-table-column
|
||||
:label="t('admin.form.contact')"
|
||||
align="center"
|
||||
prop="name"
|
||||
/>
|
||||
<el-table-column label="手机号" align="center" prop="mobile" />
|
||||
<el-table-column
|
||||
label="发布时间"
|
||||
@ -40,7 +48,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="操作"
|
||||
:label="t('admin.common.operation')"
|
||||
align="center"
|
||||
class-name="small-padding fixed-width"
|
||||
>
|
||||
@ -51,7 +59,8 @@
|
||||
type="text"
|
||||
icon="Delete"
|
||||
@click="handleDelete(row.id)"
|
||||
>删除</el-button
|
||||
>
|
||||
{{ t("admin.common.delete") }}</el-button
|
||||
>
|
||||
<el-button
|
||||
v-if="queryParams.type == 0"
|
||||
@ -59,7 +68,7 @@
|
||||
type="text"
|
||||
icon="Close"
|
||||
@click="handleDelete(row.id)"
|
||||
>取消发布</el-button
|
||||
>{{ t("admin.common.cancel") }}发布</el-button
|
||||
>
|
||||
<el-button
|
||||
v-if="queryParams.type != 2"
|
||||
@ -94,9 +103,10 @@
|
||||
import { demandList } from "@/api/admin/enterprise";
|
||||
import { updateDemand } from "@/api/admin/enterprise/demand";
|
||||
import { ElMessage, ElMessageBox } from "element-plus";
|
||||
import { onActivated } from "vue";
|
||||
import { getCurrentInstance, onActivated } from "vue";
|
||||
import { useRouter } from "vue-router";
|
||||
|
||||
import { useI18n } from "vue-i18n";
|
||||
const { t } = useI18n();
|
||||
const { proxy } = getCurrentInstance();
|
||||
const router = useRouter();
|
||||
|
||||
|
Reference in New Issue
Block a user