Commit a4ec823f by 抽刀断水

调整模块组件操作逻辑和回显转化字段

parent 46b42e41
......@@ -105,12 +105,11 @@
<!--日期框 日期时间-->
<el-date-picker
v-model="formData[item.id]"
type="datetime"
type="date"
align="right"
:picker-options="item.pickerOptions"
unlink-panels
suffix-icon="el-icon-date"
value-format="yyyy-MM-dd HH:mm:ss"
suffix-icon="el-icon-time"
value-format="yyyy-MM-dd"
v-else-if="item.type == 'datetime'"
>
</el-date-picker>
......@@ -818,6 +817,8 @@
:width="pageBs == 'zdxxgl' || pageBs == 'gzrygl' ? '460' : '200'"
:fixed="pageBs == 'rySp' ? 'right' : false"
v-if="
pageBs == 'wfqdzczl' ||
pageBs == 'xywspdzczl' ||
!(
pageBs == 'gnsyrz' ||
pageBs == 'jdcxsGl' ||
......@@ -839,9 +840,13 @@
pageBs == 'wscdajtj' ||
pageBs == 'jszls' ||
pageBs == 'queryCheckBj' ||
pageBs == 'xywspdzczl' ||
pageBs != 'queryZj' ||
pageBs != 'queryZj' ||
pageBs != 'queryWl' ||
pageBs != 'queryDx'
pageBs != 'queryDx' ||
pageBs != 'wfqdzczl' ||
pageBs == 'wfzdzczl'
)
"
>
......@@ -866,7 +871,9 @@
pageBs == 'xywspdzczl' ||
pageBs == 'sqqxgl' ||
pageBs == 'yjrwGl' ||
pageBs == 'wfzdzczl'
pageBs == 'wfzdzczl' ||
pageBs == 'wfqdzczl'
)
"
>修改</span
......@@ -1010,7 +1017,7 @@
style="margin-right: 16px"
v-if="
(pageBs == 'wsqfbdzczl' || pageBs == 'wfqdzczl') &&
(scope.row.spsftg == '0' || scope.row.spsftg == '3')
(scope.row.spsftg == '未通过' || scope.row.spsftg == '草稿')
"
>提请审批</span
>
......@@ -1325,6 +1332,7 @@ export default {
default: () => [],
},
cxFormData: Object,
transformFormTable: Object,
cxUrl: String,
header: String,
pageFlag: String,
......@@ -1919,6 +1927,12 @@ export default {
}
});
self.tableData = response.data.rows;
for (let t in self.transformFormTable){
self.tableData.map(res=>{
res[t] = self.transformFormTable[t][res[t]]
})
}
self.tableDataLength = response.data.total;
self.tPage = Math.ceil(response.data.total / self.page_size);
self.talbeBhgCount = response.data.bhgCount;
......@@ -2050,6 +2064,9 @@ export default {
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
.el-icon-date:before {
content: "\e78e" !important;
}
</style>
<style scoped lang="scss">
@import "../assets/styles/rightContent.scss";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment