瀏覽代碼

update 修改满意度调查,沟通,投诉

linweizeng 3 年之前
父節點
當前提交
b7da902d90
共有 4 個文件被更改,包括 198 次插入116 次删除
  1. 65 3
      pages/jiance/manyi.vue
  2. 41 83
      pages/jiance/order/lhypbMessage.vue
  3. 86 24
      pages/jiance/tousu.vue
  4. 6 6
      pages/jiance/tousu/list.json

+ 65 - 3
pages/jiance/manyi.vue

@@ -80,11 +80,37 @@
 		<uni-section title="客户意见和建议" type="line" padding>
 			<textarea maxlength="-1" v-model="qingNinTianXie" placeholder="意见和建议"></textarea>
 		</uni-section>
+		<uni-section title="投诉签名" type="line" padding>
+			<view style="width: 100%;">
+				<view style="text-align: right;width: 100%;">
+					<view>
+						<u-button type="primary" size="mini" @click="qianming(0)">
+							签名</u-button>
+						<u-button type="primary" size="mini" @click="deqianming(0)" style="margin-left: 15rpx;" v-if="qianMing != ''">
+							取消</u-button>
+					</view>
+				</view>
+				<view style="width: 100%;" v-if="qianMing != ''">
+					<image :src="qianMing" style="width: 100%;height: 500rpx;border: 1px #eee solid;">
+					</image>
+				</view>
+			</view>
+		</uni-section>
 		<view class="padding flex flex-direction">
 			<u-button type="success" class="btn btn-back-color" @click="onSubmit">提交
 			</u-button>
 			<!-- <button class="cu-btn bg-blue lg bg-mingjian" @click="onSubmit">提交</button> -->
 		</view>
+
+
+		<u-popup mode="center" v-model="popupShow">
+			<view style="padding: 30rpx;background: #FFFFFF;width: 100%;">
+				<view class="cu-form-group ">
+					<view class="title">签名</view>
+				</view>
+				<autograph @save="save" @clear="clear" @close="close"></autograph>
+			</view>
+		</u-popup>
 	</view>
 </template>
 <script>
@@ -104,7 +130,8 @@
 		},
 		data() {
 			return {
-				description: '感谢您对深圳市罗湖医院集团细胞质量检测实验室的信任与支持,为了帮助实验室更好的发展,为客户提供更优质的服务,请您抽出宝贵时间帮忙填写调查问卷,非常感谢!',
+				popupShow: false,
+				description: `感谢您对深圳市罗湖医院集团细胞质量检测实验室的信任与支持,为了帮助实验室更好的发展,为客户提供更优质的服务,请您抽出宝贵时间帮忙填写调查问卷,非常感谢!`,
 				descriptionTitle: '尊敬的客户:您好!',
 				buMenList: [],
 				pingJiaShiJian: null,
@@ -124,6 +151,7 @@
 				mobile: '',
 				buMenName: '',
 				shiWuShuoMing: '',
+				qianMing: '',
 				fuWuLeiXingList: [{
 					name: "检验检测",
 					checked: false,
@@ -196,7 +224,7 @@
 				}
 				let paraValue = {
 					nianFen: time.substring(0, 4),
-					// guanLianKeHu: this.keHuBianHao,
+					guanLianKeHu: this.buMenName,
 					keHu: this.keHuBianHao,
 					lianXiDianHua: this.lianxidianhua,
 					keHuLianXiRen: this.keHuLianXiRen,
@@ -245,10 +273,36 @@
 				let salt = "JinYuanXinTong"
 				return md5(rul + '' + salt)
 			},
+			//弹出框显示
+			qianming(index) {
+				this.qianshow = true
+				this.qianIndex = index
+				this.popupShow = true
+			},
+			//清除签名
+			deqianming(index) {
+				if (index == 0) {
+					this.qianMing = ''
+				}
+			},
+			//保存签名
+			save(val) {
+				if (this.qianIndex == 0) {
+					this.qianMing = val
+				}
+				this.qianshow = false
+				this.popupShow = false
+			},
+			//清除签名
+			clear(val) {
+				if (this.qianIndex == 0) {
+					this.qianMing = ''
+				}
+			},
 		}
 	}
 </script>
-<style>
+<style lang="scss" scoped>
 	.cu-form-group .title {
 		min-width: calc(8em + 25px);
 	}
@@ -267,4 +321,12 @@
 		font-size: 12rpx;
 		color: grey;
 	}
