|  |  |  | 
|---|
|  |  |  | >发布</el-button | 
|---|
|  |  |  | > | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="config_list_list"> | 
|---|
|  |  |  | <div class="item"> | 
|---|
|  |  |  | <div class="item_label">发起人</div> | 
|---|
|  |  |  | <div class="item_child"> | 
|---|
|  |  |  | <div class="item_child_label">程春林</div> | 
|---|
|  |  |  | <div class="item_child_val">访客</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="item_down"> | 
|---|
|  |  |  | <div class="item_down_x"> | 
|---|
|  |  |  | <img src="@/assets/images/peizhi_ar@2x.png" alt="" /> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="config_content"> | 
|---|
|  |  |  | <div class="item active"> | 
|---|
|  |  |  | <div class="head">发起人</div> | 
|---|
|  |  |  | <div class="content">访客</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="arrows"> | 
|---|
|  |  |  | <div class="line"></div> | 
|---|
|  |  |  | <img src="@/assets/images/peizhi_ar@2x.png" alt="" /> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div | 
|---|
|  |  |  | :class="item.active ? 'item yellow active' : 'item yellow'" | 
|---|
|  |  |  | v-for="(item, index) in list" | 
|---|
|  |  |  | :key="index" | 
|---|
|  |  |  | @click="seleItem(index)" | 
|---|
|  |  |  | class="item yellow" | 
|---|
|  |  |  | :class="{ active: activeSel === 'one' }" | 
|---|
|  |  |  | @click="flowClick('one')" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <div class="item_label">审批人</div> | 
|---|
|  |  |  | <div class="item_child" style="cursor: pointer"> | 
|---|
|  |  |  | <img | 
|---|
|  |  |  | class="item_child_right" | 
|---|
|  |  |  | src="@/assets/images/ar_more@2x.png" | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | <div class="item_child_label">被访人</div> | 
|---|
|  |  |  | <div class="item_child_val">访客</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="item_down"> | 
|---|
|  |  |  | <!-- <img | 
|---|
|  |  |  | class="item_down_add" | 
|---|
|  |  |  | v-if="list.length - 1 === index" | 
|---|
|  |  |  | src="@/assets/images/peizhi_add@2x.png" | 
|---|
|  |  |  | @click.stop="add" | 
|---|
|  |  |  | /> --> | 
|---|
|  |  |  | <div class="item_down_x"> | 
|---|
|  |  |  | <img src="@/assets/images/peizhi_ar@2x.png" alt="" /> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="head">审批人</div> | 
|---|
|  |  |  | <div class="content"> | 
|---|
|  |  |  | <div>被访人</div> | 
|---|
|  |  |  | <i class="el-icon-arrow-right"></i> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="item blue" style="height: 81px"> | 
|---|
|  |  |  | <div class="item_label">抄送人</div> | 
|---|
|  |  |  | <div class="item_child" style="cursor: pointer; height: 40px"> | 
|---|
|  |  |  | <img | 
|---|
|  |  |  | class="item_child_right" | 
|---|
|  |  |  | src="@/assets/images/ar_more@2x.png" | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | <div class="item_child_val" style="margin-top: 3px"> | 
|---|
|  |  |  | 请设置抄送人 | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="item_down"> | 
|---|
|  |  |  | <div class="item_down_x"> | 
|---|
|  |  |  | <img src="@/assets/images/peizhi_ar@2x.png" alt="" /> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="arrows"> | 
|---|
|  |  |  | <div class="line"></div> | 
|---|
|  |  |  | <img src="@/assets/images/peizhi_ar@2x.png" alt="" /> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="footer"> | 
|---|
|  |  |  | <span>流程结束</span> | 
|---|
|  |  |  | <template v-if="false"> | 
|---|
|  |  |  | <div | 
|---|
|  |  |  | class="item yellow" | 
|---|
|  |  |  | :class="{ active: activeSel === 'one' }" | 
|---|
|  |  |  | @click="flowClick('one')" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <div class="head">审批人</div> | 
|---|
|  |  |  | <div class="content"> | 
|---|
|  |  |  | <div>李琳-综合科</div> | 
|---|
|  |  |  | <i class="el-icon-arrow-right"></i> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="arrows"> | 
|---|
|  |  |  | <div class="line"></div> | 
|---|
|  |  |  | <img src="@/assets/images/peizhi_ar@2x.png" alt="" /> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | <div | 
|---|
|  |  |  | class="item blue" | 
|---|
|  |  |  | :class="{ active: activeSel === 'two' }" | 
|---|
|  |  |  | @click="flowClick('two')" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <div class="head">抄送人</div> | 
|---|
|  |  |  | <div class="content"> | 
|---|
|  |  |  | <div>请选择</div> | 
|---|
|  |  |  | <i class="el-icon-arrow-right"></i> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | <el-radio :label="1">会签(所有审批人都同意才可通过)</el-radio> | 
|---|
|  |  |  | </el-radio-group> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="config_data_item" v-if="radio === 2"> | 
|---|
|  |  |  | <div class="config_data_item_label">审批人为空时</div> | 
|---|
|  |  |  | <el-checkbox-group | 
|---|
|  |  |  | v-model="checkList" | 
|---|
|  |  |  | style="display: flex; flex-direction: column" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <el-checkbox | 
|---|
|  |  |  | label="复选框 A" | 
|---|
|  |  |  | style="margin-bottom: 20px" | 
|---|
|  |  |  | ></el-checkbox> | 
|---|
|  |  |  | <el-checkbox | 
|---|
|  |  |  | label="复选框 B" | 
|---|
|  |  |  | style="margin-bottom: 20px" | 
|---|
|  |  |  | ></el-checkbox> | 
|---|
|  |  |  | <el-checkbox label="复选框 C"></el-checkbox> | 
|---|
|  |  |  | </el-checkbox-group> | 
|---|
|  |  |  | <div class="df_ac"> | 
|---|
|  |  |  | <span class="mr10"><strong>允许修改申请项</strong></span> | 
|---|
|  |  |  | <el-switch v-model="param.aa" active-value="1" inactive-value="0"> | 
|---|
|  |  |  | </el-switch> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="df_ac mt10"> | 
|---|
|  |  |  | <span class="mr20">选择修改项</span> | 
|---|
|  |  |  | <el-select v-model="param.list"  collapse-tags multiple placeholder="请选择,多选"> | 
|---|
|  |  |  | <el-option | 
|---|
|  |  |  | v-for="item in options" | 
|---|
|  |  |  | :key="item.value" | 
|---|
|  |  |  | :label="item.label" | 
|---|
|  |  |  | :value="item.value" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | </el-option> | 
|---|
|  |  |  | </el-select> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="config_data_submit" v-if="radio !== 0"> | 
|---|
|  |  |  | <el-button style="background: #435ebe" type="primary" | 
|---|
|  |  |  | >保持配置项</el-button | 
|---|
|  |  |  | >保存配置项</el-button | 
|---|
|  |  |  | > | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | TableLayout, | 
|---|
|  |  |  | treeTransfer | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | data() { | 
|---|
|  |  |  | data () { | 
|---|
|  |  |  | return { | 
|---|
|  |  |  | list: [ | 
|---|
|  |  |  | { | 
|---|
|  |  |  | name: '', | 
|---|
|  |  |  | active: false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ], | 
|---|
|  |  |  |  | 
|---|
|  |  |  | value: '', | 
|---|
|  |  |  | options: [], | 
|---|
|  |  |  | radio: 0, | 
|---|
|  |  |  | radio1: 0, | 
|---|
|  |  |  | checked: '', | 
|---|
|  |  |  | checkList: [], | 
|---|
|  |  |  |  | 
|---|
|  |  |  | param: {}, | 
|---|
|  |  |  | activeSel: 'one', | 
|---|
|  |  |  | activeName: 'first', | 
|---|
|  |  |  | isShowTransfer: false, | 
|---|
|  |  |  | fromData: [ | 
|---|
|  |  |  | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | options: [{ | 
|---|
|  |  |  | value: '选项1', | 
|---|
|  |  |  | label: '黄金糕' | 
|---|
|  |  |  | }, { | 
|---|
|  |  |  | value: '选项2', | 
|---|
|  |  |  | label: '双皮奶' | 
|---|
|  |  |  | }, { | 
|---|
|  |  |  | value: '选项3', | 
|---|
|  |  |  | label: '蚵仔煎' | 
|---|
|  |  |  | }, { | 
|---|
|  |  |  | value: '选项4', | 
|---|
|  |  |  | label: '龙须面' | 
|---|
|  |  |  | }, { | 
|---|
|  |  |  | value: '选项5', | 
|---|
|  |  |  | label: '北京烤鸭' | 
|---|
|  |  |  | }], | 
|---|
|  |  |  | selData: [] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | methods: { | 
|---|
|  |  |  | add() { | 
|---|
|  |  |  | this.list.push({ | 
|---|
|  |  |  | name: '', | 
|---|
|  |  |  | active: false | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | flowClick (val) { | 
|---|
|  |  |  | this.activeSel = val | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | selStaff() { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | selStaff () { | 
|---|
|  |  |  | this.isShowTransfer = true | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | seleItem(i) { | 
|---|
|  |  |  | seleItem (i) { | 
|---|
|  |  |  | this.list.forEach((item, index) => { | 
|---|
|  |  |  | item.active = index === i | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | 
|---|
|  |  |  | color: #222222; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .config_list_list { | 
|---|
|  |  |  | .config_content { | 
|---|
|  |  |  | width: 100%; | 
|---|
|  |  |  | height: calc(100% - 40px); | 
|---|
|  |  |  | padding-top: 45px; | 
|---|
|  |  |  | 
|---|
|  |  |  | width: 0; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .active { | 
|---|
|  |  |  | border: 2px solid #e84a08 !important; | 
|---|
|  |  |  | border: 2px solid #4456ac !important; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .yellow { | 
|---|
|  |  |  | background: #ee8921 !important; | 
|---|
|  |  |  | background: #e89e42 !important; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .blue { | 
|---|
|  |  |  | background: #435ebe !important; | 
|---|
|  |  |  | background: #5094f3 !important; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .footer { | 
|---|
|  |  |  | width: 106px; | 
|---|
|  |  |  | height: 41px; | 
|---|
|  |  |  | background: #ffffff; | 
|---|
|  |  |  | box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1); | 
|---|
|  |  |  | border-radius: 25px; | 
|---|
|  |  |  | .arrows { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | flex-direction: column; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | justify-content: center; | 
|---|
|  |  |  | span { | 
|---|
|  |  |  | font-size: 15px; | 
|---|
|  |  |  | font-weight: 400; | 
|---|
|  |  |  | color: #333333; | 
|---|
|  |  |  | .line { | 
|---|
|  |  |  | width: 1px; | 
|---|
|  |  |  | height: 60px; | 
|---|
|  |  |  | background-color: #ccc; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | img { | 
|---|
|  |  |  | width: 12px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .item { | 
|---|
|  |  |  | width: 200px; | 
|---|
|  |  |  | height: 102px; | 
|---|
|  |  |  | background: #7999d9; | 
|---|
|  |  |  | box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1); | 
|---|
|  |  |  | border-radius: 4px; | 
|---|
|  |  |  | padding: 4px; | 
|---|
|  |  |  | box-sizing: border-box; | 
|---|
|  |  |  | cursor: pointer; | 
|---|
|  |  |  | border: 2px solid #f7f7f7; | 
|---|
|  |  |  | height: 80px; | 
|---|
|  |  |  | background: #4456ac; | 
|---|
|  |  |  | border-radius: 2px; | 
|---|
|  |  |  | position: relative; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | flex-direction: column; | 
|---|
|  |  |  | justify-content: space-between; | 
|---|
|  |  |  | position: relative; | 
|---|
|  |  |  | margin-bottom: 60px; | 
|---|
|  |  |  | .head { | 
|---|
|  |  |  | height: 32px; | 
|---|
|  |  |  | line-height: 32px; | 
|---|
|  |  |  | padding: 2px 12px; | 
|---|
|  |  |  | color: #fff; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .content { | 
|---|
|  |  |  | flex: 1; | 
|---|
|  |  |  | background-color: #fff; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | padding: 0 12px; | 
|---|
|  |  |  | justify-content: space-between; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | &:last-child { | 
|---|
|  |  |  | margin: 0 !important; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .item_down { | 
|---|
|  |  |  | position: absolute; | 
|---|
|  |  |  | bottom: -60px; | 
|---|
|  |  |  | width: 100%; | 
|---|
|  |  |  | height: 60px; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | justify-content: center; | 
|---|
|  |  |  | .item_down_add { | 
|---|
|  |  |  | width: 46px; | 
|---|
|  |  |  | height: 46px; | 
|---|
|  |  |  | position: absolute; | 
|---|
|  |  |  | z-index: 3; | 
|---|
|  |  |  | top: 5px; | 
|---|
|  |  |  | cursor: pointer; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .item_down_x { | 
|---|
|  |  |  | width: 1px; | 
|---|
|  |  |  | height: 60px; | 
|---|
|  |  |  | background: #b2b2b2; | 
|---|
|  |  |  | position: relative; | 
|---|
|  |  |  | img { | 
|---|
|  |  |  | position: absolute; | 
|---|
|  |  |  | bottom: 0; | 
|---|
|  |  |  | left: -4px; | 
|---|
|  |  |  | width: 9px; | 
|---|
|  |  |  | height: 9px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .item_label { | 
|---|
|  |  |  | width: 100%; | 
|---|
|  |  |  | height: 30px; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | font-size: 15px; | 
|---|
|  |  |  | font-weight: 400; | 
|---|
|  |  |  | color: #ffffff; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .item_child { | 
|---|
|  |  |  | width: 100%; | 
|---|
|  |  |  | height: 61px; | 
|---|
|  |  |  | padding: 10px; | 
|---|
|  |  |  | box-sizing: border-box; | 
|---|
|  |  |  | background: #ffffff; | 
|---|
|  |  |  | border-radius: 4px; | 
|---|
|  |  |  | position: relative; | 
|---|
|  |  |  | .item_child_right { | 
|---|
|  |  |  | position: absolute; | 
|---|
|  |  |  | right: 10px; | 
|---|
|  |  |  | top: 13px; | 
|---|
|  |  |  | width: 8px; | 
|---|
|  |  |  | height: 14px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .item_child_label { | 
|---|
|  |  |  | font-size: 14px; | 
|---|
|  |  |  | font-weight: 400; | 
|---|
|  |  |  | color: #333333; | 
|---|
|  |  |  | margin-bottom: 4px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .item_child_val { | 
|---|
|  |  |  | font-size: 12px; | 
|---|
|  |  |  | font-weight: 400; | 
|---|
|  |  |  | color: #999999; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|