修复项目详情编辑合同失败的问题
This commit is contained in:
parent
6f95057f3d
commit
e689b90f47
@ -17,7 +17,7 @@
|
||||
title="修改计划结束日期" data-name="end_time"></i>
|
||||
{gt name=":isModule('contract')" value="0"}
|
||||
<span class="gray" style="margin-left:32px">关联合同:</span>
|
||||
<span id="content_{$detail.id}" data-val="{$detail.contract_id}">{$detail.contract}</span>
|
||||
<span id="contract_id_{$detail.id}" data-val="{$detail.contract_id}">{$detail.contract}</span>
|
||||
<i class="iconfont icon-wodedianping" title="编辑" data-id="{$detail.id}" data-name="contract_id"></i>
|
||||
{/gt}
|
||||
</div>
|
||||
|
@ -36,6 +36,7 @@
|
||||
.layui-table-view{margin:0;}
|
||||
.layui-table-view .layui-table th{background-color:#f8f8f8;}
|
||||
.layui-table-form tbody tr:hover{background-color: #fff;}
|
||||
.layui-table-tool{padding:10px 12px}
|
||||
.layui-td-gray,.layui-td-gray-2,.layui-td-gray-3,.layui-td-gray-4{color:#909399; width:68px; text-align:right; background-color:#fafafa;}
|
||||
.layui-td-gray-2{width:96px;}
|
||||
.layui-td-gray-3{width:126px;}
|
||||
@ -271,7 +272,7 @@ div.layui-table-main::-webkit-scrollbar-thumb:active{background-color:rgba(0,0,0
|
||||
}
|
||||
|
||||
/*gg-DIY*/
|
||||
.gg-form-bar{padding:10px 15px 0; background-color:#fff;}
|
||||
.gg-form-bar{padding:10px 12px 0; background-color:#fff;}
|
||||
.gg-form-bar .layui-input-inline{margin-bottom:10px;}
|
||||
.gg-tab-bar{background-color:#fff;}
|
||||
.gg-tab{text-align: left!important;}
|
||||
|
@ -455,34 +455,6 @@ layui.define(['tool'], function (exports) {
|
||||
}
|
||||
};
|
||||
|
||||
//查看图片文件
|
||||
$('body').on('click','.file-view-img',function () {
|
||||
let href = $(this).data('href');
|
||||
if(href){
|
||||
let photos = { "data": [{"src": href}]};
|
||||
layer.photos({
|
||||
photos: photos
|
||||
,anim: 5 //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数)
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
//查看pdf文件
|
||||
$('body').on('click','.file-view-pdf',function () {
|
||||
let href = $(this).data('href');
|
||||
if(href){
|
||||
layer.open({
|
||||
type: 2,
|
||||
title: '查看PDF文件,可以最大化看',
|
||||
shadeClose: true,
|
||||
shade: false,
|
||||
maxmin: true, //开启最大化最小化按钮
|
||||
area: ['900px', '600px'],
|
||||
content: href
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
//选择部门
|
||||
$('body').on('click','.picker-depament',function () {
|
||||
let that = $(this);
|
||||
|
@ -314,6 +314,34 @@ layui.define([], function (exports) {
|
||||
type: type
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
//查看图片附件
|
||||
$('body').on('click','.file-view-img',function () {
|
||||
let href = $(this).data('href');
|
||||
if(href){
|
||||
let photos = { "data": [{"src": href}]};
|
||||
layer.photos({
|
||||
photos: photos
|
||||
,anim: 5 //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数)
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
//查看pdf附件
|
||||
$('body').on('click','.file-view-pdf',function () {
|
||||
let href = $(this).data('href');
|
||||
if(href){
|
||||
layer.open({
|
||||
type: 2,
|
||||
title: '查看PDF文件,可以最大化看',
|
||||
shadeClose: true,
|
||||
shade: false,
|
||||
maxmin: true, //开启最大化最小化按钮
|
||||
area: ['900px', '600px'],
|
||||
content: href
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
//搜索表单重置快捷操作
|
||||
|
Loading…
x
Reference in New Issue
Block a user