+
+	/deep/ .u-alert-tips--border--success-disabled {
+		border-color: rgba(255, 255, 255, 0.6);
+	}
+
+	/deep/ .u-alert-tips--bg--success-light {
+		background-color: #f0f9eb;
+	}
 </style>

+ 41 - 83
pages/jiance/order/lhypbMessage.vue

@@ -3,8 +3,7 @@
 		<view class="u-m-20">
 			<u-form :model="form" ref="uForm" label-width="220" :error-type="errorType">
 				<u-form-item label="样品名称" prop="yangPinMingCheng" required>
-					<u-input placeholder="请输入样品名称" v-model="form.yangPinMingCheng"
-						:disabled="type == 'detail'?true :false" />
+					<u-input placeholder="请输入样品名称" v-model="form.yangPinMingCheng" :disabled="type == 'detail'?true :false" />
 				</u-form-item>
 				<u-form-item label="样品编号">
 					<u-input placeholder="请输入样品编号" v-model="form.yangPinBianHao" disabled />
@@ -13,8 +12,7 @@
 					<u-input placeholder="请输入姓名" v-model="form.xingMing" :disabled="type == 'detail'?true :false" />
 				</u-form-item>
 				<u-form-item label="性别">
-					<uni-data-select placeholder="请选择性别" v-model="form.xingBie" :localdata="sexList"
-						v-if="type != 'detail'">
+					<uni-data-select placeholder="请选择性别" v-model="form.xingBie" :localdata="sexList" v-if="type != 'detail'">
 					</uni-data-select>
 					<!-- <u-radio-group v-model="form.xingBie" v-if="type != 'detail'">
 						<u-radio v-for="(it, index) in sexList" :key="index" :name="it.name">
@@ -27,20 +25,16 @@
 					<u-input placeholder="请输入年龄" v-model="form.nianLing" :disabled="type == 'detail'?true :false" />
 				</u-form-item>
 				<u-form-item label="送检批号/编号" prop="songJianPiHao" required>
-					<u-input placeholder="请输入送检批号/编号" v-model="form.songJianPiHao"
-						:disabled="type == 'detail'?true :false" />
+					<u-input placeholder="请输入送检批号/编号" v-model="form.songJianPiHao" :disabled="type == 'detail'?true :false" />
 				</u-form-item>
 				<u-form-item label="样本状态" prop="yangPinZhuangTai" required>
-					<u-input placeholder="请选择样本状态" v-model="form.yangPinZhuangTai"
-						:disabled="type == 'detail'?true :false" />
-					<u-button type="success" slot="right" class="btn-back-color" size="mini"
-						@click="sheetClick('state')" v-if="type != 'detail'">选择
+					<u-input placeholder="请选择样本状态" v-model="form.yangPinZhuangTai" :disabled="type == 'detail'?true :false" />
+					<u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('state')" v-if="type != 'detail'">选择
 					</u-button>
 				</u-form-item>
 				<u-form-item label="送检时间" prop="songJianShiJian" required>
 					<u-input placeholder="请选择送检时间" v-model="form.songJianShiJian" disabled />
-					<u-button type="success" slot="right" class="btn-back-color" size="mini"
-						@click="dateClick('inspect')" v-if="type != 'detail'">选择
+					<u-button type="success" slot="right" class="btn-back-color" size="mini" @click="dateClick('inspect')" v-if="type != 'detail'">选择
 					</u-button>
 				</u-form-item>
 				<view class="qingshe">
