Explorar o código

条目数据维护

zhangxc %!s(int64=5) %!d(string=hai) anos
pai
achega
a0e30ecc39
Modificáronse 32 ficheiros con 34049 adicións e 43 borrados
  1. 8 0
      src/css/index.less
  2. 69 0
      src/css/itemManager.less
  3. 30 0
      src/css/moduleManager.less
  4. 1 1
      src/html/index.html
  5. 40 7
      src/html/itemManager.html
  6. 8 4
      src/html/moduleManager.html
  7. 39 0
      src/html/qcList.html
  8. 5 1
      src/js/api.js
  9. 279 14
      src/js/itemManager.js
  10. 60 14
      src/js/moduleManager.js
  11. 113 0
      src/js/qcList.js
  12. 1 1
      src/js/utils.js
  13. 333 0
      src/resource/jquery-ui/AUTHORS.txt
  14. 43 0
      src/resource/jquery-ui/LICENSE.txt
  15. 11008 0
      src/resource/jquery-ui/external/jquery/jquery.js
  16. BIN=BIN
      src/resource/jquery-ui/images/ui-icons_444444_256x240.png
  17. BIN=BIN
      src/resource/jquery-ui/images/ui-icons_555555_256x240.png
  18. BIN=BIN
      src/resource/jquery-ui/images/ui-icons_777620_256x240.png
  19. BIN=BIN
      src/resource/jquery-ui/images/ui-icons_777777_256x240.png
  20. BIN=BIN
      src/resource/jquery-ui/images/ui-icons_cc0000_256x240.png
  21. BIN=BIN
      src/resource/jquery-ui/images/ui-icons_ffffff_256x240.png
  22. 559 0
      src/resource/jquery-ui/index.html
  23. 1312 0
      src/resource/jquery-ui/jquery-ui.css
  24. 18706 0
      src/resource/jquery-ui/jquery-ui.js
  25. 7 0
      src/resource/jquery-ui/jquery-ui.min.css
  26. 13 0
      src/resource/jquery-ui/jquery-ui.min.js
  27. 886 0
      src/resource/jquery-ui/jquery-ui.structure.css
  28. 5 0
      src/resource/jquery-ui/jquery-ui.structure.min.css
  29. 443 0
      src/resource/jquery-ui/jquery-ui.theme.css
  30. 5 0
      src/resource/jquery-ui/jquery-ui.theme.min.css
  31. 74 0
      src/resource/jquery-ui/package.json
  32. 2 1
      webpack.config.js

+ 8 - 0
src/css/index.less

@@ -38,4 +38,12 @@
     padding: 0 15px;
     cursor: pointer;
   }
+}
+iframe{
+  width: 100%;
+  height: 890px;
+  position: absolute;
+  top: 40px;
+  left: 200px;
+  overflow-y: auto;
 }

+ 69 - 0
src/css/itemManager.less

@@ -0,0 +1,69 @@
+ul,li{
+    list-style: none;
+}
+h2{
+    padding: 11px 20px;
+    font-size: 16px;
+    font-weight: 600;
+    border-bottom: 1px solid #E2E5EF;
+}
+table{
+    width: 1080px;
+    border:1px solid #E2E5EF;
+    border-collapse: collapse;
+    margin: 40px 0 0 20px;
+    thead{
+        background: #EFF0F9;
+       
+    }
+    th,td{
+        height: 40px;
+        box-sizing: border-box;
+        padding: 0 30px;
+        border:1px solid #E2E5EF;
+        border-collapse: collapse;
+    }
+    .moduleNumber{
+        text-align: center;
+    }
+    
+}
+.filterItem{
+    position: relative;
+    display: inline-block;
+    margin-right: 20px;
+}
+.filterDropList{
+    position: absolute;
+    right: 0;
+    background: #fff;
+    display: none;
+}
+.selectModuleType{
+    display: inline-block;
+    width: 160px;
+}
+.moduleTypeList{
+     width: 160px;
+    
+}
+.selectUsed, .selectReject{
+    display: inline-block;
+    width: 120px;
+}
+.rejectList, .usedList {
+    width: 120px;
+}
+
+
+
+
+.pagination{
+    margin: 0 0 0 30px;
+}
+.activePage{
+    color: #5A8EEE;
+}
+.pageNum, .more{
+    margin: 0 20px 0 0;
+}

+ 30 - 0
src/css/moduleManager.less

@@ -0,0 +1,30 @@
+h2{
+    padding: 11px 20px;
+    font-size: 16px;
+    font-weight: 600;
+    border-bottom: 1px solid #E2E5EF;
+}
+table{
+    width: 1080px;
+    border:1px solid #E2E5EF;
+    border-collapse: collapse;/*关键代码*/
+    margin: 40px 0 0 20px;
+    thead{
+        background: #EFF0F9;
+       
+    }
+    th,td{
+        height: 40px;
+        box-sizing: border-box;
+        padding: 0 30px;
+        border:1px solid #E2E5EF;
+        border-collapse: collapse;/*关键代码*/
+    }
+    .moduleNumber{
+        text-align: center;
+    }
+    
+}
+#dialog-message{
+    display: none;
+}

+ 1 - 1
src/html/index.html

@@ -33,7 +33,7 @@
                   <li>统计分析</li>
               </ul>
           </div>
-          
+        <iframe src="./moduleManager.html"  scrolling="yes"></iframe> 
       </div>
   </div>
 </body>

+ 40 - 7
src/html/itemManager.html

@@ -5,28 +5,61 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
-    <title>条目数据维护维护</title>
+    <title>条目数据维护</title>
     
 </head>
 
 <body>
     <div class="container">
         条目维护维护
+        <div class="filterBox">
+            <span class="filterItem typeFilter">
+                <span>类别名称:</span>
+                <span class="selectModuleType">全部</span>
+                <ul class="moduleTypeList filterDropList"></ul>
+            </span>
+            <span class="filterItem">
+                <span>条目名称:</span>
+                <span class="">
+                    <input class="moduleItemInp" type="text" placeholder="请输入质控条目名称">
+                </span>
+            </span>
+            <span class="filterItem">
+                <span>单项否决:</span>
+                <span class="selectReject">全部</span>
+                <ul class="rejectList filterDropList">
+                    <Li  class="rejectItem" data-name="全部" data-id="">全部</Li>
+                    <li  class="rejectItem" data-name="是" data-id=1>是</li>
+                    <li  class="rejectItem" data-name="否" data-id=0>否</li>
+                </ul>
+            </span>
+            <span class="filterItem">
+                <span>是否启用:</span>
+                <span class="selectUsed">全部</span>
+                <ul class="usedList filterDropList">
+                    <Li class="usedItem" data-name="全部" data-id="">全部</Li>
+                    <li class="usedItem" data-name="是" data-id=1>是</li>
+                    <li class="usedItem" data-name="否" data-id=0>否</li>
+                </ul>
+            </span>
+            <span class="filter">查询</span>
+        </div>
         <table>
             <thead>
                 <th class="moduleName">序号</th>
