From 338038c8b41dd7581050507e01f404db394b8577 Mon Sep 17 00:00:00 2001 From: hdm Date: Mon, 17 Apr 2023 23:11:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=86=99=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E6=A8=A1=E6=9D=BF=E5=B1=95=E7=A4=BA=EF=BC=8C?= =?UTF-8?q?=E5=8F=8Ajs=E6=96=B9=E6=B3=95=EF=BC=8C=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E3=80=81PDF=E6=96=87=E4=BB=B6=E6=94=AF=E6=8C=81=E5=9C=A8?= =?UTF-8?q?=E7=BA=BF=E6=9F=A5=E7=9C=8B=E5=8A=9F=E8=83=BD=EF=BC=8C=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E6=96=87=E4=BB=B6=E4=B8=8B=E8=BD=BD=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=EF=BC=8C=E7=B3=BB=E7=BB=9F=E6=95=B4=E4=BD=93=E6=8F=90=E5=8D=87?= =?UTF-8?q?=E4=BA=86=E6=96=87=E4=BB=B6=E6=9B=B4=E8=83=BD=E7=9A=84=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E4=BD=93=E9=AA=8C=E3=80=82=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=BA=86=E5=AE=A2=E6=88=B7=E6=A8=A1=E5=9D=97=E7=9A=84=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E5=B1=95=E7=A4=BA=E9=94=99=E8=AF=AFbug=EF=BC=8C?= =?UTF-8?q?=E5=8F=91=E7=A5=A8=E5=88=B0=E8=B4=A6=E6=A8=A1=E5=9D=97=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E4=B8=8A=E4=BC=A0=E9=99=84=E4=BB=B6=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=EF=BC=8C=E5=8F=AF=E4=BB=A5=E4=B8=8A=E4=BC=A0=E5=88=B0=E8=B4=A6?= =?UTF-8?q?=E5=87=AD=E6=8D=AE=E7=AD=89=E8=B5=84=E6=96=99=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/article/view/index/add.html | 2 +- app/article/view/index/edit.html | 13 +- app/article/view/index/view.html | 12 +- app/common.php | 64 +++- app/contract/controller/Index.php | 2 +- app/contract/view/index/archive.html | 1 + app/contract/view/index/edit.html | 13 +- app/contract/view/index/index.html | 1 + app/contract/view/index/view.html | 24 +- app/contract/view/index/view_set.html | 14 +- app/customer/model/Customer.php | 2 +- app/customer/model/CustomerLog.php | 2 +- app/customer/view/index/index.html | 1 + app/customer/view/index/sea.html | 1 + app/customer/view/index/trash.html | 1 + app/customer/view/index/view.html | 88 ++--- app/finance/controller/Income.php | 9 + app/finance/view/expense/add.html | 148 +------- app/finance/view/expense/view.html | 44 +-- app/finance/view/income/add.html | 69 +++- app/finance/view/income/index.html | 3 +- app/finance/view/income/view.html | 72 +++- app/finance/view/invoice/add.html | 15 +- app/finance/view/invoice/checkedlist.html | 2 +- app/finance/view/invoice/copy.html | 1 + app/finance/view/invoice/index.html | 1 + app/finance/view/invoice/list.html | 1 + app/finance/view/invoice/view.html | 37 +- app/message/controller/Index.php | 12 +- app/message/view/index/add.html | 83 +---- app/message/view/index/read.html | 22 +- app/message/view/index/reply.html | 78 +--- app/note/view/index/index.html | 1 + app/oa/controller/Approve.php | 1 + app/oa/controller/Work.php | 4 +- app/oa/view/approve/add_caigou.html | 26 +- app/oa/view/approve/add_chuchai.html | 28 +- app/oa/view/approve/add_flow.html | 62 ---- app/oa/view/approve/add_fukuan.html | 28 +- app/oa/view/approve/add_huodong.html | 26 +- app/oa/view/approve/add_jiangli.html | 28 +- app/oa/view/approve/add_lizhi.html | 28 +- app/oa/view/approve/add_qingjia.html | 23 +- app/oa/view/approve/add_tongyong.html | 36 +- app/oa/view/approve/add_waichu.html | 25 +- app/oa/view/approve/add_weixiu.html | 26 +- app/oa/view/approve/add_yongzhang.html | 25 +- app/oa/view/approve/add_zhaopin.html | 27 +- app/oa/view/approve/add_zhuangang.html | 27 +- app/oa/view/approve/add_zhuanzheng.html | 26 +- app/oa/view/approve/copy.html | 2 +- app/oa/view/approve/view_caigou.html | 10 +- app/oa/view/approve/view_chuchai.html | 10 +- app/oa/view/approve/view_fukuan.html | 12 +- app/oa/view/approve/view_gongwen.html | 7 +- app/oa/view/approve/view_huodong.html | 10 +- app/oa/view/approve/view_jiangli.html | 10 +- app/oa/view/approve/view_lizhi.html | 10 +- app/oa/view/approve/view_qingjia.html | 10 +- app/oa/view/approve/view_script.html | 2 +- app/oa/view/approve/view_tongyong.html | 16 +- app/oa/view/approve/view_waichu.html | 10 +- app/oa/view/approve/view_weixiu.html | 10 +- app/oa/view/approve/view_yongzhang.html | 10 +- app/oa/view/approve/view_zhaopin.html | 10 +- app/oa/view/approve/view_zhuangang.html | 10 +- app/oa/view/approve/view_zhuanzheng.html | 10 +- app/oa/view/work/add.html | 85 +---- app/oa/view/work/read.html | 33 +- app/project/controller/Index.php | 2 +- app/project/controller/Task.php | 2 +- app/project/view/document/index.html | 2 +- app/project/view/index/index.html | 2 +- app/project/view/index/view.html | 2 +- app/project/view/index/view_overview.html | 69 +--- app/project/view/task/index.html | 4 +- app/project/view/task/view.html | 98 ++--- public/static/assets/gougu/css/gougu.css | 16 +- .../assets/gougu/images/delete_icon.png | Bin 0 -> 6553 bytes public/static/assets/gougu/module/oaTool.js | 351 ++++++++++++++---- 80 files changed, 905 insertions(+), 1205 deletions(-) create mode 100644 public/static/assets/gougu/images/delete_icon.png diff --git a/app/article/view/index/add.html b/app/article/view/index/add.html index a49189a..9673b4c 100644 --- a/app/article/view/index/add.html +++ b/app/article/view/index/add.html @@ -76,7 +76,7 @@
- +
diff --git a/app/article/view/index/edit.html b/app/article/view/index/edit.html index eb3d7bb..8560534 100644 --- a/app/article/view/index/edit.html +++ b/app/article/view/index/edit.html @@ -76,19 +76,10 @@
- + {notempty name="$article.file_ids"} {volist name="$article.fileArray" id="vo"} -
-
- -
{$vo.name}
-
- - -
-
-
+
{:file_card($vo)}
{/volist} {/notempty}
diff --git a/app/article/view/index/view.html b/app/article/view/index/view.html index 5b64c18..3745fff 100644 --- a/app/article/view/index/view.html +++ b/app/article/view/index/view.html @@ -46,15 +46,7 @@

