<template>
  <div class="pop-tipsBox" style="display: block;" v-if="showDialog">
    <div>
      <i class="icon"></i>
      <div class="cont">
        <p class="name">流程启动</p>
        <el-form label-position="top" class="form-box">
          <div class="c">
            <div class="c-item">
              <el-form-item label="流程">
                <el-radio-group v-model="wfStartForm.modelId">
                  <el-radio v-for="(wfDefItem,index) in wfDefItems" :label="wfDefItem.modelId" :key="index">
                    {{ wfDefItem.modelName }}
                  </el-radio>
                </el-radio-group>
              </el-form-item>
            </div>
          </div>
        </el-form>
      </div>
      <div class="btns">
        <el-button type="primary" class="btn" plain icon="el-icon-close" @click="close">{{
            $t2('取 消', 'system.button.cancel2')
          }}
        </el-button>
        <el-button type="primary" class="btn" icon="el-icon-check" @click="subWfStartForm()">{{
            $t2('确 定', 'system.button.confirm2')
          }}
        </el-button>
      </div>
    </div>
  </div>
</template>

<script>
import mixin from './mixins/wfStartDialogMixin';

export default {
  mixins: [mixin]
};
</script>
