Parcourir la source

修改换行问题

laiguoran il y a 4 ans
Parent
commit
41e732cc05
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      app/view/tender/detail_modal.ejs

+ 2 - 2
app/view/tender/detail_modal.ejs

@@ -1548,7 +1548,7 @@
                         <% for (const sa of scheduleAuditList) { %>
                         <% const audit = ctx.helper._.find(accountList, { id : sa.audit_id }); %>
                         <% if (audit) { %>
-                        <tr data-id="<%- audit.id %>"><td><p class="mb-0 d-flex"><b class="col-3 pl-0"><%- audit.name %></b> <span class="text-muted"><%- audit.mobile %></span><p class="text-muted mb-0"><%- audit.role %></p></td><td>
+                        <tr data-id="<%- audit.id %>"><td><p class="mb-0 d-flex"><b class="col-5 pl-0"><%- audit.name %></b> <span class="text-muted"><%- audit.mobile %></span><p class="text-muted mb-0"><%- audit.role %></p></td><td>
                                 <div class="custom-control custom-checkbox mb-2">
                                     <input type="checkbox" data-zhi="<%- scPermission.show %>" data-id="<%- sa.id %>" id="<%- sa.id %>_customRadio41" name="customCheckbox" class="custom-control-input" <% if (sa.permission !== scPermission.no) { %>checked<% } %>>
                                     <label class="custom-control-label" for="<%- sa.id %>_customRadio41"></label>
@@ -1664,7 +1664,7 @@
                     type: 'add',
                 };
                 postData('/tender/' + cur_tenderid + '/schedule/audit/save', prop, function (data) {
-                    const html = '<tr data-id="'+ user.id + '"><td><p class="mb-0 d-flex"><b class="col-3 pl-0">'+ user.name + '</b> <span class="text-muted">'+ user.mobile + '</span><p class="text-muted mb-0">'+ user.role + '</p></td><td>\n' +
+                    const html = '<tr data-id="'+ user.id + '"><td><p class="mb-0 d-flex"><b class="col-5 pl-0">'+ user.name + '</b> <span class="text-muted">'+ user.mobile + '</span><p class="text-muted mb-0">'+ user.role + '</p></td><td>\n' +
                         '                                <div class="custom-control custom-checkbox mb-2">\n' +
                         '                                    <input type="checkbox" data-zhi="'+ scPermission.show +'" data-id="'+ data.id + '" id="'+ data.id + '_customRadio41" name="customCheckbox" class="custom-control-input" checked>\n' +
                         '                                    <label class="custom-control-label" for="'+ data.id + '_customRadio41"></label>\n' +