This commit is contained in:
ival 2019-08-19 15:59:16 +08:00
commit 70e1236099
32 changed files with 309 additions and 353 deletions

View File

@ -35,9 +35,6 @@ export default {
lastStep: 'last step',
confirm: 'confirm',
cancel: 'cancel',
cancelledDelete: 'Cancelled delete',
confirmDeletion: 'Confirm deletion?',
hint: 'hint',
link: 'link',
section: 'section',
@ -78,14 +75,6 @@ export default {
publishMapCreation: 'Create from the publish map',
pleaseEnterMapName: 'Please enter a map name',
pleaseChooseSkinCode: 'Please choose skin style',
pleaseSelectMapSource: 'Please select the map source',
pleaseSelectAssociatedCity: 'Please select the associated city',
pleaseSelectAssociatedSkin: 'Please select associated skin',
pleaseEnteMapLinkWidth: 'Please enter map Link width',
pleaseEnterMapSectionWidth: 'Please enter map section width',
failedLoadListPublishedMaps: 'Failed to load the list of published maps',
creatingSuccessful: 'Created successfully!',
mapUpdateSuccessful: 'Map update successful!',
@ -124,7 +113,6 @@ export default {
preview: 'preview',
operation: 'operation',
compile: 'compile',
delete: 'delete',
empty: 'empty',
reset: 'reset',
sectionName: 'name of the section',
@ -133,7 +121,6 @@ export default {
signalID: 'Signal ID:',
activate: 'activate',
segmentData: 'approach automatically triggers the segment data:',
pleaseSelectSignal: 'Please select the signal',
triggerSegmentData: 'Select approach to automatically trigger segment data',
@ -202,7 +189,6 @@ export default {
linkRp: 'Link End point coordinates:',
rulesChange: 'The rules change',
sectionNameC: 'The name of the section:',
splitMerge: 'Split/merge',
linkSet: 'The Link set',
selectLink: 'Select the Link',
@ -260,8 +246,6 @@ export default {
isSegmentation: 'Whether or not split:',
segmentationPosition: 'The default setting:',
isCurve: 'Whether the curve:',
sectionPoints: 'Segment display coordinates:',
trainPosType: 'Direction of train:',
physicalSegmentName: 'Physical segment name:',
directionType: 'Form the direction:',
@ -282,7 +266,6 @@ export default {
signalOffset: 'The offset:',
signalPositionX: 'Signal x:',
signalPositionY: 'Signal y:',
signalRotate: 'Rotation Angle:',
signalNamePositionX: 'Signal name offset x:',
signalNamePositionY: 'Signal name offset y:',
signalButtonShow: 'Display button:',
@ -296,7 +279,6 @@ export default {
stationCode: 'The station code:',
zcCode: 'Zc region:',
centralized: 'Centralized station or not:',
stationNameColon: 'The station name:',
stationRunPlanName: 'True name:',
stationVisible: 'Whether or not shown:',
stationNameFont: 'The font:',
@ -315,8 +297,6 @@ export default {
zakContent: 'Stand accused of content:',
jjzkContent: 'Emergency station control/general alarm content:',
zzkContent: 'Station control content:',
stationControlPositionX: 'coordinates x:',
stationControlPositionY: 'coordinates y:',
stationControlZok: 'central',
skinDesignation: 'SkinName',
@ -409,8 +389,6 @@ export default {
stationstandShowName: 'Show name or not:',
stationstandWidth: 'width w:',
stationstandHeight: 'highly h:',
stationstandPositionX: 'coordinates x:',
stationstandPositionY: 'coordinates y:',
switchCode: 'Switch coding:',
switchName: 'The name of the switch:',
@ -454,7 +432,6 @@ export default {
deleteTrainWindow: 'Delete the number window with one click',
createTrainWindow: 'Create a train window with one click',
zcCodeColon: 'coding:',
showZc: 'Whether or not visible:',
pathUnitList: 'Path unit list',
@ -464,16 +441,12 @@ export default {
pathUnitMapName: 'Map name',
orderNum: 'priority',
pathName: 'In the name of the',
affiliationStationCode: 'Station name',
startingSignalName: 'Name of starting signal',
endingSignalName: 'Name of terminal signal',
routeID: 'Route ID',
routeName: 'In the name of the:',
routeMapId: 'Map name',
routeStationName: 'Station name',
routeStartSignalCode: 'Name of starting signal',
routeEndSignalCode: 'Name of terminal signal',
startSectionCodeColon: 'Starting stop:',
endSectionCodeColon: 'Terminal stop:',

View File

@ -45,14 +45,9 @@ export default {
authorityDetails: 'AuthorityDetails',
renew: 'Renew',
productName: 'ProductName',
updateProductTip: 'Will this operation modify the commodity status?',
deleteProductTip: 'This operation will delete the item. Do you want to continue?',
recovery: 'Recovery',
permissionPack: 'PermissionPack',
privilegeTransferQRCode: 'PrivilegeTransferQRCode',
getQRCodeFailure: 'Failed to obtain the package authority qr code',
recoveryPrivilegeTip: 'This action will reclaim permissions. Do you want to continue?',
unpackingTip: 'This operation will be unpacked. Do you want to continue?',
generatingQRCode: 'GeneratingQRCode',
transferQRCode: 'TransferQRCode',
today: 'Today',
@ -66,27 +61,7 @@ export default {
increasePermissionNumber: 'IncreasePermissionNumber',
choosePermissionNumber: 'ChoosePermissionNumber',
itemPricing: 'itemPricing',
organizationInput: 'Please enter the name of the organization or business',
productSelect: 'Please select products',
itemPricingInput: 'Please enter unit price',
orderTypeSelect: 'Please select the order type',
contractNumberInput: 'Please enter the contract number',
contractNumberLimit: 'The length is between 1 and 25 characters',
salesmanInput: 'Please select a salesperson',
foreverRadio: 'Please select a',
amountInput: 'Please enter the number of permissions to purchase',
amountInputError: 'Please enter the number of valid permissions',
totalPriceInput: 'Please enter the total price',
totalPriceInputError1: 'Please enter the price in two decimal places',
totalPriceInputError2: 'Please enter valid total price',
monthAmountInput: 'Please enter purchase month',
monthAmountInputError: 'Please enter valid months of purchase',
startTimePick: 'Please select a start date',
bizTypeSelect: 'Select a business type',
payWaysSelect: 'Please select payment method',
payStatusSelect: 'Please select payment status',
addOrganizationPrefix: 'Whether to add "',
addOrganizationSuffix: '" Organization/enterprise entry information?',
addUserPermissions: 'Add user permissions',
publicAuthority: 'PublicAuthority',
privateAuthority: 'PrivateAuthority',
optionPrivilegeTransfer: 'Option privilege transfer',
@ -95,7 +70,6 @@ export default {
addRecords: 'AddRecords',
totalNumber: 'TotalNumber',
permissionToDistributeQRCode: 'Permission to distribute qr code',
packagingFailed: 'Authority distribution packaging failed',
selectPackagingRecord: 'Please select the packaging record',
editPermissionRules: 'Edit permission rules',
addGoods: 'AddGoods',
@ -104,17 +78,6 @@ export default {
whetherTrial: 'WhetherTrial',
unitOfTime: 'UnitOfTime',
trialTime: 'TrialTime',
goodsNameInput: 'Please enter product name',
productTypeInput: 'Please select product type',
mapInput: 'Please select map',
productInput: 'Please select product',
lessonInput: 'Please select courses',
trialTimeInput: 'Please enter trial duration',
unitOfTimeRadio: 'Please select a time unit',
goodsDescribtionInput: 'Please enter product description',
addUserPermissions: 'Add user permissions',
userNameInput: 'Please enter user name',
permissionTypeInput: 'Please select the permission type',
distributionUser: 'DistributionUser',
orderNumber: 'OrderNumber',
sourcesOfInformation: 'SourcesOfInformation',

View File

@ -1,152 +1,185 @@
export default {
pleaseSelect: '请选择',
selectEquipment: '请选择设备',
deviceTypeNotNull: '设备类型码不能为空',
operationTypeNotNull: '操作码不能为空',
tipsNotNull: '提示信息不能为空',
pleaseSelectEncoding: '请选择唯一编码',
pleaseEnterStatusSignal: '请输入状态信号名称',
pleaseEnterXCoordinate: '请输入x坐标',
pleaseEnterYCoordinate: '请输入y坐标',
pleaseSelect: 'Please select',
selectEquipment: 'Please select equipment',
deviceTypeNotNull: 'The device type code cannot be empty',
operationTypeNotNull: 'The opcode cannot be empty',
tipsNotNull: 'The prompt message cannot be empty',
pleaseSelectEncoding: 'Please select a unique encoding',
pleaseEnterStatusSignal: 'Please enter the name of the status signal',
pleaseEnterXCoordinate: 'Please enter the x coordinate',
pleaseEnterYCoordinate: 'Please enter the y coordinate',
pleaseSelectLine: '请选择Line',
pleaseSelectLineType: '请选择Line类型',
pleaseSelectLineWidth: '请输入线条宽度',
pleaseSelectLine: 'Please select a Line',
pleaseSelectLineType: 'Select type Line',
pleaseSelectLineWidth: 'Please enter line width',
linkXCoordinate: '请输入Link x坐标',
linkYCoordinate: '请输入Link y坐标',
linkEnterLength: '请输入显示长度',
linkEnterDisplayLength: '请输入真实长度',
linkXCoordinate: 'Please enter the Link x coordinate',
linkYCoordinate: 'Please enter the Link y coordinate',
linkEnterLength: 'Please enter display length',
linkEnterDisplayLength: 'Please enter the true length',
linkSelectBase: '请选择基础Link',
linkEnterLeft: '请输入左侧正向Link',
linkEnterRight: '请输入右侧正向Link',
linkSelectName: '请输入Link名称',
linkSelectDisplayLength: '请输入Link实际长度',
linkSelectBase: 'Select the base Link',
linkEnterLeft: 'Please enter the left forward Link',
linkEnterRight: 'Please enter the forward Link on the right',
linkSelectName: 'Enter the Link name',
linkSelectDisplayLength: 'Please enter the actual length of the Link',
lengthShow: '显示长度:',
lengthFact: '真实长度:',
color: '颜色:',
lengthShow: 'According to the length of the:',
lengthFact: 'The real length:',
color: 'color:',
pointX: '坐标 x:',
pointY: '坐标 y:',
direct: '方向:',
basisLink: '基础Link:',
pointX: 'Coordinates x:',
pointY: 'Coordinates y:',
direct: 'The direction of:',
basisLink: 'Based on the Link:',
pleaseSelectSectionName: '请选择区段名称',
pleaseFillOffset: '请填写偏移量',
pleaseFillValue: '请填写数值',
pleaseSelectLeftSectionName: '请选择左侧区段名称',
pleaseSelectRightSectionName: '请选择右侧区段名称',
pleaseEnterYValue: '请输入坐标Y值',
pleaseEnterSectionType: '请输入区段类型',
pleaseEnterSectionName: '请输入区段名称',
pleaseSelectAssociatedPlatform: '请选择关联站台',
pleaseEnterLeftStopPointOffset: '请输入左向停车点偏移量',
rightStopPointOffset: '请输入右向停车点偏移量',
destinationCode: '请输入目的地码',
destinationCodePointX: '请输入目的地码坐标X',
destinationCodePointY: '请输入目的地码坐标Y',
sectionNamePointX: '请输入区段名称坐标X',
sectionNamePointY: '请输入区段名称坐标Y',
logicSectionNameSort: '请选择逻辑区段名称排序',
sectionOffsetLeft: '请输入左侧Link偏移量',
sectionSepTypeLeft: '请选择左侧分隔符',
sectionOffsetRight: '请输入右侧Link偏移量',
sectionSepTypeRight: '请选择右侧分隔符',
selectPhysicalExtentName: '请选择物理区段名称',
pleaseSelectSectionName: 'Select the section name',
pleaseFillOffset: 'Please fill in the offset',
pleaseFillValue: 'Please fill in the value',
pleaseSelectLeftSectionName: 'Please select the left section name',
pleaseSelectRightSectionName: 'Select the right section name',
pleaseEnterYValue: 'Please enter the coordinate Y value',
pleaseEnterSectionType: 'Please enter the section type',
pleaseEnterSectionName: 'Please enter a section name',
pleaseSelectAssociatedPlatform: 'Please select the associated platform',
pleaseEnterLeftStopPointOffset: 'Please enter left stop point offset',
rightStopPointOffset: 'Please enter an offset to the right stop point',
destinationCode: 'Please enter destination code',
destinationCodePointX: 'Please enter destination code coordinate X',
destinationCodePointY: 'Please enter destination code coordinate Y',
sectionNamePointX: 'Please enter the section name coordinate X',
sectionNamePointY: 'Please enter the section name coordinate Y',
logicSectionNameSort: 'Select logical extent name sort',
sectionOffsetLeft: 'Please enter the left Link offset',
sectionSepTypeLeft: 'Please select the left separator',
sectionOffsetRight: 'Please enter the right Link offset',
sectionSepTypeRight: 'Select the right separator',
selectPhysicalExtentName: 'Select the physical extent name',
pleaseEnterSemaphoreName: '请输入信号灯名称',
pleaseEnterSignalName: '请输入信号机唯一名称',
pleaseEnterSignalOffset: '请输入偏移量',
pleaseEnterSignalStation: '请输入设备集中站',
pleaseEnterSignalPositionX: '请输入信号机x',
pleaseEnterSignalPositionY: '请输入信号机y',
signalButtonPositionX: '请输入按钮x',
signalButtonPositionY: '请输入按钮y',
signalGuidePositionX: '请输入引导信号x',
signalGuidePositionY: '请输入引导信号y',
pleaseEnterSemaphoreName: 'Please enter a semaphore name',
pleaseEnterSignalName: 'Please enter a unique name for the signal',
pleaseEnterSignalOffset: 'Please enter an offset',
pleaseEnterSignalStation: 'Please enter device central station',
pleaseEnterSignalPositionX: 'Please input signal x',
pleaseEnterSignalPositionY: 'Please input signal y',
signalButtonPositionX: 'Please enter button x',
signalButtonPositionY: 'Please enter button y',
signalGuidePositionX: 'Please enter the boot signal x',
signalGuidePositionY: 'Please enter the boot signal y',
stationName: '请输入车站名称',
stationKmRange: '请输入公里标距离',
stationKmPost: '请输入公里标名称',
stationPositionX: '请输入x坐标',
stationPositionY: '请输入y坐标',
stationName: 'Please enter station name',
stationKmRange: 'Please enter kilometer mark distance',
stationKmPost: 'Please enter the name of the kilometer mark',
stationControlStationName: '请选择车站名称',
stationControlStationCode: '请选择所属车站',
stationControlZokContent: '请输入中控内容',
stationControlZakContent: '请输入站控内容',
stationControlJjzkContent: '请输入紧急站控内容',
stationControlZzkContent: '请输入站中控内容',
stationControlPositionX: '请输入坐标x',
stationControlPositionY: '请输入坐标y',
stationControlStationName: 'Please select the station name',
stationControlStationCode: 'Please select your station',
stationControlZokContent: 'Please enter the content of central control',
stationControlZakContent: 'Please enter the content of station control',
stationControlJjzkContent: 'Please enter emergency station control',
stationControlZzkContent: 'Please input the content of station central control',
stationControlPositionX: 'Please enter coordinate x',
stationControlPositionY: 'Please enter coordinate y',
pleaseReSelectDevice: '请重新选择设备',
stationCode: '请选择关联车站',
stationstandCountName: '请输入计数器名称',
doorLocationType: '请选择站台方向',
deviceStationCode: '请选择所属设备集中站',
stationstandDirection: '请选择上下行方向',
stationstandWidth: '请输入车站宽度',
stationstandHeight: '请输入车站高度',
stationstandPositionX: '请输入x坐标',
stationstandPositionY: '请输入y坐标',
pleaseReSelectDevice: 'Please re-select the device',
stationCode: 'Please select the associated station',
stationstandCountName: 'Please enter a counter name',
doorLocationType: 'Please choose the platform direction',
deviceStationCode: 'Please select your own centralized station',
stationstandDirection: 'Please choose the upstream and downstream direction',
stationstandWidth: 'Please enter station width',
stationstandHeight: 'Please enter station height',
switchName: '请输入道岔名称',
switchNamePointX: '请输入道岔名称坐标x',
switchNamePointY: '请输入道岔名称坐标y',
switchStationCode: '请输入设备集中站',
switchTurnTime: '请输入道岔转换时间',
switchTpX: '请输入时间坐标x',
switchTpY: '请输入时间坐标y',
switchName: 'Please enter the switch name',
switchNamePointX: 'Please enter switch name coordinate x',
switchNamePointY: 'Please enter switch name coordinate y',
switchStationCode: 'Please enter device central station',
switchTurnTime: 'Please enter switch time',
switchTpX: 'Please enter the time coordinate x',
switchTpY: 'Please enter the time coordinate y',
selectText: '请选择Text',
pleaseEnterContent: '请输入内容',
textFont: '请选择文字格式',
textFontColor: '请选择文字颜色',
pleaseEnterGroupNumber: '请输入车组号',
selectTrainType: '请选择车类型',
trainPositionX: '请输入x坐标位置',
trainPositionY: '请输入y坐标位置',
pleaseEnterTrainNumber: '请填写车组号',
selectText: 'Please select the Text',
pleaseEnterContent: 'Please enter content',
textFont: 'Please select the text format',
textFontColor: 'Please select the text color',
pleaseEnterGroupNumber: 'Please enter the group number',
selectTrainType: 'Please select car type',
trainPositionX: 'Please enter the x position',
trainPositionY: 'Please enter the y position',
pleaseEnterTrainNumber: 'Please fill in the group number',
trainCode: '列车模型Code不能为空',
pleaseEnterTrainTypeName: '请输入列车类型名称',
trainLength: '请输入列车长度',
safeDistance: '请输入安全距离',
maxSafeDistance: '请输入最大安全距离',
averageVelocity: '请输入平均速度',
averageDeceleration: '请输入平均减速度',
defaultVelocity: '请输入默认速度',
maxVelocity: '请输入最大速度',
trainCode: 'The train model Code cannot be empty',
pleaseEnterTrainTypeName: 'Please enter train type name',
trainLength: 'Please enter train length',
safeDistance: 'Please enter a safe distance',
maxSafeDistance: 'Please enter the maximum safe distance',
averageVelocity: 'Please enter average speed',
averageDeceleration: 'Please enter average deceleration',
defaultVelocity: 'Please enter the default speed',
maxVelocity: 'Please enter the maximum speed',
trainWindowWidth: '请输入车次窗宽度',
trainWindowHeight: '请输入车次窗高度',
trainWindowSectionCode: '请输入关联区段',
trainWindowWidth: 'Please enter the number window width',
trainWindowHeight: 'Please enter the number window height',
trainWindowSectionCode: 'Please enter the association section',
visible: '请选择是否可见',
pleaseSelectStartSignal: '请选择开始信号机',
pleaseSelectEndSignal: '请选择结束信号机',
visible: 'Please select whether it is visible',
pleaseSelectStartSignal: 'Please select start signal',
pleaseSelectEndSignal: 'Please select end signal',
pleaseEnterPathName: '请输入进路名称',
proximitySection: '请选择接近区段',
accessPropertyType: '请选择进路性质类型',
autoAccessType: '请选择自动进路类型',
physicalSegmentData: '请选择进路物理区段数据',
pleaseEnterPathName: 'Please enter the path name',
proximitySection: 'Please select the proximity section',
accessPropertyType: 'Please select the access property type',
autoAccessType: 'Please select auto - access type',
physicalSegmentData: 'Select access physical segment data',
routingName: '请输入交路名称',
startStationCode: '请选择起始车站',
startSectionCode: '请选择起始区段',
endStationCode: '请选择终到车站',
endSectionCode: '请选择终到区段',
routingName: 'Please enter the traffic name',
startStationCode: 'Please select the starting station',
startSectionCode: 'Select the start section',
endStationCode: 'Please choose the terminal',
endSectionCode: 'Please select end to section',
selectTurnoutID: '请选择道岔ID',
switchesCannot: '道岔不能为同一个',
selectTurnoutID: 'Please select the turnout ID',
switchesCannot: 'Switches cannot be identical',
pleaseInputName: 'Please enter name',
pleaseSelectStatus: 'Please select state',
pleaseInputCode: 'Please enter code',
strLength1To25: 'The length is between 1 and 25 characters',
strLengthNotExceed50: 'No more than 50 characters',
pleaseEnterMapName: 'Please enter a map name',
pleaseChooseSkinCode: 'Please choose skin style',
pleaseSelectMapSource: 'Please select the map source',
pleaseSelectAssociatedCity: 'Please select the associated city',
pleaseSelectAssociatedSkin: 'Please select associated skin',
pleaseEnteMapLinkWidth: 'Please enter map Link width',
pleaseEnterMapSectionWidth: 'Please enter map section width',
organizationInput: 'Please enter the name of the organization or business',
productSelect: 'Please select products',
itemPricingInput: 'Please enter unit price',
orderTypeSelect: 'Please select the order type',
contractNumberInput: 'Please enter the contract number',
salesmanInput: 'Please select a salesperson',
authorAmountInput: 'Please enter the number of permissions to purchase',
authorAmountInputError: 'Please enter the number of valid permissions',
totalPriceInput: 'Please enter the total price',
totalPriceInputError1: 'Please enter the price in two decimal places',
totalPriceInputError2: 'Please enter valid total price',
monthAmountInput: 'Please enter purchase month',
monthAmountInputError: 'Please enter valid months of purchase',
startTimePick: 'Please select a start date',
bizTypeSelect: 'Select a business type',
payWaysSelect: 'Please select payment method',
payStatusSelect: 'Please select payment status',
goodsNameInput: 'Please enter product name',
productTypeInput: 'Please select product type',
mapInput: 'Please select map',
productInput: 'Please select product',
lessonInput: 'Please select courses',
trialTimeInput: 'Please enter trial duration',
unitOfTimeRadio: 'Please select a time unit',
goodsDescribtionInput: 'Please enter product description',
userNameInput: 'Please enter user name',
permissionTypeInput: 'Please select the permission type'
pleaseInputName: '请输入名称',
pleaseSelectStatus: '请选择状态',
pleaseInputCode: '请输入编码',
strLength1To25: '长度在 1 到 25 个字符',
strLengthNotExceed50: '不能超过 50 个字符'
};

View File

@ -73,5 +73,15 @@ export default {
requestFailed: '请求失败',
dataQuestion: '有问题数据',
dataList: '数据列表'
dataList: '数据列表',
updateProductTip: 'Will this operation modify the commodity status?',
deleteProductTip: 'This operation will delete the item. Do you want to continue?',
getQRCodeFailure: 'Failed to obtain the package authority qr code',
recoveryPrivilegeTip: 'This action will reclaim permissions. Do you want to continue?',
unpackingTip: 'This operation will be unpacked. Do you want to continue?',
updatePrivilegeTip: 'This action will modify the permission status. Do you want to continue?',
addOrganizationPrefix: 'Whether to add "',
addOrganizationSuffix: '" Organization/enterprise entry information?',
packagingFailed: 'Authority distribution packaging failed'
};

View File

@ -35,9 +35,6 @@ export default {
lastStep: '上一步',
confirm: '确 定',
cancel: '取 消',
cancelledDelete: '已取消删除',
confirmDeletion: '是否确认删除?',
hint: '提示',
link: 'link',
section: '区段',
@ -63,7 +60,7 @@ export default {
offsetXColon: 'X偏移:',
offsetYColon: 'Y偏移:',
scalingColon: '缩放比例:',
operationUnusual: '操作异常',
operationUnusual: '操作异常:',
offsetX: 'X偏移',
offsetY: 'Y偏移',
scaling: '缩放比例',
@ -78,14 +75,6 @@ export default {
publishMapCreation: '从发布地图创建',
pleaseEnterMapName: '请输入地图名称',
pleaseChooseSkinCode: '请选择皮肤风格',
pleaseSelectMapSource: '请选择地图来源',
pleaseSelectAssociatedCity: '请选择关联城市',
pleaseSelectAssociatedSkin: '请选择关联皮肤',
pleaseEnteMapLinkWidth: '请输入地图Link宽度',
pleaseEnterMapSectionWidth: '请输入地图区段宽度',
failedLoadListPublishedMaps: '加载已发布地图列表失败',
creatingSuccessful: '创建成功!',
mapUpdateSuccessful: '更新地图成功!',
@ -124,7 +113,6 @@ export default {
preview: '预览',
operation: '操作',
compile: '编辑',
delete: '删除',
empty: '清空',
reset: '重置',
sectionName: '区段名称',
@ -133,7 +121,6 @@ export default {
signalID: '信号机ID:',
activate: '激活',
segmentData: '进路自动触发区段数据:',
pleaseSelectSignal: '请选择信号机',
triggerSegmentData: '请选择进路自动触发区段数据',
@ -202,7 +189,6 @@ export default {
linkRp: 'Link 终点坐标:',
rulesChange: '规则修改',
sectionNameC: '区段名称:',
splitMerge: '拆分/合并',
linkSet: 'Link集合',
selectLink: '选择Link',
@ -260,8 +246,6 @@ export default {
isSegmentation: '是否分割:',
segmentationPosition: '分割坐标:',
isCurve: '是否曲线:',
sectionPoints: '区段显示坐标:',
trainPosType: '列车所在方向:',
physicalSegmentName: '物理区段名称:',
directionType: '形式方向:',
@ -282,7 +266,6 @@ export default {
signalOffset: '偏移量:',
signalPositionX: '信号机x:',
signalPositionY: '信号机y:',
signalRotate: '旋转角度:',
signalNamePositionX: '信号机名字偏移量 x:',
signalNamePositionY: '信号机名字偏移量 y:',
signalButtonShow: '是否显示按钮:',
@ -296,7 +279,6 @@ export default {
stationCode: '车站编码:',
zcCode: '所属zc区域编码:',
centralized: '是否集中站:',
stationNameColon: '车站名称:',
stationRunPlanName: '真实名称:',
stationVisible: '是否显示:',
stationNameFont: '车站字体:',
@ -315,8 +297,6 @@ export default {
zakContent: '站控内容:',
jjzkContent: '紧急站控/总报警内容:',
zzkContent: '站中控内容:',
stationControlPositionX: '坐标 x:',
stationControlPositionY: '坐标 y:',
stationControlZok: '中控',
stationstandName: '选择车站名称:',
@ -327,8 +307,6 @@ export default {
stationstandShowName: '是否显示名称:',
stationstandWidth: '宽度 w:',
stationstandHeight: '高度 h:',
stationstandPositionX: '坐标 x:',
stationstandPositionY: '坐标 y:',
switchCode: '道岔编码:',
switchName: '道岔名称:',
@ -372,7 +350,6 @@ export default {
deleteTrainWindow: '一键删除车次窗',
createTrainWindow: '一键创建车次窗',
zcCodeColon: '编码:',
showZc: '是否可见:',
pathUnitList: '路径单元列表',
@ -382,16 +359,12 @@ export default {
pathUnitMapName: '所属地图名称',
orderNum: '优先级',
pathName: '进路名称',
affiliationStationCode: '所属车站名称',
startingSignalName: '始端信号机名称',
endingSignalName: '终端信号机名称',
routeID: '进路ID',
routeName: '进路名称:',
routeMapId: '所属地图名称',
routeStationName: '所属车站名称',
routeStartSignalCode: '始端信号机名称',
routeEndSignalCode: '终端信号机名称',
startSectionCodeColon: '始端停车点:',
endSectionCodeColon: '终端停车点:',

View File

@ -45,15 +45,9 @@ export default {
authorityDetails: '权限详情',
renew: '续费',
productName: '产品名称',
updateProductTip: '此操作将修改商品状态?',
deleteProductTip: '此操作将删除该商品, 是否继续?',
recovery: '回收',
permissionPack: '权限包',
privilegeTransferQRCode: '权限转赠二维码',
getQRCodeFailure: '获取打包权限二维码失败',
recoveryPrivilegeTip: '此操作将回收权限, 是否继续?',
unpackingTip: '此操作将解包, 是否继续?',
updatePrivilegeTip: '此操作将修改权限状态?',
generatingQRCode: '生成二维码',
transferQRCode: '转赠二维码',
today: '今天',
@ -68,27 +62,7 @@ export default {
increasePermissionNumber: '增加权限数量',
choosePermissionNumber: '选择权限数量',
itemPricing: '商品单价',
organizationInput: '请输入组织或者企业名称',
productSelect: '请选择商品',
itemPricingInput: '请输入商品单价',
orderTypeSelect: '请选择订单类型',
contractNumberInput: '请输入合同编号',
contractNumberLimit: '长度在 1 到 25 个字符',
salesmanInput: '请选择销售人员',
foreverRadio: '请选择',
amountInput: '请输入购买的权限个数',
amountInputError: '请输入有效权限个数',
totalPriceInput: '请输入总价格',
totalPriceInputError1: '请输入的价格在两位小数',
totalPriceInputError2: '请输入有效总价格',
monthAmountInput: '请输入购买月数',
monthAmountInputError: '请输入有效购买月数',
startTimePick: '请选择开始日期',
bizTypeSelect: '请选择业务类型',
payWaysSelect: '请选择支付方式',
payStatusSelect: '请选择支付状态',
addOrganizationPrefix: '是否添加 "',
addOrganizationSuffix: '" 组织/企业条目信息?',
addUserPermissions: '添加用户权限',
publicAuthority: '公用权限',
privateAuthority: '专用权限',
optionPrivilegeTransfer: '选择权限转赠',
@ -97,7 +71,6 @@ export default {
addRecords: '添加记录',
totalNumber: '总数',
permissionToDistributeQRCode: '权限分发二维码',
packagingFailed: '权限分发打包失败',
selectPackagingRecord: '请选择打包记录',
editPermissionRules: '编辑权限规则',
addGoods: '添加商品',
@ -106,17 +79,6 @@ export default {
whetherTrial: '是否试用',
unitOfTime: '时间单位',
trialTime: '试用时长',
goodsNameInput: '请输入商品名称',
productTypeInput: '请选择产品类型',
mapInput: '请选择地图',
productInput: '请选择产品',
lessonInput: '请选择课程',
trialTimeInput: '请输入试用时长',
unitOfTimeRadio: '请选择时间单位',
goodsDescribtionInput: '请输入商品描述',
addUserPermissions: '添加用户权限',
userNameInput: '请输入用户名称',
permissionTypeInput: '请选择权限类型',
distributionUser: '分发用户',
orderNumber: '订单号',
sourcesOfInformation: '信息来源',

View File

@ -70,8 +70,6 @@ export default {
stationName: '请输入车站名称',
stationKmRange: '请输入公里标距离',
stationKmPost: '请输入公里标名称',
stationPositionX: '请输入x坐标',
stationPositionY: '请输入y坐标',
stationControlStationName: '请选择车站名称',
stationControlStationCode: '请选择所属车站',
@ -90,8 +88,6 @@ export default {
stationstandDirection: '请选择上下行方向',
stationstandWidth: '请输入车站宽度',
stationstandHeight: '请输入车站高度',
stationstandPositionX: '请输入x坐标',
stationstandPositionY: '请输入y坐标',
switchName: '请输入道岔名称',
switchNamePointX: '请输入道岔名称坐标x',
@ -148,5 +144,40 @@ export default {
pleaseSelectStatus: '请选择状态',
pleaseInputCode: '请输入编码',
strLength1To25: '长度在 1 到 25 个字符',
strLengthNotExceed50: '不能超过 50 个字符'
strLengthNotExceed50: '不能超过 50 个字符',
pleaseEnterMapName: '请输入地图名称',
pleaseChooseSkinCode: '请选择皮肤风格',
pleaseSelectMapSource: '请选择地图来源',
pleaseSelectAssociatedCity: '请选择关联城市',
pleaseSelectAssociatedSkin: '请选择关联皮肤',
pleaseEnteMapLinkWidth: '请输入地图Link宽度',
pleaseEnterMapSectionWidth: '请输入地图区段宽度',
organizationInput: '请输入组织或者企业名称',
productSelect: '请选择商品',
itemPricingInput: '请输入商品单价',
orderTypeSelect: '请选择订单类型',
contractNumberInput: '请输入合同编号',
salesmanInput: '请选择销售人员',
authorAmountInput: '请输入购买的权限个数',
authorAmountInputError: '请输入有效权限个数',
totalPriceInput: '请输入总价格',
totalPriceInputError1: '请输入的价格在两位小数',
totalPriceInputError2: '请输入有效总价格',
monthAmountInput: '请输入购买月数',
monthAmountInputError: '请输入有效购买月数',
startTimePick: '请选择开始日期',
bizTypeSelect: '请选择业务类型',
payWaysSelect: '请选择支付方式',
payStatusSelect: '请选择支付状态',
goodsNameInput: '请输入商品名称',
productTypeInput: '请选择产品类型',
mapInput: '请选择地图',
productInput: '请选择产品',
lessonInput: '请选择课程',
trialTimeInput: '请输入试用时长',
unitOfTimeRadio: '请选择时间单位',
goodsDescribtionInput: '请输入商品描述',
userNameInput: '请输入用户名称',
permissionTypeInput: '请选择权限类型'
};

View File

@ -73,5 +73,16 @@ export default {
requestFailed: '请求失败',
dataQuestion: '有问题数据',
dataList: '数据列表'
dataList: '数据列表',
updateProductTip: '此操作将修改商品状态?',
deleteProductTip: '此操作将删除该商品, 是否继续?',
getQRCodeFailure: '获取打包权限二维码失败',
recoveryPrivilegeTip: '此操作将回收权限, 是否继续?',
unpackingTip: '此操作将解包, 是否继续?',
updatePrivilegeTip: '此操作将修改权限状态,是否继续?',
addOrganizationPrefix: '是否添加 "',
addOrganizationSuffix: '" 组织/企业条目信息?',
packagingFailed: '权限分发打包失败'
};

View File

@ -89,7 +89,7 @@ export default {
handleClick: this.editObj
},
{
name: this.$t('map.delete'),
name: this.$t('map.deleteObj'),
handleClick: this.deleteObj,
type: 'danger'
}

View File

@ -15,7 +15,7 @@
<el-button :type="field === 'signalCode' ? 'danger' : 'primary'" @click="hover('signalCode')">{{ $t('map.activate') }}
</el-button>
</el-form-item>
<el-form-item :label="$t('map.segmentData')" prop="autoSignalClearList">
<el-form-item :label="$t('map.routeTriggerSectionList')" prop="autoSignalClearList">
<el-select v-model="addModel.autoSignalClearList" multiple clearable :filterable="true">
<el-option
v-for="item in sectionList"

View File

@ -47,7 +47,7 @@ export default {
},
stationCode: {
type: 'select',
label: this.$t('map.affiliationStationCode'),
label: this.$t('map.routeStationName'),
config: {
data: []
}
@ -83,7 +83,7 @@ export default {
prop: 'name'
},
{
title: this.$t('map.routeMapId'),
title: this.$t('map.pathUnitMapName'),
prop: 'mapId'
},
{
@ -91,11 +91,11 @@ export default {
prop: 'stationCode'
},
{
title: this.$t('map.routeStartSignalCode'),
title: this.$t('map.startingSignalName'),
prop: 'startSignalCode'
},
{
title: this.$t('map.routeEndSignalCode'),
title: this.$t('map.endingSignalName'),
prop: 'endSignalCode'
},
{

View File

@ -53,7 +53,7 @@ export default {
},
stationCode: {
type: 'select',
label: this.$t('map.affiliationStationCode'),
label: this.$t('map.routeStationName'),
config: {
data: []
}
@ -93,7 +93,7 @@ export default {
prop: 'mapId'
},
{
title: this.$t('map.affiliationStationCode'),
title: this.$t('map.routeStationName'),
prop: 'stationCode'
},
{

View File

@ -116,7 +116,7 @@ export default {
handleClick: this.editObj
},
{
name: this.$t('map.delete'),
name: this.$t('map.deleteObj'),
handleClick: this.deleteObj,
type: 'danger'
}

View File

@ -252,7 +252,7 @@ export default {
const selected = this.$store.getters['map/getDeviceByCode'](this.editModel.code);
if (selected && selected._type.toUpperCase() === 'ImageControl'.toUpperCase()) {
const _that = this;
this.$confirm(this.$t('map.confirmDeletion'), this.$t('map.hint'), {
this.$confirm(this.$t('tip.confirmDeletion'), this.$t('tip.hint'), {
confirmButtonText: this.$t('map.confirm'),
cancelButtonText: this.$t('map.cancel'),
type: 'warning'
@ -260,7 +260,7 @@ export default {
_that.$emit('delMapModel', selected);
_that.deviceSelect();
}).catch(() => {
_that.$message.info(this.$t('map.cancelledDelete'));
_that.$message.info(this.$t('tip.cancelledDelete'));
});
}
}

View File

@ -250,7 +250,7 @@ export default {
const selected = this.$store.getters['map/getDeviceByCode'](this.editModel.code);
if (selected && selected._type.toUpperCase() === 'Counter'.toUpperCase()) {
const _that = this;
this.$confirm(this.$t('map.confirmDeletion'), this.$t('map.hint'), {
this.$confirm(this.$t('tip.confirmDeletion'), this.$t('tip.hint'), {
confirmButtonText: this.$t('map.confirm'),
cancelButtonText: this.$t('map.cancel'),
type: 'warning'
@ -258,7 +258,7 @@ export default {
_that.$emit('delMapModel', selected);
_that.deviceSelect();
}).catch(() => {
_that.$message.info(this.$t('map.cancelledDelete'));
_that.$message.info(this.$t('tip.cancelledDelete'));
});
}
}

View File

@ -231,7 +231,7 @@ export default {
const selected = this.$store.getters['map/getDeviceByCode'](this.editModel.code);
if (selected && selected._type.toUpperCase() === 'DelayUnlock'.toUpperCase()) {
const _that = this;
this.$confirm(this.$t('map.confirmDeletion'), this.$t('map.hint'), {
this.$confirm(this.$t('tip.confirmDeletion'), this.$t('tip.hint'), {
confirmButtonText: this.$t('map.confirm'),
cancelButtonText: this.$t('map.cancel'),
type: 'warning'
@ -239,7 +239,7 @@ export default {
_that.$emit('delMapModel', selected);
_that.deviceSelect();
}).catch(() => {
_that.$message.info(this.$t('map.cancelledDelete'));
_that.$message.info(this.$t('tip.cancelledDelete'));
});
}
}

View File

@ -32,7 +32,7 @@
<el-tab-pane class="view-control" :label="$t('map.splitMerge')" name="three">
<el-scrollbar wrap-class="scrollbar-wrapper" :style="{ height: cardHeight+60+'px' }">
<el-form ref="oprt" :model="addModel" label-width="130px" size="mini" :rules="addRules">
<el-form-item :label="$t('map.sectionNameC')" prop="code">
<el-form-item :label="$t('map.sectionNameColon')" prop="code">
<el-select v-model="addModel.code" filterable>
<el-option
v-for="item in PhysicalSectionList"
@ -341,7 +341,7 @@ export default {
{ prop: 'segmentationPosition.y', firstLevel: 'segmentationPosition', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '20px', disabled: true }
] },
{ prop: 'isCurve', label: this.$t('map.isCurve'), type: 'checkbox', isHidden: !this.isSectionType },
{ prop: 'points', label: this.$t('map.sectionPoints'), type: 'points', width: '140px', isHidden: !this.isPointsShow, pointDisabled: this.pointDisabledName, addPoint: this.addPoint, delPoint: this.delPoint }
{ prop: 'points', label: this.$t('map.segmentCoordinates'), type: 'points', width: '140px', isHidden: !this.isPointsShow, pointDisabled: this.pointDisabledName, addPoint: this.addPoint, delPoint: this.delPoint }
]
},
map: {
@ -353,7 +353,7 @@ export default {
{ prop: 'kmRangeLeft', label: this.$t('map.leftKilometerMark'), type: 'number', min: 0 },
{ prop: 'kmRangeRight', label: this.$t('map.rightKilometerMark'), type: 'number', min: 0 },
{ prop: 'type', label: this.$t('map.sectionType'), type: 'select', optionLabel: 'name', optionValue: 'code', options: this.SectionTypeList },
{ prop: 'trainPosType', label: this.$t('map.trainPosType'), type: 'select', optionLabel: 'name', optionValue: 'code', options: this.TrainPositionTypeList, isHidden: !this.isSectionType }
{ prop: 'trainPosType', label: this.$t('map.trainDirection'), type: 'select', optionLabel: 'name', optionValue: 'code', options: this.TrainPositionTypeList, isHidden: !this.isSectionType }
]
}
}

View File

@ -210,7 +210,7 @@ export default {
{ prop: 'positionType', label: this.$t('map.signalPositionType'), type: 'select', optionLabel: 'name', optionValue: 'code', options: this.SignalPositionTypeList },
{ prop: 'position.x', firstLevel: 'position', secondLevel: 'x', label: this.$t('map.signalPositionX'), type: 'number', placeholder: 'px' },
{ prop: 'position.y', firstLevel: 'position', secondLevel: 'y', label: this.$t('map.signalPositionY'), type: 'number', placeholder: 'px' },
{ prop: 'rotate', label: this.$t('map.signalRotate'), type: 'number', min: -90, max: 90, placeholder: this.$t('tip.angle') },
{ prop: 'rotate', label: this.$t('map.rotateAngle'), type: 'number', min: -90, max: 90, placeholder: this.$t('tip.angle') },
{ prop: 'namePosition.x', firstLevel: 'namePosition', secondLevel: 'x', label: this.$t('map.signalNamePositionX'), type: 'number', placeholder: 'px' },
{ prop: 'namePosition.y', firstLevel: 'namePosition', secondLevel: 'x', label: this.$t('map.signalNamePositionY'), type: 'number', placeholder: 'px' },
{ prop: 'buttonShow', label: this.$t('map.signalButtonShow'), type: 'checkbox' },

View File

@ -106,7 +106,7 @@ export default {
item: [
{ prop: 'concentrateStationCode', label: this.$t('map.concentrateStationCode'), type: 'select', optionLabel: 'code&&name', optionValue: 'code', options: this.stationList },
{ prop: 'code', label: this.$t('map.stationCode'), type: 'select', optionLabel: 'code&&name', optionValue: 'code', options: this.stationList, change: true, deviceChange: this.deviceChange },
{ prop: 'name', label: this.$t('map.stationNameColon'), type: 'input' },
{ prop: 'name', label: this.$t('map.stationName'), type: 'input' },
{ prop: 'visible', label: this.$t('map.stationVisible'), type: 'checkbox' },
{ prop: 'nameFont', label: this.$t('map.stationNameFont'), type: 'font', placeholder: this.$t('tip.stationFont') },
{ prop: 'nameFontColor', label: this.$t('map.stationNameFontColor'), type: 'color' },
@ -146,10 +146,10 @@ export default {
{ required: true, message: this.$t('rules.stationKmPost'), trigger: 'blur' }
],
'position.x': [
{ required: true, message: this.$t('rules.stationPositionX'), trigger: 'blur' }
{ required: true, message: this.$t('rules.pleaseEnterXCoordinate'), trigger: 'blur' }
],
'position.y': [
{ required: true, message: this.$t('rules.stationPositionY'), trigger: 'blur' }
{ required: true, message: this.$t('rules.pleaseEnterYCoordinate'), trigger: 'blur' }
]
};
//

View File

@ -13,7 +13,7 @@
<el-tab-pane class="view-control" :label="$t('map.operation')" name="second">
<el-scrollbar wrap-class="scrollbar-wrapper" :style="{ height: cardHeight +'px' }">
<el-form ref="make" :model="addModel" label-width="120px" size="mini" :rules="makeRules">
<el-form-item :label="$t('map.stationNameColon')" prop="stationCode">
<el-form-item :label="$t('map.stationName')" prop="stationCode">
<el-select v-model="addModel.stationCode" filterable>
<el-option
v-for="item in stationList"
@ -102,8 +102,8 @@ export default {
{ prop: 'zakContent', label: this.$t('map.zakContent'), type: 'input' },
{ prop: 'jjzkContent', label: this.$t('map.jjzkContent'), type: 'input' },
{ prop: 'zzkContent', label: this.$t('map.zzkContent'), type: 'input' },
{ prop: 'position.x', firstLevel: 'position', secondLevel: 'x', label: this.$t('map.stationControlPositionX'), type: 'number', placeholder: 'px' },
{ prop: 'position.y', firstLevel: 'position', secondLevel: 'y', label: this.$t('map.stationControlPositionY'), type: 'number', placeholder: 'px' }
{ prop: 'position.x', firstLevel: 'position', secondLevel: 'x', label: this.$t('map.pointX'), type: 'number', placeholder: 'px' },
{ prop: 'position.y', firstLevel: 'position', secondLevel: 'y', label: this.$t('map.pointY'), type: 'number', placeholder: 'px' }
]
},
map: {

View File

@ -135,8 +135,8 @@ export default {
{ prop: 'hasDoor', label: this.$t('map.stationstandHasDoor'), type: 'checkbox' },
{ prop: 'width', label: this.$t('map.stationstandWidth'), type: 'number', min: 0, max: 2000, placeholder: 'px' },
{ prop: 'height', label: this.$t('map.stationstandHeight'), type: 'number', min: 0, max: 2000, placeholder: 'px' },
{ prop: 'position.x', firstLevel: 'position', secondLevel: 'x', label: this.$t('map.stationstandPositionX'), type: 'number', placeholder: 'px' },
{ prop: 'position.y', firstLevel: 'position', secondLevel: 'y', label: this.$t('map.stationstandPositionY'), type: 'number', placeholder: 'px' }
{ prop: 'position.x', firstLevel: 'position', secondLevel: 'x', label: this.$t('map.pointX'), type: 'number', placeholder: 'px' },
{ prop: 'position.y', firstLevel: 'position', secondLevel: 'y', label: this.$t('map.pointY'), type: 'number', placeholder: 'px' }
]
},
map: {

View File

@ -101,7 +101,7 @@ export default {
draw: {
name: this.$t('map.drawData'),
item: [
{ prop: 'code', label: this.$t('map.zcCodeColon'), type: 'select', optionLabel: 'code', optionValue: 'code', options: this.zcList, change: true, deviceChange: this.deviceChange },
{ prop: 'code', label: this.$t('map.code'), type: 'select', optionLabel: 'code', optionValue: 'code', options: this.zcList, change: true, deviceChange: this.deviceChange },
{ prop: 'name', label: this.$t('map.statusSignalName'), type: 'input' },
{ prop: 'visible', label: this.$t('map.showZc'), type: 'checkboxx' },
{ prop: 'position', label: this.$t('map.stateSignalsPlotCoordinates'), type: 'coordinate', width: '140px', children: [

View File

@ -107,18 +107,18 @@ export default {
},
newRules: {
name: [
{ required: true, message: this.$t('map.pleaseEnterMapName'), trigger: 'blur' }
{ required: true, message: this.$t('rules.pleaseEnterMapName'), trigger: 'blur' }
],
skinCode: [
{ required: true, message: this.$t('map.pleaseChooseSkinCode'), trigger: 'change' }
{ required: true, message: this.$t('rules.pleaseChooseSkinCode'), trigger: 'change' }
]
},
pullRules: {
id: [
{ required: true, message: this.$t('map.pleaseSelectMapSource'), trigger: 'change' }
{ required: true, message: this.$t('rules.pleaseSelectMapSource'), trigger: 'change' }
],
name: [
{ required: true, message: this.$t('map.pleaseEnterMapName'), trigger: 'change' }
{ required: true, message: this.$t('rules.pleaseEnterMapName'), trigger: 'change' }
]
}
};

View File

@ -112,23 +112,23 @@ export default {
editRules() {
return {
name: [
{ required: true, message: this.$t('map.pleaseEnterMapName'), trigger: 'blur' }
{ required: true, message: this.$t('rules.pleaseEnterMapName'), trigger: 'blur' }
],
skinCode: [
{ required: true, message: this.$t('map.pleaseSelectAssociatedSkin'), trigger: 'change' }
{ required: true, message: this.$t('rules.pleaseSelectAssociatedSkin'), trigger: 'change' }
],
cityCode: [
{ required: true, message: this.$t('map.pleaseSelectAssociatedCity'), trigger: 'change' }
{ required: true, message: this.$t('rules.pleaseSelectAssociatedCity'), trigger: 'change' }
]
};
},
updtRules() {
return {
linkWidth: [
{ required: true, message: this.$t('map.pleaseEnteMapLinkWidth'), trigger: 'blur' }
{ required: true, message: this.$t('rules.pleaseEnteMapLinkWidth'), trigger: 'blur' }
],
zoneWidth: [
{ required: true, message: this.$t('map.pleaseEnterMapSectionWidth'), trigger: 'blur' }
{ required: true, message: this.$t('rules.pleaseEnterMapSectionWidth'), trigger: 'blur' }
]
};
}

View File

@ -138,7 +138,7 @@ export default {
deleteObj() {
this.doClose();
const _that = this;
this.$confirm(this.$t('map.confirmDeletion'), this.$t('map.hint'), {
this.$confirm(this.$t('tip.confirmDeletion'), this.$t('tip.hint'), {
confirmButtonText: this.$t('map.confirm'),
cancelButtonText: this.$t('map.cancel'),
type: 'warning'

View File

@ -66,25 +66,25 @@ export default {
const _this = this;
const baseRules = {
userId: [
{ required: true, message: this.$t('orderAuthor.userNameInput'), trigger: 'blur' }
{ required: true, message: this.$t('rules.userNameInput'), trigger: 'blur' }
],
lessonId: [
{ required: true, message: this.$t('orderAuthor.lessonInput'), trigger: 'change' }
{ required: true, message: this.$t('rules.lessonInput'), trigger: 'change' }
],
type: [
{ required: true, message: this.$t('orderAuthor.permissionTypeInput'), trigger: 'change' }
{ required: true, message: this.$t('rules.permissionTypeInput'), trigger: 'change' }
],
forever: [
{ required: true, message: this.$t('orderAuthor.foreverRadio'), trigger: 'change' }
{ required: true, message: this.$t('rules.pleaseSelect'), trigger: 'change' }
],
total: [
{ required: true, message: this.$t('orderAuthor.amountInput'), trigger: 'change' },
{ required: true, message: this.$t('rules.authorAmountInput'), trigger: 'change' },
{
validator(rule, value, callback) {
if (Number.isInteger(Number(value)) && Number(value) >= 0) {
callback();
} else {
callback(new Error(_this.$t('orderAuthor.amountInputError')));
callback(new Error(_this.$t('rules.authorAmountInputError')));
}
},
trigger: 'blur'

View File

@ -207,7 +207,7 @@
return getLessonPermissonPageList(params);
},
handleSetFailure(index, row) {
this.$confirm(this.$t('orderAuthor.updatePrivilegeTip'), this.$t('tip.hint'), {
this.$confirm(this.$t('tip.updatePrivilegeTip'), this.$t('tip.hint'), {
confirmButtonText: this.$t('tip.confirm'),
cancelButtonText: this.$t('tip.cancel'),
type: 'warning'

View File

@ -126,48 +126,48 @@ export default {
rules() {
const baseRules = {
name: [
{ required: true, message: this.$t('orderAuthor.goodsNameInput'), trigger: 'blur' }
{ required: true, message: this.$t('rules.goodsNameInput'), trigger: 'blur' }
],
productType: [
{ required: true, message: this.$t('orderAuthor.productTypeInput'), trigger: 'change' }
{ required: true, message: this.$t('rules.productTypeInput'), trigger: 'change' }
],
mapId: [
{ required: true, message: this.$t('orderAuthor.mapInput'), trigger: 'change' }
{ required: true, message: this.$t('rules.mapInput'), trigger: 'change' }
],
mapProductCode: [
{ required: true, message: this.$t('orderAuthor.productInput'), trigger: 'change' }
{ required: true, message: this.$t('rules.productInput'), trigger: 'change' }
],
lessonId: [
{ required: true, message: this.$t('orderAuthor.lessonInput'), trigger: 'change' }
{ required: true, message: this.$t('rules.lessonInput'), trigger: 'change' }
],
forever: [
{ required: true, message: this.$t('orderAuthor.foreverRadio'), trigger: 'change' }
{ required: true, message: this.$t('rules.pleaseSelect'), trigger: 'change' }
],
tryUseTime: [
{ required: true, message: this.$t('orderAuthor.trialTimeInput'), trigger: 'change' }
{ required: true, message: this.$t('rules.trialTimeInput'), trigger: 'change' }
],
tryUseTimeUnit: [
{ required: true, message: this.$t('orderAuthor.unitOfTimeRadio'), trigger: 'change' }
{ required: true, message: this.$t('rules.unitOfTimeRadio'), trigger: 'change' }
],
price: [
{ required: true, message: this.$t('orderAuthor.totalPriceInput'), trigger: 'change' },
{ required: true, message: this.$t('rules.totalPriceInput'), trigger: 'change' },
{
validator(rule, value, callback) {
if (Number(value) >= 0) {
if (String(value).split('.')[1] && String(value).split('.')[1].length > 2) {
callback(new Error(this.$t('orderAuthor.totalPriceInputError1')));
callback(new Error(this.$t('rules.totalPriceInputError1')));
} else {
callback();
}
} else {
callback(new Error(this.$t('orderAuthor.totalPriceInputError2')));
callback(new Error(this.$t('rules.totalPriceInputError2')));
}
},
trigger: 'blur'
}
],
remarks: [
{ required: true, message: this.$t('orderAuthor.goodsDescribtionInput'), trigger: 'blur' }
{ required: true, message: this.$t('rules.goodsDescribtionInput'), trigger: 'blur' }
]
};

View File

@ -183,7 +183,7 @@
},
//
handleEfficacy(index, row) {
this.$confirm(this.$t('orderAuthor.updateProductTip'), this.$t('tip.hint'), {
this.$confirm(this.$t('tip.updateProductTip'), this.$t('tip.hint'), {
confirmButtonText: this.$t('tip.confirm'),
cancelButtonText: this.$t('tip.cancel'),
type: 'warning'
@ -198,7 +198,7 @@
}).catch(() => { })
},
handleDelete(index, row) {
this.$confirm(this.$t('orderAuthor.deleteProductTip'), this.$t('tip.hint'), {
this.$confirm(this.$t('tip.deleteProductTip'), this.$t('tip.hint'), {
confirmButtonText: this.$t('tip.confirm'),
cancelButtonText: this.$t('tip.cancel'),
type: 'warning'

View File

@ -185,84 +185,84 @@
const _this = this;
let baseRules = {
organizationId: [
{ required: true, message: this.$t('orderAuthor.organizationInput'), trigger: 'blur' }
{ required: true, message: this.$t('rules.organizationInput'), trigger: 'blur' }
],
// goodsId: [
// { required: true, message: '', trigger: 'change' }
// ],
goodsName: [
{ required: true, message: this.$t('orderAuthor.productSelect'), trigger: 'change' }
{ required: true, message: this.$t('rules.productSelect'), trigger: 'change' }
],
price: [
{ required: true, message: this.$t('orderAuthor.itemPricingInput'), trigger: 'blur' }
{ required: true, message: this.$t('rules.itemPricingInput'), trigger: 'blur' }
],
orderType: [
{ required: true, message: this.$t('orderAuthor.orderTypeSelect'), trigger: 'change' }
{ required: true, message: this.$t('rules.orderTypeSelect'), trigger: 'change' }
],
contractNo: [
{ required: true, message: this.$t('orderAuthor.contractNumberInput'), trigger: 'blur' },
{ min: 1, max: 25, message: this.$t('orderAuthor.contractNumberLimit'), trigger: 'blur' }
{ required: true, message: this.$t('rules.contractNumberInput'), trigger: 'blur' },
{ min: 1, max: 25, message: this.$t('rules.strLength1To25'), trigger: 'blur' }
],
sellerId: [
{ required: true, message: this.$t('orderAuthor.salesmanInput'), trigger: 'change' }
{ required: true, message: this.$t('rules.salesmanInput'), trigger: 'change' }
],
forever: [
{ required: true, message: this.$t('orderAuthor.foreverRadio'), trigger: 'change' }
{ required: true, message: this.$t('rules.pleaseSelect'), trigger: 'change' }
],
amount: [
{ required: true, message: this.$t('orderAuthor.amountInput'), trigger: 'change' },
{ required: true, message: this.$t('rules.authorAmountInput'), trigger: 'change' },
{
validator(rule, value, callback) {
if (Number.isInteger(Number(value)) && Number(value) > 0) {
callback();
} else {
callback(new Error(_this.$t('orderAuthor.amountInputError')));
callback(new Error(_this.$t('rules.authorAmountInputError')));
}
},
trigger: 'blur',
}
],
totalPrice: [
{ required: true, message: this.$t('orderAuthor.totalPriceInput'), trigger: 'change' },
{ required: true, message: this.$t('rules.totalPriceInput'), trigger: 'change' },
{
validator(rule, value, callback) {
if (Number(value) >= 0) {
if (String(value).split('.')[1] && String(value).split('.')[1].length > 2) {
callback(new Error(this.$t('orderAuthor.totalPriceInputError1')));
callback(new Error(this.$t('rules.totalPriceInputError1')));
} else {
callback();
}
} else {
callback(new Error(_this.$t('orderAuthor.totalPriceInputError2')));
callback(new Error(_this.$t('rules.totalPriceInputError2')));
}
},
trigger: 'blur',
}
],
monthAmount: [
{ required: true, message: this.$t('orderAuthor.monthAmountInput'), trigger: 'change' },
{ required: true, message: this.$t('rules.monthAmountInput'), trigger: 'change' },
{
validator(rule, value, callback) {
if (Number.isInteger(Number(value)) && Number(value) > 0) {
callback();
} else {
callback(new Error(_this.$t('orderAuthor.monthAmountInputError')));
callback(new Error(_this.$t('rules.monthAmountInputError')));
}
},
trigger: 'blur',
}
],
startTime: [
{ required: true, message: this.$t('orderAuthor.startTimePick'), trigger: 'change' }
{ required: true, message: this.$t('rules.startTimePick'), trigger: 'change' }
],
bizType: [
{ required: true, message: this.$t('orderAuthor.bizTypeSelect'), trigger: 'change' }
{ required: true, message: this.$t('rules.bizTypeSelect'), trigger: 'change' }
],
payWays: [
{ required: true && this.isShowPayType, message: this.$t('orderAuthor.payWaysSelect'), trigger: 'change' }
{ required: true && this.isShowPayType, message: this.$t('rules.payWaysSelect'), trigger: 'change' }
],
payStatus: [
{ required: true && this.isShowPayStatus, message: this.$t('orderAuthor.payStatusSelect'), trigger: 'change' }
{ required: true && this.isShowPayStatus, message: this.$t('rules.payStatusSelect'), trigger: 'change' }
]
}
@ -406,7 +406,7 @@
};
//,List,,
this.$confirm(this.$t('orderAuthor.addOrganizationPrefix') + input + this.$t('orderAuthor.addOrganizationSuffix'), this.$t('tip.hint'), {
this.$confirm(this.$t('tip.addOrganizationPrefix') + input + this.$t('tip.addOrganizationSuffix'), this.$t('tip.hint'), {
confirmButtonText: this.$t('tip.confirm'),
cancelButtonText: this.$t('tip.cancel'),
type: 'warning'

View File

@ -168,7 +168,7 @@ export default {
};
this.qrCodeShow();
}).catch(() => {
this.$messageBox(this.$t('orderAuthor.packagingFailed'));
this.$messageBox(this.$t('tip.packagingFailed'));
});
} else {
this.$messageBox(this.$t('orderAuthor.selectPackagingRecord'));

View File

@ -225,11 +225,11 @@
title: this.$t('orderAuthor.privilegeTransferQRCode')
});
}).catch(error => {
this.$messageBox(this.$t('orderAuthor.getQRCodeFailure'));
this.$messageBox(this.$t('tip.getQRCodeFailure'));
})
},
handleRestore(index, row) {
this.$confirm(this.$t('orderAuthor.recoveryPrivilegeTip'), this.$t('tip.hint'), {
this.$confirm(this.$t('tip.recoveryPrivilegeTip'), this.$t('tip.hint'), {
confirmButtonText: this.$t('tip.confirm'),
cancelButtonText: this.$t('tip.cancel'),
type: 'warning'
@ -243,7 +243,7 @@
}).catch(() => { });
},
handleUnPackage(index, row) {
this.$confirm(this.$t('orderAuthor.unpackingTip'), this.$t('tip.hint'), {
this.$confirm(this.$t('tip.unpackingTip'), this.$t('tip.hint'), {
confirmButtonText: this.$t('tip.confirm'),
cancelButtonText: this.$t('tip.cancel'),
type: 'warning'