88b863bc by renchao@pashanhoo.com

style:登记薄模块功能的完善

1 parent 1ab48d09
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-19 09:30:13
* @LastEditTime: 2023-09-19 10:19:52
-->
<template>
<transition name="msgbox-fade">
......@@ -160,7 +160,6 @@
.mask-content {
padding: 5px 20px 30px 20px;
width: 100%;
min-height: 360px;
max-height: 90vh;
overflow-y: scroll;
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-18 17:04:46
* @LastEditTime: 2023-09-19 10:17:02
-->
<template>
<dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit"
......@@ -24,13 +24,6 @@
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="材料编码" prop="clbm">
<el-input v-model="ruleForm.clbm"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</dialogBox>
</template>
......@@ -47,7 +40,6 @@
ruleForm: {
cllx: "",
clmc: "",
clbm: "",
sfggcl: "0"
},
rules: {
......@@ -78,7 +70,6 @@
this.ruleForm = {
cllx: "",
clmc: "",
clbm: "",
sfggcl: "0"
}
},
......@@ -93,7 +84,6 @@
this.ruleForm = {
cllx: "",
clmc: "",
clbm: "",
sfggcl: "0"
}
this.$emit("input", false);
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-19 08:53:58
* @LastEditTime: 2023-09-19 10:17:20
-->
<template>
<div class="clmlmx-box">
......@@ -65,15 +65,6 @@
}
},
{
label: "材料编码",
render: (h, scope) => {
return (
(this.formData.ableOperation && scope.row.sfxjcl == '1') ?
<el-input value={scope.row.sjbm} onInput={(val) => { scope.row.sjbm = val }}></el-input> : <span>{scope.row.sjbm}</span>
)
}
},
{
label: "材料类型",
width: "110",
render: (h, scope) => {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-18 17:22:36
* @LastEditTime: 2023-09-19 10:15:00
-->
<template>
<div class="clxx">
......@@ -261,7 +261,6 @@
smzt: "",
ys: 0,
sjlx: data.cllx,
sjbm: data.clbm,
sfxjcl: "1", // 是否必选
sfggcl: data.sfggcl,
};
......@@ -333,7 +332,7 @@
})
}
}
};
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-18 08:55:31
* @LastEditTime: 2023-09-19 10:15:07
-->
<template>
<dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit"
<dialogBox title="新建材料信息" width="25%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit"
:isFullscreen="false">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px">
<el-row>
......@@ -24,19 +24,17 @@
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-row :gutter="20">
<el-col :span="24">
<el-form-item
label="是否公共材料"
>
<el-radio-group
v-model="ruleForm.sfggcl"
>
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-form-item
label="是否公共材料">
<el-radio-group
v-model="ruleForm.sfggcl">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
</el-form>
</dialogBox>
......@@ -54,7 +52,7 @@
ruleForm: {
cllx: "",
clmc: "",
sfggcl:"0"
sfggcl: "0"
},
rules: {
cllx: [
......@@ -62,6 +60,9 @@
],
clmc: [
{ required: true, message: '请输入材料名称', trigger: 'blur' }
],
clbm: [
{ required: true, message: '请输入材料编码', trigger: 'blur' }
]
}
}
......@@ -84,6 +85,7 @@
this.ruleForm = {
cllx: "",
clmc: "",
sfggcl: "0"
}
},
/**
......@@ -97,7 +99,7 @@
this.ruleForm = {
cllx: "",
clmc: "",
sfggcl:"0"
sfggcl: "0"
}
this.$emit("input", false);
} else {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-18 17:21:36
* @LastEditTime: 2023-09-19 10:14:56
-->
<template>
<div class="clmlmx-box">
......@@ -64,15 +64,6 @@
}
},
{
label: "材料编码",
render: (h, scope) => {
return (
(this.formData.ableOperation && scope.row.sfxjcl == '1') ?
<el-input value={scope.row.sjbm} onInput={(val) => { scope.row.sjbm = val }}></el-input> : <span>{scope.row.sjbm}</span>
)
}
},
{
label: "材料类型",
width: "110",
render: (h, scope) => {
......@@ -266,6 +257,18 @@
this.tableData.splice(evt.newIndex, 0, targetRow);
}
})
},
dicStatus (val, code) {
let data = store.getters.dictData[code],
name = '暂无'
if (data) {
data.map((item) => {
if (item.dcode == val) {
name = item.dname
}
})
return name
}
}
}
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-18 11:15:30
* @LastEditTime: 2023-09-19 10:04:58
-->
<template>
<div class="from-clues">
......@@ -159,7 +159,7 @@
class="loadingtext"
@sort-change="handleSort"
:current-page.sync="pageData.currentPage"
:heightNum="305"
:heightNum="350"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
......@@ -256,12 +256,11 @@
this.queryClick();
},
/**
* @description: ywhClick
* @description: 有任务权限
* @param {*} item
* @author: renchao
*/
ywhClick (item) {
//有任务权限
if (item.sjlx == "3") {
item.djywbm = "DJBBL";
const { href } = this.$router.resolve(
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-18 11:19:07
* @LastEditTime: 2023-09-19 10:04:04
-->
<template>
<div class="from-clues">
......@@ -43,7 +43,7 @@
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button>
<el-button @click="moreQueryClick">高级查询</el-button>
<!-- <el-button @click="moreQueryClick">高级查询</el-button> -->
</el-form-item>
</el-col>
</el-row>
......@@ -140,18 +140,31 @@
console.log(name, sort);
},
/**
* @description: 高级查询
* @author: renchao
*/
moreQueryClick () { },
/**
* @description: openDialog
* @param {*} item
* @author: renchao
*/
openDialog (item) {
const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&type=jdcx')
window.open(href, `urlname${item.bsmSlsq}`)
if (item.sjlx == "3") {
item.djywbm = "DJBBL";
const { href } = this.$router.resolve(
"/djbworkFrameview?bsmSlsq=" +
item.bsmSlsq +
"&bestepid=" +
item.bestepid +
"&sqywbm=" +
item.djywbm
);
window.open(href, `djbworkFrameview${item.bsmSlsq}`);
} else {
const { href } = this.$router.resolve(
"/workFrameView?bsmSlsq=" +
item.bsmSlsq +
"&bestepid=" +
item.bestepid
);
window.open(href, `workFrameView${item.bsmSlsq}`);
}
}
}
}
......