2
3
lining 6 rokov pred
rodič
commit
893c02a864

+ 5 - 2
src/dashoo.cn/backend/api/controllers/oilsupplier/todolist.go

@@ -406,7 +406,6 @@ func (this *TodoListController) GetMyTaskEntityList() {
 // @router /getmytaskfinishedlist [get]
 func (this *TodoListController) GetMyTaskFinishedList() {
 	var todolists []todolist.TodoList
-	var todo todolist.TodoList
 
 	page := this.GetPageInfoForm()
 	where := " 1=1 "
@@ -509,6 +508,7 @@ func (this *TodoListController) GetMyTaskFinishedList() {
 		if certIdList != "" {
 			where += " and b.Id in (" + certIdList + ")"
 			svc.GetMyPagingEntitiesWithOrderBytbl(OilSupplierName, OilSupplierCertName, page.CurrentPage, page.Size, orderby, asc, &list, where)
+			var todo todolist.TodoList
 			for _, item := range list {
 				todo.Id = item.Id
 				todo.CertId = item.CertId
@@ -604,6 +604,7 @@ func (this *TodoListController) GetMyTaskFinishedList() {
 		if appendIdList != "" {
 			whereapp += " and b.Id in (" + appendIdList + ")"
 			svcapp.GetMyPagingEntitiesWithOrderBytbl(OilSupplierName, OilSupplierCertAppendName, page.CurrentPage, page.Size, orderby, asc, &listapp, whereapp)
+			var todo todolist.TodoList
 			for _, item := range listapp {
 				todo.Id = item.Id
 				todo.Type = todolist.CERTAPPEND
@@ -642,7 +643,7 @@ func (this *TodoListController) GetMyTaskFinishedList() {
 			//根据部门查询待办任务
 			whereannu += " and Status != 2 "
 			svc.GetPagingEntitiesWithOrderBytbl("", page.CurrentPage, page.Size, orderby, asc, &listannu, whereannu)
-
+			var todo todolist.TodoList
 			for _, item := range listannu {
 				todo.Id = item.Id
 				todo.SupplierId = strconv.Itoa(item.SupplierId)
@@ -682,6 +683,7 @@ func (this *TodoListController) GetMyTaskFinishedList() {
 		if infoList != "" {
 			whereInfo += " and Id in (" + infoList + ")"
 			svc.GetPagingEntitiesWithOrderBytbl("", page.CurrentPage, page.Size, orderby, asc, &listInfo, whereInfo)
+			var todo todolist.TodoList
 			for _, item := range listInfo {
 				todo.Id = item.Id
 				todo.Type = todolist.INFOCHANGE
@@ -743,6 +745,7 @@ func (this *TodoListController) GetMyTaskFinishedList() {
 		where = where + " and CheckUserId like '%" + this.User.Id + "%' "
 
 		svc := register.GetOilCorporateInfoService(utils.DBE)
+		var todo todolist.TodoList
 		var list []register.OilCorporateInfo
 		_, list = svc.GetCompanyListByWhere(page.CurrentPage, page.Size, "Id desc", "OilCorporateInfo", where)
 		for _, item := range list {

+ 3 - 1
src/dashoo.cn/frontend_web/src/pages/index.vue

@@ -114,11 +114,13 @@
             <el-table-column label="公司名称" prop="SupplierName"></el-table-column>
 
             <el-table-column label="执行人" prop="UserName"></el-table-column>
+
             <!--<el-table-column label="提交" prop="CreateTime">-->
               <!--<template slot-scope="scope">-->
-                <!--{{ jstimehandle(timestampToTime(scope.row.CreateTime)) }}-->
+                <!--{{scope.row.CreateTime}}=={{timestampToTime(scope.row.CreateTime)}}==={{ jstimehandle(timestampToTime(scope.row.CreateTime)) }}-->
               <!--</template>-->
             <!--</el-table-column>-->
+
             <el-table-column label="操作" width="130" align="center" fixed="right">
               <template slot-scope="scope">
                 <el-button type="text" title="打开"  icon="el-icon-edit" size="mini" @click="rowClick(scope.row)">打开</el-button>

+ 3 - 3
src/dashoo.cn/frontend_web/src/pages/select/companyselect/index.vue

@@ -89,9 +89,9 @@
         <el-table-column label="法人代表"  width="100px" prop="LegalPerson" align="center"></el-table-column>
         <el-table-column label="注册资金(万元)"  width="150px" prop="RegCapital" sortable align="center"></el-table-column>
         <el-table-column label="移动电话"  width="100px" prop="Mobile" align="center"></el-table-column>
-        <el-table-column label="最后一次年审" width="100px" prop="AuditDate" align="center">
-          <template slot-scope="scope">{{ jstimehandle(scope.row.AuditDate) }}</template>
-        </el-table-column>
+        <!--<el-table-column label="最后一次年审" width="100px" prop="AuditDate" align="center">-->
+          <!--<template slot-scope="scope">{{ jstimehandle(scope.row.AuditDate) }}</template>-->
+        <!--</el-table-column>-->
         <el-table-column label="有效期至" width="100px" prop="ApplyTime" align="center">
           <template slot-scope="scope">{{ jstimehandle(scope.row.ApplyTime) }}</template>
         </el-table-column>