Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

See999 4 years ago
parent
commit
b286eda978

+ 1 - 1
src/api/his/his.js View File

@@ -21,7 +21,7 @@ export function getPatientInfo(params) {
21 21
 
22 22
 
23 23
 export function createCaseHistory(params) {
24
-  console.log("params",params)
24
+  // console.log("params",params)
25 25
   return request({
26 26
     url: "/api/doctorworkstation/casehistory/create",
27 27
     method: "get",

+ 15 - 16
src/xt_pages/data/components/addInspection.vue View File

@@ -251,24 +251,23 @@ export default {
251 251
             }
252 252
          }
253 253
          console.log("33333",this.tableData)
254
-        //  this.tableData = []
255
-        //  this.tableData = this.tabList
254
+      
256 255
          
257 256
        
258
-        //     const params = {
259
-        //       id:this.form.project_detail,
260
-        //       number:parseInt(this.form.number)
261
-        //     }
262
-        //    console.log("params",params)
263
-        //   addProjectList(params).then(response=>{
264
-        //      if(response.data.state == 1){
265
-        //        var projectList = response.data.data.projectList
266
-        //        this.$message.success("保存成功")
267
-        //        this.form.project_detail = ""
268
-        //        this.form.number = ""
269
-        //        this.getlist()
270
-        //      }
271
-        //   })
257
+            const params = {
258
+              id:this.form.project_detail,
259
+              number:parseInt(this.form.number)
260
+            }
261
+           console.log("params",params)
262
+          addProjectList(params).then(response=>{
263
+             if(response.data.state == 1){
264
+               var projectList = response.data.data.projectList
265
+               this.$message.success("保存成功")
266
+               this.form.project_detail = ""
267
+               this.form.number = ""
268
+            //    this.getlist()
269
+             }
270
+          })
272 271
         },
273 272
         DeleteProject(id,index){
274 273
            this.$confirm("确认删除此项目吗?", "删除", {

+ 5 - 5
src/xt_pages/data/components/editInspection.vue View File

@@ -190,6 +190,7 @@ export default {
190 190
                        }
191 191
                    }
192 192
                  }
193
+                 console.log("数据222222",list)
193 194
                  var strArr = []
194 195
                  for(let i=0;i<arr.length;i++){
195 196
                    for(let j=0;j<list.length;j++){
@@ -199,7 +200,7 @@ export default {
199 200
                    }
200 201
                  }
201 202
                  this.tableData = strArr
202
-                 console.log("str---",strArr)
203
+               
203 204
                
204 205
                  this.form.id = projectTeamDetail.id
205 206
                  this.form.project_team = projectTeamDetail.project_team
@@ -209,7 +210,7 @@ export default {
209 210
                  this.form.tube_color = projectTeamDetail.tube_color
210 211
                  this.form.team_type = projectTeamDetail.team_type
211 212
                  this.form.remark = projectTeamDetail.remark
212
-                 console.log("project",projectTeamDetail)
213
+                //  console.log("project",projectTeamDetail)
213 214
               }
214 215
            }) 
215 216
         },
@@ -219,7 +220,7 @@ export default {
219 220
                 for(let i=0;i<this.tableData.length;i++){
220 221
                     arr.push(this.tableData[i].id)
221 222
                 }
222
-               console.log("arr",arr)
223
+             
223 224
                var ids = arr.join(",")
224 225
                if(valid){
225 226
                 var params = {
@@ -233,7 +234,7 @@ export default {
233 234
                     remark:this.form.remark,
234 235
                     ids:ids,
235 236
                 }
236
-                console.log("params",params)
237
+                // console.log("params",params)
237 238
                  updatedProjectTeam(params).then(response=>{
238 239
                    if(response.data.state == 1){
239 240
                      var projectTeam = response.data.data.projectTeam
@@ -261,7 +262,6 @@ export default {
261 262
         getId(id){
262 263
           var name = ""
263 264
           var statistics_category =  getDictionaryDataConfig('system','statistics_category') 
264
-          console.log("2235",statistics_category)
265 265
           for(let i=0;i<statistics_category.length;i++){
266 266
              if(id == statistics_category[i].id){
267 267
                  name = statistics_category[i].name