-                <th class="moduleScore">模块类别</th>
-                <th class="moduleScore">质控条目名称</th>
-                <th class="moduleScore">提示信息</th>
+                <th class="moduleType">模块类别</th>
+                <th class="moduleItemName">质控条目名称</th>
+                <th class="moduleTipsMsg">提示信息</th>
                 <th class="moduleScore">分值</th>
-                <th class="moduleScore">单项否决等级</th>
-                <th class="moduleScore">启用</th>
-                <th class="moduleScore">操作</th>
+                <th class="moduleReject">单项否决等级</th>
+                <th class="moduleUsed">启用</th>
+                <th class="moduleOpera">操作</th>
             </thead>
             <tbody>
 
             </tbody>
         </table>
+        <div class="pagination"></div>
     </div>
 </body>
 

+ 8 - 4
src/html/moduleManager.html

@@ -5,15 +5,16 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
-    <title>模块维护</title>
+    <title>模块数据维护</title>
     
 </head>
 
 <body>
     <div class="container">
-        模块维护
+       <h2>模块数据维护</h2>
         <table>
             <thead>
+                <th class="moduleNumber">序号</th>
                 <th class="moduleName">模块名称</th>
                 <th class="moduleScore">分数</th>
             </thead>
@@ -22,8 +23,11 @@
             </tbody>
         </table>
         <div class="saveModule">保存</div>
-        <div id="dialog" title="基本的对话框">
-        </div>
+        <div id="dialog-message" title="下载完成">
+            <p>
+              总分不是100分,是否继续
+            </p>
+          </div>
     </div>
 </body>
 

+ 39 - 0
src/html/qcList.html

@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>病历质控评分</title>
+    
+</head>
+
+<body>
+    <div class="container">
+        病历质控评分
+        <table>
+            <thead>
+                <th class="moduleName">病人住院ID</th>
+                <th class="moduleScore">病案号</th>
+                <th class="moduleScore">病人姓名</th>
+                <th class="moduleScore">性别</th>
+                <th class="moduleScore">年龄</th>
+                <th class="moduleScore">床号</th>
+                <th class="moduleScore">入院日期</th>
+                <th class="moduleScore">出院日期</th>
+                <th class="moduleScore">主治医生</th>
+                <th class="moduleScore">科室</th>
+                <th class="moduleScore">病历等级</th>
+                <th class="moduleScore">病历得分</th>
+                <th class="moduleScore">评分时间</th>
+            </thead>
+            <tbody>
+
+            </tbody>
+        </table>
+    </div>
+    <script src="./resource/layui/layui.js"></script>
+</body>
+
+</html>

+ 5 - 1
src/js/api.js