@@ -64,15 +58,13 @@
 				<u-form-item label="检测类型" v-if="type != 'detail'">
 					<!-- <u-input placeholder="请选择检测类型" type="select" v-model="form.jianCeType"
 						@click="selectClick('jianCeType')" /> -->
-					<lin-select item-key="id" placeholder='请输入内容' :binData="jianCeTypeList" checkType="checkbox"
-						tags="name" inputStyle="" selectStyle="" overflow="hide" @getBackVal="checkBoxChange">
+					<lin-select item-key="id" placeholder='请输入内容' :binData="jianCeTypeList" checkType="checkbox" tags="name" inputStyle="" selectStyle="" overflow="hide" @getBackVal="checkBoxChange">
 					</lin-select>
 
 				</u-form-item>
 
 				<view v-if="false">
-					<uni-data-checkbox v-model="form.jianCeType" multiple :localdata="jianCeTypeList"
-						@change="checkBoxChange">
+					<uni-data-checkbox v-model="form.jianCeType" multiple :localdata="jianCeTypeList" @change="checkBoxChange">
 					</uni-data-checkbox>
 				</view>
 
@@ -89,8 +81,7 @@
 					<view v-if="type != 'detail'">
 						<view>
 							<checkbox-group v-for="(it, x) in form.jianCeList" :key="x">
-								<label class=" uni-list-cell uni-list-cell-pd" v-show="it.checked"
-									style="display: flex;margin: 15rpx 10rpx;font-size: 20rpx;line-height: 40rpx;">
+								<label class=" uni-list-cell uni-list-cell-pd" v-show="it.checked" style="display: flex;margin: 15rpx 10rpx;font-size: 20rpx;line-height: 40rpx;">
 									<view>
 										<checkbox :checked="it.checked" :value="it.id_" @click="changeIndex(it,x)" />
 									</view>
@@ -108,9 +99,7 @@
 						</view>
 						<view>
 							<checkbox-group v-for="(it, x) in form.jianCeList" :key="x">
-								<label class=" uni-list-cell uni-list-cell-pd"
-									v-show="((form.jianCeTypeString.indexOf(it.jian_ce_lei_bie_ || '') !== -1) || (form.search && it.xiang_mu_bian_hao.indexOf(form.search) !== -1)) && !it.checked"
-									style="display: flex;margin: 15rpx 10rpx;font-size: 20rpx;line-height: 40rpx;">
+								<label class=" uni-list-cell uni-list-cell-pd" v-show="((form.jianCeTypeString.indexOf(it.jian_ce_lei_bie_ || '') !== -1) || (form.search && it.xiang_mu_bian_hao.indexOf(form.search) !== -1)) && !it.checked" style="display: flex;margin: 15rpx 10rpx;font-size: 20rpx;line-height: 40rpx;">
 									<view>
 										<checkbox :checked="it.checked" :value="it.id_" @click="changeIndex(it,x)" />
 									</view>
@@ -152,20 +141,17 @@
 
 				<u-form-item label="选择套餐" prop="name" label-position="top" v-if="taoCanShow">
 					<view class="btnBox" v-if="type != 'detail'">
-						<u-button class="btnSin" size="mini" :type="it.checked ? 'success':''"
-							v-for="(it, x) in form.taoCanList" :key="x" @click="changeTaoCanIndex(it,x,it.checked)">
+						<u-button class="btnSin" size="mini" :type="it.checked ? 'success':''" v-for="(it, x) in form.taoCanList" :key="x" @click="changeTaoCanIndex(it,x,it.checked)">
 							{{it.tao_can_ming_chen}}
 						</u-button>
 					</view>
 					<view class="btnBox" v-else>
-						<u-tag class="btnSin" size="default" v-for="(it, x) in form.taoCanList" v-if="it.checked"
-							:text="it.tao_can_ming_chen" :key="x" />
+						<u-tag class="btnSin" size="default" v-for="(it, x) in form.taoCanList" v-if="it.checked" :text="it.tao_can_ming_chen" :key="x" />
 					</view>
 				</u-form-item>
 
 				<u-form-item label="套餐项目" prop="name" v-if="taoCanShow">
