Kaynağa Gözat

事件列表短信模板默认

seimin 2 yıl önce
ebeveyn
işleme
ad96463f4d

+ 2 - 2
assets/js/controllers/incident/incidentCtrl.js

@@ -2410,7 +2410,7 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
2410 2410
         });
2411 2411
     }
2412 2412
     
2413
-    // 新增发送短信弹窗 liaomingming
2413
+    // 新增发送短信弹窗
2414 2414
     $scope.toSms = function (model) {
2415 2415
         console.log(model)
2416 2416
         var modalInstance = $modal.open({
@@ -2420,7 +2420,7 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
2420 2420
                 $scope.sms = {
2421 2421
                     assignUser: null,
2422 2422
                     assignGroup: null,
2423
-                    content: '',
2423
+                    content: `智慧华中大网络与信息服务运维管理系统提醒您,报修人${model.requester.name}于${model.place?model.place.area.area:''}${model.place?model.place.place:''}${model.houseNumber}提交的事件(联系方式:${model.contactsInformation})故障已自动恢复,您无需处理。`,
2424 2424
                 }
2425 2425
                 //获取用户
2426 2426
                 $scope.getUsers = function(key = ''){

+ 1 - 1
assets/views/incident/tpl/toSms.tpl.html

@@ -66,7 +66,7 @@
66 66
                         <div ng-bind-html="item.groupName | highlight: $select.search"></div>
67 67
                     </ui-select-choices>
68 68
                 </ui-select> -->
69
-                <textarea rows="3" ng-model="sms.content" class="describePlace" style="resize:none;width:230px;"></textarea>
69
+                <textarea rows="7" disabled ng-model="sms.content" class="describePlace" style="resize:none;width:230px;"></textarea>
70 70
             </div>
71 71
         </div>
72 72
     </div>