增加一键复制卷膜配置
parent
5ed27eef4f
commit
87015949a4
|
|
@ -823,6 +823,11 @@ export default {
|
|||
// this.termList[index]['config']= { ...config };
|
||||
this.termList[index]['terms'] = JSON.parse(JSON.stringify(temps));
|
||||
this.termList[index]['config']= JSON.parse(JSON.stringify(config));
|
||||
var terms = this.termList[index]['terms'];
|
||||
terms.map(item => {
|
||||
item.id = generateUniqueId();
|
||||
item.roller = `jm${index+1}`;
|
||||
})
|
||||
this.termList[index]['config'].roller = `jm${index+1}`
|
||||
}
|
||||
}
|
||||
|
|
@ -929,7 +934,6 @@ export default {
|
|||
* @param index 条件
|
||||
*/
|
||||
openSlider(tag, index) {
|
||||
console.info(tag,index)
|
||||
var fillerTerm = this.termList[this.current]['terms'][index];
|
||||
if (tag === 'temp') {
|
||||
this.slider = {
|
||||
|
|
@ -1039,7 +1043,9 @@ export default {
|
|||
const rollerParam = termMap[index]['config']; // 参数设置
|
||||
const filmRoller = this.filmRollerList[index];
|
||||
if (!rollerParam) {
|
||||
this.$tn.message.toast('参数设置失败,请下拉刷新后重试!')
|
||||
this.$tn.message.toast(
|
||||
'参数设置失败,请下拉刷新后重试!',
|
||||
false, null, 'none', 3000)
|
||||
return;
|
||||
} else if (rule.validate(rollerParam, term)) {
|
||||
rollerList.push(filmRoller);
|
||||
|
|
|
|||
|
|
@ -470,6 +470,7 @@ export default {
|
|||
var arr = ['jbk', "jbg", "jm1k", "jm1g", "jm2k", "jm2g", "jm3k", "jm3g","jlk","jlg"]
|
||||
const allKeysNumeric = Object.keys(msgData).some(key => arr.includes(key));
|
||||
if (allKeysNumeric) {
|
||||
//todo
|
||||
// this.status = {...msgData}
|
||||
Object.keys(msgData).forEach(key => {
|
||||
const value = msgData[key];
|
||||
|
|
|
|||
Loading…
Reference in New Issue