ソースを参照

事件列表短信模板默认

seimin 2 年 前
コミット
ad96463f4d
共有2 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 2 2
      assets/js/controllers/incident/incidentCtrl.js
  2. 1 1
      assets/views/incident/tpl/toSms.tpl.html

+ 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
     $scope.toSms = function (model) {
2414
     $scope.toSms = function (model) {
2415
         console.log(model)
2415
         console.log(model)
2416
         var modalInstance = $modal.open({
2416
         var modalInstance = $modal.open({
@@ -2420,7 +2420,7 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
2420
                 $scope.sms = {
2420
                 $scope.sms = {
2421
                     assignUser: null,
2421
                     assignUser: null,
2422
                     assignGroup: null,
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
                 $scope.getUsers = function(key = ''){
2426
                 $scope.getUsers = function(key = ''){

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

@@ -66,7 +66,7 @@
66
                         <div ng-bind-html="item.groupName | highlight: $select.search"></div>
66
                         <div ng-bind-html="item.groupName | highlight: $select.search"></div>
67
                     </ui-select-choices>
67
                     </ui-select-choices>
68
                 </ui-select> -->
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
             </div>
70
             </div>
71
         </div>
71
         </div>
72
     </div>
72
     </div>