| | |
| | | "node-gyp": "^5.0.6", |
| | | "nprogress": "^0.2.0", |
| | | "portfinder": "^1.0.23", |
| | | "qrcodejs2": "0.0.2", |
| | | "script-loader": "^0.7.2", |
| | | "vue": "^2.6.10", |
| | | "vue-axios": "^2.1.2", |
| | |
| | | } |
| | | |
| | | /** |
| | | * 完成任务 |
| | | * 审批人员完成任务 |
| | | * @param data |
| | | * @returns {AxiosPromise} |
| | | */ |
| | |
| | | data |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * 申请人员完成任务 |
| | | * @param data |
| | | * @returns {AxiosPromise} |
| | | */ |
| | | export const userCompleteTask = (data) => { |
| | | return request({ |
| | | url: '/api/application/application/user-complete-task', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | |
| | | prop: "name", |
| | | type: "input", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | rules: [{required: true, message: "请输入经办人姓名", trigger: ['blur','change']}] |
| | | }, |
| | | { |
| | |
| | | prop: "idCard", |
| | | type: "input", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | rules: [{required: true, trigger: ['blur','change'],validator:idCardValidate}] |
| | | }, |
| | | { |
| | |
| | | span:12, |
| | | row:true, |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | rules: [{required: true, trigger: ['blur','change'],validator:mobileValidate}] |
| | | }, |
| | | { |
| | |
| | | type: "date", |
| | | format:'yyyy-MM-dd', |
| | | valueFormat:'yyyy-MM-dd', |
| | | labelWidth:labelWidth |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | }, |
| | | { |
| | | label: "通行结束时间", |
| | |
| | | type: "date", |
| | | format:'yyyy-MM-dd', |
| | | valueFormat:'yyyy-MM-dd', |
| | | labelWidth:labelWidth |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | }, |
| | | { |
| | | label: "起运机构", |
| | | prop: "transportDept", |
| | | type: "input", |
| | | labelWidth:labelWidth |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | }, |
| | | { |
| | | label: "途径省份", |
| | | prop: "passProvince", |
| | | type: "input", |
| | | labelWidth:labelWidth |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | }, |
| | | { |
| | | label: "出发地", |
| | | prop: "departure", |
| | | type: "input", |
| | | labelWidth:labelWidth |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | }, |
| | | { |
| | | label: "目的地", |
| | | prop: "destination", |
| | | type: "input", |
| | | labelWidth:labelWidth |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | }, |
| | | { |
| | | label: "通行路线", |
| | |
| | | type: "textarea", |
| | | row:true, |
| | | minRows:2, |
| | | labelWidth:labelWidth |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | }, |
| | | { |
| | | label: "通行桥涵", |
| | |
| | | type: "textarea", |
| | | row:true, |
| | | minRows:2, |
| | | labelWidth:labelWidth |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | }, |
| | | ] |
| | | }, |
| | |
| | | type: 'upload', |
| | | loadText: '附件上传中,请稍等', |
| | | span: 24, |
| | | disabled:false, |
| | | propsHttp:propsHttp, |
| | | action: uploadUrl |
| | | }, |
| | |
| | | type: 'upload', |
| | | loadText: '附件上传中,请稍等', |
| | | span: 24, |
| | | disabled:false, |
| | | propsHttp:propsHttp, |
| | | action: uploadUrl |
| | | }, |
| | |
| | | label: "货物信息", |
| | | prop: "goodsName", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | type: "input", |
| | | }, |
| | | { |
| | | label: "货物分类", |
| | | prop: "goodsCategory", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=goods_category", |
| | | props:{ |
| | |
| | | label: "货物类别", |
| | | prop: "goodsType", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=goods_type", |
| | | props:{ |
| | |
| | | label: "轴荷分布", |
| | | prop: "axialLoad", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | type: "input", |
| | | append:'轴', |
| | | }, |
| | | { |
| | | label: "货物重量", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | prop: "weight", |
| | | type: "input", |
| | | append:'吨', |
| | |
| | | { |
| | | label: "车货总重量", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | prop: "allWeight", |
| | | type: "input", |
| | | append:'吨', |
| | |
| | | { |
| | | label: "货物最大长度", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | prop: "length", |
| | | type: "input", |
| | | append:'米', |
| | |
| | | { |
| | | label: "货物最大宽度", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | prop: "width", |
| | | type: "input", |
| | | append:'米', |
| | |
| | | { |
| | | label: "货物最大高度", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | prop: "height", |
| | | type: "input", |
| | | append:'米', |
| | |
| | | { |
| | | label: "车货最大长度", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | prop: "allLength", |
| | | type: "input", |
| | | append:'米', |
| | |
| | | { |
| | | label: "车货最大宽度", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | prop: "allWidth", |
| | | type: "input", |
| | | append:'米', |
| | |
| | | { |
| | | label: "车货最大高度", |
| | | labelWidth:labelWidth, |
| | | disabled:false, |
| | | prop: "allHeight", |
| | | type: "input", |
| | | append:'米', |
| | |
| | | labelWidth:'10%', |
| | | span: 24, |
| | | minRows:2, |
| | | disabled:false, |
| | | }, |
| | | ] |
| | | }, |
| | |
| | | hide: true, |
| | | }, |
| | | { |
| | | label: "申请表主键", |
| | | prop: "applicationId", |
| | | label: "申请单号", |
| | | prop: "no", |
| | | type: "input", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | }, |
| | | { |
| | | label: "评分", |
| | | prop: "score", |
| | | type: "input", |
| | | type: "rate", |
| | | colors: ['#99A9BF', '#F7BA2A', '#FF9900'], |
| | | }, |
| | | { |
| | | label: "评价", |
| | | prop: "evaluation", |
| | | type: "input", |
| | | prop: "comment", |
| | | span:24, |
| | | type: "select", |
| | | multiple:true, |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=evaluation_comment", |
| | | props:{ |
| | | label:"dictValue", |
| | | value:"dictKey" |
| | | }, |
| | | }, |
| | | { |
| | | label: "建议与反馈", |
| | | prop: "feedback", |
| | | type: "input", |
| | | span:24, |
| | | type: "textarea", |
| | | }, |
| | | { |
| | | label: "租户id", |
| | |
| | | type: "input", |
| | | }, |
| | | { |
| | | label: "编号", |
| | | prop: "no", |
| | | type: "input", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | }, |
| | | { |
| | | label: "租户id", |
| | | prop: "tenantId", |
| | | type: "input", |
| | |
| | | @click="handleDelete">删 除 |
| | | </el-button> |
| | | </template> |
| | | |
| | | </avue-crud> |
| | | </basic-container> |
| | | </template> |
| | |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{type,size,row,index}" slot="menu"> |
| | | <el-button icon="el-icon-view" :size="size" :type="type">预 览</el-button> |
| | | <el-button icon="el-icon-view" :size="size" :type="type" @click="viewQr(row)">预 览</el-button> |
| | | <el-button icon="el-icon-edit" :size="size" :type="type">导 出</el-button> |
| | | <el-button icon="el-icon-delete" :size="size" :type="type" >打 印</el-button> |
| | | <el-button icon="el-icon-delete" :size="size" :type="type">废 止</el-button> |
| | | </template> |
| | | </avue-crud> |
| | | |
| | | <el-dialog |
| | | title="通行证预览" |
| | | :visible.sync="dialogVisible" |
| | | :append-to-body="true" |
| | | width="30%"> |
| | | <div id="qrCode" ref="qrCodeDiv"></div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="dialogVisible = false">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | | |
| | | |
| | | </basic-container> |
| | | </template> |
| | | |
| | |
| | | import {getList, getDetail, add, update, remove} from "@/api/pass/pass"; |
| | | import option from "@/const/pass/pass"; |
| | | import {mapGetters} from "vuex"; |
| | | import QRCode from 'qrcodejs2'; |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | }, |
| | | selectionList: [], |
| | | option: option, |
| | | data: [] |
| | | data: [], |
| | | dialogVisible:false, |
| | | qrCode:"", |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | this.loading = false; |
| | | this.selectionClear(); |
| | | }); |
| | | }, |
| | | viewQr(row){ |
| | | console.log(row) |
| | | this.dialogVisible = true |
| | | this.$nextTick(()=>{ |
| | | if(this.qrcode) { // 有新的二维码地址了,先把之前的清除掉 |
| | | this.$refs.qrCodeDiv.innerHTML = '' |
| | | } |
| | | this.qrcode = new QRCode(this.$refs.qrCodeDiv, { |
| | | text: 'https://www.baidu.com/', |
| | | width: 200, |
| | | height: 200, |
| | | colorDark: "#333333", //二维码颜色 |
| | | colorLight: "#ffffff", //二维码背景色 |
| | | correctLevel: QRCode.CorrectLevel.L//容错率,L/M/H |
| | | }) |
| | | }) |
| | | |
| | | |
| | | } |
| | | } |
| | | }; |
| | |
| | | <el-card shadow="hover"> |
| | | <p>{{flow.assigneeName}} 在 [{{flow.createTime}}] 开始处理 [{{flow.historyActivityName}}] 环节</p> |
| | | <p v-if="flow.historyActivityDurationTime!==''">任务历时 [{{flow.historyActivityDurationTime}}]</p> |
| | | <p v-if="flow.comment!==''">批复意见: [{{flow.comment}}]</p> |
| | | <p v-if="flow.comment!==''">反馈意见: [{{flow.comment}}]</p> |
| | | <p v-if="flow.endTime!==''">结束时间: [{{flow.endTime}}]</p> |
| | | </el-card> |
| | | </el-timeline-item> |
| | |
| | | this.form.goodsEntity.id = goodsId |
| | | }, |
| | | controlOption(arg){ |
| | | const suggestion = this.findObject(this.option.column,"suggestion") |
| | | const comment = this.findObject(this.option.column,"comment") |
| | | // const suggestion = this.findObject(this.option.column,"suggestion") |
| | | // const comment = this.findObject(this.option.column,"comment") |
| | | if (arg == 'open'){ |
| | | this.option.detail = true |
| | | if (!this.form.suggestion){ |
| | |
| | | }); |
| | | }, |
| | | controlOption(arg) { |
| | | const suggestion = this.findObject(this.option.column,"suggestion") |
| | | const comment = this.findObject(this.option.column,"comment") |
| | | // const suggestion = this.findObject(this.option.column,"suggestion") |
| | | // const comment = this.findObject(this.option.column,"comment") |
| | | if (arg == 'open'){ |
| | | //解除禁用状态 |
| | | this.option.group.forEach(group=>{ |
| | |
| | | <el-button @click="handleCancel">关闭</el-button> |
| | | </el-form-item> |
| | | </el-row> |
| | | <el-card shadow="hover"> |
| | | <el-card v-if="!isUserTask" shadow="hover"> |
| | | <div slot="header"> |
| | | <span>审批信息</span> |
| | | </div> |
| | |
| | | <avue-form ref="form" v-model="rejectModel" :option="rejectOption" @submit="handleDisagree"/> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </el-card> |
| | | |
| | | <el-card v-else shadow="hover"> |
| | | <div slot="header"> |
| | | <span>审批信息</span> |
| | | </div> |
| | | <avue-form :option="option" v-model="form"/> |
| | | |
| | | <el-tabs type="border-card" @tab-click="tabsClick"> |
| | | <el-tab-pane label="采纳建议" name="userAgree"> |
| | | <avue-form ref="form" v-model="userAgreeModel" :option="userAgreeOption" @submit="userHandleAgree"/> |
| | | </el-tab-pane> |
| | | |
| | | <el-tab-pane label="不采纳建议" name="userPolish"> |
| | | <avue-form ref="form" v-model="userPolishModel" :option="userPolishOption" @submit="userHandlePolish"/> |
| | | </el-tab-pane> |
| | | |
| | | <el-tab-pane label="撤销申请" name="userDisagree"> |
| | | <avue-form ref="form" v-model="userRejectModel" :option="userRejectOption" @submit="userHandleDisagree"/> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </el-card> |
| | | |
| | | <el-card shadow="hover"> |
| | |
| | | <el-card shadow="hover"> |
| | | <p>{{ flow.assigneeName }} 在 [{{ flow.createTime }}] 开始处理 [{{ flow.historyActivityName }}] 环节</p> |
| | | <p v-if="flow.historyActivityDurationTime!==''">任务历时 [{{ flow.historyActivityDurationTime }}]</p> |
| | | <p v-if="flow.comment!==''">批复意见: [{{ flow.comment }}]</p> |
| | | <p v-if="flow.comment!==''">反馈意见: [{{ flow.comment }}]</p> |
| | | <p v-if="flow.endTime!==''">结束时间: [{{ flow.endTime }}]</p> |
| | | </el-card> |
| | | </el-timeline-item> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import {historyFlowList, leaveDetail} from "@/api/work/process"; |
| | | import {historyFlowList} from "@/api/work/process"; |
| | | import option from "@/const/application/application"; |
| | | import {applicationDetail,completeTask} from "@/api/application/application"; |
| | | import {applicationDetail, completeTask, userCompleteTask} from "@/api/application/application"; |
| | | import {deepClone} from "@/util/util"; |
| | | |
| | | export default { |
| | | name: "handle", |
| | |
| | | processInstanceId: '', |
| | | src: '', |
| | | flowList: [], |
| | | form: { |
| | | flow: { |
| | | assigneeName: '', |
| | | }, |
| | | startTime: '', |
| | | endTime: '', |
| | | reason: '', |
| | | comment: '', |
| | | }, |
| | | form: {}, |
| | | option: option, |
| | | //批复相关数据 |
| | | //审批人员相关字段 |
| | | agreeModel: {}, |
| | | agreeOption: { |
| | | emptyBtn: false, |
| | |
| | | gutter: 30, |
| | | column: [ |
| | | { |
| | | label: "批复意见", |
| | | label: "反馈意见", |
| | | prop: "comment", |
| | | span:24, |
| | | type:'textarea', |
| | | hide: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入批复意见", |
| | | message: "请输入反馈意见", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | |
| | | }] |
| | | }, |
| | | { |
| | | label: "批复意见", |
| | | label: "反馈意见", |
| | | prop: "comment", |
| | | type:'textarea', |
| | | span:24, |
| | | hide: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入批复意见", |
| | | message: "请输入反馈意见", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | |
| | | prop: "remark", |
| | | type: "textarea", |
| | | span: 24 |
| | | } |
| | | }, |
| | | { |
| | | label: "反馈意见", |
| | | prop: "comment", |
| | | type:'textarea', |
| | | span:24, |
| | | hide: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入反馈意见", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | ] |
| | | } |
| | | }, |
| | | |
| | | //申请人员相关字段 |
| | | isUserTask:false, |
| | | userAgreeModel:{ |
| | | comment:'同意', |
| | | }, |
| | | userAgreeOption:{ |
| | | emptyBtn: false, |
| | | submitText: "提交", |
| | | gutter: 30, |
| | | column: [ |
| | | { |
| | | label: "反馈意见", |
| | | prop: "comment", |
| | | span:24, |
| | | type:'textarea', |
| | | hide: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入反馈意见", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | ] |
| | | }, |
| | | userPolishModel:{}, |
| | | userPolishOption:{ |
| | | emptyBtn: false, |
| | | submitText: "提交", |
| | | gutter: 30, |
| | | column: [ |
| | | { |
| | | label: "反馈意见", |
| | | prop: "comment", |
| | | span:24, |
| | | type:'textarea', |
| | | hide: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入反馈意见", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | ] |
| | | }, |
| | | userRejectModel:{ |
| | | comment:'撤销申请' |
| | | }, |
| | | userRejectOption:{ |
| | | emptyBtn: false, |
| | | submitText: "提交", |
| | | gutter: 30, |
| | | column: [ |
| | | { |
| | | label: "反馈意见", |
| | | prop: "comment", |
| | | type:'textarea', |
| | | span:24, |
| | | hide: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入反馈意见", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | ] |
| | | }, |
| | | cloneForm:{}, |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | this.businessId = this.$route.params.businessId; |
| | | |
| | | this.controlOption('open') |
| | | |
| | | historyFlowList(this.processInstanceId).then(res => { |
| | | const data = res.data; |
| | | if (data.success) { |
| | | this.flowList = data.data; |
| | | if (this.flowList[this.flowList.length-1].historyActivityId == 'userTask'){ |
| | | this.controlOption('userTask') |
| | | this.isUserTask = true |
| | | } |
| | | } |
| | | }) |
| | | applicationDetail(this.businessId).then(res => { |
| | | const data = res.data; |
| | | if (data.success) { |
| | | this.form = data.data; |
| | | this.cloneForm = deepClone(this.form) |
| | | this.initForm() |
| | | } |
| | | }) |
| | | }, |
| | | //==============审批人员审核方法======================= |
| | | //同意 |
| | | handleAgree() { |
| | | if (!this.agreeModel.comment) { |
| | | this.$message.warning('请先填写批复意见'); |
| | | this.$message.warning('请先填写反馈意见'); |
| | | return; |
| | | } |
| | | const params = { |
| | |
| | | processInstanceId: this.processInstanceId, |
| | | flag: 'ok', |
| | | comment: this.agreeModel.comment, |
| | | isSuggestion:false, |
| | | }; |
| | | completeTask(params).then(res => { |
| | | const data = res.data; |
| | |
| | | }, |
| | | //驳回 |
| | | handleDisagree() { |
| | | if (!this.form.comment) { |
| | | this.$message.warning('请先填写批复意见'); |
| | | if (!this.rejectModel.comment) { |
| | | this.$message.warning('请先填写反馈意见'); |
| | | return; |
| | | } |
| | | const params = { |
| | | taskId: this.taskId, |
| | | processInstanceId: this.processInstanceId, |
| | | comment: this.form.comment, |
| | | comment: this.rejectModel.comment, |
| | | isSuggestion:false |
| | | }; |
| | | completeTask(params).then(res => { |
| | | const data = res.data; |
| | |
| | | }, |
| | | //完善 |
| | | handlePolish() { |
| | | if (!this.polishModel.comment) { |
| | | this.$message.warning('请先填写反馈意见'); |
| | | return; |
| | | } |
| | | const params = { |
| | | taskId: this.taskId, |
| | | processInstanceId: this.processInstanceId, |
| | | comment: this.polishModel.comment, |
| | | suggestion:this.polishModel.suggestion, |
| | | isSuggestion:true, |
| | | }; |
| | | completeTask(params).then(res => { |
| | | const data = res.data; |
| | | if (data.success) { |
| | | this.$message.success(data.msg); |
| | | this.$router.$avueRouter.closeTag(); |
| | | this.$router.push({path: `/work/start`}); |
| | | } else { |
| | | this.$message.error(data.msg || '提交失败'); |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | //===============申请人员审核方法================ |
| | | //采纳意见 |
| | | userHandleAgree(){ |
| | | const params = { |
| | | ...this.form, |
| | | taskId: this.taskId, |
| | | processInstanceId: this.processInstanceId, |
| | | flag: 'ok', |
| | | comment: this.userAgreeModel.comment, |
| | | isSuggestion:true, |
| | | }; |
| | | userCompleteTask(params).then(res => { |
| | | const data = res.data; |
| | | if (data.success) { |
| | | this.$message.success(data.msg); |
| | | this.$router.$avueRouter.closeTag(); |
| | | this.$router.push({path: `/work/start`}); |
| | | } else { |
| | | this.$message.error(data.msg || '提交失败'); |
| | | } |
| | | }) |
| | | }, |
| | | //撤销申请 |
| | | userHandleDisagree(){ |
| | | if (!this.rejectModel.comment) { |
| | | this.$message.warning('请先填写反馈意见'); |
| | | return; |
| | | } |
| | | const params = { |
| | | taskId: this.taskId, |
| | | processInstanceId: this.processInstanceId, |
| | | comment: this.userRejectModel.comment, |
| | | }; |
| | | userCompleteTask(params).then(res => { |
| | | const data = res.data; |
| | | if (data.success) { |
| | | this.$message.success(data.msg); |
| | | this.$router.$avueRouter.closeTag(); |
| | | this.$router.push({path: `/work/start`}); |
| | | } else { |
| | | this.$message.error(data.msg || '提交失败'); |
| | | } |
| | | }) |
| | | }, |
| | | //不采纳意见 |
| | | userHandlePolish(){ |
| | | const params = { |
| | | taskId: this.taskId, |
| | | processInstanceId: this.processInstanceId, |
| | | flag: 'ok', |
| | | isSuggestion:false, |
| | | comment: this.polishModel.comment, |
| | | }; |
| | | userCompleteTask(params).then(res => { |
| | | const data = res.data; |
| | | if (data.success) { |
| | | this.$message.success(data.msg); |
| | | this.$router.$avueRouter.closeTag(); |
| | | this.$router.push({path: `/work/start`}); |
| | | } else { |
| | | this.$message.error(data.msg || '提交失败'); |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | |
| | | handleCancel() { |
| | | this.$router.$avueRouter.closeTag(); |
| | | this.$router.push({path: `/work/start`}); |
| | |
| | | this.option.submitBtn = true |
| | | this.option.emptyBtn = true |
| | | |
| | | } |
| | | }else if (arg == 'userTask'){ |
| | | //解除禁用状态 |
| | | this.option.group.forEach(group => { |
| | | group.column.forEach(item => { |
| | | item.disabled = false |
| | | }) |
| | | }) |
| | | |
| | | }else if (arg == 'noPolish'){ |
| | | //设置group内全为禁用状态 |
| | | this.option.group.forEach(group => { |
| | | group.column.forEach(item => { |
| | | item.disabled = true |
| | | }) |
| | | }) |
| | | } |
| | | }, |
| | | tabsClick(tab){ |
| | | if (tab.name == 'userAgree'){ |
| | | this.controlOption('userTask') |
| | | }else { |
| | | this.controlOption('noPolish') |
| | | } |
| | | } |
| | | } |
| | | } |