-					<div style="display: flex;justify-content: flex-end;"
-						@click="taoCanXiangMuShow = !taoCanXiangMuShow">
+					<div style="display: flex;justify-content: flex-end;" @click="taoCanXiangMuShow = !taoCanXiangMuShow">
 						<u-icon name="arrow-up" v-if="taoCanXiangMuShow"></u-icon>
 						<u-icon name="arrow-down" v-else></u-icon>
 					</div>
@@ -196,17 +182,13 @@
 				</view>
 				<block v-if="form.showBoolean1">
 					<u-form-item label="样品类型①" required>
-						<u-input placeholder="请选择样品类型①" v-model="form.yangPinLeiXing"
-							:disabled="type == 'detail'?true :false" />
-						<u-button type="success" slot="right" class="btn-back-color" size="mini"
-							@click="sheetClick('yangpinType1','样品类型')" v-if="type != 'detail'">选择
+						<u-input placeholder="请选择样品类型①" v-model="form.yangPinLeiXing" :disabled="type == 'detail'?true :false" />
+						<u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('yangpinType1','样品类型')" v-if="type != 'detail'">选择
 						</u-button>
 					</u-form-item>
 					<u-form-item label="样品运输条件①" required>
-						<u-input placeholder="请选择样品运输条件①" v-model="form.yangBenYunShuTiao"
-							:disabled="type == 'detail'?true :false" />
-						<u-button type="success" slot="right" class="btn-back-color" size="mini"
-							@click="sheetClick('transportType1')" v-if="type != 'detail'">选择
+						<u-input placeholder="请选择样品运输条件①" v-model="form.yangBenYunShuTiao" :disabled="type == 'detail'?true :false" />
+						<u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('transportType1')" v-if="type != 'detail'">选择
 						</u-button>
 					</u-form-item>
 					<u-form-item label="样品数量①" required>
@@ -214,16 +196,13 @@
 						<text v-else>{{form.shuLiang}}</text>
 					</u-form-item>
 					<u-form-item label="样品规格①" required>
-						<u-input placeholder="请输入样品规格①" v-model="form.yangPinGuiGe"
-							:disabled="type == 'detail'?true :false" />
-						<u-button slot="right" type="success" class="btn-back-color" size="mini"
-							@click="sheetClick('specification1','样品规格')" v-if="type != 'detail'">规格
+						<u-input placeholder="请输入样品规格①" v-model="form.yangPinGuiGe" :disabled="type == 'detail'?true :false" />
+						<u-button slot="right" type="success" class="btn-back-color" size="mini" @click="sheetClick('specification1','样品规格')" v-if="type != 'detail'">规格
 						</u-button>
 					</u-form-item>
 				</block>
 
-				<view
-					v-if="(type == 'detail' && (form.yangPinLeiXingEr || form.yangPinYunShuTiao || form.shuLiangEr > 0 || form.yangPinGuiGeEr)) || type != 'detail'">
+				<view v-if="(type == 'detail' && (form.yangPinLeiXingEr || form.yangPinYunShuTiao || form.shuLiangEr > 0 || form.yangPinGuiGeEr)) || type != 'detail'">
 					<view class="qingshe" @click="form.showBoolean2 = !form.showBoolean2">
 						<view>
@@ -235,17 +214,13 @@
 					</view>
 					<block v-if="form.showBoolean2">
 						<u-form-item label="样品类型②" required>
-							<u-input placeholder="请选择样品类型②" v-model="form.yangPinLeiXingEr"
-								:disabled="type == 'detail'?true :false" />
-							<u-button type="success" slot="right" class="btn-back-color" size="mini"
-								@click="sheetClick('yangpinType2','样品类型')" v-if="type != 'detail'">选择
+							<u-input placeholder="请选择样品类型②" v-model="form.yangPinLeiXingEr" :disabled="type == 'detail'?true :false" />
+							<u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('yangpinType2','样品类型')" v-if="type != 'detail'">选择
 							</u-button>
 						</u-form-item>
 						<u-form-item label="样品运输条件②" required>