相关附件

{volist name="$detail.fileArray" id="vo"} -
-
- -
{$vo.name}
-
- -
-
-
+
{:file_card($vo,'view')}
{/volist}
{/notempty} @@ -88,7 +80,7 @@ {block name="script"} diff --git a/app/finance/controller/Income.php b/app/finance/controller/Income.php index 8af39e5..81d7f59 100644 --- a/app/finance/controller/Income.php +++ b/app/finance/controller/Income.php @@ -186,6 +186,15 @@ class Income extends BaseController ->where(['i.inid'=>$id,'i.status'=>1]) ->order('i.enter_time desc') ->select(); + if($detail['file_ids'] !=''){ + $fileArray = Db::name('File')->where('id','in',$detail['file_ids'])->select(); + $detail['fileArray'] = $fileArray; + } + + if($detail['other_file_ids'] !=''){ + $fileArrayOther = Db::name('File')->where('id','in',$detail['other_file_ids'])->select(); + $detail['fileArrayOther'] = $fileArrayOther; + } View::assign('uid', $this->uid); View::assign('detail', $detail); return view(); diff --git a/app/finance/view/expense/add.html b/app/finance/view/expense/add.html index e5084f7..4970547 100644 --- a/app/finance/view/expense/add.html +++ b/app/finance/view/expense/add.html @@ -44,7 +44,7 @@ 关联的项目 - + @@ -79,9 +79,9 @@
附件
- +
- +
@@ -134,7 +134,7 @@ 关联的项目 - + @@ -171,21 +171,12 @@
附件
- +
- + {notempty name="$expense.file_ids"} {volist name="$expense.fileArray" id="vo"} -
-
- -
{$vo.name}
-
- - -
-
-
+
{:file_card($vo)}
{/volist} {/notempty}
@@ -236,28 +227,14 @@ {block name="script"} - {/block} diff --git a/app/finance/view/expense/view.html b/app/finance/view/expense/view.html index 0e6fb19..710f3a4 100644 --- a/app/finance/view/expense/view.html +++ b/app/finance/view/expense/view.html @@ -91,22 +91,20 @@ 费用金额 -
- - - - - - - {volist name="$detail.list" id="vo"} - - - - - - {/volist} -
报销金额(元)报销类别备注信息
{$vo.amount}{$vo.cate_title}{$vo.remarks}
-
+ + + + + + + {volist name="$detail.list" id="vo"} + + + + + + {/volist} +
报销金额(元)报销类别备注信息
{$vo.amount}{$vo.cate_title}{$vo.remarks}
{notempty name="$detail.file_ids"} @@ -115,15 +113,7 @@
{volist name="$detail.fileArray" id="vo"} -
-
- -
{$vo.name}
-
- -
-
-
+
{:file_card($vo,'view')}
{/volist}
@@ -143,7 +133,7 @@ - + @@ -181,19 +181,10 @@ @@ -229,19 +221,10 @@ @@ -113,19 +113,10 @@ @@ -67,15 +59,7 @@ @@ -97,7 +81,7 @@ {block name="script"} {/block} diff --git a/app/note/view/index/index.html b/app/note/view/index/index.html index f8d4ac6..be15eed 100644 --- a/app/note/view/index/index.html +++ b/app/note/view/index/index.html @@ -57,6 +57,7 @@ }, { field: 'title', title: '公告标题', + minWidth:240, templet: '
{{d.title}}
' }, { field: 'cate_title', diff --git a/app/oa/controller/Approve.php b/app/oa/controller/Approve.php index 729c4cf..afea6ee 100644 --- a/app/oa/controller/Approve.php +++ b/app/oa/controller/Approve.php @@ -518,6 +518,7 @@ class Approve extends BaseController $class = strtolower(app('request')->controller()); $action = strtolower(app('request')->action()); $template = $module . '/view/'. $class .'/view_'.$moban.'.html'; + //var_dump($detail['fileArray']); View::assign('is_create_admin', $is_create_admin); View::assign('is_check_admin', $is_check_admin); View::assign('check_record', $check_record); diff --git a/app/oa/controller/Work.php b/app/oa/controller/Work.php index 398c054..1a36638 100644 --- a/app/oa/controller/Work.php +++ b/app/oa/controller/Work.php @@ -146,7 +146,7 @@ class Work extends BaseController $person_name = Db::name('Admin')->where('status', 1)->where('id', 'in', $detail['type_user'])->column('name'); $detail['person_name'] = implode(",", $person_name); $file_array = Db::name('WorkFileInterfix') - ->field('wf.id,wf.wid,wf.file_id,f.name,f.filesize,f.filepath') + ->field('wf.id,wf.wid,wf.file_id,f.name,f.filesize,f.filepath,f.fileext,f.create_time,f.admin_id') ->alias('wf') ->join('file f', 'wf.file_id = f.id', 'LEFT') ->order('wf.create_time desc') @@ -193,7 +193,7 @@ class Work extends BaseController $detail['send_time'] = date('Y-m-d H:i:s',$detail['create_time']); //当前消息的附件 $file_array = Db::name('WorkFileInterfix') - ->field('wf.id,wf.wid,wf.file_id,f.name,f.filesize,f.filepath') + ->field('wf.id,wf.wid,wf.file_id,f.name,f.filesize,f.filepath,f.fileext,f.create_time,f.admin_id') ->alias('wf') ->join('file f', 'wf.file_id = f.id', 'LEFT') ->order('wf.create_time desc') diff --git a/app/oa/view/approve/add_caigou.html b/app/oa/view/approve/add_caigou.html index d4f589e..a79754d 100644 --- a/app/oa/view/approve/add_caigou.html +++ b/app/oa/view/approve/add_caigou.html @@ -36,9 +36,9 @@ - @@ -75,19 +75,10 @@ - @@ -109,19 +109,10 @@ - @@ -89,19 +89,10 @@ - @@ -77,19 +77,10 @@
审核状态审核状态 {eq name="$detail.check_status" value="0"}待审批{/eq} {eq name="$detail.check_status" value="1"}审批中{/eq} {eq name="$detail.check_status" value="2"}已通过,待打款{/eq} @@ -232,7 +222,7 @@ {block name="script"} +{/block} \ No newline at end of file diff --git a/app/finance/view/invoice/add.html b/app/finance/view/invoice/add.html index afdf033..646388b 100644 --- a/app/finance/view/invoice/add.html +++ b/app/finance/view/invoice/add.html @@ -80,7 +80,7 @@
- +
- + {notempty name="$detail.file_ids"} {volist name="$detail.fileArray" id="vo"} -
-
- -
{$vo.name}
-
- - -
-
-
+
{:file_card($vo)}
{/volist} {/notempty}
diff --git a/app/finance/view/invoice/checkedlist.html b/app/finance/view/invoice/checkedlist.html index d1ccb74..019acb6 100644 --- a/app/finance/view/invoice/checkedlist.html +++ b/app/finance/view/invoice/checkedlist.html @@ -70,7 +70,7 @@ }, { field: 'invoice_title', title: '开票抬头', - minWidth: 300, + minWidth: 240, templet:function(d){ var html=''; if(d.type==1){ diff --git a/app/finance/view/invoice/copy.html b/app/finance/view/invoice/copy.html index 86644c1..98e46b1 100644 --- a/app/finance/view/invoice/copy.html +++ b/app/finance/view/invoice/copy.html @@ -55,6 +55,7 @@ }, { field: 'invoice_title', title: '开票抬头', + minWidth: 240, templet:function(d){ var html=''; if(d.type==1){ diff --git a/app/finance/view/invoice/index.html b/app/finance/view/invoice/index.html index 89f1023..4804c0f 100644 --- a/app/finance/view/invoice/index.html +++ b/app/finance/view/invoice/index.html @@ -73,6 +73,7 @@ }, { field: 'invoice_title', title: '开票抬头', + minWidth: 240, templet:function(d){ var html=''; if(d.type==1){ diff --git a/app/finance/view/invoice/list.html b/app/finance/view/invoice/list.html index e467957..5236ccb 100644 --- a/app/finance/view/invoice/list.html +++ b/app/finance/view/invoice/list.html @@ -51,6 +51,7 @@ }, { field: 'invoice_title', title: '开票抬头', + minWidth: 240, templet:function(d){ var html=''; if(d.type==1){ diff --git a/app/finance/view/invoice/view.html b/app/finance/view/invoice/view.html index 6dc18ac..67b1311 100644 --- a/app/finance/view/invoice/view.html +++ b/app/finance/view/invoice/view.html @@ -119,15 +119,7 @@
{volist name="$detail.fileArray" id="vo"} -
-
- -
{$vo.name}
-
- -
-
-
+
{:file_card($vo,'view')}
{/volist}
- + {notempty name="$detail.other_file_ids"} {volist name="$detail.fileArrayOther" id="vo"} -
-
- -
{$vo.name}
-
- - -
-
-
+
{:file_card($vo)}
{/volist} {/notempty}
@@ -283,6 +266,7 @@ function gouguInit() { oaTool.addFile({ isSave:true, + uidDelete:true, ajaxSave:function(val){ $.ajax({ url: "/finance/api/open", @@ -295,6 +279,19 @@ function gouguInit() { location.reload(); } }) + }, + ajaxDelete:function(val){ + $.ajax({ + url: "/finance/api/open", + type:'post', + data:{ + id:$('[name="id"]').val(), + other_file_ids:val + }, + success: function (e) { + location.reload(); + } + }) } }) diff --git a/app/message/controller/Index.php b/app/message/controller/Index.php index b46cd47..6d5b226 100644 --- a/app/message/controller/Index.php +++ b/app/message/controller/Index.php @@ -352,7 +352,7 @@ class Index extends BaseController } else { $mid = $res; } - add_log('save',$mid); + add_log('save',$mid,$basedata,'消息'); return to_assign(0, '保存成功', $mid); } else { return to_assign(1, '操作失败'); @@ -407,7 +407,7 @@ class Index extends BaseController if ($res!==false) { //草稿消息变成已发消息 MessageList::where(['id' => $msg['id']])->update(['is_draft' => '1', 'send_time' => time(), 'update_time' => time()]); - add_log('send',$msg['id']); + add_log('send',$msg['id'],[],'消息'); return to_assign(0, '发送成功'); } else { return to_assign(1, '发送失败'); @@ -460,14 +460,14 @@ class Index extends BaseController foreach ($list as $key => $v) { if (MessageList::update($v) !== false) { if ($type = 1) { - add_log('view', $v['id']); + add_log('view', $v['id'],[],'消息'); } else if ($type = 2) { - add_log('delete', $v['id']); + add_log('delete', $v['id'],[],'消息'); } else if ($type = 3) { - add_log('recovery', $v['id']); + add_log('recovery', $v['id'],[],'消息'); } else if ($type = 4) { - add_log('clear', $v['id']); + add_log('clear', $v['id'],[],'消息'); } } } diff --git a/app/message/view/index/add.html b/app/message/view/index/add.html index a58d07b..c0cd3d2 100644 --- a/app/message/view/index/add.html +++ b/app/message/view/index/add.html @@ -38,7 +38,7 @@
附件
- +
附件
- + {notempty name="$detail.file_ids"} {volist name="$detail.file_array" id="vo"} -
-
- -
{$vo.name}
-
- - -
-
-
+
{:file_card($vo)}
{/volist} {/notempty}
@@ -146,27 +137,13 @@ {block name="script"} {/block} diff --git a/app/message/view/index/read.html b/app/message/view/index/read.html index 481e4b7..f26a1f2 100644 --- a/app/message/view/index/read.html +++ b/app/message/view/index/read.html @@ -42,15 +42,7 @@
引用消息附件 {volist name="$detail.from_file_array" id="vo"} -
-
- -
{$vo.name}
-
- -
-
-
+
{:file_card($vo,'view')}
{/volist}
相关附件 {volist name="$detail.file_array" id="vo"} -
-
- -
{$vo.name}
-
- -
-
-
+
{:file_card($vo,'view')}
{/volist}
附件
+
- +
附件
- + {notempty name="$detail.file_ids"} {volist name="$detail.fileArray" id="vo"} -
-
- -
{$vo.name}
-
- - -
-
-
+
{:file_card($vo)}
{/volist} {/notempty}
@@ -103,13 +94,18 @@ {block name="script"} diff --git a/app/oa/view/approve/add_fukuan.html b/app/oa/view/approve/add_fukuan.html index 8fff01c..99f24ea 100644 --- a/app/oa/view/approve/add_fukuan.html +++ b/app/oa/view/approve/add_fukuan.html @@ -53,9 +53,9 @@
附件
+
- +
附件
- + {notempty name="$detail.file_ids"} {volist name="$detail.fileArray" id="vo"} -
-
- -
{$vo.name}
-
- - -
-
-
+
{:file_card($vo)}
{/volist} {/notempty}
@@ -137,12 +128,17 @@ {block name="script"} {/block} diff --git a/app/oa/view/approve/add_waichu.html b/app/oa/view/approve/add_waichu.html index 7992dea..88bebcc 100644 --- a/app/oa/view/approve/add_waichu.html +++ b/app/oa/view/approve/add_waichu.html @@ -43,9 +43,9 @@
附件
+
- +
附件
- + {notempty name="$detail.file_ids"} {volist name="$detail.fileArray" id="vo"} -
-
- -
{$vo.name}
-
- - -
-
-
+
{:file_card($vo)}
{/volist} {/notempty}
@@ -183,11 +174,17 @@ function leaveTime() { return hour; } -const moduleInit = ['tool','employeepicker']; +const moduleInit = ['tool','employeepicker','oaTool']; function gouguInit() { var form = layui.form, tool=layui.tool, + oaTool=layui.oaTool, laydate = layui.laydate; + + oaTool.addFile({ + btn: 'upFile', + box: 'fileList' + }); if (typeof (flowStep) == "function") { flowStep(); diff --git a/app/oa/view/approve/add_weixiu.html b/app/oa/view/approve/add_weixiu.html index 7f142a9..83c8a0d 100644 --- a/app/oa/view/approve/add_weixiu.html +++ b/app/oa/view/approve/add_weixiu.html @@ -37,9 +37,9 @@
附件
+
- +
附件
- + {notempty name="$detail.file_ids"} {volist name="$detail.fileArray" id="vo"} -
-
- -
{$vo.name}
-
- - -
-
-
+
{:file_card($vo)}
{/volist} {/notempty}
@@ -105,12 +96,17 @@ {block name="script"} +{/block} \ No newline at end of file diff --git a/app/project/controller/Index.php b/app/project/controller/Index.php index 3e04ec8..128da1c 100644 --- a/app/project/controller/Index.php +++ b/app/project/controller/Index.php @@ -337,7 +337,7 @@ class Index extends BaseController //相关附件 $file_array = Db::name('ProjectFile') - ->field('mf.id,mf.topic_id,mf.admin_id,f.name,f.filesize,f.filepath,a.name as admin_name') + ->field('mf.id,mf.topic_id,mf.admin_id,f.name,f.filesize,f.filepath,f.fileext,f.create_time,f.admin_id,a.name as admin_name') ->alias('mf') ->join('File f', 'mf.file_id = f.id', 'LEFT') ->join('Admin a', 'mf.admin_id = a.id', 'LEFT') diff --git a/app/project/controller/Task.php b/app/project/controller/Task.php index 9a43a77..5f9ef45 100644 --- a/app/project/controller/Task.php +++ b/app/project/controller/Task.php @@ -117,7 +117,7 @@ class Task extends BaseController $auth = isAuth($this->uid,'project_admin'); if (in_array($detail['project_id'], $project_ids) || in_array($this->uid, $role_uid) || in_array($this->uid, explode(",",$detail['assist_admin_ids'])) || ($auth==1&&$detail['project_id']>0)) { $file_array = Db::name('ProjectFile') - ->field('mf.id,mf.topic_id,mf.admin_id,f.name,f.filesize,f.filepath,a.name as admin_name') + ->field('mf.id,mf.topic_id,mf.admin_id,f.name,f.filesize,f.filepath,f.fileext,f.create_time,f.admin_id,a.name as admin_name') ->alias('mf') ->join('File f', 'mf.file_id = f.id', 'LEFT') ->join('Admin a', 'mf.admin_id = a.id', 'LEFT') diff --git a/app/project/view/document/index.html b/app/project/view/document/index.html index 996db92..dca699a 100644 --- a/app/project/view/document/index.html +++ b/app/project/view/document/index.html @@ -59,7 +59,7 @@ } } , { - field: 'title', title: '文档主题', templet: function (d) { + field: 'title', title: '文档主题',minWidth:240, templet: function (d) { var html = '' + d.title + ''; return html; } diff --git a/app/project/view/index/index.html b/app/project/view/index/index.html index 9986d74..a17a3dd 100644 --- a/app/project/view/index/index.html +++ b/app/project/view/index/index.html @@ -41,7 +41,7 @@ } } , { - field: 'name', title: '项目名称', rowspan: 2, templet: function (d) { + field: 'name', title: '项目名称',minWidth:240, rowspan: 2, templet: function (d) { var html = '' + d.name + ''; return html; } diff --git a/app/project/view/index/view.html b/app/project/view/index/view.html index d88ab40..775da1f 100644 --- a/app/project/view/index/view.html +++ b/app/project/view/index/view.html @@ -512,7 +512,7 @@ return count; } - const moduleInit = ['tool','oaEdit','oaSchedule','oaComment']; + const moduleInit = ['tool','oaEdit','oaSchedule','oaComment','oaTool']; function gouguInit() { var element = layui.element; diff --git a/app/project/view/index/view_overview.html b/app/project/view/index/view_overview.html index d124ed1..bc1be67 100644 --- a/app/project/view/index/view_overview.html +++ b/app/project/view/index/view_overview.html @@ -109,26 +109,13 @@ 项目附件
- +
-
+
{volist name="file_array" id="vo"} -
-
- -
- {$vo.name} -
-
- - - - -
-
-
+
{:file_card($vo)}
{/volist} {empty name="$file_array" }
暂无附件
@@ -262,7 +249,7 @@