|  | @@ -143,6 +143,11 @@
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |              <template slot-scope="scope">
 | 
	
		
			
				|  |  |                <el-button
 | 
	
		
			
				|  |  | +                @click="onJoinQrCode(scope.row)"
 | 
	
		
			
				|  |  | +                type="text"
 | 
	
		
			
				|  |  | +                >入驻二维码</el-button
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  | +              <el-button
 | 
	
		
			
				|  |  |                  @click="roleOperation('update', scope.row)"
 | 
	
		
			
				|  |  |                  v-if="permission('employee/update')"
 | 
	
		
			
				|  |  |                  type="text"
 | 
	
	
		
			
				|  | @@ -564,6 +569,8 @@
 | 
	
		
			
				|  |  |          <el-button @click="submitEducation" type="primary">确 定</el-button>
 | 
	
		
			
				|  |  |        </span>
 | 
	
		
			
				|  |  |      </el-dialog>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    <qr-code v-model="codeStatus" title="入驻二维码" :codeUrl="qrCodeUrl" />
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  <script>
 | 
	
	
		
			
				|  | @@ -584,10 +591,11 @@ import {
 | 
	
		
			
				|  |  |  } from "@/api/systemManage";
 | 
	
		
			
				|  |  |  // import { userRole } from "./api";
 | 
	
		
			
				|  |  |  import deepClone from "@/helpers/deep-clone";
 | 
	
		
			
				|  |  | +import qrCode from "@/components/QrCode/index";
 | 
	
		
			
				|  |  |  // import Treeselect from '@riophae/vue-treeselect'
 | 
	
		
			
				|  |  |  // import '@riophae/vue-treeselect/dist/vue-treeselect.css'
 | 
	
		
			
				|  |  |  import Tooltip from "@/components/Tooltip/index";
 | 
	
		
			
				|  |  | -import { isvalidPhone } from "@/utils/validate";
 | 
	
		
			
				|  |  | +import { isvalidPhone, vaildStudentUrl } from "@/utils/validate";
 | 
	
		
			
				|  |  |  import handover from "./modals/handover";
 | 
	
		
			
				|  |  |  let validPhone = (rule, value, callback) => {
 | 
	
		
			
				|  |  |    if (!value) {
 | 
	
	
		
			
				|  | @@ -600,9 +608,11 @@ let validPhone = (rule, value, callback) => {
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |    name: "staffManager",
 | 
	
		
			
				|  |  | -  components: { pagination, Tooltip, handover },
 | 
	
		
			
				|  |  | +  components: { pagination, Tooltip, handover, qrCode },
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  | +      codeStatus: false,
 | 
	
		
			
				|  |  | +      qrCodeUrl: null,
 | 
	
		
			
				|  |  |        roleResetList: [],
 | 
	
		
			
				|  |  |        organList: [],
 | 
	
		
			
				|  |  |        tableList: [],
 | 
	
	
		
			
				|  | @@ -710,6 +720,11 @@ export default {
 | 
	
		
			
				|  |  |      this.getRoleList();
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  | +    onJoinQrCode(row) {
 | 
	
		
			
				|  |  | +      console.log(row)
 | 
	
		
			
				|  |  | +      this.qrCodeUrl = vaildStudentUrl() + "/project/questionAsk/index.html?recommender=" + row.id;
 | 
	
		
			
				|  |  | +      this.codeStatus = true;
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      permission,
 | 
	
		
			
				|  |  |      handover(row) {
 | 
	
		
			
				|  |  |        this.detail = row;
 |