-							<u-input placeholder="请选择样品运输条件②" v-model="form.yangPinYunShuTiao"
-								:disabled="type == 'detail'?true :false" />
-							<u-button type="success" slot="right" class="btn-back-color" size="mini"
-								@click="sheetClick('transportType2')" v-if="type != 'detail'">选择
+							<u-input placeholder="请选择样品运输条件②" v-model="form.yangPinYunShuTiao" :disabled="type == 'detail'?true :false" />
+							<u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('transportType2')" v-if="type != 'detail'">选择
 							</u-button>
 						</u-form-item>
 						<u-form-item label="样品数量②" required>
@@ -253,17 +228,14 @@
 							<text v-else>{{form.shuLiangEr}}</text>
 						</u-form-item>
 						<u-form-item label="样品规格②" required>
-							<u-input placeholder="请输入样品规格②" v-model="form.yangPinGuiGeEr"
-								:disabled="type == 'detail'?true :false" />
-							<u-button slot="right" type="success" class="btn-back-color" size="mini"
-								@click="sheetClick('specification2','样品规格')" v-if="type != 'detail'">规格
+							<u-input placeholder="请输入样品规格②" v-model="form.yangPinGuiGeEr" :disabled="type == 'detail'?true :false" />
+							<u-button slot="right" type="success" class="btn-back-color" size="mini" @click="sheetClick('specification2','样品规格')" v-if="type != 'detail'">规格
 							</u-button>
 						</u-form-item>
 					</block>
 				</view>
 
-				<view
-					v-if="(type == 'detail' && (form.yangPinLeiXingSan || form.yangPinYunShuSan || form.shuLiangSan > 0 || form.yangPinGuiGeSan)) || type != 'detail'">
+				<view v-if="(type == 'detail' && (form.yangPinLeiXingSan || form.yangPinYunShuSan || form.shuLiangSan > 0 || form.yangPinGuiGeSan)) || type != 'detail'">
 					<view class="qingshe" @click="form.showBoolean3 = !form.showBoolean3">
 						<view>
@@ -275,17 +247,13 @@
 					</view>
 					<block v-if="form.showBoolean3">
 						<u-form-item label="样品类型③" required>
-							<u-input placeholder="请选择样品类型③" v-model="form.yangPinLeiXingSan"
-								:disabled="type == 'detail'?true :false" />
-							<u-button type="success" slot="right" class="btn-back-color" size="mini"
-								@click="sheetClick('yangpinType3','样品类型')" v-if="type != 'detail'">选择
+							<u-input placeholder="请选择样品类型③" v-model="form.yangPinLeiXingSan" :disabled="type == 'detail'?true :false" />
+							<u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('yangpinType3','样品类型')" v-if="type != 'detail'">选择
 							</u-button>
 						</u-form-item>
 						<u-form-item label="样品运输条件③" required>
-							<u-input placeholder="请选择样品运输条件③" v-model="form.yangPinYunShuSan"
-								:disabled="type == 'detail'?true :false" />
-							<u-button type="success" slot="right" class="btn-back-color" size="mini"
-								@click="sheetClick('transportType3')" v-if="type != 'detail'">选择
+							<u-input placeholder="请选择样品运输条件③" v-model="form.yangPinYunShuSan" :disabled="type == 'detail'?true :false" />
+							<u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('transportType3')" v-if="type != 'detail'">选择
 							</u-button>
 						</u-form-item>
 						<u-form-item label="样品数量③" required>
@@ -293,17 +261,14 @@
 							<text v-else>{{form.shuLiangSan}}</text>
 						</u-form-item>
 						<u-form-item label="样品规格③" required>
