parent
ac3dbe1c10
commit
7424aabf39
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,2 @@
|
||||
const columnList = [{"jnpfKey":"billRule","fullName":"单据号","label":"单据号","sortable":false,"align":"left","__config__":{"formId":101,"visibility":["pc","app"],"jnpfKey":"billRule","defaultValue":null,"noShow":false,"tipLabel":"","dragDisabled":false,"rule":"xinyongdengji","className":[],"label":"单据号","trigger":"change","showLabel":true,"required":false,"tableName":"jg_subject_credit_rating_no","renderKey":1706762675582,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-documents","ruleName":"信用规则配置-信用等级","tag":"JnpfInput","span":24},"readonly":true,"prop":"businessNo","width":0,"__vModel__":"businessNo","fixed":"none","style":{"width":"100%"},"id":"businessNo","placeholder":"系统自动生成"}]
|
||||
export default columnList
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,561 @@
|
||||
<template>
|
||||
<div :style="{margin: '0 auto',width:'100%'}">
|
||||
<el-row :gutter="15" class="">
|
||||
<el-form ref="formRef" :model="dataForm" :rules="dataRule" size="small" label-width="100px" label-position="right"
|
||||
:disabled="setting.readonly">
|
||||
<template v-if="!loading && formOperates">
|
||||
<!-- 具体表单 -->
|
||||
<el-col :span="24" v-if="judgeShow('businessNo')">
|
||||
<jnpf-form-tip-item label="单据号" v-if="judgeShow('businessNo')" prop="businessNo">
|
||||
<JnpfInput v-model="dataForm.businessNo" @change="changeData('businessNo',-1)" placeholder="系统自动生成"
|
||||
:disabled="judgeWrite('businessNo')" readonly :style='{"width":"100%"}'>
|
||||
</JnpfInput>
|
||||
</jnpf-form-tip-item>
|
||||
</el-col>
|
||||
<!-- <el-col :span="24" v-if="judgeShow('businessType')">
|
||||
<jnpf-form-tip-item label="业务类型" v-if="judgeShow('businessType')" prop="businessType">
|
||||
<JnpfInput v-model="dataForm.businessType" @change="changeData('businessType',-1)" placeholder="请输入"
|
||||
:disabled="judgeWrite('businessType')" clearable :style='{"width":"100%"}'>
|
||||
</JnpfInput>
|
||||
</jnpf-form-tip-item>
|
||||
</el-col> -->
|
||||
<el-col :span="24" v-if="judgeShow('categoryName')">
|
||||
<jnpf-form-tip-item label="类目" v-if="judgeShow('categoryName')" prop="categoryName">
|
||||
<JnpfSelect v-model="dataForm.categoryName" @change="changeData('categoryName',-1)" placeholder="请选择"
|
||||
:disabled="judgeWrite('categoryName')" clearable :style='{"width":"100%"}'
|
||||
:options="categoryNameOptions" :props="categoryNameProps">
|
||||
</JnpfSelect>
|
||||
</jnpf-form-tip-item>
|
||||
</el-col>
|
||||
<el-col :span="24" v-if="judgeShow('projectName')">
|
||||
<jnpf-form-tip-item label="项目" v-if="judgeShow('projectName')" prop="projectName">
|
||||
<JnpfSelect v-model="dataForm.projectName" @change="changeData('projectName',-1)" placeholder="请选择"
|
||||
:disabled="judgeWrite('projectName')" clearable :style='{"width":"100%"}' :options="projectNameOptions"
|
||||
:props="projectNameProps">
|
||||
</JnpfSelect>
|
||||
</jnpf-form-tip-item>
|
||||
</el-col>
|
||||
<el-col :span="24" v-if="judgeShow('ruleDescription')">
|
||||
<jnpf-form-tip-item label="规则说明" v-if="judgeShow('ruleDescription')" prop="ruleDescription">
|
||||
<JnpfTextarea v-model="dataForm.ruleDescription" @change="changeData('ruleDescription',-1)"
|
||||
placeholder="请输入" :disabled="judgeWrite('ruleDescription')" :style='{"width":"100%"}' true
|
||||
type="textarea" :autosize='{"minRows":4,"maxRows":4}'>
|
||||
</JnpfTextarea>
|
||||
</jnpf-form-tip-item>
|
||||
</el-col>
|
||||
<el-col :span="24" v-if="judgeShow('annex')">
|
||||
<jnpf-form-tip-item label="附件" v-if="judgeShow('annex')" prop="annex">
|
||||
<JnpfUploadFile v-model="dataForm.annex" @change="changeData('annex',-1)" :disabled="judgeWrite('annex')"
|
||||
:fileSize="10" sizeUnit="MB" :limit="9" pathType="defaultPath" :isAccount="0" buttonText="点击上传">
|
||||
</JnpfUploadFile>
|
||||
</jnpf-form-tip-item>
|
||||
</el-col>
|
||||
<el-col :span="24" v-if="judgeShow('-${html.relationField}')">
|
||||
<jnpf-form-tip-item label-width="0">
|
||||
<div class="JNPF-common-title">
|
||||
<h2>计分明细</h2>
|
||||
</div>
|
||||
<el-table :data="dataForm.subjectcreditrulesscoreList" size='mini'>
|
||||
<el-table-column type="index" width="50" label="序号" align="center" />
|
||||
<el-table-column label="范围最低" v-if="judgeShow('subjectcreditrulesscore-scoreDown')" prop="scoreDown">
|
||||
<template slot="header">
|
||||
<span class="required-sign"
|
||||
v-if="judgeRequired('subjectcreditrulesscoreList-scoreDown')">*</span>范围最低
|
||||
</template>
|
||||
<template slot-scope="scope">
|
||||
<JnpfInput v-model="scope.row.scoreDown"
|
||||
@change="changeData('subjectcreditrulesscore-scoreDown',scope.$index)" placeholder="请输入"
|
||||
:disabled="judgeWrite('subjectcreditrulesscoreList')||judgeWrite('subjectcreditrulesscoreList-scoreDown')"
|
||||
clearable :style='{"width":"100%"}'>
|
||||
</JnpfInput>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="范围最高" v-if="judgeShow('subjectcreditrulesscore-scoreUpper')" prop="scoreUpper">
|
||||
<template slot="header">
|
||||
<span class="required-sign"
|
||||
v-if="judgeRequired('subjectcreditrulesscoreList-scoreUpper')">*</span>范围最高
|
||||
</template>
|
||||
<template slot-scope="scope">
|
||||
<JnpfInput v-model="scope.row.scoreUpper"
|
||||
@change="changeData('subjectcreditrulesscore-scoreUpper',scope.$index)" placeholder="请输入"
|
||||
:disabled="judgeWrite('subjectcreditrulesscoreList')||judgeWrite('subjectcreditrulesscoreList-scoreUpper')"
|
||||
clearable :style='{"width":"100%"}'>
|
||||
</JnpfInput>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="分数" v-if="judgeShow('subjectcreditrulesscore-score')" prop="score">
|
||||
<template slot="header">
|
||||
<span class="required-sign" v-if="judgeRequired('subjectcreditrulesscoreList-score')">*</span>分数
|
||||
</template>
|
||||
<template slot-scope="scope">
|
||||
<JnpfInput v-model="scope.row.score"
|
||||
@change="changeData('subjectcreditrulesscore-score',scope.$index)" placeholder="请输入"
|
||||
:disabled="judgeWrite('subjectcreditrulesscoreList')||judgeWrite('subjectcreditrulesscoreList-score')"
|
||||
clearable :style='{"width":"100%"}'>
|
||||
</JnpfInput>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="50" v-if="!judgeWrite('subjectcreditrulesscoreList')">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" class="JNPF-table-delBtn"
|
||||
@click="delsubjectcreditrulesscoreList(scope.$index)">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div class="table-actions" @click="addsubjectcreditrulesscoreList()"
|
||||
v-if="!judgeWrite('subjectcreditrulesscoreList')">
|
||||
<el-button type="text" icon="el-icon-plus">添加</el-button>
|
||||
</div>
|
||||
</jnpf-form-tip-item>
|
||||
</el-col>
|
||||
<!-- 表单结束 -->
|
||||
</template>
|
||||
<SelectDialog v-if="selectDialogVisible" :config="currTableConf" :formData="dataForm" ref="selectDialog"
|
||||
@select="addForSelect" @close="selectDialogVisible=false" />
|
||||
</el-form>
|
||||
</el-row>
|
||||
<UserBox v-if="userBoxVisible" ref="userBox" @submit="submit" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import request from '@/utils/request'
|
||||
import {
|
||||
mapGetters
|
||||
} from "vuex";
|
||||
import {
|
||||
getFormById
|
||||
} from '@/api/workFlow/FormDesign'
|
||||
import comMixin from '@/views/workFlow/workFlowForm/mixin';
|
||||
import {
|
||||
getDataInterfaceRes
|
||||
} from '@/api/systemData/dataInterface'
|
||||
import {
|
||||
getDictionaryDataSelector
|
||||
} from '@/api/systemData/dictionary'
|
||||
import {
|
||||
getDefaultCurrentValueUserId
|
||||
} from '@/api/permission/user'
|
||||
import {
|
||||
getDefaultCurrentValueDepartmentId
|
||||
} from '@/api/permission/organize'
|
||||
import {
|
||||
getDateDay,
|
||||
getLaterData,
|
||||
getBeforeData,
|
||||
getBeforeTime,
|
||||
getLaterTime
|
||||
} from '@/components/Generator/utils/index.js'
|
||||
import {
|
||||
thousandsFormat
|
||||
} from "@/components/Generator/utils/index"
|
||||
export default {
|
||||
mixins: [comMixin],
|
||||
components: {},
|
||||
props: [],
|
||||
data() {
|
||||
return {
|
||||
dataFormSubmitType: 0,
|
||||
continueBtnLoading: false,
|
||||
index: 0,
|
||||
prevDis: false,
|
||||
nextDis: false,
|
||||
allList: [],
|
||||
visible: false,
|
||||
loading: false,
|
||||
btnLoading: false,
|
||||
formRef: 'formRef',
|
||||
setting: {},
|
||||
eventType: '',
|
||||
userBoxVisible: false,
|
||||
selectDialogVisible: false,
|
||||
currTableConf: {},
|
||||
dataValueAll: {},
|
||||
addTableConf: {
|
||||
subjectcreditrulesscoreList: {
|
||||
"popupType": "dialog",
|
||||
"hasPage": true,
|
||||
"popupTitle": "选择数据",
|
||||
"pageSize": 20,
|
||||
"columnOptions": [],
|
||||
"interfaceId": "",
|
||||
"interfaceName": "",
|
||||
"relationOptions": [],
|
||||
"templateJson": [],
|
||||
"popupWidth": "800px"
|
||||
},
|
||||
},
|
||||
//可选范围默认值
|
||||
ableAll: {},
|
||||
tableRows: {
|
||||
subjectcreditrulesscoreList: {
|
||||
scoreDown: '',
|
||||
scoreDownOptions: [],
|
||||
scoreUpper: '',
|
||||
scoreUpperOptions: [],
|
||||
score: '',
|
||||
scoreOptions: [],
|
||||
enabledmark: undefined
|
||||
},
|
||||
},
|
||||
Vmodel: "",
|
||||
currVmodel: "",
|
||||
dataForm: {
|
||||
businessNo: undefined,
|
||||
businessType: "1",
|
||||
categoryName: undefined,
|
||||
projectName: undefined,
|
||||
ruleDescription: undefined,
|
||||
annex: [],
|
||||
subjectcreditrulesscoreList: [],
|
||||
version: 0,
|
||||
},
|
||||
tableRequiredData: {},
|
||||
dataRule: {
|
||||
categoryName: [{
|
||||
required: true,
|
||||
message: '请选择',
|
||||
trigger: 'change'
|
||||
}, ],
|
||||
projectName: [{
|
||||
required: true,
|
||||
message: '请选择',
|
||||
trigger: 'change'
|
||||
}, ],
|
||||
},
|
||||
categoryNameOptions: [],
|
||||
categoryNameProps: {
|
||||
"label": "fullName",
|
||||
"value": "enCode"
|
||||
},
|
||||
projectNameOptions: [],
|
||||
projectNameProps: {
|
||||
"label": "fullName",
|
||||
"value": "enCode"
|
||||
},
|
||||
childIndex: -1,
|
||||
isEdit: false,
|
||||
interfaceRes: {
|
||||
businessNo: [],
|
||||
businessType: [],
|
||||
categoryName: [],
|
||||
projectName: [],
|
||||
ruleDescription: [],
|
||||
annex: [],
|
||||
subjectcreditrulesscorescoreDown: [],
|
||||
subjectcreditrulesscorescoreUpper: [],
|
||||
subjectcreditrulesscorescore: [],
|
||||
},
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
formOperates() {
|
||||
return this.setting.formOperates
|
||||
}
|
||||
},
|
||||
watch: {},
|
||||
created() {
|
||||
this.getFormById()
|
||||
if (this.dataForm.id == null || this.dataForm.id == '' && this.dataForm.id == undefined || this.dataForm.id ==
|
||||
0) {
|
||||
this.initDefaultData()
|
||||
}
|
||||
this.dataValueAll = JSON.parse(JSON.stringify(this.dataForm))
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
changeData(model, index) {
|
||||
this.isEdit = false
|
||||
this.childIndex = index
|
||||
let modelAll = model.split("-");
|
||||
let faceMode = "";
|
||||
for (let i = 0; i < modelAll.length; i++) {
|
||||
faceMode += modelAll[i];
|
||||
}
|
||||
for (let key in this.interfaceRes) {
|
||||
if (key != faceMode) {
|
||||
let faceReList = this.interfaceRes[key]
|
||||
for (let i = 0; i < faceReList.length; i++) {
|
||||
if (faceReList[i].relationField == model) {
|
||||
let options = 'get' + key + 'Options';
|
||||
if (this[options]) {
|
||||
this[options]()
|
||||
}
|
||||
this.changeData(key, index)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
changeDataFormData(type, data, model, index, defaultValue) {
|
||||
if (!this.isEdit) {
|
||||
if (type == 2) {
|
||||
for (let i = 0; i < this.dataForm[data].length; i++) {
|
||||
if (index == -1) {
|
||||
this.dataForm[data][i][model] = defaultValue
|
||||
} else if (index == i) {
|
||||
this.dataForm[data][i][model] = defaultValue
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.dataForm[data] = defaultValue
|
||||
}
|
||||
}
|
||||
},
|
||||
dataAll() {
|
||||
this.getcategoryNameOptions();
|
||||
this.getprojectNameOptions();
|
||||
},
|
||||
selfGetInfo(dataForm) {
|
||||
this.dataInfo(dataForm)
|
||||
},
|
||||
beforeSubmit() {
|
||||
const _data = this.dataList()
|
||||
return _data
|
||||
},
|
||||
selfInit() {
|
||||
this.dataAll()
|
||||
},
|
||||
getFormById() {
|
||||
getFormById("522736258103914309").then(res => {
|
||||
this.dataForm.flowId = res.data && res.data.flowId
|
||||
// this.encode = res.data&&res.data.encode
|
||||
})
|
||||
},
|
||||
exist() {
|
||||
let isOk = true
|
||||
for (let key in this.tableRequiredData) {
|
||||
if (this.dataForm[key] && Array.isArray(this.dataForm[key])) {
|
||||
for (let i = 0; i < this.dataForm[key].length; i++) {
|
||||
let item = this.dataForm[key][i]
|
||||
inner: for (let id in item) {
|
||||
let arr = this.tableRequiredData[key].filter(o => o.id === id) || []
|
||||
if (!arr.length) continue inner
|
||||
if (arr[0].required) {
|
||||
let msg = `${arr[0].name}不能为空`
|
||||
let boo = true
|
||||
if (arr[0].dataType === 'array') {
|
||||
boo = !this.jnpf.isEmptyArray(item[id])
|
||||
} else {
|
||||
boo = !this.jnpf.isEmpty(item[id])
|
||||
}
|
||||
if (!boo) {
|
||||
this.$message({
|
||||
message: msg,
|
||||
type: 'error',
|
||||
duration: 1000
|
||||
})
|
||||
isOk = false
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!this.subjectcreditrulesscoreExist()) return
|
||||
return isOk
|
||||
},
|
||||
subjectcreditrulesscoreExist() {
|
||||
let isOk = true;
|
||||
for (let i = 0; i < this.dataForm.subjectcreditrulesscoreList.length; i++) {
|
||||
const e = this.dataForm.subjectcreditrulesscoreList[i];
|
||||
if (e.scoreDown) {
|
||||
var regPos = [{
|
||||
"pattern": "/^([1-9][\\d]*|0)(\\.[\\d]+)?$/",
|
||||
"message": "请输入正确的金额"
|
||||
}]
|
||||
for (let i = 0; i < regPos.length; i++) {
|
||||
const element = regPos[i];
|
||||
if (element.pattern && !eval(element.pattern).test(e.scoreDown)) {
|
||||
this.$message({
|
||||
message: element.message,
|
||||
type: 'error',
|
||||
duration: 1000
|
||||
});
|
||||
isOk = false
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (e.scoreUpper) {
|
||||
var regPos = [{
|
||||
"pattern": "/^([1-9][\\d]*|0)(\\.[\\d]+)?$/",
|
||||
"message": "请输入正确的金额"
|
||||
}]
|
||||
for (let i = 0; i < regPos.length; i++) {
|
||||
const element = regPos[i];
|
||||
if (element.pattern && !eval(element.pattern).test(e.scoreUpper)) {
|
||||
this.$message({
|
||||
message: element.message,
|
||||
type: 'error',
|
||||
duration: 1000
|
||||
});
|
||||
isOk = false
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (e.score) {
|
||||
var regPos = [{
|
||||
"pattern": "/^([1-9][\\d]*|0)(\\.[\\d]+)?$/",
|
||||
"message": "请输入正确的金额"
|
||||
}]
|
||||
for (let i = 0; i < regPos.length; i++) {
|
||||
const element = regPos[i];
|
||||
if (element.pattern && !eval(element.pattern).test(e.score)) {
|
||||
this.$message({
|
||||
message: element.message,
|
||||
type: 'error',
|
||||
duration: 1000
|
||||
});
|
||||
isOk = false
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return isOk;
|
||||
},
|
||||
getcategoryNameOptions() {
|
||||
getDictionaryDataSelector('522733511912730437').then(res => {
|
||||
this.categoryNameOptions = res.data.list
|
||||
})
|
||||
},
|
||||
getprojectNameOptions() {
|
||||
getDictionaryDataSelector('522733676014874437').then(res => {
|
||||
this.projectNameOptions = res.data.list
|
||||
})
|
||||
},
|
||||
goBack() {
|
||||
this.$emit('refresh')
|
||||
},
|
||||
clearData() {
|
||||
this.dataForm = JSON.parse(JSON.stringify(this.dataValueAll))
|
||||
},
|
||||
//初始化默认数据
|
||||
initDefaultData() {
|
||||
|
||||
},
|
||||
addsubjectcreditrulesscoreList() {
|
||||
let item = {
|
||||
scoreDown: undefined,
|
||||
scoreUpper: undefined,
|
||||
score: undefined,
|
||||
}
|
||||
this.getsubjectcreditrulesscoreList(item)
|
||||
},
|
||||
delsubjectcreditrulesscoreList(index) {
|
||||
this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.dataForm.subjectcreditrulesscoreList.splice(index, 1);
|
||||
}).catch(() => {});
|
||||
},
|
||||
getsubjectcreditrulesscoreList(value) {
|
||||
let item = {
|
||||
...this.tableRows.subjectcreditrulesscoreList,
|
||||
...value
|
||||
}
|
||||
this.dataForm.subjectcreditrulesscoreList.push(item)
|
||||
this.childIndex = this.dataForm.subjectcreditrulesscoreList.length - 1
|
||||
this.isEdit = true
|
||||
this.isEdit = false
|
||||
this.childIndex = -1
|
||||
},
|
||||
openSelectDialog(key) {
|
||||
this.currTableConf = this.addTableConf[key]
|
||||
this.currVmodel = key
|
||||
this.selectDialogVisible = true
|
||||
this.$nextTick(() => {
|
||||
this.$refs.selectDialog.init()
|
||||
})
|
||||
},
|
||||
addForSelect(data) {
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
let t = data[i]
|
||||
if (this['get' + this.currVmodel]) {
|
||||
this['get' + this.currVmodel](t)
|
||||
}
|
||||
}
|
||||
},
|
||||
dateTime(timeRule, timeType, timeTarget, timeValueData, dataValue) {
|
||||
let timeDataValue = null;
|
||||
let timeValue = Number(timeValueData)
|
||||
if (timeRule) {
|
||||
if (timeType == 1) {
|
||||
timeDataValue = timeValue
|
||||
} else if (timeType == 2) {
|
||||
timeDataValue = dataValue
|
||||
} else if (timeType == 3) {
|
||||
timeDataValue = new Date().getTime()
|
||||
} else if (timeType == 4) {
|
||||
let previousDate = '';
|
||||
if (timeTarget == 1 || timeTarget == 2) {
|
||||
previousDate = getDateDay(timeTarget, timeType, timeValue)
|
||||
timeDataValue = new Date(previousDate).getTime()
|
||||
} else if (timeTarget == 3) {
|
||||
previousDate = getBeforeData(timeValue)
|
||||
timeDataValue = new Date(previousDate).getTime()
|
||||
} else {
|
||||
timeDataValue = getBeforeTime(timeTarget, timeValue).getTime()
|
||||
}
|
||||
} else if (timeType == 5) {
|
||||
let previousDate = '';
|
||||
if (timeTarget == 1 || timeTarget == 2) {
|
||||
previousDate = getDateDay(timeTarget, timeType, timeValue)
|
||||
timeDataValue = new Date(previousDate).getTime()
|
||||
} else if (timeTarget == 3) {
|
||||
previousDate = getLaterData(timeValue)
|
||||
timeDataValue = new Date(previousDate).getTime()
|
||||
} else {
|
||||
timeDataValue = getLaterTime(timeTarget, timeValue).getTime()
|
||||
}
|
||||
}
|
||||
}
|
||||
return timeDataValue;
|
||||
},
|
||||
time(timeRule, timeType, timeTarget, timeValue, formatType, dataValue) {
|
||||
let format = formatType == 'HH:mm' ? 'HH:mm:00' : formatType
|
||||
let timeDataValue = null
|
||||
if (timeRule) {
|
||||
if (timeType == 1) {
|
||||
timeDataValue = timeValue || '00:00:00'
|
||||
if (timeDataValue.split(':').length == 3) {
|
||||
timeDataValue = timeDataValue
|
||||
} else {
|
||||
timeDataValue = timeDataValue + ':00'
|
||||
}
|
||||
} else if (timeType == 2) {
|
||||
timeDataValue = dataValue
|
||||
} else if (timeType == 3) {
|
||||
timeDataValue = this.jnpf.toDate(new Date(), format)
|
||||
} else if (timeType == 4) {
|
||||
let previousDate = '';
|
||||
previousDate = getBeforeTime(timeTarget, timeValue)
|
||||
timeDataValue = this.jnpf.toDate(previousDate, format)
|
||||
} else if (timeType == 5) {
|
||||
let previousDate = '';
|
||||
previousDate = getLaterTime(timeTarget, timeValue)
|
||||
timeDataValue = this.jnpf.toDate(previousDate, format)
|
||||
}
|
||||
}
|
||||
return timeDataValue;
|
||||
},
|
||||
dataList() {
|
||||
var _data = this.dataForm;
|
||||
return _data;
|
||||
},
|
||||
dataInfo(dataAll) {
|
||||
let _dataAll = dataAll
|
||||
this.dataForm = _dataAll
|
||||
this.isEdit = true
|
||||
this.dataAll()
|
||||
for (let i = 0; i < _dataAll.subjectcreditrulesscoreList.length; i++) {
|
||||
this.childIndex = i
|
||||
}
|
||||
this.childIndex = -1
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue