const config = require("../../utils/config.js");
Page({
	/**
	 * 页面的初始数据
	 */
	data: {
		id:''
	},
	/**
	 * 生命周期函数--监听页面加载
	 */
	onLoad: function (options) {
		var that = this
		that.data.id = options.id;
		wx.setNavigationBarTitle({
      title: options.type=='1'?"医生建议":"处方建议"
		})
		let src = config.HOST + '/appIteration.php?s=/Prescription/hfive&id=' + options.id ;
		this.setData({
      src: src,
    })
	},
})