-							<u-input placeholder="请输入样品规格③" v-model="form.yangPinGuiGeSan"
-								:disabled="type == 'detail'?true :false" />
-							<u-button slot="right" type="success" class="btn-back-color" size="mini"
-								@click="sheetClick('specification3','样品规格')" v-if="type != 'detail'">规格
+							<u-input placeholder="请输入样品规格③" v-model="form.yangPinGuiGeSan" :disabled="type == 'detail'?true :false" />
+							<u-button slot="right" type="success" class="btn-back-color" size="mini" @click="sheetClick('specification3','样品规格')" v-if="type != 'detail'">规格
 							</u-button>
 						</u-form-item>
 					</block>
 				</view>
 
-				<view
-					v-if="(type == 'detail' && (form.yangPinLeiXingSi || form.yangPinYunShuSi || form.shuLiangSi > 0 || form.yangPinGuiGeSi)) || type != 'detail'">
+				<view v-if="(type == 'detail' && (form.yangPinLeiXingSi || form.yangPinYunShuSi || form.shuLiangSi > 0 || form.yangPinGuiGeSi)) || type != 'detail'">
 					<view class="qingshe" @click="form.showBoolean4 = !form.showBoolean4">
 						<view>
@@ -315,17 +280,13 @@
 					</view>
 					<block v-if="form.showBoolean4">
 						<u-form-item label="样品类型④" required>
-							<u-input placeholder="请选择样品类型④" v-model="form.yangPinLeiXingSi"
-								:disabled="type == 'detail'?true :false" />
-							<u-button type="success" slot="right" class="btn-back-color" size="mini"
-								@click="sheetClick('yangpinType4','样品类型')" v-if="type != 'detail'">选择
+							<u-input placeholder="请选择样品类型④" v-model="form.yangPinLeiXingSi" :disabled="type == 'detail'?true :false" />
+							<u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('yangpinType4','样品类型')" v-if="type != 'detail'">选择
 							</u-button>
 						</u-form-item>
 						<u-form-item label="样品运输条件④" required>
-							<u-input placeholder="请选择样品运输条件④" v-model="form.yangPinYunShuSi"
-								:disabled="type == 'detail'?true :false" />
-							<u-button type="success" slot="right" class="btn-back-color" size="mini"
-								@click="sheetClick('transportType4')" v-if="type != 'detail'">选择
+							<u-input placeholder="请选择样品运输条件④" v-model="form.yangPinYunShuSi" :disabled="type == 'detail'?true :false" />
+							<u-button type="success" slot="right" class="btn-back-color" size="mini" @click="sheetClick('transportType4')" v-if="type != 'detail'">选择
 							</u-button>
 						</u-form-item>
 						<u-form-item label="样品数量④" required>
@@ -333,18 +294,15 @@
 							<text v-else>{{form.shuLiangSi}}</text>
 						</u-form-item>
 						<u-form-item label="样品规格④" required>
-							<u-input placeholder="请输入样品规格④" v-model="form.yangPinGuiGeSi"
-								:disabled="type == 'detail'?true :false" />
-							<u-button slot="right" type="success" class="btn-back-color" size="mini"
-								@click="sheetClick('specification4','样品规格')" v-if="type != 'detail'">规格
+							<u-input placeholder="请输入样品规格④" v-model="form.yangPinGuiGeSi" :disabled="type == 'detail'?true :false" />
+							<u-button slot="right" type="success" class="btn-back-color" size="mini" @click="sheetClick('specification4','样品规格')" v-if="type != 'detail'">规格
 							</u-button>
 						</u-form-item>
 					</block>
 				</view>
 
 				<u-form-item label="项目名称" prop="xiangMuMingCheng" v-if="form.mingChengShow">
-					<u-input placeholder="请输入项目名称" v-model="form.xiangMuMingCheng"
-						:disabled="type == 'detail'?true :false" />
+					<u-input placeholder="请输入项目名称" v-model="form.xiangMuMingCheng" :disabled="type == 'detail'?true :false" />
 				</u-form-item>
 				<u-form-item label="样品总价" prop="yangPinZongJia">
 					<u-input v-model="form.yangPinZongJia" disabled />

+ 86 - 24
pages/jiance/tousu.vue

@@ -58,11 +58,48 @@
 			</view>
 		</uni-section>
 
-		<uni-section title="受理意见" type="line" v-if="id != ''">
-			<view class="u-m-15 u-p-b-15">
-				{{option}}
-			</view>
-		</uni-section>
+		<view v-if="id != ''">
+			<uni-section title="确认意见" type="line">
+				<view class="u-m-15 u-p-b-15">
+					{{form.youWuYouXiaoTouSu}}
+				</view>
+				<view class="u-m-15 u-p-b-15">
+					{{option2}}
+				</view>
+			</uni-section>
+
+			<uni-section title="处理措施" type="line">
+				<view class="u-m-15 u-p-b-15">
+					调查情况:{{form.officeSurvey}}
+				</view>
+				<view class="u-m-15 u-p-b-15">
+					处理措施:{{form.chuLiCuoShi}}
+				</view>
+				<view class="u-m-15 u-p-b-15">
+					{{option3}}
+				</view>
+			</uni-section>
+
+			<uni-section title="处理结果确认" type="line">
+				<view class="u-m-15 u-p-b-15">
+					处理时间:{{form.chuLiShiJian}}
+				</view>
+				<view class="u-m-15 u-p-b-15">
+					{{option4}}
+				</view>
+			</uni-section>
+
+			<uni-section title="处理结果是否通知当事人" type="line">
+				<view class="u-m-15 u-p-b-15">
+					通知:{{form.chuLiJieGuoShiFou}}
+				</view>
+				<view class="u-m-15 u-p-b-15">
+					{{option}}
+				</view>
+			</uni-section>
+		</view>
+
+
 
 		<uni-section title="客户确认" type="line" v-if="id != ''">
 			<view class="u-m-15 u-p-b-15">
@@ -70,12 +107,6 @@
 				</uni-data-checkbox>
 				<view v-if="type == '2'">{{form.shiFouTongYi}}</view>
 			</view>
-
-			<!-- 			<u-radio-group v-model="form.shiFouTongYi" v-if="id != ''" style="margin: 0 10rpx;">
-				<u-radio v-for="(it, index) in sexList" :key="index" :name="it.name">
-					{{it.name}}
-				</u-radio>
-			</u-radio-group> -->
 		</uni-section>
 
 		<uni-section title="投诉签名" type="line" padding v-if="id != ''">
@@ -105,7 +136,8 @@
 
 
 		<u-calendar v-model="show" :mode="mode" @change="dateChange"></u-calendar>
-		<u-select v-model="selectShow" :list="list" title="投诉方式" @confirm="selecConfirm"></u-select>
+		<!-- <u-select v-model="selectShow" :list="list" title="投诉方式" @confirm="selecConfirm"></u-select> -->
+		<lin-popup ref="picker2" :title="'投诉方式'" :list="list" @onConfirm="selecConfirm"></lin-popup>
 		<lin-popup ref="picker" :title="'样品选择'" :list="yangPinList" @onConfirm="onConfirm"></lin-popup>
 
 		<u-popup mode="center" v-model="popupShow">
@@ -139,6 +171,9 @@
 		},
 		data() {
 			return {
+				option2: '',
+				option3: '',
+				option4: '',
 				show: false,
 				mode: 'date',
 
@@ -239,25 +274,33 @@
 							let result = res.data.variables.data[0]
 							if (result.TASK_ID_) {
 								this.taskId = result.TASK_ID_
-
-								// if (this.type == '1') {
-								// 	this.getProcInstId(result.PROC_INST_ID_)
-								// }
-								this.getProcInstId(result.PROC_INST_ID_)
 							}
 						}
 					}
 				})
 			},
 			//根据委托单id查询 taskId
