|
|
|
|
|
<script>
|
|
|
$(document).ready(function () {
|
|
|
$('input').iCheck({
|
|
|
checkboxClass: 'icheckbox_square-red',
|
|
|
radioClass: 'iradio_square-red',
|
|
|
increaseArea: '10%' // optional
|
|
|
});
|
|
|
|
|
|
$("#uploadpicture").click(function () {
|
|
|
window.open('http://photo.chtcdn.com:3581/OutputApp/OutputApp.aspx?apptype=provide&pst=0_<?php echo $gri_sn; ?>,&VEISN=<?php echo $this->permission->admin()->LMI_VEI_SN; ?>&uname=<?php echo $this->permission->admin()->WU_UserName; ?>&upass=123456&LMISN=<?php echo $this->permission->admin()->LMI_SN; ?>', 'uploadpicture', 'status=0, toolbar=0, location=0, menubar=0, directories=0,resizable=1, scrollbars=0, width=800, height=600');
|
|
|
});
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
|
<div class="row">
|
|
|
<div class="col-md-24">
|
|
|
<?php
|
|
|
$count_rate = 0; //总分平均分
|
|
|
$count_rate_index = 0;
|
|
|
$guide_rate = 0; //导游平均分
|
|
|
$guide_rate_index = 0;
|
|
|
foreach ($service_item_info as $key => $item) {
|
|
|
$count_rate_index++;
|
|
|
//echo $item->ESI_Rate. ' ';
|
|
|
$count_rate = $count_rate + $item->ESI_Rate;
|
|
|
if ($item->ESI_ServiceType == 'W') {
|
|
|
$guide_rate_index++;
|
|
|
$guide_rate = $guide_rate + $item->ESI_Rate;
|
|
|
}
|
|
|
}
|
|
|
$count_rate = round($count_rate / $count_rate_index,2);
|
|
|
$guide_rate = round($guide_rate / $guide_rate_index,2);
|
|
|
?>
|
|
|
|
|
|
|
|
|
<h1><?php echo $group_info->GRI_No; ?> <small> 时间:</small><?php echo date('Y-m-d', strtotime($object_info->EOI_Date)); ?> <small>平均分:</small><?php echo $count_rate; ?> , <small>导游平均分:</small><?php echo $guide_rate; ?></strong> </h1>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="row">
|
|
|
<div class="col-md-24">
|
|
|
<legend>反馈表信息</legend>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php if($many_family){?>
|
|
|
<div class="row">
|
|
|
<div class="col-md-24 feedback_home_list">
|
|
|
多家庭反馈表:
|
|
|
<?php foreach ($many_family as $k=>$v){?>
|
|
|
<a <?php if($esi_mei_sn == $v->ESI_MEI_SN){?>class="active"<?php }?> href="<?php echo site_url('welcome/feedback_detail')?>/<?php echo $gri_sn?>/<?php echo $eoi_sn?>/<?php echo $v->ESI_MEI_SN?>"><?php echo $v->esiname?> </a>
|
|
|
<?php }?>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php }?>
|
|
|
|
|
|
<form name="form_feedback" id="form_feedback" method="post" action="<?php echo site_url('/welcome/feedback_detail_submit'); ?>" >
|
|
|
<div class="row">
|
|
|
<div class="col-md-16">
|
|
|
<dl class="dl-horizontal">
|
|
|
<dt>客人:</dt><dd><?php echo $group_info->CusCW . ' ' . $group_info->CusFirstName . ' ' . $group_info->CusLastName; ?> 's China Tour</dd>
|
|
|
<dt>团号:</dt><dd><?php echo $group_info->VGroupInfo; ?> 质量调查表</dd>
|
|
|
<dt>地接社:</dt><dd><?php echo $object_info->VendorName; ?> </dd>
|
|
|
<dt>外联:</dt><dd><?php echo $group_info->WLCW . ' , ' . $group_info->WLFirstName . ' , ' . $group_info->WLLastName; ?></dd>
|
|
|
<dt>联系方式:</dt><dd>Tel:<?php echo $group_info->WLTel; ?> ,Fax:<?php echo $group_info->WLFax; ?>,cell phone:<?php echo $group_info->WLMobile; ?> ,email:<?php echo $group_info->WLEmail; ?></dd>
|
|
|
<dt>导游:</dt><dd>
|
|
|
<select name="guide_info_sn" disabled="disabled" id="guide_info_sn" class="col-md-12">
|
|
|
<?php
|
|
|
foreach ($guide_list as $item) {
|
|
|
$selected = '';
|
|
|
if ($item->TGI_SN == $guide_sn) {
|
|
|
$selected = 'selected';
|
|
|
}
|
|
|
?>
|
|
|
<option <?php echo $selected; ?> value="<?php echo $item->TGI_SN; ?>"><?php echo $item->TGI2_Name . ' ' . $item->TGI2_Name2 . ' ' . $item->TGI_Mobile; ?></option>
|
|
|
<?php } ?>
|
|
|
</select>
|
|
|
</dd>
|
|
|
<!-- <dt>联系方式:</dt><dd></dd> -->
|
|
|
</dl>
|
|
|
</div>
|
|
|
<div class="col-md-8">
|
|
|
<a href="javascript:history.back(-1)" class="btn btn-danger" >返回上一页</a>
|
|
|
<a href="javascript:void(0);" id="uploadpicture" class="btn btn-success" >上传图片</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="table-responsive col-md-24">
|
|
|
<table class="table table-striped">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th class="col-md-5"></th>
|
|
|
<th class="col-md-3"><img src="/css/images/gyp_feedback_excellent.gif" class="img-rounded img-responsive" alt="Responsive image"></th>
|
|
|
<th class="col-md-3"><img src="/css/images/gyp_feedback_verygood.gif" class="img-rounded img-responsive" alt="Responsive image"></th>
|
|
|
<th class="col-md-3"><img src="/css/images/gyp_feedback_fair.gif" class="img-rounded img-responsive" alt="Responsive image"> </th>
|
|
|
<th class="col-md-3"><img src="/css/images/gyp_feedback_poor.gif" class="img-rounded img-responsive" alt="Responsive image"></th>
|
|
|
<th class="col-md-3"><img src="/css/images/gyp_feedback_unacceptable.gif" class="img-rounded img-responsive" alt="Responsive image"></th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
<td colspan="6"><h3>1.How satisfied were you with your tour guide? (All we need is a small tick)</h3></td>
|
|
|
</tr>
|
|
|
<?php
|
|
|
foreach ($service_item_info as $item) {
|
|
|
if ($item->ESI_ServiceType == 'W') {
|
|
|
?>
|
|
|
<tr>
|
|
|
<td><?php echo empty($item->ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?></td>
|
|
|
<td><label><input type='radio' value="5" <?php if ($item->ESI_Rate == 5 || empty($item->ESI_Rate) || $item->ESI_Rate==0.00) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Excellent</label></td>
|
|
|
<td><label><input type='radio' value="4" <?php if ($item->ESI_Rate == 4) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Very Good</label></td>
|
|
|
<td><label><input type='radio' value="3" <?php if ($item->ESI_Rate == 3) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Fair</label></td>
|
|
|
<td><label><input type='radio' value="2" <?php if ($item->ESI_Rate == 2) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Poor</label></td>
|
|
|
<td><label><input type='radio' value="1" <?php if ($item->ESI_Rate == 1) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Unacceptable</label></td>
|
|
|
</tr>
|
|
|
<?php
|
|
|
}
|
|
|
}
|
|
|
?>
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
<td colspan="6"><h3>2. How about the Driver and Car/Van?</h3></td>
|
|
|
</tr>
|
|
|
<?php
|
|
|
foreach ($service_item_info as $item) {
|
|
|
if ($item->ESI_ServiceType == 'Y') {
|
|
|
?>
|
|
|
<tr>
|
|
|
<td><?php echo empty($item->ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?></td>
|
|
|
<td><label><input type='radio' value="5" <?php if ($item->ESI_Rate == 5 || empty($item->ESI_Rate) || $item->ESI_Rate==0.00) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Excellent</label></td>
|
|
|
<td><label><input type='radio' value="4" <?php if ($item->ESI_Rate == 4) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Very Good</label></td>
|
|
|
<td><label><input type='radio' value="3" <?php if ($item->ESI_Rate == 3) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Fair</label></td>
|
|
|
<td><label><input type='radio' value="2" <?php if ($item->ESI_Rate == 2) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Poor</label></td>
|
|
|
<td><label><input type='radio' value="1" <?php if ($item->ESI_Rate == 1) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Unacceptable</label></td>
|
|
|
</tr>
|
|
|
<?php
|
|
|
}
|
|
|
}
|
|
|
?>
|
|
|
|
|
|
<tr>
|
|
|
<td colspan="6"><h3>3. General Experience with</h3></td>
|
|
|
</tr>
|
|
|
<?php
|
|
|
foreach ($service_item_info as $item) {
|
|
|
if ($item->ESI_ServiceType == 'A' || $item->ESI_ServiceType == 'C' || ($item->ESI_ServiceType == '7' && $item->ESI_ServiceSN==0)) {
|
|
|
?>
|
|
|
<tr>
|
|
|
<td><?php echo empty($item->ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?></td>
|
|
|
<td><label><input type='radio' value="5" <?php if ($item->ESI_Rate == 5 || empty($item->ESI_Rate) || $item->ESI_Rate==0.00) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>' >Excellent</label></td>
|
|
|
<td><label><input type='radio' value="4" <?php if ($item->ESI_Rate == 4) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Very Good</label></td>
|
|
|
<td><label><input type='radio' value="3" <?php if ($item->ESI_Rate == 3) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Fair</label></td>
|
|
|
<td><label><input type='radio' value="2" <?php if ($item->ESI_Rate == 2) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Poor</label></td>
|
|
|
<td><label><input type='radio' value="1" <?php if ($item->ESI_Rate == 1) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Unacceptable</label></td>
|
|
|
</tr>
|
|
|
<?php
|
|
|
}
|
|
|
}
|
|
|
?>
|
|
|
<tr>
|
|
|
<td colspan="6"><h3>4. Our Spotlight Experience(s)</h3></td>
|
|
|
</tr>
|
|
|
<?php
|
|
|
foreach ($service_item_info as $item) {
|
|
|
if ( $item->ESI_ServiceType == '7' && $item->ESI_ServiceSN>0) {
|
|
|
?>
|
|
|
<tr>
|
|
|
<td><?php echo empty($item->ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?></td>
|
|
|
<td><label><input type='radio' value="5" <?php if ($item->ESI_Rate == 5 || empty($item->ESI_Rate) || $item->ESI_Rate==0.00) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>' >Excellent</label></td>
|
|
|
<td><label><input type='radio' value="4" <?php if ($item->ESI_Rate == 4) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Very Good</label></td>
|
|
|
<td><label><input type='radio' value="3" <?php if ($item->ESI_Rate == 3) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Fair</label></td>
|
|
|
<td><label><input type='radio' value="2" <?php if ($item->ESI_Rate == 2) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Poor</label></td>
|
|
|
<td><label><input type='radio' value="1" <?php if ($item->ESI_Rate == 1) { echo "checked"; } ?> name='<?php echo 'esi_sn_' . $item->ESI_SN; ?>'>Unacceptable</label></td>
|
|
|
</tr>
|
|
|
<?php
|
|
|
}
|
|
|
}
|
|
|
?>
|
|
|
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
<div class="col-md-24">
|
|
|
|
|
|
<?php
|
|
|
switch ($group_service->QSFour) {
|
|
|
case 223005:
|
|
|
?>
|
|
|
<h3>5. What do you think of #<?php echo $group_service->QSFourServiceName; ?>#?</h3>
|
|
|
<input type="hidden" name="q4_eef_type" value="<?php echo $group_service->QSFour; ?>" />
|
|
|
<div class="row">
|
|
|
<div class="col-md-24">
|
|
|
<textarea class="col-md-20" rows="3" name="q4_eef_content"><?php echo empty($service_question_four)?false:$service_question_four->EEF_Content; ?></textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php
|
|
|
break;
|
|
|
case 223006:
|
|
|
?>
|
|
|
<h3>5.What were the most enjoyable or memorable parts of your trip?</h3>
|
|
|
<input type="hidden" name="q4_eef_type" value="<?php echo $group_service->QSFour; ?>" />
|
|
|
<div class="row">
|
|
|
<div class="col-md-24">
|
|
|
<textarea class="col-md-20" rows="3" name="q4_eef_content"><?php echo empty($service_question_four)?false:$service_question_four->EEF_Content; ?></textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php
|
|
|
break;
|
|
|
case 223007:
|
|
|
?>
|
|
|
<h3>5.If you could take your trip again, what would you do differently?</h3>
|
|
|
<input type="hidden" name="q4_eef_type" value="<?php echo $group_service->QSFour; ?>" />
|
|
|
<div class="row">
|
|
|
<div class="col-md-24">
|
|
|
<textarea class="col-md-24" rows="3" name="q4_eef_content"><?php echo empty($service_question_four)?false:$service_question_four->EEF_Content; ?></textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php
|
|
|
break;
|
|
|
}
|
|
|
?>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<?php
|
|
|
$QSFive_EEF_ID=empty($service_question_five)?'yes':$service_question_five->EEF_ID;
|
|
|
$QSFive_EEF_Content=empty($service_question_five)?'':$service_question_five->EEF_Content;
|
|
|
switch ($group_service->QSFive) {
|
|
|
case 223008:
|
|
|
?>
|
|
|
<h3>6. Did you recommend #<?php echo $group_service->QSFiveServiceName; ?>#?</h3>
|
|
|
<div class="row">
|
|
|
<input type="hidden" name="q5_eef_type" value="<?php echo $group_service->QSFive; ?>" />
|
|
|
<div class="col-md-2"><label><input type='radio' name='q5_eef_content_radio' <?php echo ($QSFive_EEF_ID == 'yes') ? 'checked' : false; ?> value="yes">YES</label></div>
|
|
|
<div class="col-md-2"><label><input type='radio' name='q5_eef_content_radio' <?php echo ($QSFive_EEF_ID == 'no') ? 'checked' : false; ?> value="no">NO</label></div>
|
|
|
<div class="col-md-8"><label> If “NO”, please specify the reason :</label></div>
|
|
|
<div class="col-md-8"><input type="text" name="q5_eef_content" value="<?php echo $QSFive_EEF_Content; ?>" class="col-md-24 none_text_input"></div>
|
|
|
</div>
|
|
|
<?php
|
|
|
break;
|
|
|
case 223009:
|
|
|
?>
|
|
|
<h3>6. Did your guide take you to any shops/factories or tried to influence you to do so?</h3>
|
|
|
|
|
|
<div class="row">
|
|
|
<input type="hidden" name="q5_eef_type" value="<?php echo $group_service->QSFive; ?>" />
|
|
|
<div class="col-md-2"><label><input type='radio' name='q5_eef_content_radio' <?php echo ($QSFive_EEF_ID == 'yes') ? 'checked' : false; ?> value="yes">YES</label></div>
|
|
|
<div class="col-md-2"><label><input type='radio' name='q5_eef_content_radio' <?php echo ($QSFive_EEF_ID == 'no') ? 'checked' : false; ?> value="no">NO</label></div>
|
|
|
<div class="col-md-8"><label> If “Yes”, where did you go? Please specify :</label></div>
|
|
|
<div class="col-md-8"><input type="text" name="q5_eef_content" value="<?php echo $QSFive_EEF_Content; ?>" class="col-md-24 none_text_input"> </div>
|
|
|
</div>
|
|
|
<?php
|
|
|
break;
|
|
|
case 223010:
|
|
|
?>
|
|
|
<h3>6. Did your tour guide ‘go the extra mile’?</h3>
|
|
|
|
|
|
<div class="row">
|
|
|
<input type="hidden" name="q5_eef_type" value="<?php echo $group_service->QSFive; ?>" />
|
|
|
<div class="col-md-2"><label><input type='radio' name='q5_eef_content_radio' <?php echo ($QSFive_EEF_ID == 'yes') ? 'checked' : false; ?> value="yes">YES</label></div>
|
|
|
<div class="col-md-2"><label><input type='radio' name='q5_eef_content_radio' <?php echo ($QSFive_EEF_ID == 'no') ? 'checked' : false; ?> value="no">NO</label></div>
|
|
|
<div class="col-md-8"><label> Please comment of what he/she did :</label></div>
|
|
|
<div class="col-md-8"><input type="text" name="q5_eef_content" value="<?php echo $QSFive_EEF_Content; ?>" class="col-md-24 none_text_input"> </div>
|
|
|
</div>
|
|
|
<?php
|
|
|
break;
|
|
|
case 223011:
|
|
|
?>
|
|
|
<h3>6. Did your tour guide take our sign/logo when met at the airport?</h3>
|
|
|
|
|
|
<div class="row">
|
|
|
<input type="hidden" name="q5_eef_type" value="<?php echo $group_service->QSFive; ?>" />
|
|
|
<div class="col-md-2"><label><input type='radio' name='q5_eef_content_radio' <?php echo ($QSFive_EEF_ID == 'yes') ? 'checked' : false; ?> value="yes">YES</label></div>
|
|
|
<div class="col-md-2"><label><input type='radio' name='q5_eef_content_radio' <?php echo ($QSFive_EEF_ID == 'no') ? 'checked' : false; ?> value="no">NO</label></div>
|
|
|
</div>
|
|
|
<?php
|
|
|
break;
|
|
|
}
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
<div class="col-md-24">
|
|
|
<h3>7. Are you willing to recommend us on Trip Advisor?</h3>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="row">
|
|
|
<input type="hidden" name="q6_eef_type" value="223012" />
|
|
|
<?php
|
|
|
$q6_eef_content = 'yes';
|
|
|
if (!empty($other_service_question)) {
|
|
|
$q6_eef_content = $other_service_question->EEF_Content;
|
|
|
}
|
|
|
?>
|
|
|
<div class="col-md-2"><label><input type='radio' name='q6_eef_content' <?php if ($q6_eef_content == 'yes') { echo 'checked'; } ?> value="yes">YES</label></div>
|
|
|
<div class="col-md-2"><label><input type='radio' name='q6_eef_content' <?php if ($q6_eef_content == 'no') { echo 'checked'; } ?> value="no">NO</label></div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<input type="hidden" name="gri_sn" value="<?php echo $gri_sn; ?>" />
|
|
|
<input type="hidden" name="eoi_sn" value="<?php echo $eoi_sn; ?>" />
|
|
|
<input type="hidden" name="eoi_vrequestverify" id="eoi_vrequestverify" value="0" />
|
|
|
|
|
|
<div class="row">
|
|
|
<div class="col-md-16"></div>
|
|
|
<div class="col-md-8">
|
|
|
<?php
|
|
|
//未填写状态可以保存
|
|
|
?>
|
|
|
<input type="button" value="保存填写" class="btn btn-danger" onclick="$('#eoi_vrequestverify').val('verifysave');submitForm('form_feedback');" />
|
|
|
|
|
|
<input type="button" value="提交审核" class="btn btn-success" onclick="$('#eoi_vrequestverify').val('verifygo'); submitForm('form_feedback');" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row" style="margin-top: 12px;">
|
|
|
<div class="col-md-16"></div>
|
|
|
<div class="col-md-8">
|
|
|
<?php
|
|
|
//拥有审核权限
|
|
|
if (has_security('verify_eva')){
|
|
|
|
|
|
?>
|
|
|
|
|
|
<input type="button" value="审核通过" class="btn btn-primary" onclick="$('#eoi_vrequestverify').val('verifyok');submitForm('form_feedback');" />
|
|
|
<input type="button" value="审核不通过" class="btn btn-primary" onclick="$('#eoi_vrequestverify').val('verifyno');submitForm('form_feedback');" />
|
|
|
<?php
|
|
|
}
|
|
|
?>
|
|
|
</div></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
</div>
|