@@ -1,7 +1,11 @@
 
 const api = {
     getQcCases:'/qc/cases/getQcCases',
-    getQcCasesEntryAll:'/qc/casesEntryHospital/getQcCasesEntryAll'
+    getQcCasesAll:'/qc/casesEntryHospital/getQcCasesAll',
+    getQcCasesEntryAll:'/qc/casesEntryHospital/getQcCasesEntryAll',
+    updataQcCasesEntry: '/qc/casesEntryHospital/updataQcCasesEntry',
+    qcList:'/qc/behospitalInfo/page',
+    saveQcCases:'/qc/cases/saveQcCases',
 }
 module.exports = {
     api

+ 279 - 14
src/js/itemManager.js

@@ -1,19 +1,284 @@
 const $ = require('jquery');
-require("../css/moduleManager.less");
+require("../css/itemManager.less");
+require('./../resource/jquery-ui/jquery-ui.min.js');
 const {api} = require('./api.js')
 const {post} = require('./utils.js')
-const param = {
-    hospitalId: "",
-    casesName: "",
-    name: "", //条目名
-    isReject: 0, //1-单项否决 0-非
-    isUsed: 1 //0-未启用 1-启用
-}
-post(api.getQcCasesEntryAll,param).then(res =>{
-    console.log('ress', res)
-    if(res.data.code == '0'){
-        const data = res.data.data
-    }else{}
-}).catch((e) =>{
 
+let casesId="", name="", isReject ="", isUsed =""
+
+//获取表格数据
+function getTabData(activePage){
+    const param = {
+        current:activePage,
+        casesId: casesId,
+        name: name, //条目名
+        isReject: isReject, //1-单项否决 0-非
+        isUsed: isUsed //0-未启用 1-启用
+    }
+    post(api.getQcCasesEntryAll,param).then(res =>{
+        if(res.data.code == '0'){
+            const data = res.data.data.records
+            const totalPage = res.data.data.pages
+            const totalNum = res.data.data.total
+            renderTab(data,activePage)
+            renderPagination(totalPage,activePage,totalNum)
+
+        }else{}
+    }).catch((e) =>{
+    
+    })
+}
+$(".moduleItemInp").on("input", function(e){
+    const val = $(this).val().trim()
+    name = val
+})
+$(".filter").on("click", function(e){
+    getTabData(1)
+})
+$('.selectModuleType').on("click", function(e){
+    e.stopPropagation()
+    $(".rejectList ").css("display","none")
+    $(".usedList ").css("display", "none")
+    const showList =  $(".moduleTypeList ").css("display")
+    if(showList == "none" ||!showList){
+        $(".moduleTypeList ").css("display","block")
+    }else{
+        $(".moduleTypeList ").css("display", "none")
+    }
+})
+    
+$('.selectReject').on("click", function(e){
+    e.stopPropagation()
+    $(".moduleTypeList ").css("display", "none")
+    $(".usedList ").css("display", "none")
+    const showList =  $(".rejectList ").css("display")
+    if(showList == "none" ||!showList){
+        $(".rejectList ").css("display","block")
+    }else{
+        $(".rejectList ").css("display", "none")
+    }
+})
+$('.selectUsed').on("click", function(e){
+    e.stopPropagation()
+    $(".moduleTypeList ").css("display", "none")
+    $(".rejectList ").css("display","none")
+    const showList =  $(".usedList ").css("display")
+    if(showList == "none" ||!showList){
+        $(".usedList ").css("display","block")
+    }else{
+        $(".usedList ").css("display", "none")
+    }
+})
+bindRejectSelect()
+bindUsedSelect()
+getTabData(1)
+getmoduleTypeList()
+function renderTab(data,activePage){
+    let str = ``
+    for(let i = 0; i < data.length; i++){
+        const item = data[i]
+        str += `
+            <tr data-id=${item.id} data-index=${i}>
+                <td>${(activePage-1)*10 + i+1}</td>
+                <td>${item.casesName}</td>
+                <td>${item.name}</td>
+                <td>${item.msg}</td>
+                <td>${item.score}</td>
+                <td>${item.isReject}</td>
+                <td>${item.isUsed}</td>
+                <td class="editItem">修改</td>
+            </tr>
+        `
+    }
+    $('tbody').html(str)
+    bindEdit(data,activePage)
+}
+
+function bindEdit(data,activePage){
+    $('.editItem').click(function(e){
+        const index = $(this).parent().attr('data-index') 
+        editItem(data[index],activePage)
+    })
+}
+
+//修改
+function editItem(item,activePage){
+    const itemCpoy = JSON.parse(JSON.stringify(item))
+    $('.pop-box').remove()
+    $('.container').append('<div class="pop-box"></div>')
+    const str = `
+        <div><span>提示信息:</span> <input class="itemTipMsg" value=${itemCpoy.msg} /></div>
+        <div><span>分值:</span> <input class="itemScore"  type="number" value=${itemCpoy.score} /></div>
+        <div><span>单项否决</span><span class="itemReject">${itemCpoy.isReject}</span></div>
+        <div><span>启用</span><span class="itemUsed">${itemCpoy.isUsed}</span></div>
+        <div class="confirmEdit">确定</div>
+    `
+    $('.pop-box').html(str)
+    $(".itemTipMsg").on("input", function(e){
+        const val = $(this).val()
+        itemCpoy.msg = val
+    })
+    $(".itemScore").on("input", function(e){
+        const val = $(this).val()
+        itemCpoy.score = val
+    })
+    $(".itemReject").on("click", function(e){
+        itemCpoy.isReject = itemCpoy.isReject == 1 ? 0 : 1
+        $('.pop-box').remove()
+        editItem(itemCpoy,activePage)
+    })
+    $(".itemUsed").on("click", function(e){
+        itemCpoy.isUsed = itemCpoy.isUsed == 1 ? 0 : 1
+        $('.pop-box').remove()
+        editItem(itemCpoy,activePage)
+    })
+    
+    $(".confirmEdit").on("click", function(){
+        saveEdit(itemCpoy,activePage)
+        $('.pop-box').remove()
+    })
+   
+    
+}
+
+//保存修改
+function saveEdit(item,activePage){
+    const param = {
+        id: item.id,
+        isReject: item.isReject,
+        isUsed: item.isUsed,
+        msg: item.msg,
+        score: item.score
+    }
+
+    post(api.updataQcCasesEntry,param).then(res =>{
+        if(res.data.code == '0'){
+            const data = res.data.data
+            getTabData(activePage)
+        }else{}
+    }).catch((e) =>{
+    
+    })
+}
+
+//获取模块类型
+function getmoduleTypeList(){
+    post(api.getQcCasesAll).then(res =>{
+        if(res.data.code == '0'){
+           const  moduleTypeList = res.data.data
+           renderModuleTypeList(moduleTypeList)
+        }else{}
+    }).catch((e) =>{
+    
+    })
+}
+
+
+function renderModuleTypeList(moduleTypeList){
+    let str = `<li class="modeTypeItem" data-id=" " data-name="全部">全部</li>`
+    for(let i = 0; i < moduleTypeList.length; i++){
+        str += `<li class="modeTypeItem" data-id=${moduleTypeList[i].id} data-name=${moduleTypeList[i].name}> ${moduleTypeList[i].name}</li>`
+    }
+    $('.moduleTypeList').html(str)
+    bindModuleTypeSelect()
+}
+
+//模块类型选择
+function bindModuleTypeSelect(){
+    $('.modeTypeItem').on("click",function(){
+        const modeTypeItemName = $(this).attr("data-name")
+        const modeTypeItemId = $(this).attr("data-id")
+        casesId=modeTypeItemId
+        $('.selectModuleType').html(modeTypeItemName)
+        $(".moduleTypeList ").css("display", "none")
+    })
+}
+//单项否决选择
+function bindRejectSelect(){
+    $('.rejectItem').on("click",function(){
+        const rejectItemName = $(this).attr("data-name")
+        const rejectItemId = $(this).attr("data-id")
+        isReject=rejectItemId
+        $('.selectReject').html(rejectItemName)
+        $(".rejectList ").css("display", "none")
+    })
+}
+//是否启用选择
+function bindUsedSelect(){
+    $('.usedItem').on("click",function(){
+        const usedItemName = $(this).attr("data-name")
+        const usedItemItemId = $(this).attr("data-id")
+        isUsed=usedItemItemId
+        $('.selectUsed').html(usedItemName)
+        $(".usedList").css("display", "none")
+    })
+}
+
+
+
+
+//分页渲染
+function renderPagination(totalPage,activePage,totalNum){
+    let str = `<span class="totalNum">共${totalPage}页/${totalNum}条数据</span><span class="prePage">前一页</span>`
+    if(totalPage <= 6){
+        for(let i = 1; i <= totalPage; i++){
+            str += `<span class="pageNum ${'page'+i}" data-page=${i}>${i}</span>`
+        }
+    }else{
+        if(activePage <= 3){ //选中页数小于4
+            for(let i = 1; i <= 4; i++){
+                str += `<span class="pageNum ${'page'+i}" data-page=${i}>${i}</span>`
+            }
+            str += `<span class="more" >...</span>`
+        str += `<span class="pageNum ${'page'+totalPage}" data-page=${totalPage}>${totalPage}</span>`
+
+        } else if(activePage > totalPage -3){
+            str += `<span class="pageNum page1" data-page=1>1</span>`
+            str += `<span class="more" >...</span>`
+            str += `<span class="pageNum ${'page'+(totalPage-3)}" data-page=${totalPage -3}>${totalPage -3}</span>`
+            str += `<span class="pageNum ${'page'+(totalPage-2)}" data-page=${totalPage -2}>${totalPage -2}</span>`
+            str += `<span class="pageNum ${'page'+(totalPage-1)}" data-page=${totalPage -1}>${totalPage -1}</span>`
+            str += `<span class="pageNum ${'page'+totalPage}" data-page=${totalPage}>${totalPage}</span>`
+        } else {
+            str += `<span class="pageNum page1" data-page=1>1</span>`
+            str += `<span class="more" >...</span>`
+            str += `<span class="pageNum ${'page'+(activePage -1)}" data-page=${activePage -1}>${activePage -1}</span>`
+            str += `<span class="pageNum ${'page'+activePage}" data-page=${activePage}>${activePage}</span>`
+            str += `<span class="pageNum ${'page'+(activePage +1)}" data-page=${activePage +1}>${activePage +1}</span>`
+            str += `<span class="more" >...</span>`
+            str += `<span class="pageNum ${'page'+totalPage}" data-page=${totalPage}>${totalPage}</span>`
+        }
+       
+    }
+    str += `<span class="nextPage">后一页</span>`
+    $('.pagination').html(str)
+    $('.page' + activePage).addClass('activePage')
+    $(".pageNum").on("click", function(e){
+        const activePageNow = Number($(this).attr('data-page'))
+        getTabData(activePageNow)
+        // renderPagination(totalPage,activePageNow,totalNum)
+    })
+    $(".prePage").on("click", function(e){
+        let activePageNow = Number($(".activePage").attr('data-page'))
+        if(activePageNow > 1){
+            activePageNow--
+            getTabData(activePageNow)
+            // renderPagination(totalPage,activePageNow,totalNum)
+        }
+    })
+    $(".nextPage").on("click", function(e){
+        let activePageNow = Number($(".activePage").attr('data-page'))
+        if(activePageNow < totalPage){
+            activePageNow++
+            getTabData(activePageNow)
+            // renderPagination(totalPage,activePageNow,totalNum)
+        }
+    })
+    
+}
+
+$(document).on("click", function(){
+    $(".moduleTypeList ").css("display", "none")
+    $(".rejectList ").css("display","none")
+    $(".usedList ").css("display", "none")
 })

+ 60 - 14
src/js/moduleManager.js

@@ -1,19 +1,26 @@
 const $ = require('jquery');
 require("../css/moduleManager.less");
 require('./../resource/layui/layui.js');
+require('./../resource/jquery-ui/jquery-ui.min.js');
+require('./../resource/jquery-ui/jquery-ui.min.css');
 require('./../resource/layui/css/layui.css');
 // const  layui = require('layui-src');
 const {api} = require('./api.js')
 const {post} = require('./utils.js')
-post(api.getQcCases).then(res =>{
-    console.log('ress', res)
-    if(res.data.code == '0'){
-        const data = res.data.data
-        renderTab(data)
-    }else{}
-}).catch((e) =>{
 
-})
+let data = {}
+function getTabData(){
+    post(api.getQcCases).then(res =>{
+        console.log('ress', res)
+        if(res.data.code == '0'){
+            data = res.data.data
+            renderTab()
+        }else{}
+    }).catch((e) =>{
+    
+    })
+}
+getTabData()
 // const data = [
 //     {
 //         name: '入院记录',
@@ -44,12 +51,13 @@ post(api.getQcCases).then(res =>{
 //     }
 // ]
 
-function renderTab(data){
+function renderTab(){
     let  str = ``
     for(let i = 0; i < data.length; i++){
     
         str += `
         <tr>
+            <td class="moduleNumber">${i+1}</td>
             <td>${data[i].name}</td>
             <td> <input type="number"  data-index=${i} value=${data[i].score} /></td>
         </tr>
@@ -62,10 +70,10 @@ function renderTab(data){
     </tr>
     `
     $('table tbody').html(str)
-    bindInput(data)
-    getTotalSum(data)
+    bindInput()
+    getTotalSum()
 }
-function getTotalSum(data){
+function getTotalSum(){
     let sum = 0
     for(let i = 0; i < data.length; i++){
         if(data[i].score){
@@ -75,7 +83,9 @@ function getTotalSum(data){
     $('.totalSum').html(sum)
 }
 
-function bindInput(data){
+
+
+function bindInput(){
     $('input').on('input', function(e){
         const val = $(this).val()
         const index = $(this).attr('data-index')
@@ -86,9 +96,45 @@ function bindInput(data){
 }
 
 $('.saveModule').on("click", function(){
+    console.log('data', data)
     const sum =  $('.totalSum').html()
     if(sum != 100){
-        alert('满分不是100')
+        $( "#dialog-message" ).dialog({
+            modal: true,
+            buttons: {
+              "确定": function() {
+                $( this ).dialog( "close" );
+                saveModify()
+              }
+            }
+        });
+    }else{
+        saveModify()
     }
+    
+    
+    // const sum =  $('.totalSum').html()
+    // if(sum != 100){
+    //     alert('满分不是100')
+    // }
 })
+function saveModify(){
+    const qcCasesSaveVOList = []
+    for(let i = 0; i < data.length; i++){
+        qcCasesSaveVOList.push({
+            id: data[i].id,
+            score: data[i].score,
+        })
+    }
+    post(api.saveQcCases, {qcCasesSaveVOList}).then(res =>{
+        console.log('ress', res)
+        if(res.data.code == '0'){
+            getTabData()
+        }else{}
+    }).catch((e) =>{
+    
+    })
+
+    
+}
 

+ 113 - 0
src/js/qcList.js

@@ -0,0 +1,113 @@
+const $ = require('jquery');
+require("../css/moduleManager.less");
+const {api} = require('./api.js')
+const {post} = require('./utils.js')
+
+function getTabData(){
+    const param = {
+        fileCode: "",
+        name: "", //条目名
+        behosDateStart: "", //1-单项否决 0-非
+        leaveHosDateEnd: "" //0-未启用 1-启用
+    }
+    post(api.qcList,param).then(res =>{
+        console.log('ress', res)
+        if(res.data.code == '0'){
+            const data = res.data.data.records
+            renderTab(data)
+        }else{}
+    }).catch((e) =>{
+    
+    })
+}
+
+getTabData()
+function renderTab(data){
+    let str = ``
+    for(let i = 0; i < data.length; i++){
+        const item = data[i]
+        str += `
+            <tr data-id=${item.id} data-index=${i}>
+                <td>${i+1}</td>
+                <td>${item.behospitalCode}</td>
+                <td>${item.name}</td>
+                <td>${item.sex}</td>
+                <td>${item.age}</td>
+                <td>${item.bedCode}</td>
+                <td>${item.behospitalDate}</td>
+                <td>${item.leaveHospitalDate}</td>
+                <td>${item.doctorName}</td>
+                <td>${item.behDeptName}</td>
+                <td>${item.level}</td>
+                <td>${item.scoreRes}</td>
+                <td>${item.gradeTime}</td>
+            </tr>
+        `
+    }
+    $('tbody').html(str)
+    bindEdit(data)
+}
+
+function bindEdit(data){
+    $('.editItem').click(function(e){
+        const index = $(this).parent().attr('data-index') 
+        editItem(data[index])
+    })
+}
+
+function editItem(item){
+    const itemCpoy = JSON.parse(JSON.stringify(item))
+    $('.pop-box').remove()
+    $('.container').append('<div class="pop-box"></div>')
+    const str = `
+        <div><span>提示信息:</span> <input class="itemTipMsg" value=${itemCpoy.msg} /></div>
+        <div><span>分值:</span> <input class="itemScore"  type="number" value=${itemCpoy.score} /></div>
+        <div><span>单项否决</span><span class="itemReject">${itemCpoy.isReject}</span></div>
+        <div><span>启用</span><span class="itemUsed">${itemCpoy.isUsed}</span></div>
+        <div class="confirmEdit">确定</div>
+    `
+    $('.pop-box').html(str)
+    $(".itemTipMsg").on("input", function(e){
+        const val = $(this).val()
+        itemCpoy.msg = val
+    })
+    $(".itemScore").on("input", function(e){
+        const val = $(this).val()
+        itemCpoy.score = val
+    })
+    $(".itemReject").on("click", function(e){
+        itemCpoy.isReject = itemCpoy.isReject == 1 ? 0 : 1
+        $('.pop-box').remove()
+        editItem(itemCpoy)
+    })
+    $(".itemUsed").on("click", function(e){
+        itemCpoy.isUsed = itemCpoy.isUsed == 1 ? 0 : 1
+        $('.pop-box').remove()
+        editItem(itemCpoy)
+    })
+    
+    $(".confirmEdit").on("click", function(){
+        saveEdit(itemCpoy)
+        $('.pop-box').remove()
+    })
+   
+    
+}
+function saveEdit(item){
+    const param = {
+        id: item.id,
+        isReject: item.isReject,
+        isUsed: item.isUsed,
+        msg: item.msg,
+        score: item.score
+    }
+
+    post(api.updataQcCasesEntry,param).then(res =>{
+        if(res.data.code == '0'){
+            const data = res.data.data
+            getTabData()
+        }else{}
+    }).catch((e) =>{
+    
+    })
+}

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
src/js/utils.js


+ 333 - 0
src/resource/jquery-ui/AUTHORS.txt

@@ -0,0 +1,333 @@
+Authors ordered by first contribution
+A list of current team members is available at http://jqueryui.com/about
+
+Paul Bakaus <paul.bakaus@gmail.com>
+Richard Worth <rdworth@gmail.com>
+Yehuda Katz <wycats@gmail.com>
+Sean Catchpole <sean@sunsean.com>
+John Resig <jeresig@gmail.com>
+Tane Piper <piper.tane@gmail.com>
+Dmitri Gaskin <dmitrig01@gmail.com>
+Klaus Hartl <klaus.hartl@gmail.com>
+Stefan Petre <stefan.petre@gmail.com>
+Gilles van den Hoven <gilles@webunity.nl>
+Micheil Bryan Smith <micheil@brandedcode.com>
+Jörn Zaefferer <joern.zaefferer@gmail.com>
+Marc Grabanski <m@marcgrabanski.com>
+Keith Wood <kbwood@iinet.com.au>
+Brandon Aaron <brandon.aaron@gmail.com>
+Scott González <scott.gonzalez@gmail.com>
+Eduardo Lundgren <eduardolundgren@gmail.com>
+Aaron Eisenberger <aaronchi@gmail.com>
+Joan Piedra <theneojp@gmail.com>
+Bruno Basto <b.basto@gmail.com>
+Remy Sharp <remy@leftlogic.com>
+Bohdan Ganicky <bohdan.ganicky@gmail.com>
+David Bolter <david.bolter@gmail.com>
+Chi Cheng <cloudream@gmail.com>
+Ca-Phun Ung <pazu2k@gmail.com>
+Ariel Flesler <aflesler@gmail.com>
+Maggie Wachs <maggie@filamentgroup.com>
+Scott Jehl <scottjehl@gmail.com>
+Todd Parker <todd@filamentgroup.com>
+Andrew Powell <andrew@shellscape.org>
+Brant Burnett <btburnett3@gmail.com>
+Douglas Neiner <doug@dougneiner.com>
+Paul Irish <paul.irish@gmail.com>
+Ralph Whitbeck <ralph.whitbeck@gmail.com>
+Thibault Duplessis <thibault.duplessis@gmail.com>
+Dominique Vincent <dominique.vincent@toitl.com>
+Jack Hsu <jack.hsu@gmail.com>
+Adam Sontag <ajpiano@ajpiano.com>
+Carl Fürstenberg <carl@excito.com>
+Kevin Dalman <development@allpro.net>
+Alberto Fernández Capel <afcapel@gmail.com>
+Jacek Jędrzejewski (http://jacek.jedrzejewski.name)
+Ting Kuei <ting@kuei.com>
+Samuel Cormier-Iijima <sam@chide.it>
+Jon Palmer <jonspalmer@gmail.com>
+Ben Hollis <bhollis@amazon.com>
+Justin MacCarthy <Justin@Rubystars.biz>
+Eyal Kobrigo <kobrigo@hotmail.com>
+Tiago Freire <tiago.freire@gmail.com>
+Diego Tres <diegotres@gmail.com>
+Holger Rüprich <holger@rueprich.de>
+Ziling Zhao <zilingzhao@gmail.com>
+Mike Alsup <malsup@gmail.com>
+Robson Braga Araujo <robsonbraga@gmail.com>
+Pierre-Henri Ausseil <ph.ausseil@gmail.com>
+Christopher McCulloh <cmcculloh@gmail.com>
+Andrew Newcomb <ext.github@preceptsoftware.co.uk>
+Lim Chee Aun <cheeaun@gmail.com>
+Jorge Barreiro <yortx.barry@gmail.com>
+Daniel Steigerwald <daniel@steigerwald.cz>
+John Firebaugh <john_firebaugh@bigfix.com>
+John Enters <github@darkdark.net>
+Andrey Kapitcyn <ru.m157y@gmail.com>
+Dmitry Petrov <dpetroff@gmail.com>
+Eric Hynds <eric@hynds.net>
+Chairat Sunthornwiphat <pipo@sixhead.com>
+Josh Varner <josh.varner@gmail.com>
+Stéphane Raimbault <stephane.raimbault@gmail.com>
+Jay Merrifield <fracmak@gmail.com>
+J. Ryan Stinnett <jryans@gmail.com>
+Peter Heiberg <peter@heiberg.se>
+Alex Dovenmuehle <adovenmuehle@gmail.com>
+Jamie Gegerson <git@jamiegegerson.com>
+Raymond Schwartz <skeetergraphics@gmail.com>
+Phillip Barnes <philbar@gmail.com>
+Kyle Wilkinson <kai@wikyd.org>
+Khaled AlHourani <me@khaledalhourani.com>
+Marian Rudzynski <mr@impaled.org>
+Jean-Francois Remy <jeff@melix.org>
+Doug Blood <dougblood@gmail.com>
+Filippo Cavallarin <filippo.cavallarin@codseq.it>
+Heiko Henning <heiko@thehennings.ch>
+Aliaksandr Rahalevich <saksmlz@gmail.com>
+Mario Visic <mario@mariovisic.com>
+Xavi Ramirez <xavi.rmz@gmail.com>
+Max Schnur <max.schnur@gmail.com>
+Saji Nediyanchath <saji89@gmail.com>
+Corey Frang <gnarf37@gmail.com>
+Aaron Peterson <aaronp123@yahoo.com>
+Ivan Peters <ivan@ivanpeters.com>
+Mohamed Cherif Bouchelaghem <cherifbouchelaghem@yahoo.fr>
+Marcos Sousa <falecomigo@marcossousa.com>
+Michael DellaNoce <mdellanoce@mailtrust.com>
+George Marshall <echosx@gmail.com>
+Tobias Brunner <tobias@strongswan.org>
+Martin Solli <msolli@gmail.com>
+David Petersen <public@petersendidit.com>
+Dan Heberden <danheberden@gmail.com>
+William Kevin Manire <williamkmanire@gmail.com>
+Gilmore Davidson <gilmoreorless@gmail.com>
+Michael Wu <michaelmwu@gmail.com>
+Adam Parod <mystic414@gmail.com>
+Guillaume Gautreau <guillaume+github@ghusse.com>
+Marcel Toele <EleotleCram@gmail.com>
+Dan Streetman <ddstreet@ieee.org>
+Matt Hoskins <matt@nipltd.com>
+Giovanni Giacobbi <giovanni@giacobbi.net>
+Kyle Florence <kyle.florence@gmail.com>
+Pavol Hluchý <lopo@losys.sk>
+Hans Hillen <hans.hillen@gmail.com>
+Mark Johnson <virgofx@live.com>
+Trey Hunner <treyhunner@gmail.com>
+Shane Whittet <whittet@gmail.com>
+Edward A Faulkner <ef@alum.mit.edu>
+Adam Baratz <adam@adambaratz.com>
+Kato Kazuyoshi <kato.kazuyoshi@gmail.com>
+Eike Send <eike.send@gmail.com>
+Kris Borchers <kris.borchers@gmail.com>
+Eddie Monge <eddie@eddiemonge.com>
+Israel Tsadok <itsadok@gmail.com>
+Carson McDonald <carson@ioncannon.net>
+Jason Davies <jason@jasondavies.com>
+Garrison Locke <gplocke@gmail.com>
+David Murdoch <david@davidmurdoch.com>
+Benjamin Scott Boyle <benjamins.boyle@gmail.com>
+Jesse Baird <jebaird@gmail.com>
+Jonathan Vingiano <jvingiano@gmail.com>
+Dylan Just <dev@ephox.com>
+Hiroshi Tomita <tomykaira@gmail.com>
+Glenn Goodrich <glenn.goodrich@gmail.com>
+Tarafder Ashek-E-Elahi <mail.ashek@gmail.com>
+Ryan Neufeld <ryan@neufeldmail.com>
+Marc Neuwirth <marc.neuwirth@gmail.com>
+Philip Graham <philip.robert.graham@gmail.com>
+Benjamin Sterling <benjamin.sterling@kenzomedia.com>
+Wesley Walser <waw325@gmail.com>
+Kouhei Sutou <kou@clear-code.com>
+Karl Kirch <karlkrch@gmail.com>
+Chris Kelly <ckdake@ckdake.com>
+Jason Oster <jay@kodewerx.org>
+Felix Nagel <info@felixnagel.com>
+Alexander Polomoshnov <alex.polomoshnov@gmail.com>
+David Leal <dgleal@gmail.com>
+Igor Milla <igor.fsp.milla@gmail.com>
+Dave Methvin <dave.methvin@gmail.com>
+Florian Gutmann <f.gutmann@chronimo.com>
+Marwan Al Jubeh <marwan.aljubeh@gmail.com>
+Milan Broum <midlis@googlemail.com>
+Sebastian Sauer <info@dynpages.de>
+Gaëtan Muller <m.gaetan89@gmail.com>
+Michel Weimerskirch <michel@weimerskirch.net>
+William Griffiths <william@ycymro.com>
+Stojce Slavkovski <stojce@gmail.com>
+David Soms <david.soms@gmail.com>
+David De Sloovere <david.desloovere@outlook.com>
+Michael P. Jung <michael.jung@terreon.de>
+Shannon Pekary <spekary@gmail.com>
+Dan Wellman <danwellman@hotmail.com>
+Matthew Edward Hutton <meh@corefiling.co.uk>
+James Khoury <james@jameskhoury.com>
+Rob Loach <robloach@gmail.com>
+Alberto Monteiro <betimbrasil@gmail.com>
+Alex Rhea <alex.rhea@gmail.com>
+Krzysztof Rosiński <rozwell69@gmail.com>
+Ryan Olton <oltonr@gmail.com>
+Genie <386@mail.com>
+Rick Waldron <waldron.rick@gmail.com>
+Ian Simpson <spoonlikesham@gmail.com>
+Lev Kitsis <spam4lev@gmail.com>
+TJ VanToll <tj.vantoll@gmail.com>
+Justin Domnitz <jdomnitz@gmail.com>
+Douglas Cerna <douglascerna@yahoo.com>
+Bert ter Heide <bertjh@hotmail.com>
+Jasvir Nagra <jasvir@gmail.com>
+Yuriy Khabarov <13real008@gmail.com>
+Harri Kilpiö <harri.kilpio@gmail.com>
+Lado Lomidze <lado.lomidze@gmail.com>
+Amir E. Aharoni <amir.aharoni@mail.huji.ac.il>
+Simon Sattes <simon.sattes@gmail.com>
+Jo Liss <joliss42@gmail.com>
+Guntupalli Karunakar <karunakarg@yahoo.com>
+Shahyar Ghobadpour <shahyar@gmail.com>
+Lukasz Lipinski <uzza17@gmail.com>
+Timo Tijhof <krinklemail@gmail.com>
+Jason Moon <jmoon@socialcast.com>
+Martin Frost <martinf55@hotmail.com>
+Eneko Illarramendi <eneko@illarra.com>
+EungJun Yi <semtlenori@gmail.com>
+Courtland Allen <courtlandallen@gmail.com>
+Viktar Varvanovich <non4eg@gmail.com>
+Danny Trunk <dtrunk90@gmail.com>
+Pavel Stetina <pavel.stetina@nangu.tv>
+Michael Stay <metaweta@gmail.com>
+Steven Roussey <sroussey@gmail.com>
+Michael Hollis <hollis21@gmail.com>
+Lee Rowlands <lee.rowlands@previousnext.com.au>
+Timmy Willison <timmywillisn@gmail.com>
+Karl Swedberg <kswedberg@gmail.com>
+Baoju Yuan <the_guy_1987@hotmail.com>
+Maciej Mroziński <maciej.k.mrozinski@gmail.com>
+Luis Dalmolin <luis.nh@gmail.com>
+Mark Aaron Shirley <maspwr@gmail.com>
+Martin Hoch <martin@fidion.de>
+Jiayi Yang <tr870829@gmail.com>
+Philipp Benjamin Köppchen <xgxtpbk@gws.ms>
+Sindre Sorhus <sindresorhus@gmail.com>
+Bernhard Sirlinger <bernhard.sirlinger@tele2.de>
+Jared A. Scheel <jared@jaredscheel.com>
+Rafael Xavier de Souza <rxaviers@gmail.com>
+John Chen <zhang.z.chen@intel.com>
+Robert Beuligmann <robertbeuligmann@gmail.com>
+Dale Kocian <dale.kocian@gmail.com>
+Mike Sherov <mike.sherov@gmail.com>
+Andrew Couch <andy@couchand.com>
+Marc-Andre Lafortune <github@marc-andre.ca>
+Nate Eagle <nate.eagle@teamaol.com>
+David Souther <davidsouther@gmail.com>
+Mathias Stenbom <mathias@stenbom.com>
+Sergey Kartashov <ebishkek@yandex.ru>
+Avinash R <nashpapa@gmail.com>
+Ethan Romba <ethanromba@gmail.com>
+Cory Gackenheimer <cory.gack@gmail.com>
+Juan Pablo Kaniefsky <jpkaniefsky@gmail.com>
+Roman Salnikov <bardt.dz@gmail.com>
+Anika Henke <anika@selfthinker.org>
+Samuel Bovée <samycookie2000@yahoo.fr>
+Fabrício Matté <ult_combo@hotmail.com>
+Viktor Kojouharov <vkojouharov@gmail.com>
+Pawel Maruszczyk (http://hrabstwo.net)
+Pavel Selitskas <p.selitskas@gmail.com>
+Bjørn Johansen <post@bjornjohansen.no>
+Matthieu Penant <thieum22@hotmail.com>
+Dominic Barnes <dominic@dbarnes.info>
+David Sullivan <david.sullivan@gmail.com>
+Thomas Jaggi <thomas@responsive.ch>
+Vahid Sohrabloo <vahid4134@gmail.com>
+Travis Carden <travis.carden@gmail.com>
+Bruno M. Custódio <bruno@brunomcustodio.com>
+Nathanael Silverman <nathanael.silverman@gmail.com>
+Christian Wenz <christian@wenz.org>
+Steve Urmston <steve@urm.st>
+Zaven Muradyan <megalivoithos@gmail.com>
+Woody Gilk <shadowhand@deviantart.com>
+Zbigniew Motyka <zbigniew.motyka@gmail.com>
+Suhail Alkowaileet <xsoh.k7@gmail.com>
+Toshi MARUYAMA <marutosijp2@yahoo.co.jp>
+David Hansen <hansede@gmail.com>
+Brian Grinstead <briangrinstead@gmail.com>
+Christian Klammer <christian314159@gmail.com>
+Steven Luscher <jquerycla@steveluscher.com>
+Gan Eng Chin <engchin.gan@gmail.com>
+Gabriel Schulhof <gabriel.schulhof@intel.com>
+Alexander Schmitz <arschmitz@gmail.com>
+Vilhjálmur Skúlason <vis@dmm.is>
+Siebrand Mazeland <siebrand@kitano.nl>
+Mohsen Ekhtiari <mohsenekhtiari@yahoo.com>
+Pere Orga <gotrunks@gmail.com>
+Jasper de Groot <mail@ugomobi.com>
+Stephane Deschamps <stephane.deschamps@gmail.com>
+Jyoti Deka <dekajp@gmail.com>
+Andrei Picus <office.nightcrawler@gmail.com>
+Ondrej Novy <novy@ondrej.org>
+Jacob McCutcheon <jacob.mccutcheon@gmail.com>
+Monika Piotrowicz <monika.piotrowicz@gmail.com>
+Imants Horsts <imants.horsts@inbox.lv>
+Eric Dahl <eric.c.dahl@gmail.com>
+Dave Stein <dave@behance.com>
+Dylan Barrell <dylan@barrell.com>
+Daniel DeGroff <djdegroff@gmail.com>
+Michael Wiencek <mwtuea@gmail.com>
+Thomas Meyer <meyertee@gmail.com>
+Ruslan Yakhyaev <ruslan@ruslan.io>
+Brian J. Dowling <bjd-dev@simplicity.net>
+Ben Higgins <ben@extrahop.com>
+Yermo Lamers <yml@yml.com>
+Patrick Stapleton <github@gdi2290.com>
+Trisha Crowley <trisha.crowley@gmail.com>
+Usman Akeju <akeju00+github@gmail.com>
+Rodrigo Menezes <rod333@gmail.com>
+Jacques Perrault <jacques_perrault@us.ibm.com>
+Frederik Elvhage <frederik.elvhage@googlemail.com>
+Will Holley <willholley@gmail.com>
+Uri Gilad <antishok@gmail.com>
+Richard Gibson <richard.gibson@gmail.com>
+Simen Bekkhus <sbekkhus91@gmail.com>
+Chen Eshchar <eshcharc@gmail.com>
+Bruno Pérel <brunoperel@gmail.com>
+Mohammed Alshehri <m@dralshehri.com>
+Lisa Seacat DeLuca <ldeluca@us.ibm.com>
+Anne-Gaelle Colom <coloma@westminster.ac.uk>
+Adam Foster <slimfoster@gmail.com>
+Luke Page <luke.a.page@gmail.com>
+Daniel Owens <daniel@matchstickmixup.com>
+Michael Orchard <morchard@scottlogic.co.uk>
+Marcus Warren <marcus@envoke.com>
+Nils Heuermann <nils@world-of-scripts.de>
+Marco Ziech <marco@ziech.net>
+Patricia Juarez <patrixd@gmail.com>
+Ben Mosher <me@benmosher.com>
+Ablay Keldibek <atomio.ak@gmail.com>
+Thomas Applencourt <thomas.applencourt@irsamc.ups-tlse.fr>
+Jiabao Wu <jiabao.foss@gmail.com>
+Eric Lee Carraway <github@ericcarraway.com>
+Victor Homyakov <vkhomyackov@gmail.com>
+Myeongjin Lee <aranet100@gmail.com>
+Liran Sharir <lsharir@gmail.com>
+Weston Ruter <weston@xwp.co>
+Mani Mishra <manimishra902@gmail.com>
+Hannah Methvin <hannahmethvin@gmail.com>
+Leonardo Balter <leonardo.balter@gmail.com>
+Benjamin Albert <benjamin_a5@yahoo.com>
+Michał Gołębiowski <m.goleb@gmail.com>
+Alyosha Pushak <alyosha.pushak@gmail.com>
+Fahad Ahmad <fahadahmad41@hotmail.com>
+Matt Brundage <github@mattbrundage.com>
+Francesc Baeta <francesc.baeta@gmail.com>
+Piotr Baran <piotros@wp.pl>
+Mukul Hase <mukulhase@gmail.com>
+Konstantin Dinev <kdinev@mail.bw.edu>
+Rand Scullard <rand@randscullard.com>
+Dan Strohl <dan@wjcg.net>
+Maksim Ryzhikov <rv.maksim@gmail.com>
+Amine HADDAD <haddad@allegorie.tv>
+Amanpreet Singh <apsdehal@gmail.com>
+Alexey Balchunas <bleshik@gmail.com>
+Peter Kehl <peter.kehl@gmail.com>
+Peter Dave Hello <hsu@peterdavehello.org>
+Johannes Schäfer <johnschaefer@gmx.de>
+Ville Skyttä <ville.skytta@iki.fi>
+Ryan Oriecuia <ryan.oriecuia@visioncritical.com>

+ 43 - 0
src/resource/jquery-ui/LICENSE.txt

@@ -0,0 +1,43 @@
+Copyright jQuery Foundation and other contributors, https://jquery.org/
+
+This software consists of voluntary contributions made by many
+individuals. For exact contribution history, see the revision history
+available at https://github.com/jquery/jquery-ui
+
+The following license applies to all parts of this software except as
+documented below:
+
+====
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+====
+
+Copyright and related rights for sample code are waived via CC0. Sample
+code is defined as all source code contained within the demos directory.
+
+CC0: http://creativecommons.org/publicdomain/zero/1.0/
+
+====
+
+All files located in the node_modules and external directories are
+externally maintained libraries used by this software which have their
+own licenses; we recommend you read them, as their terms may differ from
+the terms above.

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 11008 - 0
src/resource/jquery-ui/external/jquery/jquery.js


BIN=BIN
src/resource/jquery-ui/images/ui-icons_444444_256x240.png


BIN=BIN
src/resource/jquery-ui/images/ui-icons_555555_256x240.png


BIN=BIN
src/resource/jquery-ui/images/ui-icons_777620_256x240.png


BIN=BIN
src/resource/jquery-ui/images/ui-icons_777777_256x240.png


BIN=BIN
src/resource/jquery-ui/images/ui-icons_cc0000_256x240.png


BIN=BIN
src/resource/jquery-ui/images/ui-icons_ffffff_256x240.png


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 559 - 0
src/resource/jquery-ui/index.html


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1312 - 0
src/resource/jquery-ui/jquery-ui.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 18706 - 0
src/resource/jquery-ui/jquery-ui.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 7 - 0
src/resource/jquery-ui/jquery-ui.min.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 13 - 0
src/resource/jquery-ui/jquery-ui.min.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 886 - 0
src/resource/jquery-ui/jquery-ui.structure.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 5 - 0
src/resource/jquery-ui/jquery-ui.structure.min.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 443 - 0
src/resource/jquery-ui/jquery-ui.theme.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 5 - 0
src/resource/jquery-ui/jquery-ui.theme.min.css


+ 74 - 0
src/resource/jquery-ui/package.json

@@ -0,0 +1,74 @@
+{
+	"name": "jquery-ui",
+	"title": "jQuery UI",
+	"description": "A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.",
+	"version": "1.12.1",
+	"homepage": "http://jqueryui.com",
+	"author": {
+		"name": "jQuery Foundation and other contributors",
+		"url": "https://github.com/jquery/jquery-ui/blob/1.12.1/AUTHORS.txt"
+	},
+	"main": "ui/widget.js",
+	"maintainers": [
+		{
+			"name": "Scott González",
+			"email": "scott.gonzalez@gmail.com",
+			"url": "http://scottgonzalez.com"
+		},
+		{
+			"name": "Jörn Zaefferer",
+			"email": "joern.zaefferer@gmail.com",
+			"url": "http://bassistance.de"
+		},
+		{
+			"name": "Mike Sherov",
+			"email": "mike.sherov@gmail.com",
+			"url": "http://mike.sherov.com"
+		},
+		{
+			"name": "TJ VanToll",
+			"email": "tj.vantoll@gmail.com",
+			"url": "http://tjvantoll.com"
+		},
+		{
+			"name": "Felix Nagel",
+			"email": "info@felixnagel.com",
+			"url": "http://www.felixnagel.com"
+		},
+		{
+			"name": "Alex Schmitz",
+			"email": "arschmitz@gmail.com",
+			"url": "https://github.com/arschmitz"
+		}
+	],
+	"repository": {
+		"type": "git",
+		"url": "git://github.com/jquery/jquery-ui.git"
+	},
+	"bugs": "https://bugs.jqueryui.com/",
+	"license": "MIT",
+	"scripts": {
+		"test": "grunt"
+	},
+	"dependencies": {},
+	"devDependencies": {
+		"commitplease": "2.3.0",
+		"grunt": "0.4.5",
+		"grunt-bowercopy": "1.2.4",
+		"grunt-cli": "0.1.13",
+		"grunt-compare-size": "0.4.0",
+		"grunt-contrib-concat": "0.5.1",
+		"grunt-contrib-csslint": "0.5.0",
+		"grunt-contrib-jshint": "0.12.0",
+		"grunt-contrib-qunit": "1.0.1",
+		"grunt-contrib-requirejs": "0.4.4",
+		"grunt-contrib-uglify": "0.11.1",
+		"grunt-git-authors": "3.1.0",
+		"grunt-html": "6.0.0",
+		"grunt-jscs": "2.1.0",
+		"load-grunt-tasks": "3.4.0",
+		"rimraf": "2.5.1",
+		"testswarm": "1.1.0"
+	},
+	"keywords": []
+}

+ 2 - 1
webpack.config.js

@@ -12,6 +12,7 @@ module.exports = {
     index: path.resolve(__dirname, 'src/js', 'index.js'),
     moduleManager: path.resolve(__dirname, 'src/js', 'moduleManager.js'),
     itemManager: path.resolve(__dirname, 'src/js', 'itemManager.js'),
+    qcList: path.resolve(__dirname, 'src/js', 'qcList.js'),
     vendor: 'lodash'// 多个页面所需的公共库文件,防止重复打包带入
   },
   output: {
@@ -93,7 +94,7 @@ module.exports = {
       title: 'qcList.html',
       template: path.resolve(__dirname, 'src/html', 'qcList.html'),
       filename: 'qcList.html',
-      chunks: ['index', 'vendor', 'common'],
+      chunks: ['qcList', 'vendor', 'common'],
       hash: true, //防止缓存
       inject: true,
       minify: {