123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <template>
- <div class="dialog">
- <el-dialog
- :title="formData.JGMC"
- width="40%"
- :visible.sync="dialogVisible"
- :before-close="close"
- :modal-append-to-body="false"
- :close-on-click-modal="false"
- >
- <div class="content">
- <el-form :model="ruleForm" ref="ruleForm" label-width="100px">
- <el-form-item label="审核结论:" prop="shjl">
- <el-radio v-model="ruleForm.shjl" label="1"> 申请通过 </el-radio>
- <el-radio v-model="ruleForm.shjl" label="2"> 申请不通过 </el-radio>
- </el-form-item>
- <el-form-item label="使用截止日期:" prop="jzrq">
- <el-date-picker
- v-model="ruleForm.jzrq"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder="选择日期"
- >
- </el-date-picker>
- (默认一年)
- </el-form-item>
- <el-form-item label="审核意见:" prop="xmmc">
- <el-input
- v-model="ruleForm.xmmc"
- :rows="5"
- type="textarea"
- placeholder="描述"
- ></el-input>
- </el-form-item>
- <el-row :gutter="20" class="elrow">
- <el-col :span="12">
- <el-form-item label="审核时间" prop="shsj">
- <el-date-picker
- v-model="ruleForm.shsj"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder="自动读取"
- >
- </el-date-picker>
- </el-form-item>
- </el-col>
- <el-col :span="12">
- <el-form-item label="审核人" prop="shr">
- <el-input
- v-model="ruleForm.shr"
- placeholder="自动读取"
- ></el-input>
- </el-form-item>
- </el-col>
- </el-row>
- </el-form>
- </div>
- <span slot="footer" class="dialog-footer">
- <el-button type="primary" @click="submit">保存</el-button>
- <el-button type="primary" @click="close">关闭</el-button>
- </span>
- </el-dialog>
- </div>
- </template>
- <script>
- export default {
- components: {},
- props: {},
- data() {
- return {
- formData: {},
- fieldList: [{ label: "sc", name: "字段" }],
- dialogVisible: false,
- };
- },
- created() {},
- methods: {
- // 关闭弹窗
- close() {
- this.dialogVisible = false;
- this.$emit("close");
- },
- Init(rowdata) {
- this.formData = rowdata;
- this.dialogVisible = true;
- },
- async submit() {
- this.close();
- },
- },
- };
- </script>
- <style lang="scss" scoped>
- .dialog {
- .content {
- height: 400px;
- overflow-y: auto;
- overflow-x: hidden;
- color: #fff;
- .el-checkbox {
- color: #fff;
- }
- }
- }
- </style>
- <style lang="scss" >
- </style>
|