Bläddra i källkod

web端修改列表字段位置

peiguo 3 år sedan
förälder
incheckning
7ee102422d

+ 25 - 25
admin-ui/app/whepi/lingyun/lingyunUser.js

@@ -429,31 +429,6 @@ define(function (require) {
                     {field: 'loudong', title: '部门名称', maxWidth: 200, align: 'left',},
                     {field: 'departmentName', title: '二级部门', maxWidth: 200, align: 'left',},
                     {
-                      field: 'inoculateStatus', title: '是否接种新冠疫苗', maxWidth: 130, align: 'center', formatter: function (value) {
-                        if (value == 1) {
-                          return "<span style='color: green;'>是<span>";
-                        } else if (value == 0) {
-                          return "<span style='color: red;'>否<span>";
-                        } else {
-                          return "";
-                        }
-                      }
-                    },
-                    {field: 'reason', title: '未接种原因', maxWidth: 200, align: 'left',},
-                    {
-                      field: 'vaccineType', title: '接种疫苗类别', maxWidth: 100, align: 'center', formatter: function (value) {
-                        if (value == 1) {
-                          return "<span>腺病毒疫苗<span>";
-                        } else if (value == 2) {
-                          return "<span>灭活疫苗<span>";
-                        } else if (value == 3) {
-                          return "<span>重组亚单位疫苗<span>";
-                        } else {
-                          return "";
-                        }
-                      }
-                    },
-                    {
                       field: 'living', title: '居家2公里', maxWidth: 100, align: 'center', formatter: function (value) {
                         if (value == 1) {
                           return "<span style='color: green;'>是<span>";
@@ -530,6 +505,31 @@ define(function (require) {
                     {field: 'autoAddr', title: '定位地址', maxWidth: 200, align: 'left',},
                     {field: 'isTripDesc', title: '是否出行', maxWidth: 200, align: 'left',},
                     {field: 'tripDetDesc', title: '出行详细', align: 'left',},
+                    {
+                      field: 'inoculateStatus', title: '是否接种新冠疫苗', maxWidth: 130, align: 'center', formatter: function (value) {
+                        if (value == 1) {
+                          return "<span style='color: green;'>是<span>";
+                        } else if (value == 0) {
+                          return "<span style='color: red;'>否<span>";
+                        } else {
+                          return "";
+                        }
+                      }
+                    },
+                    {field: 'reason', title: '未接种原因', maxWidth: 200, align: 'left',},
+                    {
+                      field: 'vaccineType', title: '接种疫苗类别', maxWidth: 100, align: 'center', formatter: function (value) {
+                        if (value == 1) {
+                          return "<span>腺病毒疫苗<span>";
+                        } else if (value == 2) {
+                          return "<span>灭活疫苗<span>";
+                        } else if (value == 3) {
+                          return "<span>重组亚单位疫苗<span>";
+                        } else {
+                          return "";
+                        }
+                      }
+                    },
                   ]
                 ]
             }

+ 25 - 25
admin-ui/app/whepi/lingyun/lingyunUser2.js

@@ -406,31 +406,6 @@ define(function (require) {
                     {field: 'loudong', title: '部门名称', maxWidth: 200, align: 'left',},
                     {field: 'departmentName', title: '二级部门', maxWidth: 200, align: 'left',},
                     {
-                      field: 'inoculateStatus', title: '是否接种新冠疫苗', maxWidth: 130, align: 'center', formatter: function (value) {
-                        if (value == 1) {
-                          return "<span style='color: green;'>是<span>";
-                        } else if (value == 0) {
-                          return "<span style='color: red;'>否<span>";
-                        } else {
-                          return "";
-                        }
-                      }
-                    },
-                    {field: 'reason', title: '未接种原因', maxWidth: 200, align: 'left',},
-                    {
-                      field: 'vaccineType', title: '接种疫苗类别', maxWidth: 100, align: 'center', formatter: function (value) {
-                        if (value == 1) {
-                          return "<span>腺病毒疫苗<span>";
-                        } else if (value == 2) {
-                          return "<span>灭活疫苗<span>";
-                        } else if (value == 3) {
-                          return "<span>重组亚单位疫苗<span>";
-                        } else {
-                          return "";
-                        }
-                      }
-                    },
-                    {
                       field: 'living', title: '居家2公里', maxWidth: 100, align: 'center', formatter: function (value) {
                         if (value == 1) {
                           return "<span style='color: green;'>是<span>";
@@ -505,6 +480,31 @@ define(function (require) {
                     },
                     {field: 'isTripDesc', title: '是否出行', maxWidth: 200, align: 'left',},
                     {field: 'tripDetDesc', title: '出行详细', align: 'left',},
+                    {
+                      field: 'inoculateStatus', title: '是否接种新冠疫苗', maxWidth: 130, align: 'center', formatter: function (value) {
+                        if (value == 1) {
+                          return "<span style='color: green;'>是<span>";
+                        } else if (value == 0) {
+                          return "<span style='color: red;'>否<span>";
+                        } else {
+                          return "";
+                        }
+                      }
+                    },
+                    {field: 'reason', title: '未接种原因', maxWidth: 200, align: 'left',},
+                    {
+                      field: 'vaccineType', title: '接种疫苗类别', maxWidth: 100, align: 'center', formatter: function (value) {
+                        if (value == 1) {
+                          return "<span>腺病毒疫苗<span>";
+                        } else if (value == 2) {
+                          return "<span>灭活疫苗<span>";
+                        } else if (value == 3) {
+                          return "<span>重组亚单位疫苗<span>";
+                        } else {
+                          return "";
+                        }
+                      }
+                    },
                   ]
                 ]
             }

+ 25 - 25
admin-ui/app/whepi/lingyun/lingyunUser7.js

@@ -427,31 +427,6 @@ define(function (require) {
                     {field: 'loudong', title: '部门名称', maxWidth: 200, align: 'left',},
                     {field: 'departmentName', title: '二级部门', maxWidth: 200, align: 'left',},
                     {
-                      field: 'inoculateStatus', title: '是否接种新冠疫苗', maxWidth: 130, align: 'center', formatter: function (value) {
-                        if (value == 1) {
-                          return "<span style='color: green;'>是<span>";
-                        } else if (value == 0) {
-                          return "<span style='color: red;'>否<span>";
-                        } else {
-                          return "";
-                        }
-                      }
-                    },
-                    {field: 'reason', title: '未接种原因', maxWidth: 200, align: 'left',},
-                    {
-                      field: 'vaccineType', title: '接种疫苗类别', maxWidth: 100, align: 'center', formatter: function (value) {
-                        if (value == 1) {
-                          return "<span>腺病毒疫苗<span>";
-                        } else if (value == 2) {
-                          return "<span>灭活疫苗<span>";
-                        } else if (value == 3) {
-                          return "<span>重组亚单位疫苗<span>";
-                        } else {
-                          return "";
-                        }
-                      }
-                    },
-                    {
                       field: 'living', title: '居家2公里', maxWidth: 100, align: 'center', formatter: function (value) {
                         if (value == 1) {
                           return "<span style='color: green;'>是<span>";
@@ -530,6 +505,31 @@ define(function (require) {
                     // {field: 'autoAddr', title: '定位地址', maxWidth: 200, align: 'left',},
                     {field: 'isTripDesc', title: '是否出行', maxWidth: 200, align: 'left',},
                     {field: 'tripDetDesc', title: '出行详细', align: 'left',},
+                    {
+                      field: 'inoculateStatus', title: '是否接种新冠疫苗', maxWidth: 130, align: 'center', formatter: function (value) {
+                        if (value == 1) {
+                          return "<span style='color: green;'>是<span>";
+                        } else if (value == 0) {
+                          return "<span style='color: red;'>否<span>";
+                        } else {
+                          return "";
+                        }
+                      }
+                    },
+                    {field: 'reason', title: '未接种原因', maxWidth: 200, align: 'left',},
+                    {
+                      field: 'vaccineType', title: '接种疫苗类别', maxWidth: 100, align: 'center', formatter: function (value) {
+                        if (value == 1) {
+                          return "<span>腺病毒疫苗<span>";
+                        } else if (value == 2) {
+                          return "<span>灭活疫苗<span>";
+                        } else if (value == 3) {
+                          return "<span>重组亚单位疫苗<span>";
+                        } else {
+                          return "";
+                        }
+                      }
+                    },
                   ]
                 ]
             }