-			getProcInstId(id) {
+			getProcInstId(id, type) {
 				let sql =
-					`select OPTION_ from ibps_bpm_oper_log where PROC_INST_ID_ = '${id}' and OPER_TYPE_ = 'agree' and NODE_ID_ = 'Activity_0dpz207' order by create_time_ desc  limit 1`
+					`select OPTION_,CREATE_TIME_,CREATE_BY_ FROM ibps_bpm_oper_log WHERE PROC_INST_ID_ = (SELECT PROC_INST_ID_ FROM ibps_bpm_bus_rel WHERE BUSINESSKEY_ = '${id}')AND NODE_ID_ = '${type}' order by CREATE_TIME_ DESC LIMIT 1`
 				let requestData = this.$sig(sql)
 				this.$http.post("/ibps/business/v3/sys/universal/inputSqlSelectData", requestData).then(res => {
 					if (res.data.state == 200) {
 						let result = res.data.variables.data[0]
-						this.option = result.OPTION_
+
+						if (type == 'Activity_08txd6d') {
+							this.option2 = result.OPTION_
+						}
+						if (type == 'Activity_0r73zvr') {
+							this.option3 = result.OPTION_
+						}
+						if (type == 'Activity_0u632sc') {
+							this.option4 = result.OPTION_
+						}
+						if (type == 'Activity_0dpz207') {
+							this.option = result.OPTION_
+						}
+
 					}
 				})
 			},
@@ -312,6 +355,21 @@
 						if (data.fu_jian_shang_chu && data.fu_jian_shang_chu != '') {
 							this.getFileList(data.fu_jian_shang_chu)
 						}
+
+						if (data.shi_fou_guo_shen_ == '已反馈' || data.shi_fou_guo_shen_ == '已审核' || data.shi_fou_guo_shen_ == '已处理' || data.shi_fou_guo_shen_ == '已处理结果确认' || data.shi_fou_guo_shen_ == '1') {
+							this.getProcInstId(data.id_, 'Activity_08txd6d')
+						}
+						if (data.shi_fou_guo_shen_ == '已反馈' || data.shi_fou_guo_shen_ == '已处理' || data.shi_fou_guo_shen_ == '已处理结果确认' || data.shi_fou_guo_shen_ == '1') {
+							this.getProcInstId(data.id_, 'Activity_0r73zvr')
+						}
+						if (data.shi_fou_guo_shen_ == '已反馈' || data.shi_fou_guo_shen_ == '已处理结果确认' || data.shi_fou_guo_shen_ == '1') {
+							this.getProcInstId(data.id_, 'Activity_0u632sc')
+						}
+
+						if (data.shi_fou_guo_shen_ == '已反馈' || data.shi_fou_guo_shen_ == '1') {
+							this.getProcInstId(data.id_, 'Activity_0dpz207')
+						}
+
 						uni.hideLoading()
 					}
 				})
@@ -504,13 +562,17 @@
 			dateChange(e) {
 				this.form.touSuRiQi = e.result
 			},
-			selecConfirm(e) {
-				this.form.complaintsWay = e[0].value
+			selecConfirm(index, item) {
+				this.form.complaintsWay = item.name
 			},
 			selectShowClick() {
-				if (this.id == '') {
-					this.selectShow = true
+				// if (this.id == '') {
+				// 	this.selectShow = true
+				// }
+				if (this.id != '') {
+					return
 				}
+				this.$refs['picker2'].show();
 			},
 			showClick() {
 				if (this.id == '') {

+ 6 - 6
pages/jiance/tousu/list.json

@@ -1,18 +1,18 @@
 {
 	"list": [{
-		"value": "电话",
+		"name": "电话",
 		"label": "电话"
 	}, {
-		"value": "电子邮件",
+		"name": "电子邮件",
 		"label": "电子邮件"
 	}, {
-		"value": "书面",
+		"name": "书面",
 		"label": "书面"
 	}, {
-		"value": "口头",
+		"name": "口头",
 		"label": "口头"
 	}, {
-		"value": "其它方式",
+		"name": "其它方式",
 		"label": "其它方式"
 	}]
-}
+}