add messageType to Topic Change dialog

This commit is contained in:
Abhijeet Mishra
2023-04-30 15:58:53 +05:30
parent c084cc3a1a
commit 602d97b28a
5 changed files with 12 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
* clusterName (create on which cluster)
* brokerName (create on which broker)
* topicName
* messageType
* writeQueueNums
* readQueueNums
* perm //2 for write 4 for read 6 for write and read

View File

@@ -88,6 +88,7 @@ var en = {
"KEY":"Key",
"MESSAGE_BODY":"Message Body",
"TOPIC_NAME":"topicName",
"MESSAGE_TYPE":"messageType",
"ORDER":"order",
"CONSUMER_CLIENT":"consumerClient",
"BROKER_OFFSET":"brokerOffset",

View File

@@ -89,6 +89,7 @@ var zh = {
"KEY":"值",
"MESSAGE_BODY":"消息主体",
"TOPIC_NAME":"主题名",
"MESSAGE_TYPE":"消息类型",
"ORDER":"顺序",
"CONSUMER_CLIENT":"消费者终端",
"BROKER_OFFSET":"代理者位点",

View File

@@ -333,6 +333,7 @@ module.controller('topicController', ['$scope', 'ngDialog', '$http', 'Notificati
perm: 6,
order: false,
topicName: "",
messageType: "",
brokerNameList: []
}];
bIsUpdate = false;

View File

@@ -189,6 +189,14 @@
<span class="text-danger" ng-show="addAppForm.topicName.$error.required">{{'TOPIC_NAME'|translate}}不能为空.</span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">{{'MESSAGE_TYPE'|translate}}:</label>
<div class="col-sm-10">
<input class="form-control" ng-model="item.messageType" name="messageType" type="text"
ng-disabled="ngDialogData.bIsUpdate" required/>
<span class="text-danger" ng-show="addAppForm.messageType.$error.required">{{'MESSAGE_TYPE'|translate}}不能为空.</span>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">{{'WRITE_QUEUE_NUMS'|translate}}:</label>
<div class="col-sm-10">