Authored by wangshusheng

新增

... ... @@ -111,6 +111,12 @@
<script type="text/template" id="template">
<div class="form-group">
<label for="input" class="col-sm-2 control-label">评论内容:</label>
<div class="col-sm-10">
{content}
</div>
</div>
<div class="form-group">
<label for="input" class="col-sm-2 control-label">回复内容:</label>
<div class="col-sm-10">
<input type="hidden" name="" value="{id}" id="id" class="form-control" value="" required="required" pattern="" title="">
... ...
... ... @@ -240,7 +240,7 @@ $(document).on('click', '.reply', function() {
var item = g.rows[$(this).data("index")];
// 新增回复
common.dialog.confirm("新增回复",
common.util.__template($("#template").html(), {id: item.id, input: item.reply})
common.util.__template($("#template").html(), {id: item.id, input: item.reply, content: encodeHtml(item.content)})
, function () {
common.util.__ajax({
url: '/shareOrder/reply',
... ...