f4078c97 by xiaomiao

其他及附记模板

1 parent 87f7496e
......@@ -329,6 +329,7 @@ export default {
}
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
@import "~@/styles/dialogBoxheader.scss";
/deep/.el-radio {
margin-right: 5px !important;
}
......
......@@ -25,9 +25,9 @@
</el-form-item>
</el-col>
</el-row>
<object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" v-show="false">
<object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" v-show="false">
<embed id="LODOP_EM" type="application/x-print-lodop" width=820 height=450 pluginspage="install_lodop32.exe"/>
</object>
</object>
<textarea rows="0" id="S1" cols="0" v-show="false"></textarea>
</el-form>
</dialogBox>
......@@ -90,7 +90,7 @@ export default {
// console.log('error submit!!');
return false;
}
});
});
},
//新增
addTemplate(){
......@@ -130,13 +130,13 @@ export default {
},
getDetailInfo(item){
this.ruleForm = item;
this.editFlag = true;
this.editFlag = true;
},
//设计打印模板
designByPRGData() {
let that = this;
that.loadStatus = '1';
let LODOP=getLodop(document.getElementById('LODOP_OB'),document.getElementById('LODOP_EM'));
let LODOP=getLodop(document.getElementById('LODOP_OB'),document.getElementById('LODOP_EM'));
LODOP.ADD_PRINT_DATA("ProgramData",this.ruleForm.tmpcontent); //装载模板
//窗口关闭后,回调函数中保存的设计代码
if (LODOP.CVERSION)
......@@ -150,18 +150,18 @@ export default {
0
);
setTimeout(() => {
that.ruleForm.tmpcontent = document.getElementById("S1").value;
that.loadStatus = '2';
that.ruleForm.tmpcontent = document.getElementById("S1").value;
that.loadStatus = '2';
}, 1000);
};
LODOP.PRINT_DESIGN(); //打印设计或者打印维护需要放到最后
LODOP.PRINT_DESIGN(); //打印设计或者打印维护需要放到最后
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/dialogBoxheader.scss";
.font-red {
color: red
}
......
......@@ -226,7 +226,7 @@ export default {
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/dialogBoxheader.scss";
.qtjfjmb-edit-title {
padding-bottom: 10px;
border-bottom: 1px solid $borderColor;
......
......@@ -333,7 +333,7 @@ export default {
@import "~@/styles/mixin.scss";
@import "~@/styles/dialogBox.scss";
@import "~@/styles/collapse.scss";
@import "~@/styles/dialogBoxheader.scss";
.contentBox {
height: 75vh;
overflow-y: scroll;
......
......@@ -266,6 +266,7 @@ export default {
};
</script>
<style scoped lang="scss">
@import "~@/styles/dialogBoxheader.scss";
.quill-editor {
padding: 0;
}
......@@ -280,4 +281,4 @@ export default {
min-height: 160px;
overflow-y: scroll;
}
</style>
\ No newline at end of file
</style>
......
......@@ -154,7 +154,7 @@ export default {
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/dialogBoxheader.scss";
.title-name {
line-height: 36px;
border-bottom: 1px solid $borderColor;
......
......@@ -11,7 +11,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="领取时间:" prop="operationtime">
<el-date-picker v-model="ruleForm.operationtime" class="width100" type="datetime"
<el-date-picker v-model="ruleForm.operationtime" class="width100" type="datetime"
placeholder="选择日期时间" :disabled="!readOnly" value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
......@@ -239,7 +239,7 @@ export default {
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/dialogBoxheader.scss";
.font-red {
color: red
}
......
......@@ -243,7 +243,7 @@ export default {
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/dialogBoxheader.scss";
.font-red {
color: red
}
......