修改文字名称

This commit is contained in:
yangjun 2026-01-05 16:13:13 +08:00
parent 34e7350da5
commit e6ece054c0
16 changed files with 41 additions and 41 deletions

View File

@ -189,7 +189,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'regional' dataIndex: 'regional'
}, },
{ {
title: '服务标签', title: '指令标签',
align: "center", align: "center",
dataIndex: 'serviceTag' dataIndex: 'serviceTag'
}, },
@ -230,7 +230,7 @@ export const superQuerySchema = {
qualification: {title: '资质证',order: 30,view: 'image', type: 'string',}, qualification: {title: '资质证',order: 30,view: 'image', type: 'string',},
noCrimeCertificate: {title: '无犯罪证明',order: 31,view: 'image', type: 'string',}, noCrimeCertificate: {title: '无犯罪证明',order: 31,view: 'image', type: 'string',},
regional: {title: '区域',order: 32,view: 'text', type: 'string',}, regional: {title: '区域',order: 32,view: 'text', type: 'string',},
serviceTag: {title: '服务标签',order: 33,view: 'text', type: 'string',}, serviceTag: {title: '指令标签',order: 33,view: 'text', type: 'string',},
}; };
@ -239,7 +239,7 @@ export const superQuerySchema = {
//列表数据 //列表数据
export const serviceTagcolumns: BasicColumn[] = [ export const serviceTagcolumns: BasicColumn[] = [
{ {
title: '服务标签名称', title: '指令标签名称',
align: "center", align: "center",
dataIndex: 'tagName', dataIndex: 'tagName',
width:'50%' width:'50%'
@ -268,7 +268,7 @@ export const employeesTagcolumns: BasicColumn[] = [
}, },
}, },
{ {
title: '服务标签名称', title: '指令标签名称',
align: "center", align: "center",
dataIndex: 'tagName', dataIndex: 'tagName',
width:'50%' width:'50%'

View File

@ -96,9 +96,9 @@
<template #overlay> <template #overlay>
<a-menu> <a-menu>
<a-menu-item @click="handleEdit(item)">编辑</a-menu-item> <a-menu-item @click="handleEdit(item)">编辑</a-menu-item>
<a-menu-item @click="handleFwbq(item)">服务标签</a-menu-item> <a-menu-item @click="handleFwbq(item)">指令标签</a-menu-item>
<a-menu-item @click="handleFpzh(item)">分配账号</a-menu-item> <a-menu-item @click="handleFpzh(item)">分配账号</a-menu-item>
<a-menu-item @click="handlePerssion(item)">分配角色</a-menu-item> <a-menu-item @click="handlePerssion(item)">权限标签</a-menu-item>
</a-menu> </a-menu>
</template> </template>
</a-dropdown> </a-dropdown>
@ -122,7 +122,7 @@
<!-- 表单区域 --> <!-- 表单区域 -->
<BizEmployeesInfoModal ref="registerModal" @success="handleSuccess"></BizEmployeesInfoModal> <BizEmployeesInfoModal ref="registerModal" @success="handleSuccess"></BizEmployeesInfoModal>
<!-- 服务标签 --> <!-- 指令标签 -->
<EmployeesServiceTagModal ref="registerServiceTagModal" @success="handleSuccess"></EmployeesServiceTagModal> <EmployeesServiceTagModal ref="registerServiceTagModal" @success="handleSuccess"></EmployeesServiceTagModal>
<!--用户抽屉--> <!--用户抽屉-->
<UserDrawer @register="registerDrawer" @success="handleSuccess" /> <UserDrawer @register="registerDrawer" @success="handleSuccess" />
@ -213,7 +213,7 @@ function handleFpzh(item) {
}) })
} }
// //
function handleFwbq(info) { function handleFwbq(info) {
registerServiceTagModal.value.disableSubmit = false; registerServiceTagModal.value.disableSubmit = false;
registerServiceTagModal.value.init(info); registerServiceTagModal.value.init(info);

View File

@ -1,7 +1,7 @@
<template> <template>
<BasicDrawer v-bind="$attrs" @register="registerDrawer" width="650px" destroyOnClose showFooter> <BasicDrawer v-bind="$attrs" @register="registerDrawer" width="650px" destroyOnClose showFooter>
<template #title> <template #title>
角色权限配置 角色标签配置
<a-dropdown> <a-dropdown>
<Icon icon="ant-design:more-outlined" class="more-icon" /> <Icon icon="ant-design:more-outlined" class="more-icon" />
<template #overlay> <template #overlay>
@ -27,7 +27,7 @@
:selectedKeys="selectedKeys" :selectedKeys="selectedKeys"
:clickRowToExpand="false" :clickRowToExpand="false"
:checkStrictly="true" :checkStrictly="true"
title="所拥有的的权限" title="所拥有的的角色标签"
@check="onCheck" @check="onCheck"
@select="onTreeNodeSelect" @select="onTreeNodeSelect"
> >

View File

@ -7,7 +7,7 @@
<BasicTable @register="registerTable" > <BasicTable @register="registerTable" >
<!--插槽:table标题--> <!--插槽:table标题-->
<template #tableTitle> <template #tableTitle>
<div class="title1Class">可选服务标签</div> <div class="title1Class">可选指令标签</div>
</template> </template>
<!--操作栏--> <!--操作栏-->
<template #action="{ record }"> <template #action="{ record }">
@ -19,7 +19,7 @@
</BasicTable> </BasicTable>
</div> </div>
<div style="padding: 8px;"> <div style="padding: 8px;">
<div class="title1Class">已选服务标签</div> <div class="title1Class">已选指令标签</div>
<a-table :dataSource="employeesDataSource" :columns="employeesTagcolumns" style="margin-top:8px;" bordered size="small" :pagination="false"> <a-table :dataSource="employeesDataSource" :columns="employeesTagcolumns" style="margin-top:8px;" bordered size="small" :pagination="false">
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'" > <template v-if="column.key === 'action'" >
@ -79,7 +79,7 @@ import { defHttp } from '/@/utils/http/axios';
//table //table
const { prefixCls,tableContext,onExportXls,onImportXls } = useListPage({ const { prefixCls,tableContext,onExportXls,onImportXls } = useListPage({
tableProps:{ tableProps:{
title: '员工配置的服务标签', title: '员工配置的指令标签',
api: getEmployeesList, api: getEmployeesList,
columns: serviceTagcolumns, columns: serviceTagcolumns,
canResize:false, canResize:false,
@ -132,7 +132,7 @@ import { defHttp } from '/@/utils/http/axios';
} }
/** /**
* 员工选择服务标签后的详情 * 员工选择指令标签后的详情
*/ */
function handleEmlDetail(record) { function handleEmlDetail(record) {
console.log(record); console.log(record);
@ -145,7 +145,7 @@ import { defHttp } from '/@/utils/http/axios';
}) })
} }
/** /**
* 服务标签列表详情 * 指令标签列表详情
*/ */
function handleDetail(record) { function handleDetail(record) {
rowA.value = 18; rowA.value = 18;
@ -175,7 +175,7 @@ import { defHttp } from '/@/utils/http/axios';
] ]
} }
// //
function getEmployessServiceTagsList(){ function getEmployessServiceTagsList(){
const model = {employeesId:employeesInfo.value.id}; const model = {employeesId:employeesInfo.value.id};
getEmployessServiceTags(model).then(item => { getEmployessServiceTags(model).then(item => {

View File

@ -20,7 +20,7 @@
* 新增 * 新增
*/ */
function init(record) { function init(record) {
title.value = '服务标签'; title.value = '指令标签';
visible.value = true; visible.value = true;
nextTick(() => { nextTick(() => {
registerForm.value.init(record); registerForm.value.init(record);

View File

@ -21,7 +21,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'nuId' dataIndex: 'nuId'
}, },
{ {
title: '区域标签', title: '区域属性',
align: "center", align: "center",
dataIndex: 'areaFlag_dictText' dataIndex: 'areaFlag_dictText'
}, },
@ -41,6 +41,6 @@ export const columns: BasicColumn[] = [
// 高级查询数据 // 高级查询数据
export const superQuerySchema = { export const superQuerySchema = {
nuName: {title: '区域名称',order: 0,view: 'text', type: 'string',}, nuName: {title: '区域名称',order: 0,view: 'text', type: 'string',},
areaFlag: {title: '区域标签',order: 1,view: 'list', type: 'string',dictCode: 'nu_type',}, areaFlag: {title: '区域属性',order: 1,view: 'list', type: 'string',dictCode: 'nu_type',},
status: {title: '使用状态',order: 2,view: 'list', type: 'string',dictCode: 'nu_status',}, status: {title: '使用状态',order: 2,view: 'list', type: 'string',dictCode: 'nu_status',},
}; };

View File

@ -12,8 +12,8 @@
</a-col> </a-col>
<a-col :lg="6"> <a-col :lg="6">
<a-form-item name="areaFlag"> <a-form-item name="areaFlag">
<template #label><span title="区域标签">区域标签</span></template> <template #label><span title="区域属性">区域属性</span></template>
<j-select-multiple placeholder="请选择区域标签" v-model:value="queryParam.areaFlag" dictCode="nu_type" allow-clear /> <j-select-multiple placeholder="请选择区域属性" v-model:value="queryParam.areaFlag" dictCode="nu_type" allow-clear />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :lg="6"> <a-col :lg="6">

View File

@ -12,8 +12,8 @@
</a-col> </a-col>
<a-col :lg="6"> <a-col :lg="6">
<a-form-item name="areaFlag"> <a-form-item name="areaFlag">
<template #label><span title="区域标签">区域标签</span></template> <template #label><span title="区域属性">区域属性</span></template>
<j-dict-select-tag v-model:value="queryParam.areaFlag" dictCode="nu_type" placeholder="请选择区域标签" allow-clear @change="changeAreaFlag" /> <j-dict-select-tag v-model:value="queryParam.areaFlag" dictCode="nu_type" placeholder="请选择区域属性" allow-clear @change="changeAreaFlag" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :lg="6"> <a-col :lg="6">
@ -26,8 +26,8 @@
<a-select-option value="3">预警</a-select-option> <a-select-option value="3">预警</a-select-option>
<a-select-option value="5">停用</a-select-option> <a-select-option value="5">停用</a-select-option>
</a-select> </a-select>
<a-select placeholder="请先选择区域标签" v-model:value="queryParam.status" allow-clear v-else-if="!queryParam.areaFlag"> <a-select placeholder="请先选择区域属性" v-model:value="queryParam.status" allow-clear v-else-if="!queryParam.areaFlag">
<a-select-option value="">请先选择区域标签</a-select-option> <a-select-option value="">请先选择区域属性</a-select-option>
</a-select> </a-select>
<a-select placeholder="请选择区域状态" v-model:value="queryParam.status" allow-clear v-else> <a-select placeholder="请选择区域状态" v-model:value="queryParam.status" allow-clear v-else>
<a-select-option value="3">预警</a-select-option> <a-select-option value="3">预警</a-select-option>
@ -81,7 +81,7 @@
</template> </template>
<a-button type="dashed" size="small" style="margin-left:10px">二维码</a-button> <a-button type="dashed" size="small" style="margin-left:10px">二维码</a-button>
</a-popover> </a-popover>
<a-button type="dashed" size="small" @click="handlePerssion(item)" style="margin-left:10px" >外挂</a-button> <a-button type="dashed" size="small" @click="handlePerssion(item)" style="margin-left:10px" >区域标签</a-button>
</div> </div>
<div style="float:right;margin-top: 20px;"> <div style="float:right;margin-top: 20px;">

View File

@ -17,9 +17,9 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24" hidden> <a-col :span="24" hidden>
<a-form-item label="区域标签" v-bind="validateInfos.areaFlag" id="NuBaseInfoForm-areaFlag" name="areaFlag"> <a-form-item label="区域属性" v-bind="validateInfos.areaFlag" id="NuBaseInfoForm-areaFlag" name="areaFlag">
<j-dict-select-tag v-model:value="formData.areaFlag" dictCode="nu_type" :disabled="true" <j-dict-select-tag v-model:value="formData.areaFlag" dictCode="nu_type" :disabled="true"
placeholder="请选择区域标签ID" allow-clear /> placeholder="请选择区域属性ID" allow-clear />
</a-form-item> </a-form-item>
</a-col> </a-col>
<!-- <a-col :span="24"> <!-- <a-col :span="24">

View File

@ -1,7 +1,7 @@
<template> <template>
<BasicDrawer v-bind="$attrs" @register="registerDrawer" width="650px" destroyOnClose showFooter> <BasicDrawer v-bind="$attrs" @register="registerDrawer" width="650px" destroyOnClose showFooter>
<template #title> <template #title>
角色权限配置 区域标签配置
<a-dropdown> <a-dropdown>
<Icon icon="ant-design:more-outlined" class="more-icon" /> <Icon icon="ant-design:more-outlined" class="more-icon" />
<template #overlay> <template #overlay>
@ -27,7 +27,7 @@
:selectedKeys="selectedKeys" :selectedKeys="selectedKeys"
:clickRowToExpand="false" :clickRowToExpand="false"
:checkStrictly="true" :checkStrictly="true"
title="所拥有的的权限" title="所拥有的的区域标签"
@check="onCheck" @check="onCheck"
@select="onTreeNodeSelect" @select="onTreeNodeSelect"
> >

View File

@ -110,7 +110,7 @@ export const tempColumns: BasicColumn[] = [
dataIndex: 'positioningLong' dataIndex: 'positioningLong'
}, },
{ {
title: '服务标签名称', title: '指令标签名称',
align: "center", align: "center",
dataIndex: 'tagName' dataIndex: 'tagName'
}, },

View File

@ -2,7 +2,7 @@ import {BasicColumn} from '/@/components/Table';
//列表数据 //列表数据
export const columns: BasicColumn[] = [ export const columns: BasicColumn[] = [
{ {
title: '服务标签名称', title: '指令标签名称',
align: "center", align: "center",
dataIndex: 'tagName' dataIndex: 'tagName'
}, },
@ -25,7 +25,7 @@ export const columns: BasicColumn[] = [
// 高级查询数据 // 高级查询数据
export const superQuerySchema = { export const superQuerySchema = {
tagName: {title: '服务标签名称',order: 0,view: 'text', type: 'string',}, tagName: {title: '指令标签名称',order: 0,view: 'text', type: 'string',},
description: {title: '备注',order: 1,view: 'textarea', type: 'string',}, description: {title: '备注',order: 1,view: 'textarea', type: 'string',},
sort: {title: '排序',order: 2,view: 'number', type: 'number',}, sort: {title: '排序',order: 2,view: 'number', type: 'number',},
izEnabled: {title: '是否启用',order: 3,view: 'radio', type: 'string',dictCode: 'iz_enabled',}, izEnabled: {title: '是否启用',order: 3,view: 'radio', type: 'string',dictCode: 'iz_enabled',},

View File

@ -6,7 +6,7 @@
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :lg="6"> <a-col :lg="6">
<a-form-item name="tagName"> <a-form-item name="tagName">
<template #label><span title="服务标签名称">服务标签</span></template> <template #label><span title="指令标签名称">指令标签</span></template>
<a-input v-model:value="searchForm.tagName" allow-clear /> <a-input v-model:value="searchForm.tagName" allow-clear />
</a-form-item> </a-form-item>
</a-col> </a-col>

View File

@ -6,9 +6,9 @@
name="DirectiveTagForm"> name="DirectiveTagForm">
<a-row> <a-row>
<a-col :span="24"> <a-col :span="24">
<a-form-item label="服务标签名称" v-bind="validateInfos.tagName" id="DirectiveTagForm-tagName" <a-form-item label="指令标签名称" v-bind="validateInfos.tagName" id="DirectiveTagForm-tagName"
name="tagName"> name="tagName">
<a-input v-model:value="formData.tagName" placeholder="请输入服务标签名称" allow-clear></a-input> <a-input v-model:value="formData.tagName" placeholder="请输入指令标签名称" allow-clear></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
@ -76,7 +76,7 @@ const wrapperCol = ref<any>({
const confirmLoading = ref<boolean>(false); const confirmLoading = ref<boolean>(false);
// //
const validatorRules = reactive({ const validatorRules = reactive({
tagName: [{ required: true, message: '请输入服务标签名称!' },], tagName: [{ required: true, message: '请输入指令标签名称!' },],
sort: [{ required: true, message: '请输入排序!' }, { pattern: /^\d+$/, message: '请输入整数!' },], sort: [{ required: true, message: '请输入排序!' }, { pattern: /^\d+$/, message: '请输入整数!' },],
}); });
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: false }); const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: false });

View File

@ -8,7 +8,7 @@
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :span="14"> <a-col :span="14">
<a-form-item name="tagName"> <a-form-item name="tagName">
<template #label><span title="服务标签名称">服务标签</span></template> <template #label><span title="指令标签名称">指令标签</span></template>
<a-input v-model:value="searchForm.tagName" allow-clear /> <a-input v-model:value="searchForm.tagName" allow-clear />
</a-form-item> </a-form-item>
</a-col> </a-col>

View File

@ -6,7 +6,7 @@
:footer-style="{ textAlign: 'right' }" @close="handleCancel"> :footer-style="{ textAlign: 'right' }" @close="handleCancel">
<div style="display:flex;justify-content:space-between"> <div style="display:flex;justify-content:space-between">
<div> <div>
<a-card title="服务标签详情" style="width: 25vw"> <a-card title="指令标签详情" style="width: 25vw">
<ServiceTagForm ref="registerForm" @ok="submitCallback" :formDisabled="disableSubmit" :formBpm="false"> <ServiceTagForm ref="registerForm" @ok="submitCallback" :formDisabled="disableSubmit" :formBpm="false">
</ServiceTagForm> </ServiceTagForm>
</a-card> </a-card>
@ -87,7 +87,7 @@
</a-drawer> </a-drawer>
<!-- 引用 --> <!-- 引用 -->
<a-drawer v-model:open="directiveQuoteDrawer" title="引用服务标签" width="80vw" :closable="false" <a-drawer v-model:open="directiveQuoteDrawer" title="引用指令标签" width="80vw" :closable="false"
:footer-style="{ textAlign: 'right' }"> :footer-style="{ textAlign: 'right' }">
<ServiceTagList ref="serviceTagListRef"></ServiceTagList> <ServiceTagList ref="serviceTagListRef"></ServiceTagList>
<template #footer> <template #footer>
@ -157,7 +157,7 @@ function handleEmotionTags(prefix, directive_, suffix) {
* 新增 * 新增
*/ */
function add() { function add() {
title.value = '新增服务标签'; title.value = '新增指令标签';
visible.value = true; visible.value = true;
selectedDirective.value = '' selectedDirective.value = ''
seletedRecord.value = { directives: [] } seletedRecord.value = { directives: [] }