修改文字名称
This commit is contained in:
parent
34e7350da5
commit
e6ece054c0
|
|
@ -189,7 +189,7 @@ export const columns: BasicColumn[] = [
|
|||
dataIndex: 'regional'
|
||||
},
|
||||
{
|
||||
title: '服务标签',
|
||||
title: '指令标签',
|
||||
align: "center",
|
||||
dataIndex: 'serviceTag'
|
||||
},
|
||||
|
|
@ -230,7 +230,7 @@ export const superQuerySchema = {
|
|||
qualification: {title: '资质证',order: 30,view: 'image', type: 'string',},
|
||||
noCrimeCertificate: {title: '无犯罪证明',order: 31,view: 'image', 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[] = [
|
||||
{
|
||||
title: '服务标签名称',
|
||||
title: '指令标签名称',
|
||||
align: "center",
|
||||
dataIndex: 'tagName',
|
||||
width:'50%'
|
||||
|
|
@ -268,7 +268,7 @@ export const employeesTagcolumns: BasicColumn[] = [
|
|||
},
|
||||
},
|
||||
{
|
||||
title: '服务标签名称',
|
||||
title: '指令标签名称',
|
||||
align: "center",
|
||||
dataIndex: 'tagName',
|
||||
width:'50%'
|
||||
|
|
|
|||
|
|
@ -96,9 +96,9 @@
|
|||
<template #overlay>
|
||||
<a-menu>
|
||||
<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="handlePerssion(item)">分配角色</a-menu-item>
|
||||
<a-menu-item @click="handlePerssion(item)">权限标签</a-menu-item>
|
||||
</a-menu>
|
||||
</template>
|
||||
</a-dropdown>
|
||||
|
|
@ -122,7 +122,7 @@
|
|||
|
||||
<!-- 表单区域 -->
|
||||
<BizEmployeesInfoModal ref="registerModal" @success="handleSuccess"></BizEmployeesInfoModal>
|
||||
<!-- 服务标签 -->
|
||||
<!-- 指令标签 -->
|
||||
<EmployeesServiceTagModal ref="registerServiceTagModal" @success="handleSuccess"></EmployeesServiceTagModal>
|
||||
<!--用户抽屉-->
|
||||
<UserDrawer @register="registerDrawer" @success="handleSuccess" />
|
||||
|
|
@ -213,7 +213,7 @@ function handleFpzh(item) {
|
|||
})
|
||||
}
|
||||
|
||||
//分配服务标签
|
||||
//分配指令标签
|
||||
function handleFwbq(info) {
|
||||
registerServiceTagModal.value.disableSubmit = false;
|
||||
registerServiceTagModal.value.init(info);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<BasicDrawer v-bind="$attrs" @register="registerDrawer" width="650px" destroyOnClose showFooter>
|
||||
<template #title>
|
||||
角色权限配置
|
||||
角色标签配置
|
||||
<a-dropdown>
|
||||
<Icon icon="ant-design:more-outlined" class="more-icon" />
|
||||
<template #overlay>
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
:selectedKeys="selectedKeys"
|
||||
:clickRowToExpand="false"
|
||||
:checkStrictly="true"
|
||||
title="所拥有的的权限"
|
||||
title="所拥有的的角色标签"
|
||||
@check="onCheck"
|
||||
@select="onTreeNodeSelect"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<BasicTable @register="registerTable" >
|
||||
<!--插槽:table标题-->
|
||||
<template #tableTitle>
|
||||
<div class="title1Class">可选服务标签</div>
|
||||
<div class="title1Class">可选指令标签</div>
|
||||
</template>
|
||||
<!--操作栏-->
|
||||
<template #action="{ record }">
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
</BasicTable>
|
||||
</div>
|
||||
<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">
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'action'" >
|
||||
|
|
@ -79,7 +79,7 @@ import { defHttp } from '/@/utils/http/axios';
|
|||
//注册table数据
|
||||
const { prefixCls,tableContext,onExportXls,onImportXls } = useListPage({
|
||||
tableProps:{
|
||||
title: '员工配置的服务标签',
|
||||
title: '员工配置的指令标签',
|
||||
api: getEmployeesList,
|
||||
columns: serviceTagcolumns,
|
||||
canResize:false,
|
||||
|
|
@ -132,7 +132,7 @@ import { defHttp } from '/@/utils/http/axios';
|
|||
}
|
||||
|
||||
/**
|
||||
* 员工选择服务标签后的详情
|
||||
* 员工选择指令标签后的详情
|
||||
*/
|
||||
function handleEmlDetail(record) {
|
||||
console.log(record);
|
||||
|
|
@ -145,7 +145,7 @@ import { defHttp } from '/@/utils/http/axios';
|
|||
})
|
||||
}
|
||||
/**
|
||||
* 服务标签列表详情
|
||||
* 指令标签列表详情
|
||||
*/
|
||||
function handleDetail(record) {
|
||||
rowA.value = 18;
|
||||
|
|
@ -175,7 +175,7 @@ import { defHttp } from '/@/utils/http/axios';
|
|||
]
|
||||
}
|
||||
|
||||
//获取员工已获取的服务标签
|
||||
//获取员工已获取的指令标签
|
||||
function getEmployessServiceTagsList(){
|
||||
const model = {employeesId:employeesInfo.value.id};
|
||||
getEmployessServiceTags(model).then(item => {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
* 新增
|
||||
*/
|
||||
function init(record) {
|
||||
title.value = '服务标签';
|
||||
title.value = '指令标签';
|
||||
visible.value = true;
|
||||
nextTick(() => {
|
||||
registerForm.value.init(record);
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ export const columns: BasicColumn[] = [
|
|||
dataIndex: 'nuId'
|
||||
},
|
||||
{
|
||||
title: '区域标签',
|
||||
title: '区域属性',
|
||||
align: "center",
|
||||
dataIndex: 'areaFlag_dictText'
|
||||
},
|
||||
|
|
@ -41,6 +41,6 @@ export const columns: BasicColumn[] = [
|
|||
// 高级查询数据
|
||||
export const superQuerySchema = {
|
||||
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',},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@
|
|||
</a-col>
|
||||
<a-col :lg="6">
|
||||
<a-form-item name="areaFlag">
|
||||
<template #label><span title="区域标签">区域标签</span></template>
|
||||
<j-select-multiple placeholder="请选择区域标签" v-model:value="queryParam.areaFlag" dictCode="nu_type" allow-clear />
|
||||
<template #label><span title="区域属性">区域属性</span></template>
|
||||
<j-select-multiple placeholder="请选择区域属性" v-model:value="queryParam.areaFlag" dictCode="nu_type" allow-clear />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="6">
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@
|
|||
</a-col>
|
||||
<a-col :lg="6">
|
||||
<a-form-item name="areaFlag">
|
||||
<template #label><span title="区域标签">区域标签</span></template>
|
||||
<j-dict-select-tag v-model:value="queryParam.areaFlag" dictCode="nu_type" placeholder="请选择区域标签" allow-clear @change="changeAreaFlag" />
|
||||
<template #label><span title="区域属性">区域属性</span></template>
|
||||
<j-dict-select-tag v-model:value="queryParam.areaFlag" dictCode="nu_type" placeholder="请选择区域属性" allow-clear @change="changeAreaFlag" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="6">
|
||||
|
|
@ -26,8 +26,8 @@
|
|||
<a-select-option value="3">预警</a-select-option>
|
||||
<a-select-option value="5">停用</a-select-option>
|
||||
</a-select>
|
||||
<a-select placeholder="请先选择区域标签" v-model:value="queryParam.status" allow-clear v-else-if="!queryParam.areaFlag">
|
||||
<a-select-option value="">请先选择区域标签</a-select-option>
|
||||
<a-select placeholder="请先选择区域属性" v-model:value="queryParam.status" allow-clear v-else-if="!queryParam.areaFlag">
|
||||
<a-select-option value="">请先选择区域属性</a-select-option>
|
||||
</a-select>
|
||||
<a-select placeholder="请选择区域状态" v-model:value="queryParam.status" allow-clear v-else>
|
||||
<a-select-option value="3">预警</a-select-option>
|
||||
|
|
@ -81,7 +81,7 @@
|
|||
</template>
|
||||
<a-button type="dashed" size="small" style="margin-left:10px">二维码</a-button>
|
||||
</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 style="float:right;margin-top: 20px;">
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@
|
|||
</a-form-item>
|
||||
</a-col>
|
||||
<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"
|
||||
placeholder="请选择区域标签ID" allow-clear />
|
||||
placeholder="请选择区域属性ID" allow-clear />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<!-- <a-col :span="24">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<BasicDrawer v-bind="$attrs" @register="registerDrawer" width="650px" destroyOnClose showFooter>
|
||||
<template #title>
|
||||
角色权限配置
|
||||
区域标签配置
|
||||
<a-dropdown>
|
||||
<Icon icon="ant-design:more-outlined" class="more-icon" />
|
||||
<template #overlay>
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
:selectedKeys="selectedKeys"
|
||||
:clickRowToExpand="false"
|
||||
:checkStrictly="true"
|
||||
title="所拥有的的权限"
|
||||
title="所拥有的的区域标签"
|
||||
@check="onCheck"
|
||||
@select="onTreeNodeSelect"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ export const tempColumns: BasicColumn[] = [
|
|||
dataIndex: 'positioningLong'
|
||||
},
|
||||
{
|
||||
title: '服务标签名称',
|
||||
title: '指令标签名称',
|
||||
align: "center",
|
||||
dataIndex: 'tagName'
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import {BasicColumn} from '/@/components/Table';
|
|||
//列表数据
|
||||
export const columns: BasicColumn[] = [
|
||||
{
|
||||
title: '服务标签名称',
|
||||
title: '指令标签名称',
|
||||
align: "center",
|
||||
dataIndex: 'tagName'
|
||||
},
|
||||
|
|
@ -25,7 +25,7 @@ export const columns: BasicColumn[] = [
|
|||
|
||||
// 高级查询数据
|
||||
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',},
|
||||
sort: {title: '排序',order: 2,view: 'number', type: 'number',},
|
||||
izEnabled: {title: '是否启用',order: 3,view: 'radio', type: 'string',dictCode: 'iz_enabled',},
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<a-row :gutter="24">
|
||||
<a-col :lg="6">
|
||||
<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-form-item>
|
||||
</a-col>
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@
|
|||
name="DirectiveTagForm">
|
||||
<a-row>
|
||||
<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">
|
||||
<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-col>
|
||||
<a-col :span="24">
|
||||
|
|
@ -76,7 +76,7 @@ const wrapperCol = ref<any>({
|
|||
const confirmLoading = ref<boolean>(false);
|
||||
//表单验证
|
||||
const validatorRules = reactive({
|
||||
tagName: [{ required: true, message: '请输入服务标签名称!' },],
|
||||
tagName: [{ required: true, message: '请输入指令标签名称!' },],
|
||||
sort: [{ required: true, message: '请输入排序!' }, { pattern: /^\d+$/, message: '请输入整数!' },],
|
||||
});
|
||||
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: false });
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<a-row :gutter="24">
|
||||
<a-col :span="14">
|
||||
<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-form-item>
|
||||
</a-col>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
:footer-style="{ textAlign: 'right' }" @close="handleCancel">
|
||||
<div style="display:flex;justify-content:space-between">
|
||||
<div>
|
||||
<a-card title="服务标签详情" style="width: 25vw">
|
||||
<a-card title="指令标签详情" style="width: 25vw">
|
||||
<ServiceTagForm ref="registerForm" @ok="submitCallback" :formDisabled="disableSubmit" :formBpm="false">
|
||||
</ServiceTagForm>
|
||||
</a-card>
|
||||
|
|
@ -87,7 +87,7 @@
|
|||
</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' }">
|
||||
<ServiceTagList ref="serviceTagListRef"></ServiceTagList>
|
||||
<template #footer>
|
||||
|
|
@ -157,7 +157,7 @@ function handleEmotionTags(prefix, directive_, suffix) {
|
|||
* 新增
|
||||
*/
|
||||
function add() {
|
||||
title.value = '新增服务标签';
|
||||
title.value = '新增指令标签';
|
||||
visible.value = true;
|
||||
selectedDirective.value = ''
|
||||
seletedRecord.value = { directives: [] }
|
||||
|
|
|
|||
Loading…
Reference in New Issue