| | |
| | | </el-form-item> |
| | | <el-form-item label="职务权重" :label-width="formLabelWidth" prop="weight"> |
| | | <el-input v-model="form.weight" type="number" placeholder="请输入职务权重"></el-input> |
| | | <div class="gray9">权重越大,职务越高</div> |
| | | <div class="gray9">权重越大,职位越高</div> |
| | | </el-form-item> |
| | | <el-form-item label="参与活动获得积分" :label-width="formLabelWidth"> |
| | | <el-input v-model="form.participate_points" type="number" class="max-w460"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="状态" :label-width="formLabelWidth"> |
| | | <el-radio-group v-model="form.status"> |
| | |
| | | /*职务权重*/ |
| | | weight: 100, |
| | | status: 1, |
| | | participate_points: 0, // 参与活动获得积分 |
| | | }, |
| | | formRules: { |
| | | name: [{ required: true, message: '请输入职务名称', trigger: 'blur' }], |
| | |
| | | this.form.position_id = this.editform.position_id; |
| | | this.form.name = this.editform.name; |
| | | this.form.weight = this.editform.weight; |
| | | this.form.participate_points = this.editform.participate_points; |
| | | this.form.status = this.editform.status; |
| | | }, |
| | | methods: { |